qol: update javascript bundling

This commit is contained in:
Gary Sharp
2022-02-18 13:52:31 +11:00
parent 9bfeff8c42
commit 09a6369693
20 changed files with 1569 additions and 256 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -1,4 +1,4 @@
/// <reference path="../../Core/jquery-1.7.1.js" /> /// <reference path="../Core/jquery-2.1.1.js" />
function DiscoExpressionEditor(host, validateUrl, expression) { function DiscoExpressionEditor(host, validateUrl, expression) {
this.host = host; this.host = host;
this.hostDocument = null; this.hostDocument = null;
@@ -1,4 +1,4 @@
/// <reference path="../../Core/jquery-1.7.1.js" /> /// <reference path="../../Core/jquery-2.1.1.js" />
function DiscoExpressionEditor(host, validateUrl, expression) { function DiscoExpressionEditor(host, validateUrl, expression) {
this.host = host; this.host = host;
this.hostDocument = null; this.hostDocument = null;
@@ -1,4 +1,4 @@
/// <reference path="../../Core/jquery-1.7.1.js" /> /// <reference path="../Core/jquery-2.1.1.js" />
(function ($) { (function ($) {
var checkboxBulkSelectMethods = { var checkboxBulkSelectMethods = {
@@ -1,4 +1,4 @@
/// <reference path="../../Core/jquery-1.7.1.js" /> /// <reference path="../../Core/jquery-2.1.1.js" />
(function ($) { (function ($) {
var checkboxBulkSelectMethods = { var checkboxBulkSelectMethods = {
@@ -17669,4 +17669,4 @@ extend(Highcharts, {
version: VERSION version: VERSION
}); });
}()); }());
@@ -93,4 +93,4 @@ l,g]));k.length=0;a.a.$(k,l)},null,{G:b,Da:function(){return!a.a.eb(k)}});return
v,x=0,A,C;A=q[x];x++)switch(C=A.moved,A.status){case "deleted":C===p&&(v=r[t],v.h&&v.h.F(),w.push.apply(w,a.a.ea(v.S,d)),h.beforeRemove&&(e[x]=v,y.push(v)));t++;break;case "retained":k(x,t++);break;case "added":C!==p?k(x,C):(v={ka:A.value,Ia:a.m(u++)},s.push(v),y.push(v),n||(m[x]=v))}l(h.beforeMove,z);a.a.r(w,h.beforeRemove?a.M:a.removeNode);for(var x=0,n=a.e.firstChild(d),E;v=y[x];x++){v.S||a.a.extend(v,b(d,f,v.ka,g,v.Ia));for(t=0;q=v.S[t];n=q.nextSibling,E=q,t++)q!==n&&a.e.rb(d,q,E);!v.Zb&&g&&(g(v.ka, v,x=0,A,C;A=q[x];x++)switch(C=A.moved,A.status){case "deleted":C===p&&(v=r[t],v.h&&v.h.F(),w.push.apply(w,a.a.ea(v.S,d)),h.beforeRemove&&(e[x]=v,y.push(v)));t++;break;case "retained":k(x,t++);break;case "added":C!==p?k(x,C):(v={ka:A.value,Ia:a.m(u++)},s.push(v),y.push(v),n||(m[x]=v))}l(h.beforeMove,z);a.a.r(w,h.beforeRemove?a.M:a.removeNode);for(var x=0,n=a.e.firstChild(d),E;v=y[x];x++){v.S||a.a.extend(v,b(d,f,v.ka,g,v.Ia));for(t=0;q=v.S[t];n=q.nextSibling,E=q,t++)q!==n&&a.e.rb(d,q,E);!v.Zb&&g&&(g(v.ka,
v.S,v.Ia),v.Zb=!0)}l(h.beforeRemove,e);l(h.afterMove,z);l(h.afterAdd,m);a.a.f.set(d,c,s)}})();a.b("utils.setDomNodeChildrenFromArrayMapping",a.a.Ua);a.K=function(){this.allowTemplateRewriting=!1};a.K.prototype=new a.C;a.K.prototype.renderTemplateSource=function(b){var c=(9>a.a.oa?0:b.nodes)?b.nodes():null;if(c)return a.a.R(c.cloneNode(!0).childNodes);b=b.text();return a.a.Qa(b)};a.K.Ja=new a.K;a.Wa(a.K.Ja);a.b("nativeTemplateEngine",a.K);(function(){a.La=function(){var a=this.ac=function(){if(!t|| v.S,v.Ia),v.Zb=!0)}l(h.beforeRemove,e);l(h.afterMove,z);l(h.afterAdd,m);a.a.f.set(d,c,s)}})();a.b("utils.setDomNodeChildrenFromArrayMapping",a.a.Ua);a.K=function(){this.allowTemplateRewriting=!1};a.K.prototype=new a.C;a.K.prototype.renderTemplateSource=function(b){var c=(9>a.a.oa?0:b.nodes)?b.nodes():null;if(c)return a.a.R(c.cloneNode(!0).childNodes);b=b.text();return a.a.Qa(b)};a.K.Ja=new a.K;a.Wa(a.K.Ja);a.b("nativeTemplateEngine",a.K);(function(){a.La=function(){var a=this.ac=function(){if(!t||
!t.tmpl)return 0;try{if(0<=t.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(a){}return 1}();this.renderTemplateSource=function(b,e,f){f=f||{};if(2>a)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var h=b.data("precompiled");h||(h=b.text()||"",h=t.template(null,"{{ko_with $item.koBindingContext}}"+h+"{{/ko_with}}"),b.data("precompiled",h));b=[e.$data];e=t.extend({koBindingContext:e},f.templateOptions);e=t.tmpl(h,b,e);e.appendTo(w.createElement("div")); !t.tmpl)return 0;try{if(0<=t.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(a){}return 1}();this.renderTemplateSource=function(b,e,f){f=f||{};if(2>a)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var h=b.data("precompiled");h||(h=b.text()||"",h=t.template(null,"{{ko_with $item.koBindingContext}}"+h+"{{/ko_with}}"),b.data("precompiled",h));b=[e.$data];e=t.extend({koBindingContext:e},f.templateOptions);e=t.tmpl(h,b,e);e.appendTo(w.createElement("div"));
t.fragments={};return e};this.createJavaScriptEvaluatorBlock=function(a){return"{{ko_code ((function() { return "+a+" })()) }}"};this.addTemplate=function(a,b){w.write("<script type='text/html' id='"+a+"'>"+b+"\x3c/script>")};0<a&&(t.tmpl.tag.ko_code={open:"__.push($1 || '');"},t.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};a.La.prototype=new a.C;var b=new a.La;0<b.ac&&a.Wa(b);a.b("jqueryTmplTemplateEngine",a.La)})()})})();})(); t.fragments={};return e};this.createJavaScriptEvaluatorBlock=function(a){return"{{ko_code ((function() { return "+a+" })()) }}"};this.addTemplate=function(a,b){w.write("<script type='text/html' id='"+a+"'>"+b+"\x3c/script>")};0<a&&(t.tmpl.tag.ko_code={open:"__.push($1 || '');"},t.tmpl.tag.ko_with={open:"with($1) {",close:"} "})};a.La.prototype=new a.C;var b=new a.La;0<b.ac&&a.Wa(b);a.b("jqueryTmplTemplateEngine",a.La)})()})})();})();
@@ -5279,4 +5279,4 @@ $.ui.fancytree.registerExtension("themeroller", {
// node.debug("ext-themeroller.nodeRenderStatus: ", node.span.className); // node.debug("ext-themeroller.nodeRenderStatus: ", node.span.className);
} }
}); });
}(jQuery, window, document)); }(jQuery, window, document));
@@ -8,8 +8,7 @@
* *
*/ */
/// <reference path="Scripts/jquery-1.6.4.js" /> /// <reference path="../Core/jquery-2.1.1.js" />
/// <reference path="jquery.signalR.version.js" />
(function ($, window, undefined) { (function ($, window, undefined) {
var resources = { var resources = {
@@ -1301,19 +1300,19 @@
return xhr; return xhr;
}, },
ajaxAbort: function (connection, async) { ajaxAbort: function (connection, doAsync) {
if (typeof (connection.transport) === "undefined") { if (typeof (connection.transport) === "undefined") {
return; return;
} }
// Async by default unless explicitly overidden // Async by default unless explicitly overidden
async = typeof async === "undefined" ? true : async; doAsync = typeof doAsync === "undefined" ? true : doAsync;
var url = getAjaxUrl(connection, "/abort"); var url = getAjaxUrl(connection, "/abort");
transportLogic.ajax(connection, { transportLogic.ajax(connection, {
url: url, url: url,
async: async, async: doAsync,
timeout: 1000, timeout: 1000,
type: "POST" type: "POST"
}); });
@@ -2907,6 +2906,11 @@
registerHubProxies(proxies, false); registerHubProxies(proxies, false);
}); });
proxies['deviceBatchUpdates'] = this.createHubProxy('deviceBatchUpdates');
proxies['deviceBatchUpdates'].client = {};
proxies['deviceBatchUpdates'].server = {
};
proxies['deviceUpdates'] = this.createHubProxy('deviceUpdates'); proxies['deviceUpdates'] = this.createHubProxy('deviceUpdates');
proxies['deviceUpdates'].client = { }; proxies['deviceUpdates'].client = { };
proxies['deviceUpdates'].server = { proxies['deviceUpdates'].server = {
File diff suppressed because one or more lines are too long
@@ -8,8 +8,8 @@
* *
*/ */
/// <reference path="..\..\SignalR.Client.JS\Scripts\jquery-1.6.4.js" /> /// <reference path="..\..\Core\jquery-2.1.1.js" />
/// <reference path="jquery.signalR.js" /> /// <reference path="jquery.signalR-2.1.1.js" />
(function ($, window, undefined) { (function ($, window, undefined) {
/// <param name="$" type="jQuery" /> /// <param name="$" type="jQuery" />
"use strict"; "use strict";
@@ -8,8 +8,7 @@
* *
*/ */
/// <reference path="Scripts/jquery-1.6.4.js" /> /// <reference path="../../Core/jquery-2.1.1.js" />
/// <reference path="jquery.signalR.version.js" />
(function ($, window, undefined) { (function ($, window, undefined) {
var resources = { var resources = {
@@ -1301,19 +1300,19 @@
return xhr; return xhr;
}, },
ajaxAbort: function (connection, async) { ajaxAbort: function (connection, doAsync) {
if (typeof (connection.transport) === "undefined") { if (typeof (connection.transport) === "undefined") {
return; return;
} }
// Async by default unless explicitly overidden // Async by default unless explicitly overidden
async = typeof async === "undefined" ? true : async; doAsync = typeof doAsync === "undefined" ? true : doAsync;
var url = getAjaxUrl(connection, "/abort"); var url = getAjaxUrl(connection, "/abort");
transportLogic.ajax(connection, { transportLogic.ajax(connection, {
url: url, url: url,
async: async, async: doAsync,
timeout: 1000, timeout: 1000,
type: "POST" type: "POST"
}); });
@@ -3334,4 +3334,4 @@ var _registerDnd = function() {
}; };
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
}(jQuery)); }(jQuery));
@@ -4430,4 +4430,4 @@ Timeline.GregorianDateLabeller.monthNames["en"] = [
Timeline.GregorianDateLabeller.dayNames["en"] = [ Timeline.GregorianDateLabeller.dayNames["en"] = [
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
]; ];
+7
View File
@@ -2382,6 +2382,13 @@
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" /> <Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" /> <Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
</Target> </Target>
<Import Project="..\packages\BuildBundlerMinifier.3.2.449\build\BuildBundlerMinifier.targets" Condition="Exists('..\packages\BuildBundlerMinifier.3.2.449\build\BuildBundlerMinifier.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\BuildBundlerMinifier.3.2.449\build\BuildBundlerMinifier.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BuildBundlerMinifier.3.2.449\build\BuildBundlerMinifier.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
+1
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="BuildBundlerMinifier" version="3.2.449" targetFramework="net45" />
<package id="DotNet.Highcharts" version="4.0" targetFramework="net45" /> <package id="DotNet.Highcharts" version="4.0" targetFramework="net45" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" /> <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net45" /> <package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net45" />