From 9fc316de85b9cb0ad2200d79f07ac414212546e1 Mon Sep 17 00:00:00 2001 From: Riganti Team City Date: Sun, 23 Aug 2020 21:41:31 +0200 Subject: [PATCH] NuGet package version 2.5.0-preview02-final --- src/DotVVM.CommandLine/DotVVM.CommandLine.csproj | 4 ++-- src/DotVVM.Compiler.Light/DotVVM.Compiler.Light.csproj | 4 ++-- src/DotVVM.Core/DotVVM.Core.csproj | 4 ++-- .../DotVVM.Framework.Api.Swashbuckle.AspNetCore.csproj | 2 +- .../DotVVM.Framework.Api.Swashbuckle.Owin.csproj | 2 +- .../DotVVM.Framework.Hosting.AspNetCore.csproj | 4 ++-- .../DotVVM.Framework.Hosting.Owin.csproj | 4 ++-- src/DotVVM.Framework/DotVVM.Framework.csproj | 4 ++-- src/DotVVM.Framework/Resources/Scripts/DotVVM.min.js | 2 +- .../DotVVM.Tools.StartupPerfTester.csproj | 2 +- src/Templates/DotVVM.Templates.nuspec | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/DotVVM.CommandLine/DotVVM.CommandLine.csproj b/src/DotVVM.CommandLine/DotVVM.CommandLine.csproj index 35254e50bb..b7d2cde77d 100644 --- a/src/DotVVM.CommandLine/DotVVM.CommandLine.csproj +++ b/src/DotVVM.CommandLine/DotVVM.CommandLine.csproj @@ -3,7 +3,7 @@ DotVVM.CommandLine dotnet-dotvvm - 2.5.0-preview02-85878 + 2.5.0-preview02-final netcoreapp2.1 dotvvmwizard.snk true @@ -11,7 +11,7 @@ dotvvm true DotVVM.CommandLine - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI Command-line tools for DotVVM. false diff --git a/src/DotVVM.Compiler.Light/DotVVM.Compiler.Light.csproj b/src/DotVVM.Compiler.Light/DotVVM.Compiler.Light.csproj index d4203d42b6..d26137205f 100644 --- a/src/DotVVM.Compiler.Light/DotVVM.Compiler.Light.csproj +++ b/src/DotVVM.Compiler.Light/DotVVM.Compiler.Light.csproj @@ -1,11 +1,11 @@  - 2.5.0-preview02-85878 + 2.5.0-preview02-final netcoreapp2.0 dotnet-dotvvm-compiler DotVVM.Compiler.Light - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI Command-line compiler for DotVVM. false diff --git a/src/DotVVM.Core/DotVVM.Core.csproj b/src/DotVVM.Core/DotVVM.Core.csproj index f8757261e7..d0da4e9347 100644 --- a/src/DotVVM.Core/DotVVM.Core.csproj +++ b/src/DotVVM.Core/DotVVM.Core.csproj @@ -1,6 +1,6 @@  - 2.5.0-preview02-85878 + 2.5.0-preview02-final netstandard1.6;net451 $(NoWarn);CS1591 true @@ -17,7 +17,7 @@ false false DotVVM.Core - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI This package contains base classes and interfaces of DotVVM that might be useful in a business layer. DotVVM is an open source ASP.NET-based framework which allows to build modern web apps without writing any JavaScript code. diff --git a/src/DotVVM.Framework.Api.Swashbuckle.AspNetCore/DotVVM.Framework.Api.Swashbuckle.AspNetCore.csproj b/src/DotVVM.Framework.Api.Swashbuckle.AspNetCore/DotVVM.Framework.Api.Swashbuckle.AspNetCore.csproj index bd2c8b6d27..5b10e1813e 100644 --- a/src/DotVVM.Framework.Api.Swashbuckle.AspNetCore/DotVVM.Framework.Api.Swashbuckle.AspNetCore.csproj +++ b/src/DotVVM.Framework.Api.Swashbuckle.AspNetCore/DotVVM.Framework.Api.Swashbuckle.AspNetCore.csproj @@ -3,7 +3,7 @@ netstandard2.0 DotVVM.Api.Swashbuckle.AspNetCore - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI Swashbuckle.AspNetCore extensions for DotVVM. false diff --git a/src/DotVVM.Framework.Api.Swashbuckle.Owin/DotVVM.Framework.Api.Swashbuckle.Owin.csproj b/src/DotVVM.Framework.Api.Swashbuckle.Owin/DotVVM.Framework.Api.Swashbuckle.Owin.csproj index b6f9e92165..5bf188b92e 100644 --- a/src/DotVVM.Framework.Api.Swashbuckle.Owin/DotVVM.Framework.Api.Swashbuckle.Owin.csproj +++ b/src/DotVVM.Framework.Api.Swashbuckle.Owin/DotVVM.Framework.Api.Swashbuckle.Owin.csproj @@ -3,7 +3,7 @@ net451 DotVVM.Api.Swashbuckle.Owin - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI Swashbuckle.Owin extensions for DotVVM. false diff --git a/src/DotVVM.Framework.Hosting.AspNetCore/DotVVM.Framework.Hosting.AspNetCore.csproj b/src/DotVVM.Framework.Hosting.AspNetCore/DotVVM.Framework.Hosting.AspNetCore.csproj index 813ded992f..2d067109a3 100644 --- a/src/DotVVM.Framework.Hosting.AspNetCore/DotVVM.Framework.Hosting.AspNetCore.csproj +++ b/src/DotVVM.Framework.Hosting.AspNetCore/DotVVM.Framework.Hosting.AspNetCore.csproj @@ -1,6 +1,6 @@  - 2.5.0-preview02-85878 + 2.5.0-preview02-final netstandard2.0 $(NoWarn);CS1591 true @@ -17,7 +17,7 @@ false false DotVVM.AspNetCore - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI This package contains ASP.NET Core middleware and hosting infrastructure for DotVVM apps. It supports both .NET Framework and .NET Core. diff --git a/src/DotVVM.Framework.Hosting.Owin/DotVVM.Framework.Hosting.Owin.csproj b/src/DotVVM.Framework.Hosting.Owin/DotVVM.Framework.Hosting.Owin.csproj index 6d02ae52bc..2b08999fb2 100644 --- a/src/DotVVM.Framework.Hosting.Owin/DotVVM.Framework.Hosting.Owin.csproj +++ b/src/DotVVM.Framework.Hosting.Owin/DotVVM.Framework.Hosting.Owin.csproj @@ -1,6 +1,6 @@  - 2.5.0-preview02-85878 + 2.5.0-preview02-final net451 win7-x64;win7-x86 true @@ -17,7 +17,7 @@ false false DotVVM.Owin - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI This package contains OWIN middleware and hosting infrastructure for DotVVM apps. diff --git a/src/DotVVM.Framework/DotVVM.Framework.csproj b/src/DotVVM.Framework/DotVVM.Framework.csproj index 0a8fc19eea..aa563199cb 100644 --- a/src/DotVVM.Framework/DotVVM.Framework.csproj +++ b/src/DotVVM.Framework/DotVVM.Framework.csproj @@ -1,7 +1,7 @@  DotVVM - 2.5.0-preview02-85878 + 2.5.0-preview02-final net451;netstandard2.0;netstandard2.1 $(NoWarn);CS1591;CS1573 true @@ -9,7 +9,7 @@ true true DotVVM - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI DotVVM is an open source ASP.NET-based framework which allows to build modern web apps without writing any JavaScript code. false diff --git a/src/DotVVM.Framework/Resources/Scripts/DotVVM.min.js b/src/DotVVM.Framework/Resources/Scripts/DotVVM.min.js index 25f0961f0a..810b3ff67a 100644 --- a/src/DotVVM.Framework/Resources/Scripts/DotVVM.min.js +++ b/src/DotVVM.Framework/Resources/Scripts/DotVVM.min.js @@ -1 +1 @@ -var __extends=this&&this.__extends||function(){var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),__assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;ra[0]&&t[1]'");return e},e.prototype.format=function(e){for(var o=this,i=[],t=1;t=e.length)r();else{var o=e[t],i=!1;if("script"==o.tagName.toLowerCase()){var a=o,s=document.createElement("script");a.src&&(s.src=a.src,i=!0),a.type&&(s.type=a.type),a.text&&(s.text=a.text),o.id&&(s.id=o.id),o=s}else if("link"==o.tagName.toLowerCase()){var l=o,u=document.createElement("link");l.href&&(u.href=l.href),l.rel&&(u.rel=l.rel),l.type&&(u.type=l.type),o=u}i&&(o.addEventListener("load",function(){return n.loadResourceElements(e,t+1,r)}),o.addEventListener("error",function(){return n.loadResourceElements(e,t+1,r)})),document.head.appendChild(o),i||this.loadResourceElements(e,t+1,r)}},e.prototype.getSpaPlaceHolder=function(){var e=document.getElementsByName("__dot_SpaContentPlaceHolder");return 1==e.length?e[0]:null},e.prototype.navigateCore=function(d,v,c){var p=this;return new Promise(function(a,s){var r=p.viewModels[d].viewModel,n=p.backUpPostBackConter(),e=new DotvvmSpaNavigatingEventArgs(r,d,v);if(p.events.spaNavigating.trigger(e),!e.cancel){var t=p.viewModels[d].virtualDirectory||"",o="/___dotvvm-spa___"+p.addLeadingSlash(v),i=p.addLeadingSlash(p.concatUrl(t,o)),l=p.getSpaPlaceHolder();if(l){c&&c(p.addLeadingSlash(p.concatUrl(t,p.addLeadingSlash(v))));var u=l.attributes["data-dotvvm-spacontentplaceholder"].value;p.getJSON(i,"GET",u,function(o){if(p.isPostBackStillActive(n)){var i=JSON.parse(o.responseText);p.loadResourceList(i.resources,function(){var e=!1;if("successfulCommand"!==i.action&&i.action){if("redirect"===i.action)return void p.handleRedirect(i,d,!0).then(a,s)}else try{p.isViewModelUpdating=!0;var t=p.cleanUpdatedControls(i);for(var r in p.viewModels[d]={},i)i.hasOwnProperty(r)&&(p.viewModels[d][r]=i[r]);i.viewModelCacheId?p.viewModels[d].viewModelCache=i.viewModel:delete p.viewModels[d].viewModelCache,ko.delaySync.pause(),p.serialization.deserialize(i.viewModel,p.viewModels[d].viewModel),ko.delaySync.resume(),e=!0,p.viewModelObservables[d](p.viewModels[d].viewModel),p.restoreUpdatedControls(i,t,!0),p.isSpaReady(!0)}finally{p.isViewModelUpdating=!1}var n=new DotvvmSpaNavigatedEventArgs(p.viewModels[d].viewModel,d,i,o);if(p.events.spaNavigated.trigger(n),a(n),!e&&!n.isHandled)throw s(),"Invalid response from server!"})}},function(e){if(p.isPostBackStillActive(n)){var t=new DotvvmErrorEventArgs(void 0,r,d,e,-1,void 0,!0);p.events.error.trigger(t),t.handled||alert(e.responseText),s(t)}})}else document.location.href=i}})},e.prototype.handleRedirect=function(e,t,r){var n;void 0===r&&(r=!1),null!=e.replace&&(r=e.replace),n=this.getSpaPlaceHolder()&&!this.useHistoryApiSpaNavigation&&e.url.indexOf("//")<0&&e.allowSpa?("#!"===(n="#!"+this.removeVirtualDirectoryFromUrl(e.url,t))&&(n="#!/"),this.fixSpaUrlPrefix(n)):e.url;var o=new DotvvmRedirectEventArgs(dotvvm.viewModels[t],t,n,r);return this.events.redirect.trigger(o),this.performRedirect(n,r,e.allowSpa&&this.useHistoryApiSpaNavigation)},e.prototype.disablePostbacks=function(){for(var e in this.lastStartedPostack=-1,this.postbackQueues)if(this.postbackQueues.hasOwnProperty(e)){var t=this.postbackQueues[e];t.queue.length=0,t.noRunning=0}this.getSpaPlaceHolder()||(this.arePostbacksDisabled=!0)},e.prototype.performRedirect=function(n,o,i){var a=this;return new Promise(function(e,t){if(a.disablePostbacks(),o)location.replace(n),e();else if(i)a.handleSpaNavigationCore(n).then(e,t);else{var r=a.fakeRedirectAnchor;r||((r=document.createElement("a")).style.display="none",r.setAttribute("data-dotvvm-fake-id","dotvvm_fake_redirect_anchor_87D7145D_8EA8_47BA_9941_82B75EE88CDB"),document.body.appendChild(r),a.fakeRedirectAnchor=r),r.href=n,r.click(),e()}})},e.prototype.fixSpaUrlPrefix=function(e){var t=this.getSpaPlaceHolder().attributes["data-dotvvm-spacontentplaceholder-urlprefix"];if(!t)return e;var r=t.value;return r!==document.location.pathname&&(""===r&&(r="/"),e=r+e),e},e.prototype.removeVirtualDirectoryFromUrl=function(e,t){var r="/"+this.viewModels[t].virtualDirectory;return 0==e.indexOf(r)?this.addLeadingSlash(e.substring(r.length)):e},e.prototype.addLeadingSlash=function(e){return 0a[0]&&t[1]'");return e},e.prototype.format=function(e){for(var o=this,i=[],t=1;t=e.length)r();else{var o=e[t],i=!1;if("script"==o.tagName.toLowerCase()){var a=o,s=document.createElement("script");a.src&&(s.src=a.src,i=!0),a.type&&(s.type=a.type),a.text&&(s.text=a.text),o.id&&(s.id=o.id),o=s}else if("link"==o.tagName.toLowerCase()){var l=o,u=document.createElement("link");l.href&&(u.href=l.href),l.rel&&(u.rel=l.rel),l.type&&(u.type=l.type),o=u}i&&(o.addEventListener("load",function(){return n.loadResourceElements(e,t+1,r)}),o.addEventListener("error",function(){return n.loadResourceElements(e,t+1,r)})),document.head.appendChild(o),i||this.loadResourceElements(e,t+1,r)}},e.prototype.getSpaPlaceHolder=function(){var e=document.getElementsByName("__dot_SpaContentPlaceHolder");return 1==e.length?e[0]:null},e.prototype.navigateCore=function(d,v,c){var p=this;return new Promise(function(a,s){var r=p.viewModels[d].viewModel,n=p.backUpPostBackConter();p.isSpaNavigationRunning(!0);var e=new DotvvmSpaNavigatingEventArgs(r,d,v);if(p.events.spaNavigating.trigger(e),!e.cancel){var t=p.viewModels[d].virtualDirectory||"",o="/___dotvvm-spa___"+p.addLeadingSlash(v),i=p.addLeadingSlash(p.concatUrl(t,o)),l=p.getSpaPlaceHolder();if(l){c&&c(p.addLeadingSlash(p.concatUrl(t,p.addLeadingSlash(v))));var u=l.attributes["data-dotvvm-spacontentplaceholder"].value;p.getJSON(i,"GET",u,function(o){if(p.isPostBackStillActive(n)){var i=JSON.parse(o.responseText);p.loadResourceList(i.resources,function(){var e=!1;if("successfulCommand"!==i.action&&i.action){if("redirect"===i.action)return p.isSpaNavigationRunning(!1),void p.handleRedirect(i,d,!0).then(a,s)}else try{p.isViewModelUpdating=!0;var t=p.cleanUpdatedControls(i);for(var r in p.viewModels[d]={},i)i.hasOwnProperty(r)&&(p.viewModels[d][r]=i[r]);i.viewModelCacheId?p.viewModels[d].viewModelCache=i.viewModel:delete p.viewModels[d].viewModelCache,ko.delaySync.pause(),p.serialization.deserialize(i.viewModel,p.viewModels[d].viewModel),ko.delaySync.resume(),e=!0,p.viewModelObservables[d](p.viewModels[d].viewModel),p.restoreUpdatedControls(i,t,!0),p.isSpaReady(!0)}finally{p.isViewModelUpdating=!1}var n=new DotvvmSpaNavigatedEventArgs(p.viewModels[d].viewModel,d,i,o);if(p.events.spaNavigated.trigger(n),p.isSpaNavigationRunning(!1),!e&&!n.isHandled)throw s(),"Invalid response from server!";a(n)})}},function(e){if(p.isPostBackStillActive(n)){var t=new DotvvmErrorEventArgs(void 0,r,d,e,-1,void 0,!0);p.events.error.trigger(t),t.handled||alert(e.responseText),p.isSpaNavigationRunning(!1),s(t)}})}else document.location.href=i}})},e.prototype.handleRedirect=function(e,t,r){var n;void 0===r&&(r=!1),null!=e.replace&&(r=e.replace),n=this.getSpaPlaceHolder()&&!this.useHistoryApiSpaNavigation&&e.url.indexOf("//")<0&&e.allowSpa?("#!"===(n="#!"+this.removeVirtualDirectoryFromUrl(e.url,t))&&(n="#!/"),this.fixSpaUrlPrefix(n)):e.url;var o=new DotvvmRedirectEventArgs(dotvvm.viewModels[t],t,n,r);return this.events.redirect.trigger(o),this.performRedirect(n,r,e.allowSpa&&this.useHistoryApiSpaNavigation)},e.prototype.disablePostbacks=function(){for(var e in this.lastStartedPostack=-1,this.postbackQueues)if(this.postbackQueues.hasOwnProperty(e)){var t=this.postbackQueues[e];t.queue.length=0,t.noRunning=0}this.getSpaPlaceHolder()||(this.arePostbacksDisabled=!0)},e.prototype.performRedirect=function(n,o,i){var a=this;return new Promise(function(e,t){if(a.disablePostbacks(),o)location.replace(n),e();else if(i)a.handleSpaNavigationCore(n).then(e,t);else{var r=a.fakeRedirectAnchor;r||((r=document.createElement("a")).style.display="none",r.setAttribute("data-dotvvm-fake-id","dotvvm_fake_redirect_anchor_87D7145D_8EA8_47BA_9941_82B75EE88CDB"),document.body.appendChild(r),a.fakeRedirectAnchor=r),r.href=n,r.click(),e()}})},e.prototype.fixSpaUrlPrefix=function(e){var t=this.getSpaPlaceHolder().attributes["data-dotvvm-spacontentplaceholder-urlprefix"];if(!t)return e;var r=t.value;return r!==document.location.pathname&&(""===r&&(r="/"),e=r+e),e},e.prototype.removeVirtualDirectoryFromUrl=function(e,t){var r="/"+this.viewModels[t].virtualDirectory;return 0==e.indexOf(r)?this.addLeadingSlash(e.substring(r.length)):e},e.prototype.addLeadingSlash=function(e){return 0dotvvm-startup-perf true DotVVM.Tools.StartupPerf - 2.4.0.2-preview02-76679 + 2.5.0-preview02-final RIGANTI Command-line tool for measuring startup performance of DotVVM apps. false diff --git a/src/Templates/DotVVM.Templates.nuspec b/src/Templates/DotVVM.Templates.nuspec index c9e79b2e01..f73a68aede 100644 --- a/src/Templates/DotVVM.Templates.nuspec +++ b/src/Templates/DotVVM.Templates.nuspec @@ -2,7 +2,7 @@ DotVVM.Templates - 2.5.0-preview02-85878 + 2.5.0-preview02-final RIGANTI DotVVM Project Templates en-US