Initial commit
This commit is contained in:
commit
588032b1dc
1709 files changed
+6660083
No files matched your search
@@ -0,0 +1,34 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/DetailsView.js
|
||||
function DetailsView() {
|
||||
this.pageIndex = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = DetailsView_createPropertyString;
|
||||
this.setStateField = DetailsView_setStateValue;
|
||||
this.getHiddenFieldContents = DetailsView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function DetailsView_createPropertyString() {
|
||||
return createPropertyStringFromValues_DetailsView(this.pageIndex, this.dataKeys);
|
||||
}
|
||||
function DetailsView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function DetailsView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[2];
|
||||
for (var i = 3; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_DetailsView(valsArray[0], valsArray[1]);
|
||||
}
|
||||
function DetailsView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_DetailsView(pageIndex, dataKeys) {
|
||||
var value = new Array(pageIndex, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js
|
||||
function WebForm_FindFirstFocusableChild(control) {
|
||||
if (!control || !(control.tagName)) {
|
||||
return null;
|
||||
}
|
||||
var tagName = control.tagName.toLowerCase();
|
||||
if (tagName == "undefined") {
|
||||
return null;
|
||||
}
|
||||
var children = control.childNodes;
|
||||
if (children) {
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
try {
|
||||
if (WebForm_CanFocus(children[i])) {
|
||||
return children[i];
|
||||
}
|
||||
else {
|
||||
var focused = WebForm_FindFirstFocusableChild(children[i]);
|
||||
if (WebForm_CanFocus(focused)) {
|
||||
return focused;
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function WebForm_AutoFocus(focusId) {
|
||||
var targetControl;
|
||||
if (__nonMSDOMBrowser) {
|
||||
targetControl = document.getElementById(focusId);
|
||||
}
|
||||
else {
|
||||
targetControl = document.all[focusId];
|
||||
}
|
||||
var focused = targetControl;
|
||||
if (targetControl && (!WebForm_CanFocus(targetControl)) ) {
|
||||
focused = WebForm_FindFirstFocusableChild(targetControl);
|
||||
}
|
||||
if (focused) {
|
||||
try {
|
||||
focused.focus();
|
||||
if (__nonMSDOMBrowser) {
|
||||
focused.scrollIntoView(false);
|
||||
}
|
||||
if (window.__smartNav) {
|
||||
window.__smartNav.ae = focused.id;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebForm_CanFocus(element) {
|
||||
if (!element || !(element.tagName)) return false;
|
||||
var tagName = element.tagName.toLowerCase();
|
||||
return (!(element.disabled) &&
|
||||
(!(element.type) || element.type.toLowerCase() != "hidden") &&
|
||||
WebForm_IsFocusableTag(tagName) &&
|
||||
WebForm_IsInVisibleContainer(element)
|
||||
);
|
||||
}
|
||||
function WebForm_IsFocusableTag(tagName) {
|
||||
return (tagName == "input" ||
|
||||
tagName == "textarea" ||
|
||||
tagName == "select" ||
|
||||
tagName == "button" ||
|
||||
tagName == "a");
|
||||
}
|
||||
function WebForm_IsInVisibleContainer(ctrl) {
|
||||
var current = ctrl;
|
||||
while((typeof(current) != "undefined") && (current != null)) {
|
||||
if (current.disabled ||
|
||||
( typeof(current.style) != "undefined" &&
|
||||
( ( typeof(current.style.display) != "undefined" &&
|
||||
current.style.display == "none") ||
|
||||
( typeof(current.style.visibility) != "undefined" &&
|
||||
current.style.visibility == "hidden") ) ) ) {
|
||||
return false;
|
||||
}
|
||||
if (typeof(current.parentNode) != "undefined" &&
|
||||
current.parentNode != null &&
|
||||
current.parentNode != current &&
|
||||
current.parentNode.tagName.toLowerCase() != "body") {
|
||||
current = current.parentNode;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/GridView.js
|
||||
function GridView() {
|
||||
this.pageIndex = null;
|
||||
this.sortExpression = null;
|
||||
this.sortDirection = null;
|
||||
this.dataKeys = null;
|
||||
this.createPropertyString = GridView_createPropertyString;
|
||||
this.setStateField = GridView_setStateValue;
|
||||
this.getHiddenFieldContents = GridView_getHiddenFieldContents;
|
||||
this.stateField = null;
|
||||
this.panelElement = null;
|
||||
this.callback = null;
|
||||
}
|
||||
function GridView_createPropertyString() {
|
||||
return createPropertyStringFromValues_GridView(this.pageIndex, this.sortDirection, this.sortExpression, this.dataKeys);
|
||||
}
|
||||
function GridView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function GridView_OnCallback (result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[4];
|
||||
for (var i = 5; i < valsArray.length; i++) {
|
||||
innerHtml += "|" + valsArray[i];
|
||||
}
|
||||
context.panelElement.innerHTML = innerHtml;
|
||||
context.stateField.value = createPropertyStringFromValues_GridView(valsArray[0], valsArray[1], valsArray[2], valsArray[3]);
|
||||
}
|
||||
function GridView_getHiddenFieldContents(arg) {
|
||||
return arg + "|" + this.stateField.value;
|
||||
}
|
||||
function createPropertyStringFromValues_GridView(pageIndex, sortDirection, sortExpression, dataKeys) {
|
||||
var value = new Array(pageIndex, sortDirection, sortExpression, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjax.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjax.js
|
||||
Function.__typeName="Function";Function.__class=true;Function.createCallback=function(b,a){return function(){var e=arguments.length;if(e>0){var d=[];for(var c=0;c<e;c++)d[c]=arguments[c];d[e]=a;return b.apply(this,d)}return b.call(this,a)}};Function.createDelegate=function(a,b){return function(){return b.apply(a,arguments)}};Function.emptyFunction=Function.emptyMethod=function(){};Function.validateParameters=function(c,b,a){return Function._validateParams(c,b,a)};Function._validateParams=function(g,e,c){var a,d=e.length;c=c||typeof c==="undefined";a=Function._validateParameterCount(g,e,c);if(a){a.popStackFrame();return a}for(var b=0,i=g.length;b<i;b++){var f=e[Math.min(b,d-1)],h=f.name;if(f.parameterArray)h+="["+(b-d+1)+"]";else if(!c&&b>=d)break;a=Function._validateParameter(g[b],f,h);if(a){a.popStackFrame();return a}}return null};Function._validateParameterCount=function(j,d,i){var a,c,b=d.length,e=j.length;if(e<b){var f=b;for(a=0;a<b;a++){var g=d[a];if(g.optional||g.parameterArray)f--}if(e<f)c=true}else if(i&&e>b){c=true;for(a=0;a<b;a++)if(d[a].parameterArray){c=false;break}}if(c){var h=Error.parameterCount();h.popStackFrame();return h}return null};Function._validateParameter=function(c,a,h){var b,g=a.type,l=!!a.integer,k=!!a.domElement,m=!!a.mayBeNull;b=Function._validateParameterType(c,g,l,k,m,h);if(b){b.popStackFrame();return b}var e=a.elementType,f=!!a.elementMayBeNull;if(g===Array&&typeof c!=="undefined"&&c!==null&&(e||!f)){var j=!!a.elementInteger,i=!!a.elementDomElement;for(var d=0;d<c.length;d++){var n=c[d];b=Function._validateParameterType(n,e,j,i,f,h+"["+d+"]");if(b){b.popStackFrame();return b}}}return null};Function._validateParameterType=function(b,c,k,j,h,d){var a,g;if(typeof b==="undefined")if(h)return null;else{a=Error.argumentUndefined(d);a.popStackFrame();return a}if(b===null)if(h)return null;else{a=Error.argumentNull(d);a.popStackFrame();return a}if(c&&c.__enum){if(typeof b!=="number"){a=Error.argumentType(d,Object.getType(b),c);a.popStackFrame();return a}if(b%1===0){var e=c.prototype;if(!c.__flags||b===0){for(g in e)if(e[g]===b)return null}else{var i=b;for(g in e){var f=e[g];if(f===0)continue;if((f&b)===f)i-=f;if(i===0)return null}}}a=Error.argumentOutOfRange(d,b,String.format(Sys.Res.enumInvalidValue,b,c.getName()));a.popStackFrame();return a}if(j&&(!Sys._isDomElement(b)||b.nodeType===3)){a=Error.argument(d,Sys.Res.argumentDomElement);a.popStackFrame();return a}if(c&&!Sys._isInstanceOfType(c,b)){a=Error.argumentType(d,Object.getType(b),c);a.popStackFrame();return a}if(c===Number&&k)if(b%1!==0){a=Error.argumentOutOfRange(d,b,Sys.Res.argumentInteger);a.popStackFrame();return a}return null};Error.__typeName="Error";Error.__class=true;Error.create=function(d,b){var a=new Error(d);a.message=d;if(b)for(var c in b)a[c]=b[c];a.popStackFrame();return a};Error.argument=function(a,c){var b="Sys.ArgumentException: "+(c?c:Sys.Res.argument);if(a)b+="\n"+String.format(Sys.Res.paramName,a);var d=Error.create(b,{name:"Sys.ArgumentException",paramName:a});d.popStackFrame();return d};Error.argumentNull=function(a,c){var b="Sys.ArgumentNullException: "+(c?c:Sys.Res.argumentNull);if(a)b+="\n"+String.format(Sys.Res.paramName,a);var d=Error.create(b,{name:"Sys.ArgumentNullException",paramName:a});d.popStackFrame();return d};Error.argumentOutOfRange=function(c,a,d){var b="Sys.ArgumentOutOfRangeException: "+(d?d:Sys.Res.argumentOutOfRange);if(c)b+="\n"+String.format(Sys.Res.paramName,c);if(typeof a!=="undefined"&&a!==null)b+="\n"+String.format(Sys.Res.actualValue,a);var e=Error.create(b,{name:"Sys.ArgumentOutOfRangeException",paramName:c,actualValue:a});e.popStackFrame();return e};Error.argumentType=function(d,c,b,e){var a="Sys.ArgumentTypeException: ";if(e)a+=e;else if(c&&b)a+=String.format(Sys.Res.argumentTypeWithTypes,c.getName(),b.getName());else a+=Sys.Res.argumentType;if(d)a+="\n"+String.format(Sys.Res.paramName,d);var f=Error.create(a,{name:"Sys.ArgumentTypeException",paramName:d,actualType:c,expectedType:b});f.popStackFrame();return f};Error.argumentUndefined=function(a,c){var b="Sys.ArgumentUndefinedException: "+(c?c:Sys.Res.argumentUndefined);if(a)b+="\n"+String.format(Sys.Res.paramName,a);var d=Error.create(b,{name:"Sys.ArgumentUndefinedException",paramName:a});d.popStackFrame();return d};Error.format=function(a){var c="Sys.FormatException: "+(a?a:Sys.Res.format),b=Error.create(c,{name:"Sys.FormatException"});b.popStackFrame();return b};Error.invalidOperation=function(a){var c="Sys.InvalidOperationException: "+(a?a:Sys.Res.invalidOperation),b=Error.create(c,{name:"Sys.InvalidOperationException"});b.popStackFrame();return b};Error.notImplemented=function(a){var c="Sys.NotImplementedException: "+(a?a:Sys.Res.notImplemented),b=Error.create(c,{name:"Sys.NotImplementedException"});b.popStackFrame();return b};Error.parameterCount=function(a){var c="Sys.ParameterCountException: "+(a?a:Sys.Res.parameterCount),b=Error.create(c,{name:"Sys.ParameterCountException"});b.popStackFrame();return b};Error.prototypLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxApplicationServices.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxApplicationServices.js
|
||||
Type._registerScript("MicrosoftAjaxApplicationServices.js",["MicrosoftAjaxWebServices.js"]);Type.registerNamespace("Sys.Services");Sys.Services._ProfileService=function(){Sys.Services._ProfileService.initializeBase(this);this.properties={}};Sys.Services._ProfileService.DefaultWebServicePath="";Sys.Services._ProfileService.prototype={_defaultLoadCompletedCallback:null,_defaultSaveCompletedCallback:null,_path:"",_timeout:0,get_defaultLoadCompletedCallback:function(){return this._defaultLoadCompletedCallback},set_defaultLoadCompletedCallback:function(a){this._defaultLoadCompletedCallback=a},get_defaultSaveCompletedCallback:function(){return this._defaultSaveCompletedCallback},set_defaultSaveCompletedCallback:function(a){this._defaultSaveCompletedCallback=a},get_path:function(){return this._path||""},load:function(c,d,e,f){var b,a;if(!c){a="GetAllPropertiesForCurrentUser";b={authenticatedUserOnly:false}}else{a="GetPropertiesForCurrentUser";b={properties:this._clonePropertyNames(c),authenticatedUserOnly:false}}this._invoke(this._get_path(),a,false,b,Function.createDelegate(this,this._onLoadComplete),Function.createDelegate(this,this._onLoadFailed),[d,e,f])},save:function(d,b,c,e){var a=this._flattenProperties(d,this.properties);this._invoke(this._get_path(),"SetPropertiesForCurrentUser",false,{values:a.value,authenticatedUserOnly:false},Function.createDelegate(this,this._onSaveComplete),Function.createDelegate(this,this._onSaveFailed),[b,c,e,a.count])},_clonePropertyNames:function(e){var c=[],d={};for(var b=0;b<e.length;b++){var a=e[b];if(!d[a]){Array.add(c,a);d[a]=true}}return c},_flattenProperties:function(a,i,j){var b={},e,d,g=0;if(a&&a.length===0)return {value:b,count:0};for(var c in i){e=i[c];d=j?j+"."+c:c;if(Sys.Services.ProfileGroup.isInstanceOfType(e)){var k=this._flattenProperties(a,e,d),h=k.value;g+=k.count;for(var f in h){var l=h[f];b[f]=l}}else if(!a||Array.indexOf(a,d)!==-1){b[d]=e;g++}}return {value:b,count:g}},_get_path:function(){var a=this.get_path();if(!a.length)a=Sys.Services._ProfileService.DefaultWebServicePath;if(!a||!a.length)throw Error.invalidOperation(Sys.Res.servicePathNotSet);return a},_onLoadComplete:function(a,e,g){if(typeof a!=="object")throw Error.invalidOperation(String.format(Sys.Res.webServiceInvalidReturnType,g,"Object"));var c=this._unflattenProperties(a);for(var b in c)this.properties[b]=c[b];var d=e[0]||this.get_defaultLoadCompletedCallback()||this.get_defaultSucceededCallback();if(d){var f=e[2]||this.get_defaultUserContext();d(a.length,f,"Sys.Services.ProfileService.load")}},_onLoadFailed:function(d,b){var a=b[1]||this.get_defaultFailedCallback();if(a){var c=b[2]||this.get_defaultUserContext();a(d,c,"Sys.Services.ProfileService.load")}},_onSaveComplete:function(a,b,f){var c=b[3];if(a!==null)if(a instanceof Array)c-=a.length;else if(typeof a==="number")c=a;else throw Error.invalidOperation(String.format(Sys.Res.webServiceInvalidReturnType,f,"Array"));var d=b[0]||this.get_defaultSaveCompletedCallback()||this.get_defaultSucceededCallback();if(d){var e=b[2]||this.get_defaultUserContext();d(c,e,"Sys.Services.ProfileService.save")}},_onSaveFailed:function(d,b){var a=b[1]||this.get_defaultFailedCallback();if(a){var c=b[2]||this.get_defaultUserContext();a(d,c,"Sys.Services.ProfileService.save")}},_unflattenProperties:function(e){var c={},d,f,h=0;for(var a in e){h++;f=e[a];d=a.indexOf(".");if(d!==-1){var g=a.substr(0,d);a=a.substr(d+1);var b=c[g];if(!b||!Sys.Services.ProfileGroup.isInstanceOfType(b)){b=new Sys.Services.ProfileGroup;c[g]=b}b[a]=f}else c[a]=f}e.length=h;return c}};Sys.Services._ProfileService.registerClass("Sys.Services._ProfileService",Sys.Net.WebServiceProxy);Sys.Services.ProfileService=new Sys.Services._ProfileService;Sys.Services.ProfileGroup=function(a){if(a)for(var b in a)this[b]=a[b]};Sys.Services.ProfileGroup.registerClass("Sys.Services.ProfileGroup");Sys.Services._AuthenticationService=function(){Sys.Services._AuthenticationService.initializeBase(this)};Sys.Services._AuthenticationService.DefaultWebServicePath="";Sys.Services._AuthenticationService.prototype={_defaultLoginCompletedCallback:null,_defaultLogoutCompletedCallback:null,_path:"",_timeout:0,_authenticated:false,get_defaultLoginCompletedCallback:function(){return this._defaultLoginCompletedCallback},set_defaultLoginCompletedCallback:function(a){this._defaultLoginCompletedCallback=a},get_defaultLogoutCompletedCallback:function(){return this._defaultLogoutCompletedCallback},set_defaultLogoutCompletedCallback:function(a){this._defaultLogoutCompletedCallback=a},get_isLoggedIn:function(){return this._authenticated},get_path:function(){return this._path||""},login:function(c,b,a,h,f,d,e,g){this._invoke(this._get_path(),"Login",false,{userName:c,password:b,createPersistentCookie:a},Function.createDelegate(this,this._onLoginComplete),Function.createDelegate(this,this._onLoginFailed),[c,b,a,h,f,d,e,g])},logout:function(c,a,b,d){this._invoke(this._get_path(),"Logout",false,{},Function.createDelegate(this,thiLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxComponentModel.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxComponentModel.js
|
||||
Type._registerScript("MicrosoftAjaxComponentModel.js",["MicrosoftAjaxCore.js"]);Type.registerNamespace("Sys.UI");Sys.CommandEventArgs=function(c,a,b){Sys.CommandEventArgs.initializeBase(this);this._commandName=c;this._commandArgument=a;this._commandSource=b};Sys.CommandEventArgs.prototype={_commandName:null,_commandArgument:null,_commandSource:null,get_commandName:function(){return this._commandName},get_commandArgument:function(){return this._commandArgument},get_commandSource:function(){return this._commandSource}};Sys.CommandEventArgs.registerClass("Sys.CommandEventArgs",Sys.CancelEventArgs);Sys.INotifyDisposing=function(){};Sys.INotifyDisposing.prototype={};Sys.INotifyDisposing.registerInterface("Sys.INotifyDisposing");Sys.Component=function(){if(Sys.Application)Sys.Application.registerDisposableObject(this)};Sys.Component.prototype={_id:null,_initialized:false,_updating:false,get_events:function(){if(!this._events)this._events=new Sys.EventHandlerList;return this._events},get_id:function(){return this._id},set_id:function(a){this._id=a},get_isInitialized:function(){return this._initialized},get_isUpdating:function(){return this._updating},add_disposing:function(a){this.get_events().addHandler("disposing",a)},remove_disposing:function(a){this.get_events().removeHandler("disposing",a)},add_propertyChanged:function(a){this.get_events().addHandler("propertyChanged",a)},remove_propertyChanged:function(a){this.get_events().removeHandler("propertyChanged",a)},beginUpdate:function(){this._updating=true},dispose:function(){if(this._events){var a=this._events.getHandler("disposing");if(a)a(this,Sys.EventArgs.Empty)}delete this._events;Sys.Application.unregisterDisposableObject(this);Sys.Application.removeComponent(this)},endUpdate:function(){this._updating=false;if(!this._initialized)this.initialize();this.updated()},initialize:function(){this._initialized=true},raisePropertyChanged:function(b){if(!this._events)return;var a=this._events.getHandler("propertyChanged");if(a)a(this,new Sys.PropertyChangedEventArgs(b))},updated:function(){}};Sys.Component.registerClass("Sys.Component",null,Sys.IDisposable,Sys.INotifyPropertyChange,Sys.INotifyDisposing);function Sys$Component$_setProperties(a,i){var d,j=Object.getType(a),e=j===Object||j===Sys.UI.DomElement,h=Sys.Component.isInstanceOfType(a)&&!a.get_isUpdating();if(h)a.beginUpdate();for(var c in i){var b=i[c],f=e?null:a["get_"+c];if(e||typeof f!=="function"){var k=a[c];if(!b||typeof b!=="object"||e&&!k)a[c]=b;else Sys$Component$_setProperties(k,b)}else{var l=a["set_"+c];if(typeof l==="function")l.apply(a,[b]);else if(b instanceof Array){d=f.apply(a);for(var g=0,m=d.length,n=b.length;g<n;g++,m++)d[m]=b[g]}else if(typeof b==="object"&&Object.getType(b)===Object){d=f.apply(a);Sys$Component$_setProperties(d,b)}}}if(h)a.endUpdate()}function Sys$Component$_setReferences(c,b){for(var a in b){var e=c["set_"+a],d=$find(b[a]);e.apply(c,[d])}}var $create=Sys.Component.create=function(h,f,d,c,g){var a=g?new h(g):new h,b=Sys.Application,i=b.get_isCreatingComponents();a.beginUpdate();if(f)Sys$Component$_setProperties(a,f);if(d)for(var e in d)a["add_"+e](d[e]);if(a.get_id())b.addComponent(a);if(i){b._createdComponents[b._createdComponents.length]=a;if(c)b._addComponentToSecondPass(a,c);else a.endUpdate()}else{if(c)Sys$Component$_setReferences(a,c);a.endUpdate()}return a};Sys.UI.MouseButton=function(){throw Error.notImplemented()};Sys.UI.MouseButton.prototype={leftButton:0,middleButton:1,rightButton:2};Sys.UI.MouseButton.registerEnum("Sys.UI.MouseButton");Sys.UI.Key=function(){throw Error.notImplemented()};Sys.UI.Key.prototype={backspace:8,tab:9,enter:13,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,del:127};Sys.UI.Key.registerEnum("Sys.UI.Key");Sys.UI.Point=function(a,b){this.rawX=a;this.rawY=b;this.x=Math.round(a);this.y=Math.round(b)};Sys.UI.Point.registerClass("Sys.UI.Point");Sys.UI.Bounds=function(c,d,b,a){this.x=c;this.y=d;this.height=a;this.width=b};Sys.UI.Bounds.registerClass("Sys.UI.Bounds");Sys.UI.DomEvent=function(e){var a=e,b=this.type=a.type.toLowerCase();this.rawEvent=a;this.altKey=a.altKey;if(typeof a.button!=="undefined")this.button=typeof a.which!=="undefined"?a.button:a.button===4?Sys.UI.MouseButton.middleButton:a.button===2?Sys.UI.MouseButton.rightButton:Sys.UI.MouseButton.leftButton;if(b==="keypress")this.charCode=a.charCode||a.keyCode;else if(a.keyCode&&a.keyCode===46)this.keyCode=127;else this.keyCode=a.keyCode;this.clientX=a.clientX;this.clientY=a.clientY;this.ctrlKey=a.ctrlKey;this.target=a.target?a.target:a.srcElement;if(!b.startsWith("key"))if(typeof a.offsetX!=="undefined"&&typeof a.offsetY!=="undefined"){this.offsetX=a.offsetX;this.offsetY=a.offsetY}else if(this.target&&this.target.nodeType!==3&&typeof a.clientX==="number"){var c=Sys.UI.DomElement.getLocation(this.target),d=Sys.UI.DomElement._getWindow(this.target);this.offsetX=(d.pageXOffset||0)+a.clientX-c.x;this.offsetY=(d.pageYOffset||0)+a.clientY-c.y}this.screenXLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxCore.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxCore.js
|
||||
Function.__typeName="Function";Function.__class=true;Function.createCallback=function(b,a){return function(){var e=arguments.length;if(e>0){var d=[];for(var c=0;c<e;c++)d[c]=arguments[c];d[e]=a;return b.apply(this,d)}return b.call(this,a)}};Function.createDelegate=function(a,b){return function(){return b.apply(a,arguments)}};Function.emptyFunction=Function.emptyMethod=function(){};Function.validateParameters=function(c,b,a){return Function._validateParams(c,b,a)};Function._validateParams=function(g,e,c){var a,d=e.length;c=c||typeof c==="undefined";a=Function._validateParameterCount(g,e,c);if(a){a.popStackFrame();return a}for(var b=0,i=g.length;b<i;b++){var f=e[Math.min(b,d-1)],h=f.name;if(f.parameterArray)h+="["+(b-d+1)+"]";else if(!c&&b>=d)break;a=Function._validateParameter(g[b],f,h);if(a){a.popStackFrame();return a}}return null};Function._validateParameterCount=function(j,d,i){var a,c,b=d.length,e=j.length;if(e<b){var f=b;for(a=0;a<b;a++){var g=d[a];if(g.optional||g.parameterArray)f--}if(e<f)c=true}else if(i&&e>b){c=true;for(a=0;a<b;a++)if(d[a].parameterArray){c=false;break}}if(c){var h=Error.parameterCount();h.popStackFrame();return h}return null};Function._validateParameter=function(c,a,h){var b,g=a.type,l=!!a.integer,k=!!a.domElement,m=!!a.mayBeNull;b=Function._validateParameterType(c,g,l,k,m,h);if(b){b.popStackFrame();return b}var e=a.elementType,f=!!a.elementMayBeNull;if(g===Array&&typeof c!=="undefined"&&c!==null&&(e||!f)){var j=!!a.elementInteger,i=!!a.elementDomElement;for(var d=0;d<c.length;d++){var n=c[d];b=Function._validateParameterType(n,e,j,i,f,h+"["+d+"]");if(b){b.popStackFrame();return b}}}return null};Function._validateParameterType=function(b,c,k,j,h,d){var a,g;if(typeof b==="undefined")if(h)return null;else{a=Error.argumentUndefined(d);a.popStackFrame();return a}if(b===null)if(h)return null;else{a=Error.argumentNull(d);a.popStackFrame();return a}if(c&&c.__enum){if(typeof b!=="number"){a=Error.argumentType(d,Object.getType(b),c);a.popStackFrame();return a}if(b%1===0){var e=c.prototype;if(!c.__flags||b===0){for(g in e)if(e[g]===b)return null}else{var i=b;for(g in e){var f=e[g];if(f===0)continue;if((f&b)===f)i-=f;if(i===0)return null}}}a=Error.argumentOutOfRange(d,b,String.format(Sys.Res.enumInvalidValue,b,c.getName()));a.popStackFrame();return a}if(j&&(!Sys._isDomElement(b)||b.nodeType===3)){a=Error.argument(d,Sys.Res.argumentDomElement);a.popStackFrame();return a}if(c&&!Sys._isInstanceOfType(c,b)){a=Error.argumentType(d,Object.getType(b),c);a.popStackFrame();return a}if(c===Number&&k)if(b%1!==0){a=Error.argumentOutOfRange(d,b,Sys.Res.argumentInteger);a.popStackFrame();return a}return null};Error.__typeName="Error";Error.__class=true;Error.create=function(d,b){var a=new Error(d);a.message=d;if(b)for(var c in b)a[c]=b[c];a.popStackFrame();return a};Error.argument=function(a,c){var b="Sys.ArgumentException: "+(c?c:Sys.Res.argument);if(a)b+="\n"+String.format(Sys.Res.paramName,a);var d=Error.create(b,{name:"Sys.ArgumentException",paramName:a});d.popStackFrame();return d};Error.argumentNull=function(a,c){var b="Sys.ArgumentNullException: "+(c?c:Sys.Res.argumentNull);if(a)b+="\n"+String.format(Sys.Res.paramName,a);var d=Error.create(b,{name:"Sys.ArgumentNullException",paramName:a});d.popStackFrame();return d};Error.argumentOutOfRange=function(c,a,d){var b="Sys.ArgumentOutOfRangeException: "+(d?d:Sys.Res.argumentOutOfRange);if(c)b+="\n"+String.format(Sys.Res.paramName,c);if(typeof a!=="undefined"&&a!==null)b+="\n"+String.format(Sys.Res.actualValue,a);var e=Error.create(b,{name:"Sys.ArgumentOutOfRangeException",paramName:c,actualValue:a});e.popStackFrame();return e};Error.argumentType=function(d,c,b,e){var a="Sys.ArgumentTypeException: ";if(e)a+=e;else if(c&&b)a+=String.format(Sys.Res.argumentTypeWithTypes,c.getName(),b.getName());else a+=Sys.Res.argumentType;if(d)a+="\n"+String.format(Sys.Res.paramName,d);var f=Error.create(a,{name:"Sys.ArgumentTypeException",paramName:d,actualType:c,expectedType:b});f.popStackFrame();return f};Error.argumentUndefined=function(a,c){var b="Sys.ArgumentUndefinedException: "+(c?c:Sys.Res.argumentUndefined);if(a)b+="\n"+String.format(Sys.Res.paramName,a);var d=Error.create(b,{name:"Sys.ArgumentUndefinedException",paramName:a});d.popStackFrame();return d};Error.format=function(a){var c="Sys.FormatException: "+(a?a:Sys.Res.format),b=Error.create(c,{name:"Sys.FormatException"});b.popStackFrame();return b};Error.invalidOperation=function(a){var c="Sys.InvalidOperationException: "+(a?a:Sys.Res.invalidOperation),b=Error.create(c,{name:"Sys.InvalidOperationException"});b.popStackFrame();return b};Error.notImplemented=function(a){var c="Sys.NotImplementedException: "+(a?a:Sys.Res.notImplemented),b=Error.create(c,{name:"Sys.NotImplementedException"});b.popStackFrame();return b};Error.parameterCount=function(a){var c="Sys.ParameterCountException: "+(a?a:Sys.Res.parameterCount),b=Error.create(c,{name:"Sys.ParameterCountException"});b.popStackFrame();return b};Error.prototypLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxGlobalization.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxGlobalization.js
|
||||
Type._registerScript("MicrosoftAjaxGlobalization.js",["MicrosoftAjaxCore.js"]);Date._appendPreOrPostMatch=function(e,b){var d=0,a=false;for(var c=0,g=e.length;c<g;c++){var f=e.charAt(c);switch(f){case "'":if(a)b.append("'");else d++;a=false;break;case "\\":if(a)b.append("\\");a=!a;break;default:b.append(f);a=false}}return d};Date._expandFormat=function(a,b){if(!b)b="F";var c=b.length;if(c===1)switch(b){case "d":return a.ShortDatePattern;case "D":return a.LongDatePattern;case "t":return a.ShortTimePattern;case "T":return a.LongTimePattern;case "f":return a.LongDatePattern+" "+a.ShortTimePattern;case "F":return a.FullDateTimePattern;case "M":case "m":return a.MonthDayPattern;case "s":return a.SortableDateTimePattern;case "Y":case "y":return a.YearMonthPattern;default:throw Error.format(Sys.Res.formatInvalidString)}else if(c===2&&b.charAt(0)==="%")b=b.charAt(1);return b};Date._expandYear=function(c,a){var d=new Date,e=Date._getEra(d);if(a<100){var b=Date._getEraYear(d,c,e);a+=b-b%100;if(a>c.Calendar.TwoDigitYearMax)a-=100}return a};Date._getEra=function(e,c){if(!c)return 0;var b,d=e.getTime();for(var a=0,f=c.length;a<f;a+=4){b=c[a+2];if(b===null||d>=b)return a}return 0};Date._getEraYear=function(d,b,e,c){var a=d.getFullYear();if(!c&&b.eras)a-=b.eras[e+3];return a};Date._getParseRegExp=function(b,e){if(!b._parseRegExp)b._parseRegExp={};else if(b._parseRegExp[e])return b._parseRegExp[e];var c=Date._expandFormat(b,e);c=c.replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");var a=new Sys.StringBuilder("^"),j=[],f=0,i=0,h=Date._getTokenRegExp(),d;while((d=h.exec(c))!==null){var l=c.slice(f,d.index);f=h.lastIndex;i+=Date._appendPreOrPostMatch(l,a);if(i%2===1){a.append(d[0]);continue}switch(d[0]){case "dddd":case "ddd":case "MMMM":case "MMM":case "gg":case "g":a.append("(\\D+)");break;case "tt":case "t":a.append("(\\D*)");break;case "yyyy":a.append("(\\d{4})");break;case "fff":a.append("(\\d{3})");break;case "ff":a.append("(\\d{2})");break;case "f":a.append("(\\d)");break;case "dd":case "d":case "MM":case "M":case "yy":case "y":case "HH":case "H":case "hh":case "h":case "mm":case "m":case "ss":case "s":a.append("(\\d\\d?)");break;case "zzz":a.append("([+-]?\\d\\d?:\\d{2})");break;case "zz":case "z":a.append("([+-]?\\d\\d?)");break;case "/":a.append("(\\"+b.DateSeparator+")")}Array.add(j,d[0])}Date._appendPreOrPostMatch(c.slice(f),a);a.append("$");var k=a.toString().replace(/\s+/g,"\\s+"),g={"regExp":k,"groups":j};b._parseRegExp[e]=g;return g};Date._getTokenRegExp=function(){return /\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g};Date.parseLocale=function(a){return Date._parse(a,Sys.CultureInfo.CurrentCulture,arguments)};Date.parseInvariant=function(a){return Date._parse(a,Sys.CultureInfo.InvariantCulture,arguments)};Date._parse=function(h,d,i){var a,c,b,f,e,g=false;for(a=1,c=i.length;a<c;a++){f=i[a];if(f){g=true;b=Date._parseExact(h,f,d);if(b)return b}}if(!g){e=d._getDateTimeFormats();for(a=0,c=e.length;a<c;a++){b=Date._parseExact(h,e[a],d);if(b)return b}}return null};Date._parseExact=function(w,D,k){w=w.trim();var g=k.dateTimeFormat,A=Date._getParseRegExp(g,D),C=(new RegExp(A.regExp)).exec(w);if(C===null)return null;var B=A.groups,x=null,e=null,c=null,j=null,i=null,d=0,h,p=0,q=0,f=0,l=null,v=false;for(var s=0,E=B.length;s<E;s++){var a=C[s+1];if(a)switch(B[s]){case "dd":case "d":j=parseInt(a,10);if(j<1||j>31)return null;break;case "MMMM":c=k._getMonthIndex(a);if(c<0||c>11)return null;break;case "MMM":c=k._getAbbrMonthIndex(a);if(c<0||c>11)return null;break;case "M":case "MM":c=parseInt(a,10)-1;if(c<0||c>11)return null;break;case "y":case "yy":e=Date._expandYear(g,parseInt(a,10));if(e<0||e>9999)return null;break;case "yyyy":e=parseInt(a,10);if(e<0||e>9999)return null;break;case "h":case "hh":d=parseInt(a,10);if(d===12)d=0;if(d<0||d>11)return null;break;case "H":case "HH":d=parseInt(a,10);if(d<0||d>23)return null;break;case "m":case "mm":p=parseInt(a,10);if(p<0||p>59)return null;break;case "s":case "ss":q=parseInt(a,10);if(q<0||q>59)return null;break;case "tt":case "t":var z=a.toUpperCase();v=z===g.PMDesignator.toUpperCase();if(!v&&z!==g.AMDesignator.toUpperCase())return null;break;case "f":f=parseInt(a,10)*100;if(f<0||f>999)return null;break;case "ff":f=parseInt(a,10)*10;if(f<0||f>999)return null;break;case "fff":f=parseInt(a,10);if(f<0||f>999)return null;break;case "dddd":i=k._getDayIndex(a);if(i<0||i>6)return null;break;case "ddd":i=k._getAbbrDayIndex(a);if(i<0||i>6)return null;break;case "zzz":var u=a.split(/:/);if(u.length!==2)return null;h=parseInt(u[0],10);if(h<-12||h>13)return null;var m=parseInt(u[1],10);if(m<0||m>59)return null;l=h*60+(a.startsWith("-")?-m:m);break;case "z":case "zz":h=parseInt(a,10);if(h<-12||h>13)return null;l=h*60;break;case "g":case "gg":var o=a;if(!o||!g.eras)return null;o=o.toLowerCase().trim();for(var r=0,F=g.eras.length;r<F;r+=4)if(o===g.eras[r+1].toLowerCase()){x=r;break}if(x===null)return null}}var b=new Date,t,n=g.Calendar.convert;if(n)t=Line truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxHistory.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxHistory.js
|
||||
Type._registerScript("MicrosoftAjaxHistory.js",["MicrosoftAjaxComponentModel.js","MicrosoftAjaxSerialization.js"]);Sys.HistoryEventArgs=function(a){Sys.HistoryEventArgs.initializeBase(this);this._state=a};Sys.HistoryEventArgs.prototype={get_state:function(){return this._state}};Sys.HistoryEventArgs.registerClass("Sys.HistoryEventArgs",Sys.EventArgs);Sys.Application._appLoadHandler=null;Sys.Application._beginRequestHandler=null;Sys.Application._clientId=null;Sys.Application._currentEntry="";Sys.Application._endRequestHandler=null;Sys.Application._history=null;Sys.Application._enableHistory=false;Sys.Application._historyFrame=null;Sys.Application._historyInitialized=false;Sys.Application._historyPointIsNew=false;Sys.Application._ignoreTimer=false;Sys.Application._initialState=null;Sys.Application._state={};Sys.Application._timerCookie=0;Sys.Application._timerHandler=null;Sys.Application._uniqueId=null;Sys._Application.prototype.get_stateString=function(){var a=null;if(Sys.Browser.agent===Sys.Browser.Firefox){var c=window.location.href,b=c.indexOf("#");if(b!==-1)a=c.substring(b+1);else a="";return a}else a=window.location.hash;if(a.length>0&&a.charAt(0)==="#")a=a.substring(1);return a};Sys._Application.prototype.get_enableHistory=function(){return this._enableHistory};Sys._Application.prototype.set_enableHistory=function(a){this._enableHistory=a};Sys._Application.prototype.add_navigate=function(a){this.get_events().addHandler("navigate",a)};Sys._Application.prototype.remove_navigate=function(a){this.get_events().removeHandler("navigate",a)};Sys._Application.prototype.addHistoryPoint=function(c,f){this._ensureHistory();var b=this._state;for(var a in c){var d=c[a];if(d===null){if(typeof b[a]!=="undefined")delete b[a]}else b[a]=d}var e=this._serializeState(b);this._historyPointIsNew=true;this._setState(e,f);this._raiseNavigate()};Sys._Application.prototype.setServerId=function(a,b){this._clientId=a;this._uniqueId=b};Sys._Application.prototype.setServerState=function(a){this._ensureHistory();this._state.__s=a;this._updateHiddenField(a)};Sys._Application.prototype._deserializeState=function(a){var e={};a=a||"";var b=a.indexOf("&&");if(b!==-1&&b+2<a.length){e.__s=a.substr(b+2);a=a.substr(0,b)}var g=a.split("&");for(var f=0,j=g.length;f<j;f++){var d=g[f],c=d.indexOf("=");if(c!==-1&&c+1<d.length){var i=d.substr(0,c),h=d.substr(c+1);e[i]=decodeURIComponent(h)}}return e};Sys._Application.prototype._enableHistoryInScriptManager=function(){this._enableHistory=true};Sys._Application.prototype._ensureHistory=function(){if(!this._historyInitialized&&this._enableHistory){if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&document.documentMode<8){this._historyFrame=document.getElementById("__historyFrame");this._ignoreIFrame=true}this._timerHandler=Function.createDelegate(this,this._onIdle);this._timerCookie=window.setTimeout(this._timerHandler,100);try{this._initialState=this._deserializeState(this.get_stateString())}catch(a){}this._historyInitialized=true}};Sys._Application.prototype._navigate=function(c){this._ensureHistory();var b=this._deserializeState(c);if(this._uniqueId){var d=this._state.__s||"",a=b.__s||"";if(a!==d){this._updateHiddenField(a);__doPostBack(this._uniqueId,a);this._state=b;return}}this._setState(c);this._state=b;this._raiseNavigate()};Sys._Application.prototype._onIdle=function(){delete this._timerCookie;var a=this.get_stateString();if(a!==this._currentEntry){if(!this._ignoreTimer){this._historyPointIsNew=false;this._navigate(a)}}else this._ignoreTimer=false;this._timerCookie=window.setTimeout(this._timerHandler,100)};Sys._Application.prototype._onIFrameLoad=function(a){if(document.documentMode<8){this._ensureHistory();if(!this._ignoreIFrame){this._historyPointIsNew=false;this._navigate(a)}this._ignoreIFrame=false}};Sys._Application.prototype._onPageRequestManagerBeginRequest=function(){this._ignoreTimer=true;this._originalTitle=document.title};Sys._Application.prototype._onPageRequestManagerEndRequest=function(g,f){var d=f.get_dataItems()[this._clientId],c=this._originalTitle;this._originalTitle=null;var b=document.getElementById("__EVENTTARGET");if(b&&b.value===this._uniqueId)b.value="";if(typeof d!=="undefined"){this.setServerState(d);this._historyPointIsNew=true}else this._ignoreTimer=false;var a=this._serializeState(this._state);if(a!==this._currentEntry){this._ignoreTimer=true;if(typeof c==="string"){if(Sys.Browser.agent!==Sys.Browser.InternetExplorer||Sys.Browser.version>7){var e=document.title;document.title=c;this._setState(a);document.title=e}else this._setState(a);this._raiseNavigate()}else{this._setState(a);this._raiseNavigate()}}};Sys._Application.prototype._raiseNavigate=function(){var d=this._historyPointIsNew,c=this.get_events().getHandler("navigate"),b={};for(var a in this._state)if(a!=="__s")b[a]=this._state[a];var e=new Sys.HistoryEventArgs(b);if(c)c(this,e);if(!d){var f;try{if(Sys.Browser.agent===Sys.Browser.Firefox&&window.location.hash&&(!window.frameElement||window.top.locationLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxNetwork.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxNetwork.js
|
||||
Type._registerScript("MicrosoftAjaxNetwork.js",["MicrosoftAjaxSerialization.js"]);if(!window.XMLHttpRequest)window.XMLHttpRequest=function(){var b=["Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP"];for(var a=0,c=b.length;a<c;a++)try{return new ActiveXObject(b[a])}catch(d){}return null};Type.registerNamespace("Sys.Net");Sys.Net.WebRequestExecutor=function(){this._webRequest=null;this._resultObject=null};Sys.Net.WebRequestExecutor.prototype={get_webRequest:function(){return this._webRequest},_set_webRequest:function(a){this._webRequest=a},get_started:function(){throw Error.notImplemented()},get_responseAvailable:function(){throw Error.notImplemented()},get_timedOut:function(){throw Error.notImplemented()},get_aborted:function(){throw Error.notImplemented()},get_responseData:function(){throw Error.notImplemented()},get_statusCode:function(){throw Error.notImplemented()},get_statusText:function(){throw Error.notImplemented()},get_xml:function(){throw Error.notImplemented()},get_object:function(){if(!this._resultObject)this._resultObject=Sys.Serialization.JavaScriptSerializer.deserialize(this.get_responseData());return this._resultObject},executeRequest:function(){throw Error.notImplemented()},abort:function(){throw Error.notImplemented()},getResponseHeader:function(){throw Error.notImplemented()},getAllResponseHeaders:function(){throw Error.notImplemented()}};Sys.Net.WebRequestExecutor.registerClass("Sys.Net.WebRequestExecutor");Sys.Net.XMLDOM=function(d){if(!window.DOMParser){var c=["Msxml2.DOMDocument.3.0","Msxml2.DOMDocument"];for(var b=0,f=c.length;b<f;b++)try{var a=new ActiveXObject(c[b]);a.async=false;a.loadXML(d);a.setProperty("SelectionLanguage","XPath");return a}catch(g){}}else try{var e=new window.DOMParser;return e.parseFromString(d,"text/xml")}catch(g){}return null};Sys.Net.XMLHttpExecutor=function(){Sys.Net.XMLHttpExecutor.initializeBase(this);var a=this;this._xmlHttpRequest=null;this._webRequest=null;this._responseAvailable=false;this._timedOut=false;this._timer=null;this._aborted=false;this._started=false;this._onReadyStateChange=function(){if(a._xmlHttpRequest.readyState===4){try{if(typeof a._xmlHttpRequest.status==="undefined")return}catch(b){return}a._clearTimer();a._responseAvailable=true;try{a._webRequest.completed(Sys.EventArgs.Empty)}finally{if(a._xmlHttpRequest!=null){a._xmlHttpRequest.onreadystatechange=Function.emptyMethod;a._xmlHttpRequest=null}}}};this._clearTimer=function(){if(a._timer!=null){window.clearTimeout(a._timer);a._timer=null}};this._onTimeout=function(){if(!a._responseAvailable){a._clearTimer();a._timedOut=true;a._xmlHttpRequest.onreadystatechange=Function.emptyMethod;a._xmlHttpRequest.abort();a._webRequest.completed(Sys.EventArgs.Empty);a._xmlHttpRequest=null}}};Sys.Net.XMLHttpExecutor.prototype={get_timedOut:function(){return this._timedOut},get_started:function(){return this._started},get_responseAvailable:function(){return this._responseAvailable},get_aborted:function(){return this._aborted},executeRequest:function(){this._webRequest=this.get_webRequest();var c=this._webRequest.get_body(),a=this._webRequest.get_headers();this._xmlHttpRequest=new XMLHttpRequest;this._xmlHttpRequest.onreadystatechange=this._onReadyStateChange;var e=this._webRequest.get_httpVerb();this._xmlHttpRequest.open(e,this._webRequest.getResolvedUrl(),true);this._xmlHttpRequest.setRequestHeader("X-Requested-With","XMLHttpRequest");if(a)for(var b in a){var f=a[b];if(typeof f!=="function")this._xmlHttpRequest.setRequestHeader(b,f)}if(e.toLowerCase()==="post"){if(a===null||!a["Content-Type"])this._xmlHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8");if(!c)c=""}var d=this._webRequest.get_timeout();if(d>0)this._timer=window.setTimeout(Function.createDelegate(this,this._onTimeout),d);this._xmlHttpRequest.send(c);this._started=true},getResponseHeader:function(b){var a;try{a=this._xmlHttpRequest.getResponseHeader(b)}catch(c){}if(!a)a="";return a},getAllResponseHeaders:function(){return this._xmlHttpRequest.getAllResponseHeaders()},get_responseData:function(){return this._xmlHttpRequest.responseText},get_statusCode:function(){var a=0;try{a=this._xmlHttpRequest.status}catch(b){}return a},get_statusText:function(){return this._xmlHttpRequest.statusText},get_xml:function(){var a=this._xmlHttpRequest.responseXML;if(!a||!a.documentElement){a=Sys.Net.XMLDOM(this._xmlHttpRequest.responseText);if(!a||!a.documentElement)return null}else if(navigator.userAgent.indexOf("MSIE")!==-1&&typeof a.setProperty!="undefined")a.setProperty("SelectionLanguage","XPath");if(a.documentElement.namespaceURI==="http://www.mozilla.org/newlayout/xml/parsererror.xml"&&a.documentElement.tagName==="parsererror")return null;if(a.documentElement.firstChild&&a.documentElement.firstChild.tagName==="parsererror")return null;return a},abort:function(){if(this._aborted||this._responseAvailable||this._timedOut)return;this._aborted=true;this._clearTimer();if(this._xmlHttpRequest&&!this._responseAvailable){this._xLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxSerialization.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxSerialization.js
|
||||
Type._registerScript("MicrosoftAjaxSerialization.js",["MicrosoftAjaxCore.js"]);Type.registerNamespace("Sys.Serialization");Sys.Serialization.JavaScriptSerializer=function(){};Sys.Serialization.JavaScriptSerializer.registerClass("Sys.Serialization.JavaScriptSerializer");Sys.Serialization.JavaScriptSerializer._charsToEscapeRegExs=[];Sys.Serialization.JavaScriptSerializer._charsToEscape=[];Sys.Serialization.JavaScriptSerializer._dateRegEx=new RegExp('(^|[^\\\\])\\"\\\\/Date\\((-?[0-9]+)(?:[a-zA-Z]|(?:\\+|-)[0-9]{4})?\\)\\\\/\\"',"g");Sys.Serialization.JavaScriptSerializer._escapeChars={};Sys.Serialization.JavaScriptSerializer._escapeRegEx=new RegExp('["\\\\\\x00-\\x1F]',"i");Sys.Serialization.JavaScriptSerializer._escapeRegExGlobal=new RegExp('["\\\\\\x00-\\x1F]',"g");Sys.Serialization.JavaScriptSerializer._jsonRegEx=new RegExp("[^,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t]","g");Sys.Serialization.JavaScriptSerializer._jsonStringRegEx=new RegExp('"(\\\\.|[^"\\\\])*"',"g");Sys.Serialization.JavaScriptSerializer._serverTypeFieldName="__type";Sys.Serialization.JavaScriptSerializer._init=function(){var c=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000b","\\f","\\r","\\u000e","\\u000f","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001a","\\u001b","\\u001c","\\u001d","\\u001e","\\u001f"];Sys.Serialization.JavaScriptSerializer._charsToEscape[0]="\\";Sys.Serialization.JavaScriptSerializer._charsToEscapeRegExs["\\"]=new RegExp("\\\\","g");Sys.Serialization.JavaScriptSerializer._escapeChars["\\"]="\\\\";Sys.Serialization.JavaScriptSerializer._charsToEscape[1]='"';Sys.Serialization.JavaScriptSerializer._charsToEscapeRegExs['"']=new RegExp('"',"g");Sys.Serialization.JavaScriptSerializer._escapeChars['"']='\\"';for(var a=0;a<32;a++){var b=String.fromCharCode(a);Sys.Serialization.JavaScriptSerializer._charsToEscape[a+2]=b;Sys.Serialization.JavaScriptSerializer._charsToEscapeRegExs[b]=new RegExp(b,"g");Sys.Serialization.JavaScriptSerializer._escapeChars[b]=c[a]}};Sys.Serialization.JavaScriptSerializer._serializeBooleanWithBuilder=function(b,a){a.append(b.toString())};Sys.Serialization.JavaScriptSerializer._serializeNumberWithBuilder=function(a,b){if(isFinite(a))b.append(String(a));else throw Error.invalidOperation(Sys.Res.cannotSerializeNonFiniteNumbers)};Sys.Serialization.JavaScriptSerializer._serializeStringWithBuilder=function(a,c){c.append('"');if(Sys.Serialization.JavaScriptSerializer._escapeRegEx.test(a)){if(Sys.Serialization.JavaScriptSerializer._charsToEscape.length===0)Sys.Serialization.JavaScriptSerializer._init();if(a.length<128)a=a.replace(Sys.Serialization.JavaScriptSerializer._escapeRegExGlobal,function(a){return Sys.Serialization.JavaScriptSerializer._escapeChars[a]});else for(var d=0;d<34;d++){var b=Sys.Serialization.JavaScriptSerializer._charsToEscape[d];if(a.indexOf(b)!==-1)if(Sys.Browser.agent===Sys.Browser.Opera||Sys.Browser.agent===Sys.Browser.FireFox)a=a.split(b).join(Sys.Serialization.JavaScriptSerializer._escapeChars[b]);else a=a.replace(Sys.Serialization.JavaScriptSerializer._charsToEscapeRegExs[b],Sys.Serialization.JavaScriptSerializer._escapeChars[b])}}c.append(a);c.append('"')};Sys.Serialization.JavaScriptSerializer._serializeWithBuilder=function(b,a,i,g){var c;switch(typeof b){case "object":if(b)if(Number.isInstanceOfType(b))Sys.Serialization.JavaScriptSerializer._serializeNumberWithBuilder(b,a);else if(Boolean.isInstanceOfType(b))Sys.Serialization.JavaScriptSerializer._serializeBooleanWithBuilder(b,a);else if(String.isInstanceOfType(b))Sys.Serialization.JavaScriptSerializer._serializeStringWithBuilder(b,a);else if(Array.isInstanceOfType(b)){a.append("[");for(c=0;c<b.length;++c){if(c>0)a.append(",");Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(b[c],a,false,g)}a.append("]")}else{if(Date.isInstanceOfType(b)){a.append('"\\/Date(');a.append(b.getTime());a.append(')\\/"');break}var d=[],f=0;for(var e in b){if(e.startsWith("$"))continue;if(e===Sys.Serialization.JavaScriptSerializer._serverTypeFieldName&&f!==0){d[f++]=d[0];d[0]=e}else d[f++]=e}if(i)d.sort();a.append("{");var j=false;for(c=0;c<f;c++){var h=b[d[c]];if(typeof h!=="undefined"&&typeof h!=="function"){if(j)a.append(",");else j=true;Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(d[c],a,i,g);a.append(":");Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(h,a,i,g)}}a.append("}")}else a.append("null");break;case "number":Sys.Serialization.JavaScriptSerializer._serializeNumberWithBuilder(b,a);break;case "string":Sys.Serialization.JavaScriptSerializer._serializeStringWithBuilder(b,a);break;case "boolean":Sys.Serialization.JavaScriptSerializer._serializeBooleanWithBuilder(b,a);break;default:a.append("null")}};Sys.Serialization.JavaScriptSerializer.serialize=function(b){var a=new Sys.StringBuilder;Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(b,a,false);return a.toString()};Sys.SerialLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxTimer.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxTimer.js
|
||||
Type._registerScript("Timer.js",["MicrosoftAjaxComponentModel.js"]);Sys.UI._Timer=function(a){Sys.UI._Timer.initializeBase(this,[a]);this._interval=60000;this._enabled=true;this._postbackPending=false;this._raiseTickDelegate=null;this._endRequestHandlerDelegate=null;this._timer=null;this._pageRequestManager=null;this._uniqueID=null};Sys.UI._Timer.prototype={get_enabled:function(){return this._enabled},set_enabled:function(a){this._enabled=a},get_interval:function(){return this._interval},set_interval:function(a){this._interval=a},get_uniqueID:function(){return this._uniqueID},set_uniqueID:function(a){this._uniqueID=a},dispose:function(){this._stopTimer();if(this._pageRequestManager!==null)this._pageRequestManager.remove_endRequest(this._endRequestHandlerDelegate);Sys.UI._Timer.callBaseMethod(this,"dispose")},_doPostback:function(){__doPostBack(this.get_uniqueID(),"")},_handleEndRequest:function(c,b){var a=b.get_dataItems()[this.get_id()];if(a)this._update(a[0],a[1]);if(this._postbackPending===true&&this._pageRequestManager!==null&&this._pageRequestManager.get_isInAsyncPostBack()===false){this._postbackPending=false;this._doPostback()}},initialize:function(){Sys.UI._Timer.callBaseMethod(this,"initialize");this._raiseTickDelegate=Function.createDelegate(this,this._raiseTick);this._endRequestHandlerDelegate=Function.createDelegate(this,this._handleEndRequest);if(Sys.WebForms&&Sys.WebForms.PageRequestManager)this._pageRequestManager=Sys.WebForms.PageRequestManager.getInstance();if(this._pageRequestManager!==null)this._pageRequestManager.add_endRequest(this._endRequestHandlerDelegate);if(this.get_enabled())this._startTimer()},_raiseTick:function(){this._startTimer();if(this._pageRequestManager===null||!this._pageRequestManager.get_isInAsyncPostBack()){this._doPostback();this._postbackPending=false}else this._postbackPending=true},_startTimer:function(){this._timer=window.setTimeout(Function.createDelegate(this,this._raiseTick),this.get_interval())},_stopTimer:function(){if(this._timer!==null){window.clearTimeout(this._timer);this._timer=null}},_update:function(c,b){var a=!this.get_enabled(),d=this.get_interval()!==b;if(!a&&(!c||d)){this._stopTimer();a=true}this.set_enabled(c);this.set_interval(b);if(this.get_enabled()&&a)this._startTimer()}};Sys.UI._Timer.registerClass("Sys.UI._Timer",Sys.UI.Control);
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxWebForms.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxWebForms.js
|
||||
Type._registerScript("MicrosoftAjaxWebForms.js",["MicrosoftAjaxCore.js","MicrosoftAjaxSerialization.js","MicrosoftAjaxNetwork.js","MicrosoftAjaxComponentModel.js"]);Type.registerNamespace("Sys.WebForms");Sys.WebForms.BeginRequestEventArgs=function(c,b,a){Sys.WebForms.BeginRequestEventArgs.initializeBase(this);this._request=c;this._postBackElement=b;this._updatePanelsToUpdate=a};Sys.WebForms.BeginRequestEventArgs.prototype={get_postBackElement:function(){return this._postBackElement},get_request:function(){return this._request},get_updatePanelsToUpdate:function(){return this._updatePanelsToUpdate?Array.clone(this._updatePanelsToUpdate):[]}};Sys.WebForms.BeginRequestEventArgs.registerClass("Sys.WebForms.BeginRequestEventArgs",Sys.EventArgs);Sys.WebForms.EndRequestEventArgs=function(c,a,b){Sys.WebForms.EndRequestEventArgs.initializeBase(this);this._errorHandled=false;this._error=c;this._dataItems=a||{};this._response=b};Sys.WebForms.EndRequestEventArgs.prototype={get_dataItems:function(){return this._dataItems},get_error:function(){return this._error},get_errorHandled:function(){return this._errorHandled},set_errorHandled:function(a){this._errorHandled=a},get_response:function(){return this._response}};Sys.WebForms.EndRequestEventArgs.registerClass("Sys.WebForms.EndRequestEventArgs",Sys.EventArgs);Sys.WebForms.InitializeRequestEventArgs=function(c,b,a){Sys.WebForms.InitializeRequestEventArgs.initializeBase(this);this._request=c;this._postBackElement=b;this._updatePanelsToUpdate=a};Sys.WebForms.InitializeRequestEventArgs.prototype={get_postBackElement:function(){return this._postBackElement},get_request:function(){return this._request},get_updatePanelsToUpdate:function(){return this._updatePanelsToUpdate?Array.clone(this._updatePanelsToUpdate):[]},set_updatePanelsToUpdate:function(a){this._updated=true;this._updatePanelsToUpdate=a}};Sys.WebForms.InitializeRequestEventArgs.registerClass("Sys.WebForms.InitializeRequestEventArgs",Sys.CancelEventArgs);Sys.WebForms.PageLoadedEventArgs=function(b,a,c){Sys.WebForms.PageLoadedEventArgs.initializeBase(this);this._panelsUpdated=b;this._panelsCreated=a;this._dataItems=c||{}};Sys.WebForms.PageLoadedEventArgs.prototype={get_dataItems:function(){return this._dataItems},get_panelsCreated:function(){return this._panelsCreated},get_panelsUpdated:function(){return this._panelsUpdated}};Sys.WebForms.PageLoadedEventArgs.registerClass("Sys.WebForms.PageLoadedEventArgs",Sys.EventArgs);Sys.WebForms.PageLoadingEventArgs=function(b,a,c){Sys.WebForms.PageLoadingEventArgs.initializeBase(this);this._panelsUpdating=b;this._panelsDeleting=a;this._dataItems=c||{}};Sys.WebForms.PageLoadingEventArgs.prototype={get_dataItems:function(){return this._dataItems},get_panelsDeleting:function(){return this._panelsDeleting},get_panelsUpdating:function(){return this._panelsUpdating}};Sys.WebForms.PageLoadingEventArgs.registerClass("Sys.WebForms.PageLoadingEventArgs",Sys.EventArgs);Sys._ScriptLoader=function(){this._scriptsToLoad=null;this._sessions=[];this._scriptLoadedDelegate=Function.createDelegate(this,this._scriptLoadedHandler)};Sys._ScriptLoader.prototype={dispose:function(){this._stopSession();this._loading=false;if(this._events)delete this._events;this._sessions=null;this._currentSession=null;this._scriptLoadedDelegate=null},loadScripts:function(d,b,c,a){var e={allScriptsLoadedCallback:b,scriptLoadFailedCallback:c,scriptLoadTimeoutCallback:a,scriptsToLoad:this._scriptsToLoad,scriptTimeout:d};this._scriptsToLoad=null;this._sessions[this._sessions.length]=e;if(!this._loading)this._nextSession()},queueCustomScriptTag:function(a){if(!this._scriptsToLoad)this._scriptsToLoad=[];Array.add(this._scriptsToLoad,a)},queueScriptBlock:function(a){if(!this._scriptsToLoad)this._scriptsToLoad=[];Array.add(this._scriptsToLoad,{text:a})},queueScriptReference:function(a,b){if(!this._scriptsToLoad)this._scriptsToLoad=[];Array.add(this._scriptsToLoad,{src:a,fallback:b})},_createScriptElement:function(c){var a=document.createElement("script");a.type="text/javascript";for(var b in c)a[b]=c[b];return a},_loadScriptsInternal:function(){var c=this._currentSession;if(c.scriptsToLoad&&c.scriptsToLoad.length>0){var b=Array.dequeue(c.scriptsToLoad),f=this._scriptLoadedDelegate;if(b.fallback){var g=b.fallback;delete b.fallback;var d=this;f=function(b,a){a||function(){var a=d._createScriptElement({src:g});d._currentTask=new Sys._ScriptLoaderTask(a,d._scriptLoadedDelegate);d._currentTask.execute()}()}}var a=this._createScriptElement(b);if(a.text&&Sys.Browser.agent===Sys.Browser.Safari){a.innerHTML=a.text;delete a.text}if(typeof b.src==="string"){this._currentTask=new Sys._ScriptLoaderTask(a,f);this._currentTask.execute()}else{document.getElementsByTagName("head")[0].appendChild(a);Sys._ScriptLoaderTask._clearScript(a);this._loadScriptsInternal()}}else{this._stopSession();var e=c.allScriptsLoadedCallback;if(e)e(this);this._nextSession()}},_nextSession:function(){if(this._sessions.length===0){this._loading=false;this._currentSeLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxWebServices.js
|
||||
//----------------------------------------------------------
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxWebServices.js
|
||||
Type._registerScript("MicrosoftAjaxWebServices.js",["MicrosoftAjaxNetwork.js"]);Type.registerNamespace("Sys.Net");Sys.Net.WebServiceProxy=function(){};Sys.Net.WebServiceProxy.prototype={get_timeout:function(){return this._timeout||0},set_timeout:function(a){if(a<0)throw Error.argumentOutOfRange("value",a,Sys.Res.invalidTimeout);this._timeout=a},get_defaultUserContext:function(){return typeof this._userContext==="undefined"?null:this._userContext},set_defaultUserContext:function(a){this._userContext=a},get_defaultSucceededCallback:function(){return this._succeeded||null},set_defaultSucceededCallback:function(a){this._succeeded=a},get_defaultFailedCallback:function(){return this._failed||null},set_defaultFailedCallback:function(a){this._failed=a},get_enableJsonp:function(){return !!this._jsonp},set_enableJsonp:function(a){this._jsonp=a},get_path:function(){return this._path||null},set_path:function(a){this._path=a},get_jsonpCallbackParameter:function(){return this._callbackParameter||"callback"},set_jsonpCallbackParameter:function(a){this._callbackParameter=a},_invoke:function(d,e,g,f,c,b,a){c=c||this.get_defaultSucceededCallback();b=b||this.get_defaultFailedCallback();if(a===null||typeof a==="undefined")a=this.get_defaultUserContext();return Sys.Net.WebServiceProxy.invoke(d,e,g,f,c,b,a,this.get_timeout(),this.get_enableJsonp(),this.get_jsonpCallbackParameter())}};Sys.Net.WebServiceProxy.registerClass("Sys.Net.WebServiceProxy");Sys.Net.WebServiceProxy.invoke=function(q,a,m,l,j,b,g,e,w,p){var i=w!==false?Sys.Net.WebServiceProxy._xdomain.exec(q):null,c,n=i&&i.length===3&&(i[1]!==location.protocol||i[2]!==location.host);m=n||m;if(n){p=p||"callback";c="_jsonp"+Sys._jsonp++}if(!l)l={};var r=l;if(!m||!r)r={};var s,h,f=null,k,o=null,u=Sys.Net.WebRequest._createUrl(a?q+"/"+encodeURIComponent(a):q,r,n?p+"=Sys."+c:null);if(n){s=document.createElement("script");s.src=u;k=new Sys._ScriptLoaderTask(s,function(d,b){if(!b||c)t({Message:String.format(Sys.Res.webServiceFailedNoMsg,a)},-1)});function v(){if(f===null)return;f=null;h=new Sys.Net.WebServiceError(true,String.format(Sys.Res.webServiceTimedOut,a));k.dispose();delete Sys[c];if(b)b(h,g,a)}function t(d,e){if(f!==null){window.clearTimeout(f);f=null}k.dispose();delete Sys[c];c=null;if(typeof e!=="undefined"&&e!==200){if(b){h=new Sys.Net.WebServiceError(false,d.Message||String.format(Sys.Res.webServiceFailedNoMsg,a),d.StackTrace||null,d.ExceptionType||null,d);h._statusCode=e;b(h,g,a)}}else if(j)j(d,g,a)}Sys[c]=t;e=e||Sys.Net.WebRequestManager.get_defaultTimeout();if(e>0)f=window.setTimeout(v,e);k.execute();return null}var d=new Sys.Net.WebRequest;d.set_url(u);d.get_headers()["Content-Type"]="application/json; charset=utf-8";if(!m){o=Sys.Serialization.JavaScriptSerializer.serialize(l);if(o==="{}")o=""}d.set_body(o);d.add_completed(x);if(e&&e>0)d.set_timeout(e);d.invoke();function x(d){if(d.get_responseAvailable()){var f=d.get_statusCode(),c=null;try{var e=d.getResponseHeader("Content-Type");if(e.startsWith("application/json"))c=d.get_object();else if(e.startsWith("text/xml"))c=d.get_xml();else c=d.get_responseData()}catch(m){}var k=d.getResponseHeader("jsonerror"),h=k==="true";if(h){if(c)c=new Sys.Net.WebServiceError(false,c.Message,c.StackTrace,c.ExceptionType,c)}else if(e.startsWith("application/json"))c=!c||typeof c.d==="undefined"?c:c.d;if(f<200||f>=300||h){if(b){if(!c||!h)c=new Sys.Net.WebServiceError(false,String.format(Sys.Res.webServiceFailedNoMsg,a));c._statusCode=f;b(c,g,a)}}else if(j)j(c,g,a)}else{var i;if(d.get_timedOut())i=String.format(Sys.Res.webServiceTimedOut,a);else i=String.format(Sys.Res.webServiceFailedNoMsg,a);if(b)b(new Sys.Net.WebServiceError(d.get_timedOut(),i,"",""),g,a)}}return d};Sys.Net.WebServiceProxy._generateTypedConstructor=function(a){return function(b){if(b)for(var c in b)this[c]=b[c];this.__type=a}};Sys._jsonp=0;Sys.Net.WebServiceProxy._xdomain=/^\s*([a-zA-Z0-9\+\-\.]+\:)\/\/([^?#\/]+)/;Sys.Net.WebServiceError=function(d,e,c,a,b){this._timedOut=d;this._message=e;this._stackTrace=c;this._exceptionType=a;this._errorObject=b;this._statusCode=-1};Sys.Net.WebServiceError.prototype={get_timedOut:function(){return this._timedOut},get_statusCode:function(){return this._statusCode},get_message:function(){return this._message},get_stackTrace:function(){return this._stackTrace||""},get_exceptionType:function(){return this._exceptionType||""},get_errorObject:function(){return this._errorObject||null}};Sys.Net.WebServiceError.registerClass("Sys.Net.WebServiceError");
|
||||
@@ -0,0 +1,898 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/Menu.js
|
||||
var __rootMenuItem;
|
||||
var __menuInterval;
|
||||
var __scrollPanel;
|
||||
var __disappearAfter = 500;
|
||||
function Menu_ClearInterval() {
|
||||
if (__menuInterval) {
|
||||
window.clearInterval(__menuInterval);
|
||||
}
|
||||
}
|
||||
function Menu_Collapse(item) {
|
||||
Menu_SetRoot(item);
|
||||
if (__rootMenuItem) {
|
||||
Menu_ClearInterval();
|
||||
if (__disappearAfter >= 0) {
|
||||
__menuInterval = window.setInterval("Menu_HideItems()", __disappearAfter);
|
||||
}
|
||||
}
|
||||
}
|
||||
function Menu_Expand(item, horizontalOffset, verticalOffset, hideScrollers) {
|
||||
Menu_ClearInterval();
|
||||
var tr = item.parentNode.parentNode.parentNode.parentNode.parentNode;
|
||||
var horizontal = true;
|
||||
if (!tr.id) {
|
||||
horizontal = false;
|
||||
tr = tr.parentNode;
|
||||
}
|
||||
var child = Menu_FindSubMenu(item);
|
||||
if (child) {
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) {
|
||||
return null;
|
||||
}
|
||||
child.rel = tr.id;
|
||||
child.x = horizontalOffset;
|
||||
child.y = verticalOffset;
|
||||
if (horizontal) child.pos = "bottom";
|
||||
PopOut_Show(child.id, hideScrollers, data);
|
||||
}
|
||||
Menu_SetRoot(item);
|
||||
if (child) {
|
||||
if (!document.body.__oldOnClick && document.body.onclick) {
|
||||
document.body.__oldOnClick = document.body.onclick;
|
||||
}
|
||||
if (__rootMenuItem) {
|
||||
document.body.onclick = Menu_HideItems;
|
||||
}
|
||||
}
|
||||
Menu_ResetSiblings(tr);
|
||||
return child;
|
||||
}
|
||||
function Menu_FindMenu(item) {
|
||||
if (item && item.menu) return item.menu;
|
||||
var tr = item.parentNode.parentNode.parentNode.parentNode.parentNode;
|
||||
if (!tr.id) {
|
||||
tr = tr.parentNode;
|
||||
}
|
||||
for (var i = tr.id.length - 1; i >= 0; i--) {
|
||||
if (tr.id.charAt(i) < '0' || tr.id.charAt(i) > '9') {
|
||||
var menu = WebForm_GetElementById(tr.id.substr(0, i));
|
||||
if (menu) {
|
||||
item.menu = menu;
|
||||
return menu;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function Menu_FindNext(item) {
|
||||
var a = WebForm_GetElementByTagName(item, "A");
|
||||
var parent = Menu_FindParentContainer(item);
|
||||
var first = null;
|
||||
if (parent) {
|
||||
var links = WebForm_GetElementsByTagName(parent, "A");
|
||||
var match = false;
|
||||
for (var i = 0; i < links.length; i++) {
|
||||
var link = links[i];
|
||||
if (Menu_IsSelectable(link)) {
|
||||
if (Menu_FindParentContainer(link) == parent) {
|
||||
if (match) {
|
||||
return link;
|
||||
}
|
||||
else if (!first) {
|
||||
first = link;
|
||||
}
|
||||
}
|
||||
if (!match && link == a) {
|
||||
match = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return first;
|
||||
}
|
||||
function Menu_FindParentContainer(item) {
|
||||
if (item.menu_ParentContainerCache) return item.menu_ParentContainerCache;
|
||||
var a = (item.tagName.toLowerCase() == "a") ? item : WebForm_GetElementByTagName(item, "A");
|
||||
var menu = Menu_FindMenu(a);
|
||||
if (menu) {
|
||||
var parent = item;
|
||||
while (parent && parent.tagName &&
|
||||
parent.id != menu.id &&
|
||||
parent.tagName.toLowerCase() != "div") {
|
||||
parent = parent.parentNode;
|
||||
}
|
||||
item.menu_ParentContainerCache = parent;
|
||||
return parent;
|
||||
}
|
||||
}
|
||||
function Menu_FindParentItem(item) {
|
||||
var parentContainer = Menu_FindParentContainer(item);
|
||||
var parentContainerID = parentContainer.id;
|
||||
var len = parentContainerID.length;
|
||||
if (parentContainerID && parentContainerID.substr(len - 5) == "Items") {
|
||||
var parentItemID = parentContainerID.substr(0, len - 5);
|
||||
return WebForm_GetElementById(parentItemID);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function Menu_FindPrevious(item) {
|
||||
var a = WebForm_GetElementByTagName(item, "A");
|
||||
var parent = Menu_FindParentContainer(item);
|
||||
var last = null;
|
||||
if (parent) {
|
||||
var links = WebForm_GetElementsByTagName(parent, "A");
|
||||
for (var i = 0; i < links.length; i++) {
|
||||
var link = links[i];
|
||||
if (Menu_IsSelectable(link)) {
|
||||
if (link == a && last) {
|
||||
return last;
|
||||
}
|
||||
if (Menu_FindParentContainer(link) == parent) {
|
||||
last = link;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return last;
|
||||
}
|
||||
function Menu_FindSubMenu(item) {
|
||||
var tr = item.parentNode.parentNode.parentNode.parentNode.parentNode;
|
||||
if (!tr.id) {
|
||||
tr=tr.parentNode;
|
||||
}
|
||||
return WebForm_GetElementById(tr.id + "Items");
|
||||
}
|
||||
function Menu_Focus(item) {
|
||||
if (item && item.focus) {
|
||||
var pos = WebForm_GetElementPosition(item);
|
||||
var parentContainer = Menu_FindParentContainer(item);
|
||||
if (!parentContainer.offset) {
|
||||
parentContainer.offset = 0;
|
||||
}
|
||||
var posParent = WebForm_GetElementPosition(parentContainer);
|
||||
var delta;
|
||||
if (pos.y + pos.height > posParent.y + parentContainer.offset + parentContainer.clippedHeight) {
|
||||
delta = pos.y + pos.height - posParent.y - parentContainer.offset - parentContainer.clippedHeight;
|
||||
PopOut_Scroll(parentContainer, delta);
|
||||
}
|
||||
else if (pos.y < posParent.y + parentContainer.offset) {
|
||||
delta = posParent.y + parentContainer.offset - pos.y;
|
||||
PopOut_Scroll(parentContainer, -delta);
|
||||
}
|
||||
PopOut_HideScrollers(parentContainer);
|
||||
item.focus();
|
||||
}
|
||||
}
|
||||
function Menu_GetData(item) {
|
||||
if (!item.data) {
|
||||
var a = (item.tagName.toLowerCase() == "a" ? item : WebForm_GetElementByTagName(item, "a"));
|
||||
var menu = Menu_FindMenu(a);
|
||||
try {
|
||||
item.data = eval(menu.id + "_Data");
|
||||
}
|
||||
catch(e) {}
|
||||
}
|
||||
return item.data;
|
||||
}
|
||||
function Menu_HideItems(items) {
|
||||
if (document.body.__oldOnClick) {
|
||||
document.body.onclick = document.body.__oldOnClick;
|
||||
document.body.__oldOnClick = null;
|
||||
}
|
||||
Menu_ClearInterval();
|
||||
if (!items || ((typeof(items.tagName) == "undefined") && (items instanceof Event))) {
|
||||
items = __rootMenuItem;
|
||||
}
|
||||
var table = items;
|
||||
if ((typeof(table) == "undefined") || (table == null) || !table.tagName || (table.tagName.toLowerCase() != "table")) {
|
||||
table = WebForm_GetElementByTagName(table, "TABLE");
|
||||
}
|
||||
if ((typeof(table) == "undefined") || (table == null) || !table.tagName || (table.tagName.toLowerCase() != "table")) {
|
||||
return;
|
||||
}
|
||||
var rows = table.rows ? table.rows : table.firstChild.rows;
|
||||
var isVertical = false;
|
||||
for (var r = 0; r < rows.length; r++) {
|
||||
if (rows[r].id) {
|
||||
isVertical = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
var i, child, nextLevel;
|
||||
if (isVertical) {
|
||||
for(i = 0; i < rows.length; i++) {
|
||||
if (rows[i].id) {
|
||||
child = WebForm_GetElementById(rows[i].id + "Items");
|
||||
if (child) {
|
||||
Menu_HideItems(child);
|
||||
}
|
||||
}
|
||||
else if (rows[i].cells[0]) {
|
||||
nextLevel = WebForm_GetElementByTagName(rows[i].cells[0], "TABLE");
|
||||
if (nextLevel) {
|
||||
Menu_HideItems(nextLevel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (rows[0]) {
|
||||
for(i = 0; i < rows[0].cells.length; i++) {
|
||||
if (rows[0].cells[i].id) {
|
||||
child = WebForm_GetElementById(rows[0].cells[i].id + "Items");
|
||||
if (child) {
|
||||
Menu_HideItems(child);
|
||||
}
|
||||
}
|
||||
else {
|
||||
nextLevel = WebForm_GetElementByTagName(rows[0].cells[i], "TABLE");
|
||||
if (nextLevel) {
|
||||
Menu_HideItems(rows[0].cells[i].firstChild);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (items && items.id) {
|
||||
PopOut_Hide(items.id);
|
||||
}
|
||||
}
|
||||
function Menu_HoverDisabled(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item.cells[0];
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
node = WebForm_GetElementByTagName(node, "table").rows[0].cells[0].childNodes[0];
|
||||
if (data.disappearAfter >= 200) {
|
||||
__disappearAfter = data.disappearAfter;
|
||||
}
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
}
|
||||
function Menu_HoverDynamic(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item.cells[0];
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
var nodeTable = WebForm_GetElementByTagName(node, "table");
|
||||
if (data.hoverClass) {
|
||||
nodeTable.hoverClass = data.hoverClass;
|
||||
WebForm_AppendToClassName(nodeTable, data.hoverClass);
|
||||
}
|
||||
node = nodeTable.rows[0].cells[0].childNodes[0];
|
||||
if (data.hoverHyperLinkClass) {
|
||||
node.hoverHyperLinkClass = data.hoverHyperLinkClass;
|
||||
WebForm_AppendToClassName(node, data.hoverHyperLinkClass);
|
||||
}
|
||||
if (data.disappearAfter >= 200) {
|
||||
__disappearAfter = data.disappearAfter;
|
||||
}
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
}
|
||||
function Menu_HoverRoot(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item.cells[0];
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) {
|
||||
return null;
|
||||
}
|
||||
var nodeTable = WebForm_GetElementByTagName(node, "table");
|
||||
if (data.staticHoverClass) {
|
||||
nodeTable.hoverClass = data.staticHoverClass;
|
||||
WebForm_AppendToClassName(nodeTable, data.staticHoverClass);
|
||||
}
|
||||
node = nodeTable.rows[0].cells[0].childNodes[0];
|
||||
if (data.staticHoverHyperLinkClass) {
|
||||
node.hoverHyperLinkClass = data.staticHoverHyperLinkClass;
|
||||
WebForm_AppendToClassName(node, data.staticHoverHyperLinkClass);
|
||||
}
|
||||
return node;
|
||||
}
|
||||
function Menu_HoverStatic(item) {
|
||||
var node = Menu_HoverRoot(item);
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
__disappearAfter = data.disappearAfter;
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
}
|
||||
function Menu_IsHorizontal(item) {
|
||||
if (item) {
|
||||
var a = ((item.tagName && (item.tagName.toLowerCase == "a")) ? item : WebForm_GetElementByTagName(item, "A"));
|
||||
if (!a) {
|
||||
return false;
|
||||
}
|
||||
var td = a.parentNode.parentNode.parentNode.parentNode.parentNode;
|
||||
if (td.id) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function Menu_IsSelectable(link) {
|
||||
return (link && link.href)
|
||||
}
|
||||
function Menu_Key(item) {
|
||||
var event;
|
||||
if (item.currentTarget) {
|
||||
event = item;
|
||||
item = event.currentTarget;
|
||||
}
|
||||
else {
|
||||
event = window.event;
|
||||
}
|
||||
var key = (event ? event.keyCode : -1);
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
var horizontal = Menu_IsHorizontal(item);
|
||||
var a = WebForm_GetElementByTagName(item, "A");
|
||||
var nextItem, parentItem, previousItem;
|
||||
if ((!horizontal && key == 38) || (horizontal && key == 37)) {
|
||||
previousItem = Menu_FindPrevious(item);
|
||||
while (previousItem && previousItem.disabled) {
|
||||
previousItem = Menu_FindPrevious(previousItem);
|
||||
}
|
||||
if (previousItem) {
|
||||
Menu_Focus(previousItem);
|
||||
Menu_Expand(previousItem, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ((!horizontal && key == 40) || (horizontal && key == 39)) {
|
||||
if (horizontal) {
|
||||
var subMenu = Menu_FindSubMenu(a);
|
||||
if (subMenu && subMenu.style && subMenu.style.visibility &&
|
||||
subMenu.style.visibility.toLowerCase() == "hidden") {
|
||||
Menu_Expand(a, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
nextItem = Menu_FindNext(item);
|
||||
while (nextItem && nextItem.disabled) {
|
||||
nextItem = Menu_FindNext(nextItem);
|
||||
}
|
||||
if (nextItem) {
|
||||
Menu_Focus(nextItem);
|
||||
Menu_Expand(nextItem, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ((!horizontal && key == 39) || (horizontal && key == 40)) {
|
||||
var children = Menu_Expand(a, data.horizontalOffset, data.verticalOffset, true);
|
||||
if (children) {
|
||||
var firstChild;
|
||||
children = WebForm_GetElementsByTagName(children, "A");
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
if (!children[i].disabled && Menu_IsSelectable(children[i])) {
|
||||
firstChild = children[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (firstChild) {
|
||||
Menu_Focus(firstChild);
|
||||
Menu_Expand(firstChild, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
parentItem = Menu_FindParentItem(item);
|
||||
while (parentItem && !Menu_IsHorizontal(parentItem)) {
|
||||
parentItem = Menu_FindParentItem(parentItem);
|
||||
}
|
||||
if (parentItem) {
|
||||
nextItem = Menu_FindNext(parentItem);
|
||||
while (nextItem && nextItem.disabled) {
|
||||
nextItem = Menu_FindNext(nextItem);
|
||||
}
|
||||
if (nextItem) {
|
||||
Menu_Focus(nextItem);
|
||||
Menu_Expand(nextItem, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((!horizontal && key == 37) || (horizontal && key == 38)) {
|
||||
parentItem = Menu_FindParentItem(item);
|
||||
if (parentItem) {
|
||||
if (Menu_IsHorizontal(parentItem)) {
|
||||
previousItem = Menu_FindPrevious(parentItem);
|
||||
while (previousItem && previousItem.disabled) {
|
||||
previousItem = Menu_FindPrevious(previousItem);
|
||||
}
|
||||
if (previousItem) {
|
||||
Menu_Focus(previousItem);
|
||||
Menu_Expand(previousItem, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
var parentA = WebForm_GetElementByTagName(parentItem, "A");
|
||||
if (parentA) {
|
||||
Menu_Focus(parentA);
|
||||
}
|
||||
Menu_ResetSiblings(parentItem);
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (key == 27) {
|
||||
Menu_HideItems();
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
function Menu_ResetSiblings(item) {
|
||||
var table = (item.tagName.toLowerCase() == "td") ?
|
||||
item.parentNode.parentNode.parentNode :
|
||||
item.parentNode.parentNode;
|
||||
var isVertical = false;
|
||||
for (var r = 0; r < table.rows.length; r++) {
|
||||
if (table.rows[r].id) {
|
||||
isVertical = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
var i, child, childNode;
|
||||
if (isVertical) {
|
||||
for(i = 0; i < table.rows.length; i++) {
|
||||
childNode = table.rows[i];
|
||||
if (childNode != item) {
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
if (child) {
|
||||
Menu_HideItems(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
for(i = 0; i < table.rows[0].cells.length; i++) {
|
||||
childNode = table.rows[0].cells[i];
|
||||
if (childNode != item) {
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
if (child) {
|
||||
Menu_HideItems(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Menu_ResetTopMenus(table, table, 0, true);
|
||||
}
|
||||
function Menu_ResetTopMenus(table, doNotReset, level, up) {
|
||||
var i, child, childNode;
|
||||
if (up && table.id == "") {
|
||||
var parentTable = table.parentNode.parentNode.parentNode.parentNode;
|
||||
if (parentTable.tagName.toLowerCase() == "table") {
|
||||
Menu_ResetTopMenus(parentTable, doNotReset, level + 1, true);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (level == 0 && table != doNotReset) {
|
||||
if (table.rows[0].id) {
|
||||
for(i = 0; i < table.rows.length; i++) {
|
||||
childNode = table.rows[i];
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
if (child) {
|
||||
Menu_HideItems(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
for(i = 0; i < table.rows[0].cells.length; i++) {
|
||||
childNode = table.rows[0].cells[i];
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
if (child) {
|
||||
Menu_HideItems(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (level > 0) {
|
||||
for (i = 0; i < table.rows.length; i++) {
|
||||
for (var j = 0; j < table.rows[i].cells.length; j++) {
|
||||
var subTable = table.rows[i].cells[j].firstChild;
|
||||
if (subTable && subTable.tagName.toLowerCase() == "table") {
|
||||
Menu_ResetTopMenus(subTable, doNotReset, level - 1, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function Menu_RestoreInterval() {
|
||||
if (__menuInterval && __rootMenuItem) {
|
||||
Menu_ClearInterval();
|
||||
__menuInterval = window.setInterval("Menu_HideItems()", __disappearAfter);
|
||||
}
|
||||
}
|
||||
function Menu_SetRoot(item) {
|
||||
var newRoot = Menu_FindMenu(item);
|
||||
if (newRoot) {
|
||||
if (__rootMenuItem && __rootMenuItem != newRoot) {
|
||||
Menu_HideItems();
|
||||
}
|
||||
__rootMenuItem = newRoot;
|
||||
}
|
||||
}
|
||||
function Menu_Unhover(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item.cells[0];
|
||||
var nodeTable = WebForm_GetElementByTagName(node, "table");
|
||||
if (nodeTable.hoverClass) {
|
||||
WebForm_RemoveClassName(nodeTable, nodeTable.hoverClass);
|
||||
}
|
||||
node = nodeTable.rows[0].cells[0].childNodes[0];
|
||||
if (node.hoverHyperLinkClass) {
|
||||
WebForm_RemoveClassName(node, node.hoverHyperLinkClass);
|
||||
}
|
||||
Menu_Collapse(node);
|
||||
}
|
||||
function PopOut_Clip(element, y, height) {
|
||||
if (element && element.style) {
|
||||
element.style.clip = "rect(" + y + "px auto " + (y + height) + "px auto)";
|
||||
element.style.overflow = "hidden";
|
||||
}
|
||||
}
|
||||
function PopOut_Down(scroller) {
|
||||
Menu_ClearInterval();
|
||||
var panel;
|
||||
if (scroller) {
|
||||
panel = scroller.parentNode
|
||||
}
|
||||
else {
|
||||
panel = __scrollPanel;
|
||||
}
|
||||
if (panel && ((panel.offset + panel.clippedHeight) < panel.physicalHeight)) {
|
||||
PopOut_Scroll(panel, 2)
|
||||
__scrollPanel = panel;
|
||||
PopOut_ShowScrollers(panel);
|
||||
PopOut_Stop();
|
||||
__scrollPanel.interval = window.setInterval("PopOut_Down()", 8);
|
||||
}
|
||||
else {
|
||||
PopOut_ShowScrollers(panel);
|
||||
}
|
||||
}
|
||||
function PopOut_Hide(panelId) {
|
||||
var panel = WebForm_GetElementById(panelId);
|
||||
if (panel && panel.tagName.toLowerCase() == "div") {
|
||||
panel.style.visibility = "hidden";
|
||||
panel.style.display = "none";
|
||||
panel.offset = 0;
|
||||
panel.scrollTop = 0;
|
||||
var table = WebForm_GetElementByTagName(panel, "TABLE");
|
||||
if (table) {
|
||||
WebForm_SetElementY(table, 0);
|
||||
}
|
||||
if (window.navigator && window.navigator.appName == "Microsoft Internet Explorer" &&
|
||||
!window.opera) {
|
||||
var childFrameId = panel.id + "_MenuIFrame";
|
||||
var childFrame = WebForm_GetElementById(childFrameId);
|
||||
if (childFrame) {
|
||||
childFrame.style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function PopOut_HideScrollers(panel) {
|
||||
if (panel && panel.style) {
|
||||
var up = WebForm_GetElementById(panel.id + "Up");
|
||||
var dn = WebForm_GetElementById(panel.id + "Dn");
|
||||
if (up) {
|
||||
up.style.visibility = "hidden";
|
||||
up.style.display = "none";
|
||||
}
|
||||
if (dn) {
|
||||
dn.style.visibility = "hidden";
|
||||
dn.style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
function PopOut_Position(panel, hideScrollers) {
|
||||
if (window.opera) {
|
||||
panel.parentNode.removeChild(panel);
|
||||
document.forms[0].appendChild(panel);
|
||||
}
|
||||
var rel = WebForm_GetElementById(panel.rel);
|
||||
var relTable = WebForm_GetElementByTagName(rel, "TABLE");
|
||||
var relCoordinates = WebForm_GetElementPosition(relTable ? relTable : rel);
|
||||
var panelCoordinates = WebForm_GetElementPosition(panel);
|
||||
var panelHeight = ((typeof(panel.physicalHeight) != "undefined") && (panel.physicalHeight != null)) ?
|
||||
panel.physicalHeight :
|
||||
panelCoordinates.height;
|
||||
panel.physicalHeight = panelHeight;
|
||||
var panelParentCoordinates;
|
||||
if (panel.offsetParent) {
|
||||
panelParentCoordinates = WebForm_GetElementPosition(panel.offsetParent);
|
||||
}
|
||||
else {
|
||||
panelParentCoordinates = new Object();
|
||||
panelParentCoordinates.x = 0;
|
||||
panelParentCoordinates.y = 0;
|
||||
}
|
||||
var overflowElement = WebForm_GetElementById("__overFlowElement");
|
||||
if (!overflowElement) {
|
||||
overflowElement = document.createElement("img");
|
||||
overflowElement.id="__overFlowElement";
|
||||
WebForm_SetElementWidth(overflowElement, 1);
|
||||
document.body.appendChild(overflowElement);
|
||||
}
|
||||
WebForm_SetElementHeight(overflowElement, panelHeight + relCoordinates.y + parseInt(panel.y ? panel.y : 0));
|
||||
overflowElement.style.visibility = "visible";
|
||||
overflowElement.style.display = "inline";
|
||||
var clientHeight = 0;
|
||||
var clientWidth = 0;
|
||||
if (window.innerHeight) {
|
||||
clientHeight = window.innerHeight;
|
||||
clientWidth = window.innerWidth;
|
||||
}
|
||||
else if (document.documentElement && document.documentElement.clientHeight) {
|
||||
clientHeight = document.documentElement.clientHeight;
|
||||
clientWidth = document.documentElement.clientWidth;
|
||||
}
|
||||
else if (document.body && document.body.clientHeight) {
|
||||
clientHeight = document.body.clientHeight;
|
||||
clientWidth = document.body.clientWidth;
|
||||
}
|
||||
var scrollTop = 0;
|
||||
var scrollLeft = 0;
|
||||
if (typeof(window.pageYOffset) != "undefined") {
|
||||
scrollTop = window.pageYOffset;
|
||||
scrollLeft = window.pageXOffset;
|
||||
}
|
||||
else if (document.documentElement && (typeof(document.documentElement.scrollTop) != "undefined")) {
|
||||
scrollTop = document.documentElement.scrollTop;
|
||||
scrollLeft = document.documentElement.scrollLeft;
|
||||
}
|
||||
else if (document.body && (typeof(document.body.scrollTop) != "undefined")) {
|
||||
scrollTop = document.body.scrollTop;
|
||||
scrollLeft = document.body.scrollLeft;
|
||||
}
|
||||
overflowElement.style.visibility = "hidden";
|
||||
overflowElement.style.display = "none";
|
||||
var bottomWindowBorder = clientHeight + scrollTop;
|
||||
var rightWindowBorder = clientWidth + scrollLeft;
|
||||
var position = panel.pos;
|
||||
if ((typeof(position) == "undefined") || (position == null) || (position == "")) {
|
||||
position = (WebForm_GetElementDir(rel) == "rtl" ? "middleleft" : "middleright");
|
||||
}
|
||||
position = position.toLowerCase();
|
||||
var y = relCoordinates.y + parseInt(panel.y ? panel.y : 0) - panelParentCoordinates.y;
|
||||
var borderParent = (rel && rel.parentNode && rel.parentNode.parentNode && rel.parentNode.parentNode.parentNode
|
||||
&& rel.parentNode.parentNode.parentNode.tagName.toLowerCase() == "div") ?
|
||||
rel.parentNode.parentNode.parentNode : null;
|
||||
WebForm_SetElementY(panel, y);
|
||||
PopOut_SetPanelHeight(panel, panelHeight, true);
|
||||
var clip = false;
|
||||
var overflow;
|
||||
if (position.indexOf("top") != -1) {
|
||||
y -= panelHeight;
|
||||
WebForm_SetElementY(panel, y);
|
||||
if (y < -panelParentCoordinates.y) {
|
||||
y = -panelParentCoordinates.y;
|
||||
WebForm_SetElementY(panel, y);
|
||||
if (panelHeight > clientHeight - 2) {
|
||||
clip = true;
|
||||
PopOut_SetPanelHeight(panel, clientHeight - 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (position.indexOf("bottom") != -1) {
|
||||
y += relCoordinates.height;
|
||||
WebForm_SetElementY(panel, y);
|
||||
}
|
||||
overflow = y + panelParentCoordinates.y + panelHeight - bottomWindowBorder;
|
||||
if (overflow > 0) {
|
||||
y -= overflow;
|
||||
WebForm_SetElementY(panel, y);
|
||||
if (y < -panelParentCoordinates.y) {
|
||||
y = 2 - panelParentCoordinates.y + scrollTop;
|
||||
WebForm_SetElementY(panel, y);
|
||||
clip = true;
|
||||
PopOut_SetPanelHeight(panel, clientHeight - 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!clip) {
|
||||
PopOut_SetPanelHeight(panel, panel.clippedHeight, true);
|
||||
}
|
||||
var panelParentOffsetY = 0;
|
||||
if (panel.offsetParent) {
|
||||
panelParentOffsetY = WebForm_GetElementPosition(panel.offsetParent).y;
|
||||
}
|
||||
var panelY = ((typeof(panel.originY) != "undefined") && (panel.originY != null)) ?
|
||||
panel.originY :
|
||||
y - panelParentOffsetY;
|
||||
panel.originY = panelY;
|
||||
if (!hideScrollers) {
|
||||
PopOut_ShowScrollers(panel);
|
||||
}
|
||||
else {
|
||||
PopOut_HideScrollers(panel);
|
||||
}
|
||||
var x = relCoordinates.x + parseInt(panel.x ? panel.x : 0) - panelParentCoordinates.x;
|
||||
if (borderParent && borderParent.clientLeft) {
|
||||
x += 2 * borderParent.clientLeft;
|
||||
}
|
||||
WebForm_SetElementX(panel, x);
|
||||
if (position.indexOf("left") != -1) {
|
||||
x -= panelCoordinates.width;
|
||||
WebForm_SetElementX(panel, x);
|
||||
if (x < -panelParentCoordinates.x) {
|
||||
WebForm_SetElementX(panel, -panelParentCoordinates.x);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (position.indexOf("right") != -1) {
|
||||
x += relCoordinates.width;
|
||||
WebForm_SetElementX(panel, x);
|
||||
}
|
||||
overflow = x + panelParentCoordinates.x + panelCoordinates.width - rightWindowBorder;
|
||||
if (overflow > 0) {
|
||||
if (position.indexOf("bottom") == -1 && relCoordinates.x > panelCoordinates.width) {
|
||||
x -= relCoordinates.width + panelCoordinates.width;
|
||||
}
|
||||
else {
|
||||
x -= overflow;
|
||||
}
|
||||
WebForm_SetElementX(panel, x);
|
||||
if (x < -panelParentCoordinates.x) {
|
||||
WebForm_SetElementX(panel, -panelParentCoordinates.x);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function PopOut_Scroll(panel, offsetDelta) {
|
||||
var table = WebForm_GetElementByTagName(panel, "TABLE");
|
||||
if (!table) return;
|
||||
table.style.position = "relative";
|
||||
var tableY = (table.style.top ? parseInt(table.style.top) : 0);
|
||||
panel.offset += offsetDelta;
|
||||
WebForm_SetElementY(table, tableY - offsetDelta);
|
||||
}
|
||||
function PopOut_SetPanelHeight(element, height, doNotClip) {
|
||||
if (element && element.style) {
|
||||
var size = WebForm_GetElementPosition(element);
|
||||
element.physicalWidth = size.width;
|
||||
element.clippedHeight = height;
|
||||
WebForm_SetElementHeight(element, height - (element.clientTop ? (2 * element.clientTop) : 0));
|
||||
if (doNotClip && element.style) {
|
||||
element.style.clip = "rect(auto auto auto auto)";
|
||||
}
|
||||
else {
|
||||
PopOut_Clip(element, 0, height);
|
||||
}
|
||||
}
|
||||
}
|
||||
function PopOut_Show(panelId, hideScrollers, data) {
|
||||
var panel = WebForm_GetElementById(panelId);
|
||||
if (panel && panel.tagName.toLowerCase() == "div") {
|
||||
panel.style.visibility = "visible";
|
||||
panel.style.display = "inline";
|
||||
if (!panel.offset || hideScrollers) {
|
||||
panel.scrollTop = 0;
|
||||
panel.offset = 0;
|
||||
var table = WebForm_GetElementByTagName(panel, "TABLE");
|
||||
if (table) {
|
||||
WebForm_SetElementY(table, 0);
|
||||
}
|
||||
}
|
||||
PopOut_Position(panel, hideScrollers);
|
||||
var z = 1;
|
||||
var isIE = window.navigator && window.navigator.appName == "Microsoft Internet Explorer" && !window.opera;
|
||||
if (isIE && data) {
|
||||
var childFrameId = panel.id + "_MenuIFrame";
|
||||
var childFrame = WebForm_GetElementById(childFrameId);
|
||||
var parent = panel.offsetParent;
|
||||
if (!childFrame) {
|
||||
childFrame = document.createElement("iframe");
|
||||
childFrame.id = childFrameId;
|
||||
childFrame.src = (data.iframeUrl ? data.iframeUrl : "about:blank");
|
||||
childFrame.style.position = "absolute";
|
||||
childFrame.style.display = "none";
|
||||
childFrame.scrolling = "no";
|
||||
childFrame.frameBorder = "0";
|
||||
if (parent.tagName.toLowerCase() == "html") {
|
||||
document.body.appendChild(childFrame);
|
||||
}
|
||||
else {
|
||||
parent.appendChild(childFrame);
|
||||
}
|
||||
}
|
||||
var pos = WebForm_GetElementPosition(panel);
|
||||
var parentPos = WebForm_GetElementPosition(parent);
|
||||
WebForm_SetElementX(childFrame, pos.x - parentPos.x);
|
||||
WebForm_SetElementY(childFrame, pos.y - parentPos.y);
|
||||
WebForm_SetElementWidth(childFrame, pos.width);
|
||||
WebForm_SetElementHeight(childFrame, pos.height);
|
||||
childFrame.style.display = "block";
|
||||
if (panel.currentStyle && panel.currentStyle.zIndex && panel.currentStyle.zIndex != "auto") {
|
||||
z = panel.currentStyle.zIndex;
|
||||
}
|
||||
else if (panel.style.zIndex) {
|
||||
z = panel.style.zIndex;
|
||||
}
|
||||
}
|
||||
panel.style.zIndex = z;
|
||||
}
|
||||
}
|
||||
function PopOut_ShowScrollers(panel) {
|
||||
if (panel && panel.style) {
|
||||
var up = WebForm_GetElementById(panel.id + "Up");
|
||||
var dn = WebForm_GetElementById(panel.id + "Dn");
|
||||
var cnt = 0;
|
||||
if (up && dn) {
|
||||
if (panel.offset && panel.offset > 0) {
|
||||
up.style.visibility = "visible";
|
||||
up.style.display = "inline";
|
||||
cnt++;
|
||||
if (panel.clientWidth) {
|
||||
WebForm_SetElementWidth(up, panel.clientWidth
|
||||
- (up.clientLeft ? (2 * up.clientLeft) : 0));
|
||||
}
|
||||
WebForm_SetElementY(up, 0);
|
||||
}
|
||||
else {
|
||||
up.style.visibility = "hidden";
|
||||
up.style.display = "none";
|
||||
}
|
||||
if (panel.offset + panel.clippedHeight + 2 <= panel.physicalHeight) {
|
||||
dn.style.visibility = "visible";
|
||||
dn.style.display = "inline";
|
||||
cnt++;
|
||||
if (panel.clientWidth) {
|
||||
WebForm_SetElementWidth(dn, panel.clientWidth
|
||||
- (dn.clientLeft ? (2 * dn.clientLeft) : 0));
|
||||
}
|
||||
WebForm_SetElementY(dn, panel.clippedHeight - WebForm_GetElementPosition(dn).height
|
||||
- (panel.clientTop ? (2 * panel.clientTop) : 0));
|
||||
}
|
||||
else {
|
||||
dn.style.visibility = "hidden";
|
||||
dn.style.display = "none";
|
||||
}
|
||||
if (cnt == 0) {
|
||||
panel.style.clip = "rect(auto auto auto auto)";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function PopOut_Stop() {
|
||||
if (__scrollPanel && __scrollPanel.interval) {
|
||||
window.clearInterval(__scrollPanel.interval);
|
||||
}
|
||||
Menu_RestoreInterval();
|
||||
}
|
||||
function PopOut_Up(scroller) {
|
||||
Menu_ClearInterval();
|
||||
var panel;
|
||||
if (scroller) {
|
||||
panel = scroller.parentNode
|
||||
}
|
||||
else {
|
||||
panel = __scrollPanel;
|
||||
}
|
||||
if (panel && panel.offset && panel.offset > 0) {
|
||||
PopOut_Scroll(panel, -2);
|
||||
__scrollPanel = panel;
|
||||
PopOut_ShowScrollers(panel);
|
||||
PopOut_Stop();
|
||||
__scrollPanel.interval = window.setInterval("PopOut_Up()", 8);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,697 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MenuStandards.js
|
||||
if (!window.Sys) { window.Sys = {}; }
|
||||
if (!Sys.WebForms) { Sys.WebForms = {}; }
|
||||
Sys.WebForms.Menu = function(options) {
|
||||
this.items = [];
|
||||
this.depth = options.depth || 1;
|
||||
this.parentMenuItem = options.parentMenuItem;
|
||||
this.element = Sys.WebForms.Menu._domHelper.getElement(options.element);
|
||||
if (this.element.tagName === 'DIV') {
|
||||
var containerElement = this.element;
|
||||
this.element = Sys.WebForms.Menu._domHelper.firstChild(containerElement);
|
||||
this.element.tabIndex = options.tabIndex || 0;
|
||||
options.element = containerElement;
|
||||
options.menu = this;
|
||||
this.container = new Sys.WebForms._MenuContainer(options);
|
||||
Sys.WebForms.Menu._domHelper.setFloat(this.element, this.container.rightToLeft ? "right" : "left");
|
||||
}
|
||||
else {
|
||||
this.container = options.container;
|
||||
this.keyMap = options.keyMap;
|
||||
}
|
||||
Sys.WebForms.Menu._elementObjectMapper.map(this.element, this);
|
||||
if (this.parentMenuItem && this.parentMenuItem.parentMenu) {
|
||||
this.parentMenu = this.parentMenuItem.parentMenu;
|
||||
this.rootMenu = this.parentMenu.rootMenu;
|
||||
if (!this.element.id) {
|
||||
this.element.id = (this.container.element.id || 'menu') + ':submenu:' + Sys.WebForms.Menu._elementObjectMapper._computedId;
|
||||
}
|
||||
if (this.depth > this.container.staticDisplayLevels) {
|
||||
this.displayMode = "dynamic";
|
||||
this.element.style.display = "none";
|
||||
this.element.style.position = "absolute";
|
||||
if (this.rootMenu && this.container.orientation === 'horizontal' && this.parentMenu.isStatic()) {
|
||||
this.element.style.top = "100%";
|
||||
if (this.container.rightToLeft) {
|
||||
this.element.style.right = "0px";
|
||||
}
|
||||
else {
|
||||
this.element.style.left = "0px";
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.element.style.top = "0px";
|
||||
if (this.container.rightToLeft) {
|
||||
this.element.style.right = "100%";
|
||||
}
|
||||
else {
|
||||
this.element.style.left = "100%";
|
||||
}
|
||||
}
|
||||
if (this.container.rightToLeft) {
|
||||
this.keyMap = Sys.WebForms.Menu._keyboardMapping.verticalRtl;
|
||||
}
|
||||
else {
|
||||
this.keyMap = Sys.WebForms.Menu._keyboardMapping.vertical;
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.displayMode = "static";
|
||||
this.element.style.display = "block";
|
||||
if (this.container.orientation === 'horizontal') {
|
||||
Sys.WebForms.Menu._domHelper.setFloat(this.element, this.container.rightToLeft ? "right" : "left");
|
||||
}
|
||||
}
|
||||
}
|
||||
Sys.WebForms.Menu._domHelper.appendCssClass(this.element, this.displayMode);
|
||||
var children = this.element.childNodes;
|
||||
var count = children.length;
|
||||
for (var i = 0; i < count; i++) {
|
||||
var node = children[i];
|
||||
if (node.nodeType !== 1) {
|
||||
continue;
|
||||
}
|
||||
var topLevelMenuItem = null;
|
||||
if (this.parentMenuItem) {
|
||||
topLevelMenuItem = this.parentMenuItem.topLevelMenuItem;
|
||||
}
|
||||
var menuItem = new Sys.WebForms.MenuItem(this, node, topLevelMenuItem);
|
||||
var previousMenuItem = this.items[this.items.length - 1];
|
||||
if (previousMenuItem) {
|
||||
menuItem.previousSibling = previousMenuItem;
|
||||
previousMenuItem.nextSibling = menuItem;
|
||||
}
|
||||
this.items[this.items.length] = menuItem;
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu.prototype = {
|
||||
blur: function() { if (this.container) this.container.blur(); },
|
||||
collapse: function() {
|
||||
this.each(function(menuItem) {
|
||||
menuItem.hover(false);
|
||||
menuItem.blur();
|
||||
var childMenu = menuItem.childMenu;
|
||||
if (childMenu) {
|
||||
childMenu.collapse();
|
||||
}
|
||||
});
|
||||
this.hide();
|
||||
},
|
||||
doDispose: function() { this.each(function(item) { item.doDispose(); }); },
|
||||
each: function(fn) {
|
||||
var count = this.items.length;
|
||||
for (var i = 0; i < count; i++) {
|
||||
fn(this.items[i]);
|
||||
}
|
||||
},
|
||||
firstChild: function() { return this.items[0]; },
|
||||
focus: function() { if (this.container) this.container.focus(); },
|
||||
get_displayed: function() { return this.element.style.display !== 'none'; },
|
||||
get_focused: function() {
|
||||
if (this.container) {
|
||||
return this.container.focused;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
handleKeyPress: function(keyCode) {
|
||||
if (this.keyMap.contains(keyCode)) {
|
||||
if (this.container.focusedMenuItem) {
|
||||
this.container.focusedMenuItem.navigate(keyCode);
|
||||
return;
|
||||
}
|
||||
var firstChild = this.firstChild();
|
||||
if (firstChild) {
|
||||
this.container.navigateTo(firstChild);
|
||||
}
|
||||
}
|
||||
},
|
||||
hide: function() {
|
||||
if (!this.get_displayed()) {
|
||||
return;
|
||||
}
|
||||
this.each(function(item) {
|
||||
if (item.childMenu) {
|
||||
item.childMenu.hide();
|
||||
}
|
||||
});
|
||||
if (!this.isRoot()) {
|
||||
if (this.get_focused()) {
|
||||
this.container.navigateTo(this.parentMenuItem);
|
||||
}
|
||||
this.element.style.display = 'none';
|
||||
}
|
||||
},
|
||||
isRoot: function() { return this.rootMenu === this; },
|
||||
isStatic: function() { return this.displayMode === 'static'; },
|
||||
lastChild: function() { return this.items[this.items.length - 1]; },
|
||||
show: function() { this.element.style.display = 'block'; }
|
||||
};
|
||||
if (Sys.WebForms.Menu.registerClass) {
|
||||
Sys.WebForms.Menu.registerClass('Sys.WebForms.Menu');
|
||||
}
|
||||
Sys.WebForms.MenuItem = function(parentMenu, listElement, topLevelMenuItem) {
|
||||
this.keyMap = parentMenu.keyMap;
|
||||
this.parentMenu = parentMenu;
|
||||
this.container = parentMenu.container;
|
||||
this.element = listElement;
|
||||
this.topLevelMenuItem = topLevelMenuItem || this;
|
||||
this._anchor = Sys.WebForms.Menu._domHelper.firstChild(listElement);
|
||||
while (this._anchor && this._anchor.tagName !== 'A') {
|
||||
this._anchor = Sys.WebForms.Menu._domHelper.nextSibling(this._anchor);
|
||||
}
|
||||
if (this._anchor) {
|
||||
this._anchor.tabIndex = -1;
|
||||
var subMenu = this._anchor;
|
||||
while (subMenu && subMenu.tagName !== 'UL') {
|
||||
subMenu = Sys.WebForms.Menu._domHelper.nextSibling(subMenu);
|
||||
}
|
||||
if (subMenu) {
|
||||
this.childMenu = new Sys.WebForms.Menu({ element: subMenu, parentMenuItem: this, depth: parentMenu.depth + 1, container: this.container, keyMap: this.keyMap });
|
||||
if (!this.childMenu.isStatic()) {
|
||||
Sys.WebForms.Menu._domHelper.appendCssClass(this.element, 'has-popup');
|
||||
Sys.WebForms.Menu._domHelper.appendAttributeValue(this.element, 'aria-haspopup', this.childMenu.element.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Sys.WebForms.Menu._elementObjectMapper.map(listElement, this);
|
||||
Sys.WebForms.Menu._domHelper.appendAttributeValue(listElement, 'role', 'menuitem');
|
||||
Sys.WebForms.Menu._domHelper.appendCssClass(listElement, parentMenu.displayMode);
|
||||
if (this._anchor) {
|
||||
Sys.WebForms.Menu._domHelper.appendCssClass(this._anchor, parentMenu.displayMode);
|
||||
}
|
||||
this.element.style.position = "relative";
|
||||
if (this.parentMenu.depth == 1 && this.container.orientation == 'horizontal') {
|
||||
Sys.WebForms.Menu._domHelper.setFloat(this.element, this.container.rightToLeft ? "right" : "left");
|
||||
}
|
||||
if (!this.container.disabled) {
|
||||
Sys.WebForms.Menu._domHelper.addEvent(this.element, 'mouseover', Sys.WebForms.MenuItem._onmouseover);
|
||||
Sys.WebForms.Menu._domHelper.addEvent(this.element, 'mouseout', Sys.WebForms.MenuItem._onmouseout);
|
||||
}
|
||||
};
|
||||
Sys.WebForms.MenuItem.prototype = {
|
||||
applyUp: function(fn, condition) {
|
||||
condition = condition || function(menuItem) { return menuItem; };
|
||||
var menuItem = this;
|
||||
var lastMenuItem = null;
|
||||
while (condition(menuItem)) {
|
||||
fn(menuItem);
|
||||
lastMenuItem = menuItem;
|
||||
menuItem = menuItem.parentMenu.parentMenuItem;
|
||||
}
|
||||
return lastMenuItem;
|
||||
},
|
||||
blur: function() { this.setTabIndex(-1); },
|
||||
doDispose: function() {
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(this.element, 'mouseover', Sys.WebForms.MenuItem._onmouseover);
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(this.element, 'mouseout', Sys.WebForms.MenuItem._onmouseout);
|
||||
if (this.childMenu) {
|
||||
this.childMenu.doDispose();
|
||||
}
|
||||
},
|
||||
focus: function() {
|
||||
if (!this.parentMenu.get_displayed()) {
|
||||
this.parentMenu.show();
|
||||
}
|
||||
this.setTabIndex(0);
|
||||
this.container.focused = true;
|
||||
this._anchor.focus();
|
||||
},
|
||||
get_highlighted: function() { return /(^|\s)highlighted(\s|$)/.test(this._anchor.className); },
|
||||
getTabIndex: function() { return this._anchor.tabIndex; },
|
||||
highlight: function(highlighting) {
|
||||
if (highlighting) {
|
||||
this.applyUp(function(menuItem) {
|
||||
menuItem.parentMenu.parentMenuItem.highlight(true);
|
||||
},
|
||||
function(menuItem) {
|
||||
return !menuItem.parentMenu.isStatic() && menuItem.parentMenu.parentMenuItem;
|
||||
}
|
||||
);
|
||||
Sys.WebForms.Menu._domHelper.appendCssClass(this._anchor, 'highlighted');
|
||||
}
|
||||
else {
|
||||
Sys.WebForms.Menu._domHelper.removeCssClass(this._anchor, 'highlighted');
|
||||
this.setTabIndex(-1);
|
||||
}
|
||||
},
|
||||
hover: function(hovering) {
|
||||
if (hovering) {
|
||||
var currentHoveredItem = this.container.hoveredMenuItem;
|
||||
if (currentHoveredItem) {
|
||||
currentHoveredItem.hover(false);
|
||||
}
|
||||
var currentFocusedItem = this.container.focusedMenuItem;
|
||||
if (currentFocusedItem && currentFocusedItem !== this) {
|
||||
currentFocusedItem.hover(false);
|
||||
}
|
||||
this.applyUp(function(menuItem) {
|
||||
if (menuItem.childMenu && !menuItem.childMenu.get_displayed()) {
|
||||
menuItem.childMenu.show();
|
||||
}
|
||||
});
|
||||
this.container.hoveredMenuItem = this;
|
||||
this.highlight(true);
|
||||
}
|
||||
else {
|
||||
var menuItem = this;
|
||||
while (menuItem) {
|
||||
menuItem.highlight(false);
|
||||
if (menuItem.childMenu) {
|
||||
if (!menuItem.childMenu.isStatic()) {
|
||||
menuItem.childMenu.hide();
|
||||
}
|
||||
}
|
||||
menuItem = menuItem.parentMenu.parentMenuItem;
|
||||
}
|
||||
}
|
||||
},
|
||||
isSiblingOf: function(menuItem) { return menuItem.parentMenu === this.parentMenu; },
|
||||
mouseout: function() {
|
||||
var menuItem = this,
|
||||
id = this.container.pendingMouseoutId,
|
||||
disappearAfter = this.container.disappearAfter;
|
||||
if (id) {
|
||||
window.clearTimeout(id);
|
||||
}
|
||||
if (disappearAfter > -1) {
|
||||
this.container.pendingMouseoutId =
|
||||
window.setTimeout(function() { menuItem.hover(false); }, disappearAfter);
|
||||
}
|
||||
},
|
||||
mouseover: function() {
|
||||
var id = this.container.pendingMouseoutId;
|
||||
if (id) {
|
||||
window.clearTimeout(id);
|
||||
this.container.pendingMouseoutId = null;
|
||||
}
|
||||
this.hover(true);
|
||||
if (this.container.menu.get_focused()) {
|
||||
this.container.navigateTo(this);
|
||||
}
|
||||
},
|
||||
navigate: function(keyCode) {
|
||||
switch (this.keyMap[keyCode]) {
|
||||
case this.keyMap.next:
|
||||
this.navigateNext();
|
||||
break;
|
||||
case this.keyMap.previous:
|
||||
this.navigatePrevious();
|
||||
break;
|
||||
case this.keyMap.child:
|
||||
this.navigateChild();
|
||||
break;
|
||||
case this.keyMap.parent:
|
||||
this.navigateParent();
|
||||
break;
|
||||
case this.keyMap.tab:
|
||||
this.navigateOut();
|
||||
break;
|
||||
}
|
||||
},
|
||||
navigateChild: function() {
|
||||
var subMenu = this.childMenu;
|
||||
if (subMenu) {
|
||||
var firstChild = subMenu.firstChild();
|
||||
if (firstChild) {
|
||||
this.container.navigateTo(firstChild);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (this.container.orientation === 'horizontal') {
|
||||
var nextItem = this.topLevelMenuItem.nextSibling || this.topLevelMenuItem.parentMenu.firstChild();
|
||||
if (nextItem == this.topLevelMenuItem) {
|
||||
return;
|
||||
}
|
||||
this.topLevelMenuItem.childMenu.hide();
|
||||
this.container.navigateTo(nextItem);
|
||||
if (nextItem.childMenu) {
|
||||
this.container.navigateTo(nextItem.childMenu.firstChild());
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
navigateNext: function() {
|
||||
if (this.childMenu) {
|
||||
this.childMenu.hide();
|
||||
}
|
||||
var nextMenuItem = this.nextSibling;
|
||||
if (!nextMenuItem && this.parentMenu.isRoot()) {
|
||||
nextMenuItem = this.parentMenu.parentMenuItem;
|
||||
if (nextMenuItem) {
|
||||
nextMenuItem = nextMenuItem.nextSibling;
|
||||
}
|
||||
}
|
||||
if (!nextMenuItem) {
|
||||
nextMenuItem = this.parentMenu.firstChild();
|
||||
}
|
||||
if (nextMenuItem) {
|
||||
this.container.navigateTo(nextMenuItem);
|
||||
}
|
||||
},
|
||||
navigateOut: function() {
|
||||
this.parentMenu.blur();
|
||||
},
|
||||
navigateParent: function() {
|
||||
var parentMenu = this.parentMenu,
|
||||
horizontal = this.container.orientation === 'horizontal';
|
||||
if (!parentMenu) return;
|
||||
if (horizontal && this.childMenu && parentMenu.isRoot()) {
|
||||
this.navigateChild();
|
||||
return;
|
||||
}
|
||||
if (parentMenu.parentMenuItem && !parentMenu.isRoot()) {
|
||||
if (horizontal && this.parentMenu.depth === 2) {
|
||||
var previousItem = this.parentMenu.parentMenuItem.previousSibling;
|
||||
if (!previousItem) {
|
||||
previousItem = this.parentMenu.rootMenu.lastChild();
|
||||
}
|
||||
this.topLevelMenuItem.childMenu.hide();
|
||||
this.container.navigateTo(previousItem);
|
||||
if (previousItem.childMenu) {
|
||||
this.container.navigateTo(previousItem.childMenu.firstChild());
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.parentMenu.hide();
|
||||
}
|
||||
}
|
||||
},
|
||||
navigatePrevious: function() {
|
||||
if (this.childMenu) {
|
||||
this.childMenu.hide();
|
||||
}
|
||||
var previousMenuItem = this.previousSibling;
|
||||
if (previousMenuItem) {
|
||||
var childMenu = previousMenuItem.childMenu;
|
||||
if (childMenu && childMenu.isRoot()) {
|
||||
previousMenuItem = childMenu.lastChild();
|
||||
}
|
||||
}
|
||||
if (!previousMenuItem && this.parentMenu.isRoot()) {
|
||||
previousMenuItem = this.parentMenu.parentMenuItem;
|
||||
}
|
||||
if (!previousMenuItem) {
|
||||
previousMenuItem = this.parentMenu.lastChild();
|
||||
}
|
||||
if (previousMenuItem) {
|
||||
this.container.navigateTo(previousMenuItem);
|
||||
}
|
||||
},
|
||||
setTabIndex: function(index) { if (this._anchor) this._anchor.tabIndex = index; }
|
||||
};
|
||||
Sys.WebForms.MenuItem._onmouseout = function(e) {
|
||||
var menuItem = Sys.WebForms.Menu._elementObjectMapper.getMappedObject(this);
|
||||
if (!menuItem) {
|
||||
return;
|
||||
}
|
||||
menuItem.mouseout();
|
||||
Sys.WebForms.Menu._domHelper.cancelEvent(e);
|
||||
};
|
||||
Sys.WebForms.MenuItem._onmouseover = function(e) {
|
||||
var menuItem = Sys.WebForms.Menu._elementObjectMapper.getMappedObject(this);
|
||||
if (!menuItem) {
|
||||
return;
|
||||
}
|
||||
menuItem.mouseover();
|
||||
Sys.WebForms.Menu._domHelper.cancelEvent(e);
|
||||
};
|
||||
Sys.WebForms.Menu._domHelper = {
|
||||
addEvent: function(element, eventName, fn, useCapture) {
|
||||
if (element.addEventListener) {
|
||||
element.addEventListener(eventName, fn, !!useCapture);
|
||||
}
|
||||
else {
|
||||
element['on' + eventName] = fn;
|
||||
}
|
||||
},
|
||||
appendAttributeValue: function(element, name, value) {
|
||||
this.updateAttributeValue('append', element, name, value);
|
||||
},
|
||||
appendCssClass: function(element, value) {
|
||||
this.updateClassName('append', element, name, value);
|
||||
},
|
||||
appendString: function(getString, setString, value) {
|
||||
var currentValue = getString();
|
||||
if (!currentValue) {
|
||||
setString(value);
|
||||
return;
|
||||
}
|
||||
var regex = this._regexes.getRegex('(^| )' + value + '($| )');
|
||||
if (regex.test(currentValue)) {
|
||||
return;
|
||||
}
|
||||
setString(currentValue + ' ' + value);
|
||||
},
|
||||
cancelEvent: function(e) {
|
||||
var event = e || window.event;
|
||||
if (event) {
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
}
|
||||
},
|
||||
contains: function(ancestor, descendant) {
|
||||
for (; descendant && (descendant !== ancestor); descendant = descendant.parentNode) { }
|
||||
return !!descendant;
|
||||
},
|
||||
firstChild: function(element) {
|
||||
var child = element.firstChild;
|
||||
if (child && child.nodeType !== 1) {
|
||||
child = this.nextSibling(child);
|
||||
}
|
||||
return child;
|
||||
},
|
||||
getElement: function(elementOrId) { return typeof elementOrId === 'string' ? document.getElementById(elementOrId) : elementOrId; },
|
||||
getElementDirection: function(element) {
|
||||
if (element) {
|
||||
if (element.dir) {
|
||||
return element.dir;
|
||||
}
|
||||
return this.getElementDirection(element.parentNode);
|
||||
}
|
||||
return "ltr";
|
||||
},
|
||||
getKeyCode: function(event) { return event.keyCode || event.charCode || 0; },
|
||||
insertAfter: function(element, elementToInsert) {
|
||||
var next = element.nextSibling;
|
||||
if (next) {
|
||||
element.parentNode.insertBefore(elementToInsert, next);
|
||||
}
|
||||
else if (element.parentNode) {
|
||||
element.parentNode.appendChild(elementToInsert);
|
||||
}
|
||||
},
|
||||
nextSibling: function(element) {
|
||||
var sibling = element.nextSibling;
|
||||
while (sibling) {
|
||||
if (sibling.nodeType === 1) {
|
||||
return sibling;
|
||||
}
|
||||
sibling = sibling.nextSibling;
|
||||
}
|
||||
},
|
||||
removeAttributeValue: function(element, name, value) {
|
||||
this.updateAttributeValue('remove', element, name, value);
|
||||
},
|
||||
removeCssClass: function(element, value) {
|
||||
this.updateClassName('remove', element, name, value);
|
||||
},
|
||||
removeEvent: function(element, eventName, fn, useCapture) {
|
||||
if (element.removeEventListener) {
|
||||
element.removeEventListener(eventName, fn, !!useCapture);
|
||||
}
|
||||
else if (element.detachEvent) {
|
||||
element.detachEvent('on' + eventName, fn)
|
||||
}
|
||||
element['on' + eventName] = null;
|
||||
},
|
||||
removeString: function(getString, setString, valueToRemove) {
|
||||
var currentValue = getString();
|
||||
if (currentValue) {
|
||||
var regex = this._regexes.getRegex('(\\s|\\b)' + valueToRemove + '$|\\b' + valueToRemove + '\\s+');
|
||||
setString(currentValue.replace(regex, ''));
|
||||
}
|
||||
},
|
||||
setFloat: function(element, direction) {
|
||||
element.style.styleFloat = direction;
|
||||
element.style.cssFloat = direction;
|
||||
},
|
||||
updateAttributeValue: function(operation, element, name, value) {
|
||||
this[operation + 'String'](
|
||||
function() {
|
||||
return element.getAttribute(name);
|
||||
},
|
||||
function(newValue) {
|
||||
element.setAttribute(name, newValue);
|
||||
},
|
||||
value
|
||||
);
|
||||
},
|
||||
updateClassName: function(operation, element, name, value) {
|
||||
this[operation + 'String'](
|
||||
function() {
|
||||
return element.className;
|
||||
},
|
||||
function(newValue) {
|
||||
element.className = newValue;
|
||||
},
|
||||
value
|
||||
);
|
||||
},
|
||||
_regexes: {
|
||||
getRegex: function(pattern) {
|
||||
var regex = this[pattern];
|
||||
if (!regex) {
|
||||
this[pattern] = regex = new RegExp(pattern);
|
||||
}
|
||||
return regex;
|
||||
}
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu._elementObjectMapper = {
|
||||
_computedId: 0,
|
||||
_mappings: {},
|
||||
_mappingIdName: 'Sys.WebForms.Menu.Mapping',
|
||||
getMappedObject: function(element) {
|
||||
var id = element[this._mappingIdName];
|
||||
if (id) {
|
||||
return this._mappings[this._mappingIdName + ':' + id];
|
||||
}
|
||||
},
|
||||
map: function(element, theObject) {
|
||||
var mappedObject = element[this._mappingIdName];
|
||||
if (mappedObject === theObject) {
|
||||
return;
|
||||
}
|
||||
var objectId = element[this._mappingIdName] || element.id || '%' + (++this._computedId);
|
||||
element[this._mappingIdName] = objectId;
|
||||
this._mappings[this._mappingIdName + ':' + objectId] = theObject;
|
||||
theObject.mappingId = objectId;
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu._keyboardMapping = new (function() {
|
||||
var LEFT_ARROW = 37;
|
||||
var UP_ARROW = 38;
|
||||
var RIGHT_ARROW = 39;
|
||||
var DOWN_ARROW = 40;
|
||||
var TAB = 9;
|
||||
var ESCAPE = 27;
|
||||
this.vertical = { next: 0, previous: 1, child: 2, parent: 3, tab: 4 };
|
||||
this.vertical[DOWN_ARROW] = this.vertical.next;
|
||||
this.vertical[UP_ARROW] = this.vertical.previous;
|
||||
this.vertical[RIGHT_ARROW] = this.vertical.child;
|
||||
this.vertical[LEFT_ARROW] = this.vertical.parent;
|
||||
this.vertical[TAB] = this.vertical[ESCAPE] = this.vertical.tab;
|
||||
this.verticalRtl = { next: 0, previous: 1, child: 2, parent: 3, tab: 4 };
|
||||
this.verticalRtl[DOWN_ARROW] = this.verticalRtl.next;
|
||||
this.verticalRtl[UP_ARROW] = this.verticalRtl.previous;
|
||||
this.verticalRtl[LEFT_ARROW] = this.verticalRtl.child;
|
||||
this.verticalRtl[RIGHT_ARROW] = this.verticalRtl.parent;
|
||||
this.verticalRtl[TAB] = this.verticalRtl[ESCAPE] = this.verticalRtl.tab;
|
||||
this.horizontal = { next: 0, previous: 1, child: 2, parent: 3, tab: 4 };
|
||||
this.horizontal[RIGHT_ARROW] = this.horizontal.next;
|
||||
this.horizontal[LEFT_ARROW] = this.horizontal.previous;
|
||||
this.horizontal[DOWN_ARROW] = this.horizontal.child;
|
||||
this.horizontal[UP_ARROW] = this.horizontal.parent;
|
||||
this.horizontal[TAB] = this.horizontal[ESCAPE] = this.horizontal.tab;
|
||||
this.horizontalRtl = { next: 0, previous: 1, child: 2, parent: 3, tab: 4 };
|
||||
this.horizontalRtl[RIGHT_ARROW] = this.horizontalRtl.previous;
|
||||
this.horizontalRtl[LEFT_ARROW] = this.horizontalRtl.next;
|
||||
this.horizontalRtl[DOWN_ARROW] = this.horizontalRtl.child;
|
||||
this.horizontalRtl[UP_ARROW] = this.horizontalRtl.parent;
|
||||
this.horizontalRtl[TAB] = this.horizontalRtl[ESCAPE] = this.horizontalRtl.tab;
|
||||
this.horizontal.contains = this.horizontalRtl.contains = this.vertical.contains = this.verticalRtl.contains = function(keycode) {
|
||||
return this[keycode] != null;
|
||||
};
|
||||
})();
|
||||
Sys.WebForms._MenuContainer = function(options) {
|
||||
this.focused = false;
|
||||
this.disabled = options.disabled;
|
||||
this.staticDisplayLevels = options.staticDisplayLevels || 1;
|
||||
this.element = options.element;
|
||||
this.orientation = options.orientation || 'vertical';
|
||||
this.disappearAfter = options.disappearAfter;
|
||||
this.rightToLeft = Sys.WebForms.Menu._domHelper.getElementDirection(this.element) === 'rtl';
|
||||
Sys.WebForms.Menu._elementObjectMapper.map(this.element, this);
|
||||
this.menu = options.menu;
|
||||
this.menu.rootMenu = this.menu;
|
||||
this.menu.displayMode = 'static';
|
||||
this.menu.element.style.position = 'relative';
|
||||
this.menu.element.style.width = 'auto';
|
||||
if (this.orientation === 'vertical') {
|
||||
Sys.WebForms.Menu._domHelper.appendAttributeValue(this.menu.element, 'role', 'menu');
|
||||
if (this.rightToLeft) {
|
||||
this.menu.keyMap = Sys.WebForms.Menu._keyboardMapping.verticalRtl;
|
||||
}
|
||||
else {
|
||||
this.menu.keyMap = Sys.WebForms.Menu._keyboardMapping.vertical;
|
||||
}
|
||||
}
|
||||
else {
|
||||
Sys.WebForms.Menu._domHelper.appendAttributeValue(this.menu.element, 'role', 'menubar');
|
||||
if (this.rightToLeft) {
|
||||
this.menu.keyMap = Sys.WebForms.Menu._keyboardMapping.horizontalRtl;
|
||||
}
|
||||
else {
|
||||
this.menu.keyMap = Sys.WebForms.Menu._keyboardMapping.horizontal;
|
||||
}
|
||||
}
|
||||
var floatBreak = document.createElement('div');
|
||||
floatBreak.style.clear = this.rightToLeft ? "right" : "left";
|
||||
this.element.appendChild(floatBreak);
|
||||
Sys.WebForms.Menu._domHelper.setFloat(this.element, this.rightToLeft ? "right" : "left");
|
||||
Sys.WebForms.Menu._domHelper.insertAfter(this.element, floatBreak);
|
||||
if (!this.disabled) {
|
||||
Sys.WebForms.Menu._domHelper.addEvent(this.menu.element, 'focus', this._onfocus, true);
|
||||
Sys.WebForms.Menu._domHelper.addEvent(this.menu.element, 'keydown', this._onkeydown);
|
||||
var menuContainer = this;
|
||||
this.element.dispose = function() {
|
||||
if (menuContainer.element.dispose) {
|
||||
menuContainer.element.dispose = null;
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(menuContainer.menu.element, 'focus', menuContainer._onfocus, true);
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(menuContainer.menu.element, 'keydown', menuContainer._onkeydown);
|
||||
menuContainer.menu.doDispose();
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu._domHelper.addEvent(window, 'unload', function() {
|
||||
if (menuContainer.element.dispose) {
|
||||
menuContainer.element.dispose();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
Sys.WebForms._MenuContainer.prototype = {
|
||||
blur: function() {
|
||||
this.focused = false;
|
||||
this.isBlurring = false;
|
||||
this.menu.collapse();
|
||||
this.focusedMenuItem = null;
|
||||
},
|
||||
focus: function(e) { this.focused = true; },
|
||||
navigateTo: function(menuItem) {
|
||||
if (this.focusedMenuItem && this.focusedMenuItem !== this) {
|
||||
this.focusedMenuItem.highlight(false);
|
||||
}
|
||||
menuItem.highlight(true);
|
||||
menuItem.focus();
|
||||
this.focusedMenuItem = menuItem;
|
||||
},
|
||||
_onfocus: function(e) {
|
||||
var event = e || window.event;
|
||||
if (event.srcElement && this) {
|
||||
if (Sys.WebForms.Menu._domHelper.contains(this.element, event.srcElement)) {
|
||||
if (!this.focused) {
|
||||
this.focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
_onkeydown: function(e) {
|
||||
var thisMenu = Sys.WebForms.Menu._elementObjectMapper.getMappedObject(this);
|
||||
var keyCode = Sys.WebForms.Menu._domHelper.getKeyCode(e || window.event);
|
||||
if (thisMenu) {
|
||||
thisMenu.handleKeyPress(keyCode);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,280 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/SmartNav.js
|
||||
var snSrc;
|
||||
if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
{
|
||||
window.__smartNav = new Object();
|
||||
window.__smartNav.update = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
sn.inPost = false;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
|
||||
if (fdr.length > 0)
|
||||
{
|
||||
if ((typeof(sn.sHif) == "undefined") || (sn.sHif == null))
|
||||
{
|
||||
sn.sHif = document.createElement("IFRAME");
|
||||
sn.sHif.name = "__hifSmartNav";
|
||||
sn.sHif.style.display = "none";
|
||||
sn.sHif.src = snSrc;
|
||||
}
|
||||
try {window.location = fdr[0].url;} catch (e) {};
|
||||
return;
|
||||
}
|
||||
var fdurl = fd.location.href;
|
||||
var index = fdurl.indexOf(snSrc);
|
||||
if ((index != -1 && index == fdurl.length-snSrc.length)
|
||||
|| fdurl == "about:blank")
|
||||
return;
|
||||
var fdurlb = fdurl.split("?")[0];
|
||||
if (document.location.href.indexOf(fdurlb) < 0)
|
||||
{
|
||||
document.location.href=fdurl;
|
||||
return;
|
||||
}
|
||||
sn._savedOnLoad = window.onload;
|
||||
window.onload = null;
|
||||
window.__smartNav.updateHelper();
|
||||
}
|
||||
window.__smartNav.updateHelper = function()
|
||||
{
|
||||
if (document.readyState != "complete")
|
||||
{
|
||||
window.setTimeout(window.__smartNav.updateHelper, 25);
|
||||
return;
|
||||
}
|
||||
window.__smartNav.loadNewContent();
|
||||
}
|
||||
window.__smartNav.loadNewContent = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
if ((typeof(sn.sHif) != "undefined") && (sn.sHif != null))
|
||||
{
|
||||
sn.sHif.removeNode(true);
|
||||
sn.sHif = null;
|
||||
}
|
||||
var hdm = document.getElementsByTagName("head")[0];
|
||||
var hk = hdm.childNodes;
|
||||
var tt = null;
|
||||
var i;
|
||||
for (i = hk.length - 1; i>= 0; i--)
|
||||
{
|
||||
if (hk[i].tagName == "TITLE")
|
||||
{
|
||||
tt = hk[i].outerHTML;
|
||||
continue;
|
||||
}
|
||||
if (hk[i].tagName != "BASEFONT" || hk[i].innerHTML.length == 0)
|
||||
hdm.removeChild(hdm.childNodes[i]);
|
||||
}
|
||||
var kids = fd.getElementsByTagName("head")[0].childNodes;
|
||||
for (i = 0; i < kids.length; i++)
|
||||
{
|
||||
var tn = kids[i].tagName;
|
||||
var k = document.createElement(tn);
|
||||
k.id = kids[i].id;
|
||||
k.mergeAttributes(kids[i]);
|
||||
switch(tn)
|
||||
{
|
||||
case "TITLE":
|
||||
if (tt == kids[i].outerHTML)
|
||||
continue;
|
||||
k.innerText = kids[i].text;
|
||||
hdm.insertAdjacentElement("afterbegin", k);
|
||||
continue;
|
||||
case "BASEFONT" :
|
||||
if (kids[i].innerHTML.length > 0)
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
var o = document.createElement("BODY");
|
||||
o.innerHTML = "<BODY>" + kids[i].outerHTML + "</BODY>";
|
||||
k = o.firstChild;
|
||||
break;
|
||||
}
|
||||
if((typeof(k) != "undefined") && (k != null))
|
||||
hdm.appendChild(k);
|
||||
}
|
||||
document.body.clearAttributes();
|
||||
document.body.id = fd.body.id;
|
||||
document.body.mergeAttributes(fd.body);
|
||||
var newBodyLoad = fd.body.onload;
|
||||
if ((typeof(newBodyLoad) != "undefined") && (newBodyLoad != null))
|
||||
document.body.onload = newBodyLoad;
|
||||
else
|
||||
document.body.onload = sn._savedOnLoad;
|
||||
var s = "<BODY>" + fd.body.innerHTML + "</BODY>";
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
var hifP = sn.hif.parentElement;
|
||||
if ((typeof(hifP) != "undefined") && (hifP != null))
|
||||
sn.sHif=hifP.removeChild(sn.hif);
|
||||
}
|
||||
document.body.innerHTML = s;
|
||||
var sc = document.scripts;
|
||||
for (i = 0; i < sc.length; i++)
|
||||
{
|
||||
sc[i].text = sc[i].text;
|
||||
}
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
var hif = sn.hif;
|
||||
sn.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
frames["__hifSmartNav"].name = sn.hifName;
|
||||
sn.hifDoc = hif.contentWindow.document;
|
||||
if (sn.ie5)
|
||||
hif.parentElement.removeChild(hif);
|
||||
window.setTimeout(sn.restoreFocus,0);
|
||||
}
|
||||
if (typeof(window.onload) == "string")
|
||||
{
|
||||
try { eval(window.onload) } catch (e) {};
|
||||
}
|
||||
else if ((typeof(window.onload) != "undefined") && (window.onload != null))
|
||||
{
|
||||
try { window.onload() } catch (e) {};
|
||||
}
|
||||
sn._savedOnLoad = null;
|
||||
sn.attachForm();
|
||||
};
|
||||
window.__smartNav.restoreFocus = function()
|
||||
{
|
||||
if (window.__smartNav.inPost == true) return;
|
||||
var curAe = document.activeElement;
|
||||
var sAeId = window.__smartNav.ae;
|
||||
if (((typeof(sAeId) == "undefined") || (sAeId == null)) ||
|
||||
(typeof(curAe) != "undefined") && (curAe != null) && (curAe.id == sAeId || curAe.name == sAeId))
|
||||
return;
|
||||
var ae = document.all(sAeId);
|
||||
if ((typeof(ae) == "undefined") || (ae == null)) return;
|
||||
try { ae.focus(); } catch(e){};
|
||||
}
|
||||
window.__smartNav.saveHistory = function()
|
||||
{
|
||||
if ((typeof(window.__smartNav.hif) != "undefined") && (window.__smartNav.hif != null))
|
||||
window.__smartNav.hif.removeNode();
|
||||
if ((typeof(window.__smartNav.sHif) != "undefined") && (window.__smartNav.sHif != null)
|
||||
&& (typeof(document.all[window.__smartNav.siHif]) != "undefined")
|
||||
&& (document.all[window.__smartNav.siHif] != null)) {
|
||||
document.all[window.__smartNav.siHif].insertAdjacentElement(
|
||||
"BeforeBegin", window.__smartNav.sHif);
|
||||
}
|
||||
}
|
||||
window.__smartNav.stopHif = function()
|
||||
{
|
||||
document.detachEvent("onstop", window.__smartNav.stopHif);
|
||||
var sn = window.__smartNav;
|
||||
if (((typeof(sn.hifDoc) == "undefined") || (sn.hifDoc == null)) &&
|
||||
(typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
try {sn.hifDoc = sn.hif.contentWindow.document;}
|
||||
catch(e){sn.hifDoc=null}
|
||||
}
|
||||
if (sn.hifDoc != null)
|
||||
{
|
||||
try {sn.hifDoc.execCommand("stop");} catch (e){}
|
||||
}
|
||||
}
|
||||
window.__smartNav.init = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
window.__smartNav.form.__smartNavPostBack.value = 'true';
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
document.attachEvent("onstop", sn.stopHif);
|
||||
try { if (window.event.returnValue == false) return; } catch(e) {}
|
||||
sn.inPost = true;
|
||||
if ((typeof(document.activeElement) != "undefined") && (document.activeElement != null))
|
||||
{
|
||||
var ae = document.activeElement.id;
|
||||
if (ae.length == 0)
|
||||
ae = document.activeElement.name;
|
||||
sn.ae = ae;
|
||||
}
|
||||
else
|
||||
sn.ae = null;
|
||||
try {document.selection.empty();} catch (e) {}
|
||||
if ((typeof(sn.hif) == "undefined") || (sn.hif == null))
|
||||
{
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
sn.hifDoc = sn.hif.contentWindow.document;
|
||||
}
|
||||
if ((typeof(sn.hifDoc) != "undefined") && (sn.hifDoc != null))
|
||||
try {sn.hifDoc.designMode = "On";} catch(e){};
|
||||
if ((typeof(sn.hif.parentElement) == "undefined") || (sn.hif.parentElement == null))
|
||||
document.body.appendChild(sn.hif);
|
||||
var hif = sn.hif;
|
||||
hif.detachEvent("onload", sn.update);
|
||||
hif.attachEvent("onload", sn.update);
|
||||
window.__smartNav.fInit = true;
|
||||
};
|
||||
window.__smartNav.submit = function()
|
||||
{
|
||||
window.__smartNav.fInit = false;
|
||||
try { window.__smartNav.init(); } catch(e) {}
|
||||
if (window.__smartNav.fInit) {
|
||||
window.__smartNav.form._submit();
|
||||
}
|
||||
};
|
||||
window.__smartNav.attachForm = function()
|
||||
{
|
||||
var cf = document.forms;
|
||||
for (var i=0; i<cf.length; i++)
|
||||
{
|
||||
if ((typeof(cf[i].__smartNavEnabled) != "undefined") && (cf[i].__smartNavEnabled != null))
|
||||
{
|
||||
window.__smartNav.form = cf[i];
|
||||
window.__smartNav.form.insertAdjacentHTML("beforeEnd", "<input type='hidden' name='__smartNavPostBack' value='false' />");
|
||||
break;
|
||||
}
|
||||
}
|
||||
var snfm = window.__smartNav.form;
|
||||
if ((typeof(snfm) == "undefined") || (snfm == null)) return false;
|
||||
var sft = snfm.target;
|
||||
if (sft.length != 0 && sft.indexOf("__hifSmartNav") != 0) return false;
|
||||
var sfc = snfm.action.split("?")[0];
|
||||
var url = window.location.href.split("?")[0];
|
||||
if (url.charAt(url.length-1) != '/' && url.lastIndexOf(sfc) + sfc.length != url.length) return false;
|
||||
if (snfm.__formAttached == true) return true;
|
||||
snfm.__formAttached = true;
|
||||
snfm.attachEvent("onsubmit", window.__smartNav.init);
|
||||
snfm._submit = snfm.submit;
|
||||
snfm.submit = window.__smartNav.submit;
|
||||
snfm.target = window.__smartNav.hifName;
|
||||
return true;
|
||||
};
|
||||
window.__smartNav.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
window.__smartNav.ie5 = navigator.appVersion.indexOf("MSIE 5") > 0;
|
||||
var rc = window.__smartNav.attachForm();
|
||||
var hif = document.all("__hifSmartNav");
|
||||
if ((typeof(snSrc) == "undefined") || (snSrc == null)) {
|
||||
if (typeof(window.dialogHeight) != "undefined") {
|
||||
snSrc = "IEsmartnav1";
|
||||
hif.src = snSrc;
|
||||
} else {
|
||||
snSrc = hif.src;
|
||||
}
|
||||
}
|
||||
if (rc)
|
||||
{
|
||||
var fsn = frames["__hifSmartNav"];
|
||||
fsn.name = window.__smartNav.hifName;
|
||||
window.__smartNav.siHif = hif.sourceIndex;
|
||||
try {
|
||||
if (fsn.document.location != snSrc)
|
||||
{
|
||||
fsn.document.designMode = "On";
|
||||
hif.attachEvent("onload",window.__smartNav.update);
|
||||
window.__smartNav.hif = hif;
|
||||
}
|
||||
}
|
||||
catch (e) { window.__smartNav.hif = hif; }
|
||||
window.attachEvent("onbeforeunload", window.__smartNav.saveHistory);
|
||||
}
|
||||
else
|
||||
window.__smartNav = null;
|
||||
}
|
||||
@@ -0,0 +1,220 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/TreeView.js
|
||||
function TreeView_HoverNode(data, node) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
node.hoverClass = data.hoverClass;
|
||||
WebForm_AppendToClassName(node, data.hoverClass);
|
||||
if (__nonMSDOMBrowser) {
|
||||
node = node.childNodes[node.childNodes.length - 1];
|
||||
}
|
||||
else {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
node.hoverHyperLinkClass = data.hoverHyperLinkClass;
|
||||
WebForm_AppendToClassName(node, data.hoverHyperLinkClass);
|
||||
}
|
||||
function TreeView_GetNodeText(node) {
|
||||
var trNode = WebForm_GetParentByTagName(node, "TR");
|
||||
var outerNodes;
|
||||
if (trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName) {
|
||||
outerNodes = trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName("A");
|
||||
if (!outerNodes || outerNodes.length == 0) {
|
||||
outerNodes = trNode.childNodes[trNode.childNodes.length - 1].getElementsByTagName("SPAN");
|
||||
}
|
||||
}
|
||||
var textNode = (outerNodes && outerNodes.length > 0) ?
|
||||
outerNodes[0].childNodes[0] :
|
||||
trNode.childNodes[trNode.childNodes.length - 1].childNodes[0];
|
||||
return (textNode && textNode.nodeValue) ? textNode.nodeValue : "";
|
||||
}
|
||||
function TreeView_PopulateNode(data, index, node, selectNode, selectImageNode, lineType, text, path, databound, datapath, parentIsLast) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
var context = new Object();
|
||||
context.data = data;
|
||||
context.node = node;
|
||||
context.selectNode = selectNode;
|
||||
context.selectImageNode = selectImageNode;
|
||||
context.lineType = lineType;
|
||||
context.index = index;
|
||||
context.isChecked = "f";
|
||||
var tr = WebForm_GetParentByTagName(node, "TR");
|
||||
if (tr) {
|
||||
var checkbox = tr.getElementsByTagName("INPUT");
|
||||
if (checkbox && (checkbox.length > 0)) {
|
||||
for (var i = 0; i < checkbox.length; i++) {
|
||||
if (checkbox[i].type.toLowerCase() == "checkbox") {
|
||||
if (checkbox[i].checked) {
|
||||
context.isChecked = "t";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var param = index + "|" + data.lastIndex + "|" + databound + context.isChecked + parentIsLast + "|" +
|
||||
text.length + "|" + text + datapath.length + "|" + datapath + path;
|
||||
TreeView_PopulateNodeDoCallBack(context, param);
|
||||
}
|
||||
function TreeView_ProcessNodeData(result, context) {
|
||||
var treeNode = context.node;
|
||||
if (result.length > 0) {
|
||||
var ci = result.indexOf("|", 0);
|
||||
context.data.lastIndex = result.substring(0, ci);
|
||||
ci = result.indexOf("|", ci + 1);
|
||||
var newExpandState = result.substring(context.data.lastIndex.length + 1, ci);
|
||||
context.data.expandState.value += newExpandState;
|
||||
var chunk = result.substr(ci + 1);
|
||||
var newChildren, table;
|
||||
if (__nonMSDOMBrowser) {
|
||||
var newDiv = document.createElement("div");
|
||||
newDiv.innerHTML = chunk;
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
newChildren = null;
|
||||
if ((typeof(table.nextSibling) == "undefined") || (table.nextSibling == null)) {
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table.nextSibling);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
else {
|
||||
table = table.nextSibling;
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
newChildren = document.getElementById(treeNode.id + "Nodes");
|
||||
}
|
||||
else {
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
table.insertAdjacentHTML("afterEnd", chunk);
|
||||
newChildren = document.all[treeNode.id + "Nodes"];
|
||||
}
|
||||
if ((typeof(newChildren) != "undefined") && (newChildren != null)) {
|
||||
TreeView_ToggleNode(context.data, context.index, treeNode, context.lineType, newChildren);
|
||||
treeNode.href = document.getElementById ?
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + ",document.getElementById('" + treeNode.id + "'),'" + context.lineType + "',document.getElementById('" + newChildren.id + "'))" :
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + "," + treeNode.id + ",'" + context.lineType + "'," + newChildren.id + ")";
|
||||
if ((typeof(context.selectNode) != "undefined") && (context.selectNode != null) && context.selectNode.href &&
|
||||
(context.selectNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectNode.href = treeNode.href;
|
||||
}
|
||||
if ((typeof(context.selectImageNode) != "undefined") && (context.selectImageNode != null) && context.selectNode.href &&
|
||||
(context.selectImageNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectImageNode.href = treeNode.href;
|
||||
}
|
||||
}
|
||||
context.data.populateLog.value += context.index + ",";
|
||||
}
|
||||
else {
|
||||
var img = treeNode.childNodes ? treeNode.childNodes[0] : treeNode.children[0];
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
var lineType = context.lineType;
|
||||
if (lineType == "l") {
|
||||
img.src = context.data.images[13];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = context.data.images[10];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = context.data.images[16];
|
||||
}
|
||||
else {
|
||||
img.src = context.data.images[3];
|
||||
}
|
||||
var pe;
|
||||
if (__nonMSDOMBrowser) {
|
||||
pe = treeNode.parentNode;
|
||||
pe.insertBefore(img, treeNode);
|
||||
pe.removeChild(treeNode);
|
||||
}
|
||||
else {
|
||||
pe = treeNode.parentElement;
|
||||
treeNode.style.visibility="hidden";
|
||||
treeNode.style.display="none";
|
||||
pe.insertAdjacentElement("afterBegin", img);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function TreeView_SelectNode(data, node, nodeId) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
if ((typeof(data.selectedClass) != "undefined") && (data.selectedClass != null)) {
|
||||
var id = data.selectedNodeID.value;
|
||||
if (id.length > 0) {
|
||||
var selectedNode = document.getElementById(id);
|
||||
if ((typeof(selectedNode) != "undefined") && (selectedNode != null)) {
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedHyperLinkClass);
|
||||
selectedNode = WebForm_GetParentByTagName(selectedNode, "TD");
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedClass);
|
||||
}
|
||||
}
|
||||
WebForm_AppendToClassName(node, data.selectedHyperLinkClass);
|
||||
node = WebForm_GetParentByTagName(node, "TD");
|
||||
WebForm_AppendToClassName(node, data.selectedClass)
|
||||
}
|
||||
data.selectedNodeID.value = nodeId;
|
||||
}
|
||||
function TreeView_ToggleNode(data, index, node, lineType, children) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
var img = node.childNodes[0];
|
||||
var newExpandState;
|
||||
try {
|
||||
if (children.style.display == "none") {
|
||||
children.style.display = "block";
|
||||
newExpandState = "e";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[15];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = data.images[12];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = data.images[18];
|
||||
}
|
||||
else {
|
||||
img.src = data.images[5];
|
||||
}
|
||||
img.alt = data.collapseToolTip.replace(/\{0\}/, TreeView_GetNodeText(node));
|
||||
}
|
||||
}
|
||||
else {
|
||||
children.style.display = "none";
|
||||
newExpandState = "c";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[14];
|
||||
}
|
||||
else if (lineType == "t") {
|
||||
img.src = data.images[11];
|
||||
}
|
||||
else if (lineType == "-") {
|
||||
img.src = data.images[17];
|
||||
}
|
||||
else {
|
||||
img.src = data.images[4];
|
||||
}
|
||||
img.alt = data.expandToolTip.replace(/\{0\}/, TreeView_GetNodeText(node));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
data.expandState.value = data.expandState.value.substring(0, index) + newExpandState + data.expandState.value.slice(index + 1);
|
||||
}
|
||||
function TreeView_UnhoverNode(node) {
|
||||
if (!node.hoverClass) {
|
||||
return;
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverClass);
|
||||
if (__nonMSDOMBrowser) {
|
||||
node = node.childNodes[node.childNodes.length - 1];
|
||||
}
|
||||
else {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverHyperLinkClass);
|
||||
}
|
||||
@@ -0,0 +1,567 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js
|
||||
function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
|
||||
this.eventTarget = eventTarget;
|
||||
this.eventArgument = eventArgument;
|
||||
this.validation = validation;
|
||||
this.validationGroup = validationGroup;
|
||||
this.actionUrl = actionUrl;
|
||||
this.trackFocus = trackFocus;
|
||||
this.clientSubmit = clientSubmit;
|
||||
}
|
||||
function WebForm_DoPostBackWithOptions(options) {
|
||||
var validationResult = true;
|
||||
if (options.validation) {
|
||||
if (typeof(Page_ClientValidate) == 'function') {
|
||||
validationResult = Page_ClientValidate(options.validationGroup);
|
||||
}
|
||||
}
|
||||
if (validationResult) {
|
||||
if ((typeof(options.actionUrl) != "undefined") && (options.actionUrl != null) && (options.actionUrl.length > 0)) {
|
||||
theForm.action = options.actionUrl;
|
||||
}
|
||||
if (options.trackFocus) {
|
||||
var lastFocus = theForm.elements["__LASTFOCUS"];
|
||||
if ((typeof(lastFocus) != "undefined") && (lastFocus != null)) {
|
||||
if (typeof(document.activeElement) == "undefined") {
|
||||
lastFocus.value = options.eventTarget;
|
||||
}
|
||||
else {
|
||||
var active = document.activeElement;
|
||||
if ((typeof(active) != "undefined") && (active != null)) {
|
||||
if ((typeof(active.id) != "undefined") && (active.id != null) && (active.id.length > 0)) {
|
||||
lastFocus.value = active.id;
|
||||
}
|
||||
else if (typeof(active.name) != "undefined") {
|
||||
lastFocus.value = active.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (options.clientSubmit) {
|
||||
__doPostBack(options.eventTarget, options.eventArgument);
|
||||
}
|
||||
}
|
||||
var __pendingCallbacks = new Array();
|
||||
var __synchronousCallBackIndex = -1;
|
||||
function WebForm_DoCallback(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync) {
|
||||
var postData = __theFormPostData +
|
||||
"__CALLBACKID=" + WebForm_EncodeCallback(eventTarget) +
|
||||
"&__CALLBACKPARAM=" + WebForm_EncodeCallback(eventArgument);
|
||||
if (theForm["__EVENTVALIDATION"]) {
|
||||
postData += "&__EVENTVALIDATION=" + WebForm_EncodeCallback(theForm["__EVENTVALIDATION"].value);
|
||||
}
|
||||
var xmlRequest,e;
|
||||
try {
|
||||
xmlRequest = new XMLHttpRequest();
|
||||
}
|
||||
catch(e) {
|
||||
try {
|
||||
xmlRequest = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
}
|
||||
var setRequestHeaderMethodExists = true;
|
||||
try {
|
||||
setRequestHeaderMethodExists = (xmlRequest && xmlRequest.setRequestHeader);
|
||||
}
|
||||
catch(e) {}
|
||||
var callback = new Object();
|
||||
callback.eventCallback = eventCallback;
|
||||
callback.context = context;
|
||||
callback.errorCallback = errorCallback;
|
||||
callback.async = useAsync;
|
||||
var callbackIndex = WebForm_FillFirstAvailableSlot(__pendingCallbacks, callback);
|
||||
if (!useAsync) {
|
||||
if (__synchronousCallBackIndex != -1) {
|
||||
__pendingCallbacks[__synchronousCallBackIndex] = null;
|
||||
}
|
||||
__synchronousCallBackIndex = callbackIndex;
|
||||
}
|
||||
if (setRequestHeaderMethodExists) {
|
||||
xmlRequest.onreadystatechange = WebForm_CallbackComplete;
|
||||
callback.xmlRequest = xmlRequest;
|
||||
// e.g. http:
|
||||
var action = theForm.action || document.location.pathname, fragmentIndex = action.indexOf('#');
|
||||
if (fragmentIndex !== -1) {
|
||||
action = action.substr(0, fragmentIndex);
|
||||
}
|
||||
if (!__nonMSDOMBrowser) {
|
||||
var queryIndex = action.indexOf('?');
|
||||
if (queryIndex !== -1) {
|
||||
var path = action.substr(0, queryIndex);
|
||||
if (path.indexOf("%") === -1) {
|
||||
action = encodeURI(path) + action.substr(queryIndex);
|
||||
}
|
||||
}
|
||||
else if (action.indexOf("%") === -1) {
|
||||
action = encodeURI(action);
|
||||
}
|
||||
}
|
||||
xmlRequest.open("POST", action, true);
|
||||
xmlRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
|
||||
xmlRequest.send(postData);
|
||||
return;
|
||||
}
|
||||
callback.xmlRequest = new Object();
|
||||
var callbackFrameID = "__CALLBACKFRAME" + callbackIndex;
|
||||
var xmlRequestFrame = document.frames[callbackFrameID];
|
||||
if (!xmlRequestFrame) {
|
||||
xmlRequestFrame = document.createElement("IFRAME");
|
||||
xmlRequestFrame.width = "1";
|
||||
xmlRequestFrame.height = "1";
|
||||
xmlRequestFrame.frameBorder = "0";
|
||||
xmlRequestFrame.id = callbackFrameID;
|
||||
xmlRequestFrame.name = callbackFrameID;
|
||||
xmlRequestFrame.style.position = "absolute";
|
||||
xmlRequestFrame.style.top = "-100px"
|
||||
xmlRequestFrame.style.left = "-100px";
|
||||
try {
|
||||
if (callBackFrameUrl) {
|
||||
xmlRequestFrame.src = callBackFrameUrl;
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
document.body.appendChild(xmlRequestFrame);
|
||||
}
|
||||
var interval = window.setInterval(function() {
|
||||
xmlRequestFrame = document.frames[callbackFrameID];
|
||||
if (xmlRequestFrame && xmlRequestFrame.document) {
|
||||
window.clearInterval(interval);
|
||||
xmlRequestFrame.document.write("");
|
||||
xmlRequestFrame.document.close();
|
||||
xmlRequestFrame.document.write('<html><body><form method="post"><input type="hidden" name="__CALLBACKLOADSCRIPT" value="t"></form></body></html>');
|
||||
xmlRequestFrame.document.close();
|
||||
xmlRequestFrame.document.forms[0].action = theForm.action;
|
||||
var count = __theFormPostCollection.length;
|
||||
var element;
|
||||
for (var i = 0; i < count; i++) {
|
||||
element = __theFormPostCollection[i];
|
||||
if (element) {
|
||||
var fieldElement = xmlRequestFrame.document.createElement("INPUT");
|
||||
fieldElement.type = "hidden";
|
||||
fieldElement.name = element.name;
|
||||
fieldElement.value = element.value;
|
||||
xmlRequestFrame.document.forms[0].appendChild(fieldElement);
|
||||
}
|
||||
}
|
||||
var callbackIdFieldElement = xmlRequestFrame.document.createElement("INPUT");
|
||||
callbackIdFieldElement.type = "hidden";
|
||||
callbackIdFieldElement.name = "__CALLBACKID";
|
||||
callbackIdFieldElement.value = eventTarget;
|
||||
xmlRequestFrame.document.forms[0].appendChild(callbackIdFieldElement);
|
||||
var callbackParamFieldElement = xmlRequestFrame.document.createElement("INPUT");
|
||||
callbackParamFieldElement.type = "hidden";
|
||||
callbackParamFieldElement.name = "__CALLBACKPARAM";
|
||||
callbackParamFieldElement.value = eventArgument;
|
||||
xmlRequestFrame.document.forms[0].appendChild(callbackParamFieldElement);
|
||||
if (theForm["__EVENTVALIDATION"]) {
|
||||
var callbackValidationFieldElement = xmlRequestFrame.document.createElement("INPUT");
|
||||
callbackValidationFieldElement.type = "hidden";
|
||||
callbackValidationFieldElement.name = "__EVENTVALIDATION";
|
||||
callbackValidationFieldElement.value = theForm["__EVENTVALIDATION"].value;
|
||||
xmlRequestFrame.document.forms[0].appendChild(callbackValidationFieldElement);
|
||||
}
|
||||
var callbackIndexFieldElement = xmlRequestFrame.document.createElement("INPUT");
|
||||
callbackIndexFieldElement.type = "hidden";
|
||||
callbackIndexFieldElement.name = "__CALLBACKINDEX";
|
||||
callbackIndexFieldElement.value = callbackIndex;
|
||||
xmlRequestFrame.document.forms[0].appendChild(callbackIndexFieldElement);
|
||||
xmlRequestFrame.document.forms[0].submit();
|
||||
}
|
||||
}, 10);
|
||||
}
|
||||
function WebForm_CallbackComplete() {
|
||||
for (var i = 0; i < __pendingCallbacks.length; i++) {
|
||||
callbackObject = __pendingCallbacks[i];
|
||||
if (callbackObject && callbackObject.xmlRequest && (callbackObject.xmlRequest.readyState == 4)) {
|
||||
if (!__pendingCallbacks[i].async) {
|
||||
__synchronousCallBackIndex = -1;
|
||||
}
|
||||
__pendingCallbacks[i] = null;
|
||||
var callbackFrameID = "__CALLBACKFRAME" + i;
|
||||
var xmlRequestFrame = document.getElementById(callbackFrameID);
|
||||
if (xmlRequestFrame) {
|
||||
xmlRequestFrame.parentNode.removeChild(xmlRequestFrame);
|
||||
}
|
||||
WebForm_ExecuteCallback(callbackObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebForm_ExecuteCallback(callbackObject) {
|
||||
var response = callbackObject.xmlRequest.responseText;
|
||||
if (response.charAt(0) == "s") {
|
||||
if ((typeof(callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
|
||||
callbackObject.eventCallback(response.substring(1), callbackObject.context);
|
||||
}
|
||||
}
|
||||
else if (response.charAt(0) == "e") {
|
||||
if ((typeof(callbackObject.errorCallback) != "undefined") && (callbackObject.errorCallback != null)) {
|
||||
callbackObject.errorCallback(response.substring(1), callbackObject.context);
|
||||
}
|
||||
}
|
||||
else {
|
||||
var separatorIndex = response.indexOf("|");
|
||||
if (separatorIndex != -1) {
|
||||
var validationFieldLength = parseInt(response.substring(0, separatorIndex));
|
||||
if (!isNaN(validationFieldLength)) {
|
||||
var validationField = response.substring(separatorIndex + 1, separatorIndex + validationFieldLength + 1);
|
||||
if (validationField != "") {
|
||||
var validationFieldElement = theForm["__EVENTVALIDATION"];
|
||||
if (!validationFieldElement) {
|
||||
validationFieldElement = document.createElement("INPUT");
|
||||
validationFieldElement.type = "hidden";
|
||||
validationFieldElement.name = "__EVENTVALIDATION";
|
||||
theForm.appendChild(validationFieldElement);
|
||||
}
|
||||
validationFieldElement.value = validationField;
|
||||
}
|
||||
if ((typeof(callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
|
||||
callbackObject.eventCallback(response.substring(separatorIndex + validationFieldLength + 1), callbackObject.context);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebForm_FillFirstAvailableSlot(array, element) {
|
||||
var i;
|
||||
for (i = 0; i < array.length; i++) {
|
||||
if (!array[i]) break;
|
||||
}
|
||||
array[i] = element;
|
||||
return i;
|
||||
}
|
||||
var __nonMSDOMBrowser = (window.navigator.appName.toLowerCase().indexOf('explorer') == -1);
|
||||
var __theFormPostData = "";
|
||||
var __theFormPostCollection = new Array();
|
||||
var __callbackTextTypes = /^(text|password|hidden|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;
|
||||
function WebForm_InitCallback() {
|
||||
var formElements = theForm.elements,
|
||||
count = formElements.length,
|
||||
element;
|
||||
for (var i = 0; i < count; i++) {
|
||||
element = formElements[i];
|
||||
var tagName = element.tagName.toLowerCase();
|
||||
if (tagName == "input") {
|
||||
var type = element.type;
|
||||
if ((__callbackTextTypes.test(type) || ((type == "checkbox" || type == "radio") && element.checked))
|
||||
&& (element.id != "__EVENTVALIDATION")) {
|
||||
WebForm_InitCallbackAddField(element.name, element.value);
|
||||
}
|
||||
}
|
||||
else if (tagName == "select") {
|
||||
var selectCount = element.options.length;
|
||||
for (var j = 0; j < selectCount; j++) {
|
||||
var selectChild = element.options[j];
|
||||
if (selectChild.selected == true) {
|
||||
WebForm_InitCallbackAddField(element.name, element.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (tagName == "textarea") {
|
||||
WebForm_InitCallbackAddField(element.name, element.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebForm_InitCallbackAddField(name, value) {
|
||||
var nameValue = new Object();
|
||||
nameValue.name = name;
|
||||
nameValue.value = value;
|
||||
__theFormPostCollection[__theFormPostCollection.length] = nameValue;
|
||||
__theFormPostData += WebForm_EncodeCallback(name) + "=" + WebForm_EncodeCallback(value) + "&";
|
||||
}
|
||||
function WebForm_EncodeCallback(parameter) {
|
||||
if (encodeURIComponent) {
|
||||
return encodeURIComponent(parameter);
|
||||
}
|
||||
else {
|
||||
return escape(parameter);
|
||||
}
|
||||
}
|
||||
var __disabledControlArray = new Array();
|
||||
function WebForm_ReEnableControls() {
|
||||
if (typeof(__enabledControlArray) == 'undefined') {
|
||||
return false;
|
||||
}
|
||||
var disabledIndex = 0;
|
||||
for (var i = 0; i < __enabledControlArray.length; i++) {
|
||||
var c;
|
||||
if (__nonMSDOMBrowser) {
|
||||
c = document.getElementById(__enabledControlArray[i]);
|
||||
}
|
||||
else {
|
||||
c = document.all[__enabledControlArray[i]];
|
||||
}
|
||||
if ((typeof(c) != "undefined") && (c != null) && (c.disabled == true)) {
|
||||
c.disabled = false;
|
||||
__disabledControlArray[disabledIndex++] = c;
|
||||
}
|
||||
}
|
||||
setTimeout("WebForm_ReDisableControls()", 0);
|
||||
return true;
|
||||
}
|
||||
function WebForm_ReDisableControls() {
|
||||
for (var i = 0; i < __disabledControlArray.length; i++) {
|
||||
__disabledControlArray[i].disabled = true;
|
||||
}
|
||||
}
|
||||
function WebForm_SimulateClick(element, event) {
|
||||
var clickEvent;
|
||||
if (element) {
|
||||
if (element.click) {
|
||||
element.click();
|
||||
} else {
|
||||
clickEvent = document.createEvent("MouseEvents");
|
||||
clickEvent.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||
if (!element.dispatchEvent(clickEvent)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebForm_FireDefaultButton(event, target) {
|
||||
if (event.keyCode == 13) {
|
||||
var src = event.srcElement || event.target;
|
||||
if (src &&
|
||||
((src.tagName.toLowerCase() == "input") &&
|
||||
(src.type.toLowerCase() == "submit" || src.type.toLowerCase() == "button")) ||
|
||||
((src.tagName.toLowerCase() == "a") &&
|
||||
(src.href != null) && (src.href != "")) ||
|
||||
(src.tagName.toLowerCase() == "textarea")) {
|
||||
return true;
|
||||
}
|
||||
var defaultButton;
|
||||
if (__nonMSDOMBrowser) {
|
||||
defaultButton = document.getElementById(target);
|
||||
}
|
||||
else {
|
||||
defaultButton = document.all[target];
|
||||
}
|
||||
if (defaultButton) {
|
||||
return WebForm_SimulateClick(defaultButton, event);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebForm_GetScrollX() {
|
||||
if (__nonMSDOMBrowser) {
|
||||
return window.pageXOffset;
|
||||
}
|
||||
else {
|
||||
if (document.documentElement && document.documentElement.scrollLeft) {
|
||||
return document.documentElement.scrollLeft;
|
||||
}
|
||||
else if (document.body) {
|
||||
return document.body.scrollLeft;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function WebForm_GetScrollY() {
|
||||
if (__nonMSDOMBrowser) {
|
||||
return window.pageYOffset;
|
||||
}
|
||||
else {
|
||||
if (document.documentElement && document.documentElement.scrollTop) {
|
||||
return document.documentElement.scrollTop;
|
||||
}
|
||||
else if (document.body) {
|
||||
return document.body.scrollTop;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function WebForm_SaveScrollPositionSubmit() {
|
||||
if (__nonMSDOMBrowser) {
|
||||
theForm.elements['__SCROLLPOSITIONY'].value = window.pageYOffset;
|
||||
theForm.elements['__SCROLLPOSITIONX'].value = window.pageXOffset;
|
||||
}
|
||||
else {
|
||||
theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
|
||||
theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
|
||||
}
|
||||
if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {
|
||||
return this.oldSubmit();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebForm_SaveScrollPositionOnSubmit() {
|
||||
theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
|
||||
theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
|
||||
if ((typeof(this.oldOnSubmit) != "undefined") && (this.oldOnSubmit != null)) {
|
||||
return this.oldOnSubmit();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebForm_RestoreScrollPosition() {
|
||||
if (__nonMSDOMBrowser) {
|
||||
window.scrollTo(theForm.elements['__SCROLLPOSITIONX'].value, theForm.elements['__SCROLLPOSITIONY'].value);
|
||||
}
|
||||
else {
|
||||
window.scrollTo(theForm.__SCROLLPOSITIONX.value, theForm.__SCROLLPOSITIONY.value);
|
||||
}
|
||||
if ((typeof(theForm.oldOnLoad) != "undefined") && (theForm.oldOnLoad != null)) {
|
||||
return theForm.oldOnLoad();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebForm_TextBoxKeyHandler(event) {
|
||||
if (event.keyCode == 13) {
|
||||
var target;
|
||||
if (__nonMSDOMBrowser) {
|
||||
target = event.target;
|
||||
}
|
||||
else {
|
||||
target = event.srcElement;
|
||||
}
|
||||
if ((typeof(target) != "undefined") && (target != null)) {
|
||||
if (typeof(target.onchange) != "undefined") {
|
||||
target.onchange();
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebForm_TrimString(value) {
|
||||
return value.replace(/^\s+|\s+$/g, '')
|
||||
}
|
||||
function WebForm_AppendToClassName(element, className) {
|
||||
var currentClassName = ' ' + WebForm_TrimString(element.className) + ' ';
|
||||
className = WebForm_TrimString(className);
|
||||
var index = currentClassName.indexOf(' ' + className + ' ');
|
||||
if (index === -1) {
|
||||
element.className = (element.className === '') ? className : element.className + ' ' + className;
|
||||
}
|
||||
}
|
||||
function WebForm_RemoveClassName(element, className) {
|
||||
var currentClassName = ' ' + WebForm_TrimString(element.className) + ' ';
|
||||
className = WebForm_TrimString(className);
|
||||
var index = currentClassName.indexOf(' ' + className + ' ');
|
||||
if (index >= 0) {
|
||||
element.className = WebForm_TrimString(currentClassName.substring(0, index) + ' ' +
|
||||
currentClassName.substring(index + className.length + 1, currentClassName.length));
|
||||
}
|
||||
}
|
||||
function WebForm_GetElementById(elementId) {
|
||||
if (document.getElementById) {
|
||||
return document.getElementById(elementId);
|
||||
}
|
||||
else if (document.all) {
|
||||
return document.all[elementId];
|
||||
}
|
||||
else return null;
|
||||
}
|
||||
function WebForm_GetElementByTagName(element, tagName) {
|
||||
var elements = WebForm_GetElementsByTagName(element, tagName);
|
||||
if (elements && elements.length > 0) {
|
||||
return elements[0];
|
||||
}
|
||||
else return null;
|
||||
}
|
||||
function WebForm_GetElementsByTagName(element, tagName) {
|
||||
if (element && tagName) {
|
||||
if (element.getElementsByTagName) {
|
||||
return element.getElementsByTagName(tagName);
|
||||
}
|
||||
if (element.all && element.all.tags) {
|
||||
return element.all.tags(tagName);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function WebForm_GetElementDir(element) {
|
||||
if (element) {
|
||||
if (element.dir) {
|
||||
return element.dir;
|
||||
}
|
||||
return WebForm_GetElementDir(element.parentNode);
|
||||
}
|
||||
return "ltr";
|
||||
}
|
||||
function WebForm_GetElementPosition(element) {
|
||||
var result = new Object();
|
||||
result.x = 0;
|
||||
result.y = 0;
|
||||
result.width = 0;
|
||||
result.height = 0;
|
||||
if (element.offsetParent) {
|
||||
result.x = element.offsetLeft;
|
||||
result.y = element.offsetTop;
|
||||
var parent = element.offsetParent;
|
||||
while (parent) {
|
||||
result.x += parent.offsetLeft;
|
||||
result.y += parent.offsetTop;
|
||||
var parentTagName = parent.tagName.toLowerCase();
|
||||
if (parentTagName != "table" &&
|
||||
parentTagName != "body" &&
|
||||
parentTagName != "html" &&
|
||||
parentTagName != "div" &&
|
||||
parent.clientTop &&
|
||||
parent.clientLeft) {
|
||||
result.x += parent.clientLeft;
|
||||
result.y += parent.clientTop;
|
||||
}
|
||||
parent = parent.offsetParent;
|
||||
}
|
||||
}
|
||||
else if (element.left && element.top) {
|
||||
result.x = element.left;
|
||||
result.y = element.top;
|
||||
}
|
||||
else {
|
||||
if (element.x) {
|
||||
result.x = element.x;
|
||||
}
|
||||
if (element.y) {
|
||||
result.y = element.y;
|
||||
}
|
||||
}
|
||||
if (element.offsetWidth && element.offsetHeight) {
|
||||
result.width = element.offsetWidth;
|
||||
result.height = element.offsetHeight;
|
||||
}
|
||||
else if (element.style && element.style.pixelWidth && element.style.pixelHeight) {
|
||||
result.width = element.style.pixelWidth;
|
||||
result.height = element.style.pixelHeight;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function WebForm_GetParentByTagName(element, tagName) {
|
||||
var parent = element.parentNode;
|
||||
var upperTagName = tagName.toUpperCase();
|
||||
while (parent && (parent.tagName.toUpperCase() != upperTagName)) {
|
||||
parent = parent.parentNode ? parent.parentNode : parent.parentElement;
|
||||
}
|
||||
return parent;
|
||||
}
|
||||
function WebForm_SetElementHeight(element, height) {
|
||||
if (element && element.style) {
|
||||
element.style.height = height + "px";
|
||||
}
|
||||
}
|
||||
function WebForm_SetElementWidth(element, width) {
|
||||
if (element && element.style) {
|
||||
element.style.width = width + "px";
|
||||
}
|
||||
}
|
||||
function WebForm_SetElementX(element, x) {
|
||||
if (element && element.style) {
|
||||
element.style.left = x + "px";
|
||||
}
|
||||
}
|
||||
function WebForm_SetElementY(element, y) {
|
||||
if (element && element.style) {
|
||||
element.style.top = y + "px";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,647 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebParts.js
|
||||
var __wpm = null;
|
||||
function Point(x, y) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
function __wpTranslateOffset(x, y, offsetElement, relativeToElement, includeScroll) {
|
||||
while ((typeof(offsetElement) != "undefined") && (offsetElement != null) && (offsetElement != relativeToElement)) {
|
||||
x += offsetElement.offsetLeft;
|
||||
y += offsetElement.offsetTop;
|
||||
var tagName = offsetElement.tagName;
|
||||
if ((tagName != "TABLE") && (tagName != "BODY")) {
|
||||
x += offsetElement.clientLeft;
|
||||
y += offsetElement.clientTop;
|
||||
}
|
||||
if (includeScroll && (tagName != "BODY")) {
|
||||
x -= offsetElement.scrollLeft;
|
||||
y -= offsetElement.scrollTop;
|
||||
}
|
||||
offsetElement = offsetElement.offsetParent;
|
||||
}
|
||||
return new Point(x, y);
|
||||
}
|
||||
function __wpGetPageEventLocation(event, includeScroll) {
|
||||
if ((typeof(event) == "undefined") || (event == null)) {
|
||||
event = window.event;
|
||||
}
|
||||
return __wpTranslateOffset(event.offsetX, event.offsetY, event.srcElement, null, includeScroll);
|
||||
}
|
||||
function __wpClearSelection() {
|
||||
document.selection.empty();
|
||||
}
|
||||
function WebPart(webPartElement, webPartTitleElement, zone, zoneIndex, allowZoneChange) {
|
||||
this.webPartElement = webPartElement;
|
||||
this.allowZoneChange = allowZoneChange;
|
||||
this.zone = zone;
|
||||
this.zoneIndex = zoneIndex;
|
||||
this.title = ((typeof(webPartTitleElement) != "undefined") && (webPartTitleElement != null)) ?
|
||||
webPartTitleElement.innerText : "";
|
||||
webPartElement.__webPart = this;
|
||||
if ((typeof(webPartTitleElement) != "undefined") && (webPartTitleElement != null)) {
|
||||
webPartTitleElement.style.cursor = "move";
|
||||
webPartTitleElement.attachEvent("onmousedown", WebPart_OnMouseDown);
|
||||
webPartElement.attachEvent("ondragstart", WebPart_OnDragStart);
|
||||
webPartElement.attachEvent("ondrag", WebPart_OnDrag);
|
||||
webPartElement.attachEvent("ondragend", WebPart_OnDragEnd);
|
||||
}
|
||||
this.UpdatePosition = WebPart_UpdatePosition;
|
||||
this.Dispose = WebPart_Dispose;
|
||||
}
|
||||
function WebPart_Dispose() {
|
||||
this.webPartElement.__webPart = null
|
||||
}
|
||||
function WebPart_OnMouseDown() {
|
||||
var currentEvent = window.event;
|
||||
var draggedWebPart = WebPart_GetParentWebPartElement(currentEvent.srcElement);
|
||||
if ((typeof(draggedWebPart) == "undefined") || (draggedWebPart == null)) {
|
||||
return;
|
||||
}
|
||||
document.selection.empty();
|
||||
try {
|
||||
__wpm.draggedWebPart = draggedWebPart;
|
||||
__wpm.DragDrop();
|
||||
}
|
||||
catch (e) {
|
||||
__wpm.draggedWebPart = draggedWebPart;
|
||||
window.setTimeout("__wpm.DragDrop()", 0);
|
||||
}
|
||||
currentEvent.returnValue = false;
|
||||
currentEvent.cancelBubble = true;
|
||||
}
|
||||
function WebPart_OnDragStart() {
|
||||
var currentEvent = window.event;
|
||||
var webPartElement = currentEvent.srcElement;
|
||||
if ((typeof(webPartElement.__webPart) == "undefined") || (webPartElement.__webPart == null)) {
|
||||
currentEvent.returnValue = false;
|
||||
currentEvent.cancelBubble = true;
|
||||
return;
|
||||
}
|
||||
var dataObject = currentEvent.dataTransfer;
|
||||
dataObject.effectAllowed = __wpm.InitiateWebPartDragDrop(webPartElement);
|
||||
}
|
||||
function WebPart_OnDrag() {
|
||||
__wpm.ContinueWebPartDragDrop();
|
||||
}
|
||||
function WebPart_OnDragEnd() {
|
||||
__wpm.CompleteWebPartDragDrop();
|
||||
}
|
||||
function WebPart_GetParentWebPartElement(containedElement) {
|
||||
var elem = containedElement;
|
||||
while ((typeof(elem.__webPart) == "undefined") || (elem.__webPart == null)) {
|
||||
elem = elem.parentElement;
|
||||
if ((typeof(elem) == "undefined") || (elem == null)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return elem;
|
||||
}
|
||||
function WebPart_UpdatePosition() {
|
||||
var location = __wpTranslateOffset(0, 0, this.webPartElement, null, false);
|
||||
this.middleX = location.x + this.webPartElement.offsetWidth / 2;
|
||||
this.middleY = location.y + this.webPartElement.offsetHeight / 2;
|
||||
}
|
||||
function Zone(zoneElement, zoneIndex, uniqueID, isVertical, allowLayoutChange, highlightColor) {
|
||||
var webPartTable = null;
|
||||
if (zoneElement.rows.length == 1) {
|
||||
webPartTableContainer = zoneElement.rows[0].cells[0];
|
||||
}
|
||||
else {
|
||||
webPartTableContainer = zoneElement.rows[1].cells[0];
|
||||
}
|
||||
var i;
|
||||
for (i = 0; i < webPartTableContainer.childNodes.length; i++) {
|
||||
var node = webPartTableContainer.childNodes[i];
|
||||
if (node.tagName == "TABLE") {
|
||||
webPartTable = node;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.zoneElement = zoneElement;
|
||||
this.zoneIndex = zoneIndex;
|
||||
this.webParts = new Array();
|
||||
this.uniqueID = uniqueID;
|
||||
this.isVertical = isVertical;
|
||||
this.allowLayoutChange = allowLayoutChange;
|
||||
this.allowDrop = false;
|
||||
this.webPartTable = webPartTable;
|
||||
this.highlightColor = highlightColor;
|
||||
this.savedBorderColor = (webPartTable != null) ? webPartTable.style.borderColor : null;
|
||||
this.dropCueElements = new Array();
|
||||
if (webPartTable != null) {
|
||||
if (isVertical) {
|
||||
for (i = 0; i < webPartTable.rows.length; i += 2) {
|
||||
this.dropCueElements[i / 2] = webPartTable.rows[i].cells[0].childNodes[0];
|
||||
}
|
||||
}
|
||||
else {
|
||||
for (i = 0; i < webPartTable.rows[0].cells.length; i += 2) {
|
||||
this.dropCueElements[i / 2] = webPartTable.rows[0].cells[i].childNodes[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
this.AddWebPart = Zone_AddWebPart;
|
||||
this.GetWebPartIndex = Zone_GetWebPartIndex;
|
||||
this.ToggleDropCues = Zone_ToggleDropCues;
|
||||
this.UpdatePosition = Zone_UpdatePosition;
|
||||
this.Dispose = Zone_Dispose;
|
||||
webPartTable.__zone = this;
|
||||
webPartTable.attachEvent("ondragenter", Zone_OnDragEnter);
|
||||
webPartTable.attachEvent("ondrop", Zone_OnDrop);
|
||||
}
|
||||
function Zone_Dispose() {
|
||||
for (var i = 0; i < this.webParts.length; i++) {
|
||||
this.webParts[i].Dispose();
|
||||
}
|
||||
this.webPartTable.__zone = null;
|
||||
}
|
||||
function Zone_OnDragEnter() {
|
||||
var handled = __wpm.ProcessWebPartDragEnter();
|
||||
var currentEvent = window.event;
|
||||
if (handled) {
|
||||
currentEvent.returnValue = false;
|
||||
currentEvent.cancelBubble = true;
|
||||
}
|
||||
}
|
||||
function Zone_OnDragOver() {
|
||||
var handled = __wpm.ProcessWebPartDragOver();
|
||||
var currentEvent = window.event;
|
||||
if (handled) {
|
||||
currentEvent.returnValue = false;
|
||||
currentEvent.cancelBubble = true;
|
||||
}
|
||||
}
|
||||
function Zone_OnDrop() {
|
||||
var handled = __wpm.ProcessWebPartDrop();
|
||||
var currentEvent = window.event;
|
||||
if (handled) {
|
||||
currentEvent.returnValue = false;
|
||||
currentEvent.cancelBubble = true;
|
||||
}
|
||||
}
|
||||
function Zone_GetParentZoneElement(containedElement) {
|
||||
var elem = containedElement;
|
||||
while ((typeof(elem.__zone) == "undefined") || (elem.__zone == null)) {
|
||||
elem = elem.parentElement;
|
||||
if ((typeof(elem) == "undefined") || (elem == null)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return elem;
|
||||
}
|
||||
function Zone_AddWebPart(webPartElement, webPartTitleElement, allowZoneChange) {
|
||||
var webPart = null;
|
||||
var zoneIndex = this.webParts.length;
|
||||
if (this.allowLayoutChange && __wpm.IsDragDropEnabled()) {
|
||||
webPart = new WebPart(webPartElement, webPartTitleElement, this, zoneIndex, allowZoneChange);
|
||||
}
|
||||
else {
|
||||
webPart = new WebPart(webPartElement, null, this, zoneIndex, allowZoneChange);
|
||||
}
|
||||
this.webParts[zoneIndex] = webPart;
|
||||
return webPart;
|
||||
}
|
||||
function Zone_ToggleDropCues(show, index, ignoreOutline) {
|
||||
if (ignoreOutline == false) {
|
||||
this.webPartTable.style.borderColor = (show ? this.highlightColor : this.savedBorderColor);
|
||||
}
|
||||
if (index == -1) {
|
||||
return;
|
||||
}
|
||||
var dropCue = this.dropCueElements[index];
|
||||
if (dropCue && dropCue.style) {
|
||||
if (dropCue.style.height == "100%" && !dropCue.webPartZoneHorizontalCueResized) {
|
||||
var oldParentHeight = dropCue.parentElement.clientHeight;
|
||||
var realHeight = oldParentHeight - 10;
|
||||
dropCue.style.height = realHeight + "px";
|
||||
var dropCueVerticalBar = dropCue.getElementsByTagName("DIV")[0];
|
||||
if (dropCueVerticalBar && dropCueVerticalBar.style) {
|
||||
dropCueVerticalBar.style.height = dropCue.style.height;
|
||||
var heightDiff = (dropCue.parentElement.clientHeight - oldParentHeight);
|
||||
if (heightDiff) {
|
||||
dropCue.style.height = (realHeight - heightDiff) + "px";
|
||||
dropCueVerticalBar.style.height = dropCue.style.height;
|
||||
}
|
||||
}
|
||||
dropCue.webPartZoneHorizontalCueResized = true;
|
||||
}
|
||||
dropCue.style.visibility = (show ? "visible" : "hidden");
|
||||
}
|
||||
}
|
||||
function Zone_GetWebPartIndex(location) {
|
||||
var x = location.x;
|
||||
var y = location.y;
|
||||
if ((x < this.webPartTableLeft) || (x > this.webPartTableRight) ||
|
||||
(y < this.webPartTableTop) || (y > this.webPartTableBottom)) {
|
||||
return -1;
|
||||
}
|
||||
var vertical = this.isVertical;
|
||||
var webParts = this.webParts;
|
||||
var webPartsCount = webParts.length;
|
||||
for (var i = 0; i < webPartsCount; i++) {
|
||||
var webPart = webParts[i];
|
||||
if (vertical) {
|
||||
if (y < webPart.middleY) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (x < webPart.middleX) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
}
|
||||
return webPartsCount;
|
||||
}
|
||||
function Zone_UpdatePosition() {
|
||||
var topLeft = __wpTranslateOffset(0, 0, this.webPartTable, null, false);
|
||||
this.webPartTableLeft = topLeft.x;
|
||||
this.webPartTableTop = topLeft.y;
|
||||
this.webPartTableRight = (this.webPartTable != null) ? topLeft.x + this.webPartTable.offsetWidth : topLeft.x;
|
||||
this.webPartTableBottom = (this.webPartTable != null) ? topLeft.y + this.webPartTable.offsetHeight : topLeft.y;
|
||||
for (var i = 0; i < this.webParts.length; i++) {
|
||||
this.webParts[i].UpdatePosition();
|
||||
}
|
||||
}
|
||||
function WebPartDragState(webPartElement, effect) {
|
||||
this.webPartElement = webPartElement;
|
||||
this.dropZoneElement = null;
|
||||
this.dropIndex = -1;
|
||||
this.effect = effect;
|
||||
this.dropped = false;
|
||||
}
|
||||
function WebPartMenu(menuLabelElement, menuDropDownElement, menuElement) {
|
||||
this.menuLabelElement = menuLabelElement;
|
||||
this.menuDropDownElement = menuDropDownElement;
|
||||
this.menuElement = menuElement;
|
||||
this.menuLabelElement.__menu = this;
|
||||
this.menuLabelElement.attachEvent('onclick', WebPartMenu_OnClick);
|
||||
this.menuLabelElement.attachEvent('onkeypress', WebPartMenu_OnKeyPress);
|
||||
this.menuLabelElement.attachEvent('onmouseenter', WebPartMenu_OnMouseEnter);
|
||||
this.menuLabelElement.attachEvent('onmouseleave', WebPartMenu_OnMouseLeave);
|
||||
if ((typeof(this.menuDropDownElement) != "undefined") && (this.menuDropDownElement != null)) {
|
||||
this.menuDropDownElement.__menu = this;
|
||||
}
|
||||
this.menuItemStyle = "";
|
||||
this.menuItemHoverStyle = "";
|
||||
this.popup = null;
|
||||
this.hoverClassName = "";
|
||||
this.hoverColor = "";
|
||||
this.oldColor = this.menuLabelElement.style.color;
|
||||
this.oldTextDecoration = this.menuLabelElement.style.textDecoration;
|
||||
this.oldClassName = this.menuLabelElement.className;
|
||||
this.Show = WebPartMenu_Show;
|
||||
this.Hide = WebPartMenu_Hide;
|
||||
this.Hover = WebPartMenu_Hover;
|
||||
this.Unhover = WebPartMenu_Unhover;
|
||||
this.Dispose = WebPartMenu_Dispose;
|
||||
var menu = this;
|
||||
this.disposeDelegate = function() { menu.Dispose(); };
|
||||
window.attachEvent('onunload', this.disposeDelegate);
|
||||
}
|
||||
function WebPartMenu_Dispose() {
|
||||
this.menuLabelElement.__menu = null;
|
||||
this.menuDropDownElement.__menu = null;
|
||||
window.detachEvent('onunload', this.disposeDelegate);
|
||||
}
|
||||
function WebPartMenu_Show() {
|
||||
if ((typeof(__wpm.menu) != "undefined") && (__wpm.menu != null)) {
|
||||
__wpm.menu.Hide();
|
||||
}
|
||||
var menuHTML =
|
||||
"<html><head><style>" +
|
||||
"a.menuItem, a.menuItem:Link { display: block; padding: 1px; text-decoration: none; " + this.itemStyle + " }" +
|
||||
"a.menuItem:Hover { " + this.itemHoverStyle + " }" +
|
||||
"</style><body scroll=\"no\" style=\"border: none; margin: 0; padding: 0;\" ondragstart=\"window.event.returnValue=false;\" onclick=\"popup.hide()\">" +
|
||||
this.menuElement.innerHTML +
|
||||
"</body></html>";
|
||||
var width = 16;
|
||||
var height = 16;
|
||||
this.popup = window.createPopup();
|
||||
__wpm.menu = this;
|
||||
var popupDocument = this.popup.document;
|
||||
popupDocument.write(menuHTML);
|
||||
this.popup.show(0, 0, width, height);
|
||||
var popupBody = popupDocument.body;
|
||||
width = popupBody.scrollWidth;
|
||||
height = popupBody.scrollHeight;
|
||||
if (width < this.menuLabelElement.offsetWidth) {
|
||||
width = this.menuLabelElement.offsetWidth + 16;
|
||||
}
|
||||
if (this.menuElement.innerHTML.indexOf("progid:DXImageTransform.Microsoft.Shadow") != -1) {
|
||||
popupBody.style.paddingRight = "4px";
|
||||
}
|
||||
popupBody.__wpm = __wpm;
|
||||
popupBody.__wpmDeleteWarning = __wpmDeleteWarning;
|
||||
popupBody.__wpmCloseProviderWarning = __wpmCloseProviderWarning;
|
||||
popupBody.popup = this.popup;
|
||||
this.popup.hide();
|
||||
this.popup.show(0, this.menuLabelElement.offsetHeight, width, height, this.menuLabelElement);
|
||||
}
|
||||
function WebPartMenu_Hide() {
|
||||
if (__wpm.menu == this) {
|
||||
__wpm.menu = null;
|
||||
if ((typeof(this.popup) != "undefined") && (this.popup != null)) {
|
||||
this.popup.hide();
|
||||
this.popup = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebPartMenu_Hover() {
|
||||
if (this.labelHoverClassName != "") {
|
||||
this.menuLabelElement.className = this.menuLabelElement.className + " " + this.labelHoverClassName;
|
||||
}
|
||||
if (this.labelHoverColor != "") {
|
||||
this.menuLabelElement.style.color = this.labelHoverColor;
|
||||
}
|
||||
}
|
||||
function WebPartMenu_Unhover() {
|
||||
if (this.labelHoverClassName != "") {
|
||||
this.menuLabelElement.style.textDecoration = this.oldTextDecoration;
|
||||
this.menuLabelElement.className = this.oldClassName;
|
||||
}
|
||||
if (this.labelHoverColor != "") {
|
||||
this.menuLabelElement.style.color = this.oldColor;
|
||||
}
|
||||
}
|
||||
function WebPartMenu_OnClick() {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
window.event.returnValue = false;
|
||||
window.event.cancelBubble = true;
|
||||
menu.Show();
|
||||
}
|
||||
}
|
||||
function WebPartMenu_OnKeyPress() {
|
||||
if (window.event.keyCode == 13) {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
window.event.returnValue = false;
|
||||
window.event.cancelBubble = true;
|
||||
menu.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebPartMenu_OnMouseEnter() {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
menu.Hover();
|
||||
}
|
||||
}
|
||||
function WebPartMenu_OnMouseLeave() {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
menu.Unhover();
|
||||
}
|
||||
}
|
||||
function WebPartManager() {
|
||||
this.overlayContainerElement = null;
|
||||
this.zones = new Array();
|
||||
this.dragState = null;
|
||||
this.menu = null;
|
||||
this.draggedWebPart = null;
|
||||
this.AddZone = WebPartManager_AddZone;
|
||||
this.IsDragDropEnabled = WebPartManager_IsDragDropEnabled;
|
||||
this.DragDrop = WebPartManager_DragDrop;
|
||||
this.InitiateWebPartDragDrop = WebPartManager_InitiateWebPartDragDrop;
|
||||
this.CompleteWebPartDragDrop = WebPartManager_CompleteWebPartDragDrop;
|
||||
this.ContinueWebPartDragDrop = WebPartManager_ContinueWebPartDragDrop;
|
||||
this.ProcessWebPartDragEnter = WebPartManager_ProcessWebPartDragEnter;
|
||||
this.ProcessWebPartDragOver = WebPartManager_ProcessWebPartDragOver;
|
||||
this.ProcessWebPartDrop = WebPartManager_ProcessWebPartDrop;
|
||||
this.ShowHelp = WebPartManager_ShowHelp;
|
||||
this.ExportWebPart = WebPartManager_ExportWebPart;
|
||||
this.Execute = WebPartManager_Execute;
|
||||
this.SubmitPage = WebPartManager_SubmitPage;
|
||||
this.UpdatePositions = WebPartManager_UpdatePositions;
|
||||
window.attachEvent("onunload", WebPartManager_Dispose);
|
||||
}
|
||||
function WebPartManager_Dispose() {
|
||||
for (var i = 0; i < __wpm.zones.length; i++) {
|
||||
__wpm.zones[i].Dispose();
|
||||
}
|
||||
window.detachEvent("onunload", WebPartManager_Dispose);
|
||||
}
|
||||
function WebPartManager_AddZone(zoneElement, uniqueID, isVertical, allowLayoutChange, highlightColor) {
|
||||
var zoneIndex = this.zones.length;
|
||||
var zone = new Zone(zoneElement, zoneIndex, uniqueID, isVertical, allowLayoutChange, highlightColor);
|
||||
this.zones[zoneIndex] = zone;
|
||||
return zone;
|
||||
}
|
||||
function WebPartManager_IsDragDropEnabled() {
|
||||
return ((typeof(this.overlayContainerElement) != "undefined") && (this.overlayContainerElement != null));
|
||||
}
|
||||
function WebPartManager_DragDrop() {
|
||||
if ((typeof(this.draggedWebPart) != "undefined") && (this.draggedWebPart != null)) {
|
||||
var tempWebPart = this.draggedWebPart;
|
||||
this.draggedWebPart = null;
|
||||
tempWebPart.dragDrop();
|
||||
window.setTimeout("__wpClearSelection()", 0);
|
||||
}
|
||||
}
|
||||
function WebPartManager_InitiateWebPartDragDrop(webPartElement) {
|
||||
var webPart = webPartElement.__webPart;
|
||||
this.UpdatePositions();
|
||||
this.dragState = new WebPartDragState(webPartElement, "move");
|
||||
var location = __wpGetPageEventLocation(window.event, true);
|
||||
var overlayContainerElement = this.overlayContainerElement;
|
||||
overlayContainerElement.style.left = location.x - webPartElement.offsetWidth / 2;
|
||||
overlayContainerElement.style.top = location.y + 4 + (webPartElement.clientTop ? webPartElement.clientTop : 0);
|
||||
overlayContainerElement.style.display = "block";
|
||||
overlayContainerElement.style.width = webPartElement.offsetWidth;
|
||||
overlayContainerElement.style.height = webPartElement.offsetHeight;
|
||||
overlayContainerElement.appendChild(webPartElement.cloneNode(true));
|
||||
if (webPart.allowZoneChange == false) {
|
||||
webPart.zone.allowDrop = true;
|
||||
}
|
||||
else {
|
||||
for (var i = 0; i < __wpm.zones.length; i++) {
|
||||
var zone = __wpm.zones[i];
|
||||
if (zone.allowLayoutChange) {
|
||||
zone.allowDrop = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
document.body.attachEvent("ondragover", Zone_OnDragOver);
|
||||
return "move";
|
||||
}
|
||||
function WebPartManager_CompleteWebPartDragDrop() {
|
||||
var dragState = this.dragState;
|
||||
this.dragState = null;
|
||||
if ((typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, false);
|
||||
}
|
||||
document.body.detachEvent("ondragover", Zone_OnDragOver);
|
||||
for (var i = 0; i < __wpm.zones.length; i++) {
|
||||
__wpm.zones[i].allowDrop = false;
|
||||
}
|
||||
this.overlayContainerElement.removeChild(this.overlayContainerElement.firstChild);
|
||||
this.overlayContainerElement.style.display = "none";
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null) && (dragState.dropped == true)) {
|
||||
var currentZone = dragState.webPartElement.__webPart.zone;
|
||||
var currentZoneIndex = dragState.webPartElement.__webPart.zoneIndex;
|
||||
if ((currentZone != dragState.dropZoneElement.__zone) ||
|
||||
((currentZoneIndex != dragState.dropIndex) &&
|
||||
(currentZoneIndex != (dragState.dropIndex - 1)))) {
|
||||
var eventTarget = dragState.dropZoneElement.__zone.uniqueID;
|
||||
var eventArgument = "Drag:" + dragState.webPartElement.id + ":" + dragState.dropIndex;
|
||||
this.SubmitPage(eventTarget, eventArgument);
|
||||
}
|
||||
}
|
||||
}
|
||||
function WebPartManager_ContinueWebPartDragDrop() {
|
||||
var dragState = this.dragState;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null)) {
|
||||
var style = this.overlayContainerElement.style;
|
||||
var location = __wpGetPageEventLocation(window.event, true);
|
||||
style.left = location.x - dragState.webPartElement.offsetWidth / 2;
|
||||
style.top = location.y + 4 + (dragState.webPartElement.clientTop ? dragState.webPartElement.clientTop : 0);
|
||||
}
|
||||
}
|
||||
function WebPartManager_Execute(script) {
|
||||
if (this.menu) {
|
||||
this.menu.Hide();
|
||||
}
|
||||
var scriptReference = new Function(script);
|
||||
return (scriptReference() != false);
|
||||
}
|
||||
function WebPartManager_ProcessWebPartDragEnter() {
|
||||
var dragState = __wpm.dragState;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null)) {
|
||||
var currentEvent = window.event;
|
||||
var newDropZoneElement = Zone_GetParentZoneElement(currentEvent.srcElement);
|
||||
if ((typeof(newDropZoneElement.__zone) == "undefined") || (newDropZoneElement.__zone == null) ||
|
||||
(newDropZoneElement.__zone.allowDrop == false)) {
|
||||
newDropZoneElement = null;
|
||||
}
|
||||
var newDropIndex = -1;
|
||||
if ((typeof(newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
newDropIndex = newDropZoneElement.__zone.GetWebPartIndex(__wpGetPageEventLocation(currentEvent, false));
|
||||
if (newDropIndex == -1) {
|
||||
newDropZoneElement = null;
|
||||
}
|
||||
}
|
||||
if (dragState.dropZoneElement != newDropZoneElement) {
|
||||
if ((typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, false);
|
||||
}
|
||||
dragState.dropZoneElement = newDropZoneElement;
|
||||
dragState.dropIndex = newDropIndex;
|
||||
if ((typeof(newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
newDropZoneElement.__zone.ToggleDropCues(true, newDropIndex, false);
|
||||
}
|
||||
}
|
||||
else if (dragState.dropIndex != newDropIndex) {
|
||||
if (dragState.dropIndex != -1) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, false);
|
||||
}
|
||||
dragState.dropIndex = newDropIndex;
|
||||
if ((typeof(newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
newDropZoneElement.__zone.ToggleDropCues(true, newDropIndex, false);
|
||||
}
|
||||
}
|
||||
if ((typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
currentEvent.dataTransfer.effectAllowed = dragState.effect;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function WebPartManager_ProcessWebPartDragOver() {
|
||||
var dragState = __wpm.dragState;
|
||||
var currentEvent = window.event;
|
||||
var handled = false;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null) &&
|
||||
(typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
var dropZoneElement = Zone_GetParentZoneElement(currentEvent.srcElement);
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null) && (dropZoneElement.__zone.allowDrop == false)) {
|
||||
dropZoneElement = null;
|
||||
}
|
||||
if (((typeof(dropZoneElement) == "undefined") || (dropZoneElement == null)) &&
|
||||
(typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, __wpm.dragState.dropIndex, false);
|
||||
dragState.dropZoneElement = null;
|
||||
dragState.dropIndex = -1;
|
||||
}
|
||||
else if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null)) {
|
||||
var location = __wpGetPageEventLocation(currentEvent, false);
|
||||
var newDropIndex = dropZoneElement.__zone.GetWebPartIndex(location);
|
||||
if (newDropIndex == -1) {
|
||||
dropZoneElement = null;
|
||||
}
|
||||
if (dragState.dropZoneElement != dropZoneElement) {
|
||||
if ((dragState.dropIndex != -1) || (typeof(dropZoneElement) == "undefined") || (dropZoneElement == null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, __wpm.dragState.dropIndex, false);
|
||||
}
|
||||
dragState.dropZoneElement = dropZoneElement;
|
||||
}
|
||||
else {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, true);
|
||||
}
|
||||
dragState.dropIndex = newDropIndex;
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null)) {
|
||||
dropZoneElement.__zone.ToggleDropCues(true, newDropIndex, false);
|
||||
}
|
||||
}
|
||||
handled = true;
|
||||
}
|
||||
if ((typeof(dragState) == "undefined") || (dragState == null) ||
|
||||
(typeof(dragState.dropZoneElement) == "undefined") || (dragState.dropZoneElement == null)) {
|
||||
currentEvent.dataTransfer.effectAllowed = "none";
|
||||
}
|
||||
return handled;
|
||||
}
|
||||
function WebPartManager_ProcessWebPartDrop() {
|
||||
var dragState = this.dragState;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null)) {
|
||||
var currentEvent = window.event;
|
||||
var dropZoneElement = Zone_GetParentZoneElement(currentEvent.srcElement);
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null) && (dropZoneElement.__zone.allowDrop == false)) {
|
||||
dropZoneElement = null;
|
||||
}
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null) && (dragState.dropZoneElement == dropZoneElement)) {
|
||||
dragState.dropped = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function WebPartManager_ShowHelp(helpUrl, helpMode) {
|
||||
if ((typeof(this.menu) != "undefined") && (this.menu != null)) {
|
||||
this.menu.Hide();
|
||||
}
|
||||
if (helpMode == 0 || helpMode == 1) {
|
||||
if (helpMode == 0) {
|
||||
var dialogInfo = "edge: Sunken; center: yes; help: no; resizable: yes; status: no";
|
||||
window.showModalDialog(helpUrl, null, dialogInfo);
|
||||
}
|
||||
else {
|
||||
window.open(helpUrl, null, "scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no");
|
||||
}
|
||||
}
|
||||
else if (helpMode == 2) {
|
||||
window.location = helpUrl;
|
||||
}
|
||||
}
|
||||
function WebPartManager_ExportWebPart(exportUrl, warn, confirmOnly) {
|
||||
if (warn == true && __wpmExportWarning.length > 0 && this.personalizationScopeShared != true) {
|
||||
if (confirm(__wpmExportWarning) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (confirmOnly == false) {
|
||||
window.location = exportUrl;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function WebPartManager_UpdatePositions() {
|
||||
for (var i = 0; i < this.zones.length; i++) {
|
||||
this.zones[i].UpdatePosition();
|
||||
}
|
||||
}
|
||||
function WebPartManager_SubmitPage(eventTarget, eventArgument) {
|
||||
if ((typeof(this.menu) != "undefined") && (this.menu != null)) {
|
||||
this.menu.Hide();
|
||||
}
|
||||
__doPostBack(eventTarget, eventArgument);
|
||||
}
|
||||
@@ -0,0 +1,684 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebUIValidation.js
|
||||
var Page_ValidationVer = "125";
|
||||
var Page_IsValid = true;
|
||||
var Page_BlockSubmit = false;
|
||||
var Page_InvalidControlToBeFocused = null;
|
||||
var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;
|
||||
function ValidatorUpdateDisplay(val) {
|
||||
if (typeof(val.display) == "string") {
|
||||
if (val.display == "None") {
|
||||
return;
|
||||
}
|
||||
if (val.display == "Dynamic") {
|
||||
val.style.display = val.isvalid ? "none" : "inline";
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ((navigator.userAgent.indexOf("Mac") > -1) &&
|
||||
(navigator.userAgent.indexOf("MSIE") > -1)) {
|
||||
val.style.display = "inline";
|
||||
}
|
||||
val.style.visibility = val.isvalid ? "hidden" : "visible";
|
||||
}
|
||||
function ValidatorUpdateIsValid() {
|
||||
Page_IsValid = AllValidatorsValid(Page_Validators);
|
||||
}
|
||||
function AllValidatorsValid(validators) {
|
||||
if ((typeof(validators) != "undefined") && (validators != null)) {
|
||||
var i;
|
||||
for (i = 0; i < validators.length; i++) {
|
||||
if (!validators[i].isvalid) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function ValidatorHookupControlID(controlID, val) {
|
||||
if (typeof(controlID) != "string") {
|
||||
return;
|
||||
}
|
||||
var ctrl = document.getElementById(controlID);
|
||||
if ((typeof(ctrl) != "undefined") && (ctrl != null)) {
|
||||
ValidatorHookupControl(ctrl, val);
|
||||
}
|
||||
else {
|
||||
val.isvalid = true;
|
||||
val.enabled = false;
|
||||
}
|
||||
}
|
||||
function ValidatorHookupControl(control, val) {
|
||||
if (typeof(control.tagName) != "string") {
|
||||
return;
|
||||
}
|
||||
if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" && control.tagName != "SELECT") {
|
||||
var i;
|
||||
for (i = 0; i < control.childNodes.length; i++) {
|
||||
ValidatorHookupControl(control.childNodes[i], val);
|
||||
}
|
||||
return;
|
||||
}
|
||||
else {
|
||||
if (typeof(control.Validators) == "undefined") {
|
||||
control.Validators = new Array;
|
||||
var eventType;
|
||||
if (control.type == "radio") {
|
||||
eventType = "onclick";
|
||||
} else {
|
||||
eventType = "onchange";
|
||||
if (typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
|
||||
ValidatorHookupEvent(control, "onblur", "ValidatedControlOnBlur(event); ");
|
||||
}
|
||||
}
|
||||
ValidatorHookupEvent(control, eventType, "ValidatorOnChange(event); ");
|
||||
if (Page_TextTypes.test(control.type)) {
|
||||
ValidatorHookupEvent(control, "onkeypress",
|
||||
"event = event || window.event; if (!ValidatedTextBoxOnKeyPress(event)) { event.cancelBubble = true; if (event.stopPropagation) event.stopPropagation(); return false; } ");
|
||||
}
|
||||
}
|
||||
control.Validators[control.Validators.length] = val;
|
||||
}
|
||||
}
|
||||
function ValidatorHookupEvent(control, eventType, functionPrefix) {
|
||||
var ev = control[eventType];
|
||||
if (typeof(ev) == "function") {
|
||||
ev = ev.toString();
|
||||
ev = ev.substring(ev.indexOf("{") + 1, ev.lastIndexOf("}"));
|
||||
}
|
||||
else {
|
||||
ev = "";
|
||||
}
|
||||
control[eventType] = new Function("event", functionPrefix + " " + ev);
|
||||
}
|
||||
function ValidatorGetValue(id) {
|
||||
var control;
|
||||
control = document.getElementById(id);
|
||||
if (typeof(control.value) == "string") {
|
||||
return control.value;
|
||||
}
|
||||
return ValidatorGetValueRecursive(control);
|
||||
}
|
||||
function ValidatorGetValueRecursive(control)
|
||||
{
|
||||
if (typeof(control.value) == "string" && (control.type != "radio" || control.checked == true)) {
|
||||
return control.value;
|
||||
}
|
||||
var i, val;
|
||||
for (i = 0; i<control.childNodes.length; i++) {
|
||||
val = ValidatorGetValueRecursive(control.childNodes[i]);
|
||||
if (val != "") return val;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
function Page_ClientValidate(validationGroup) {
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
if (typeof(Page_Validators) == "undefined") {
|
||||
return true;
|
||||
}
|
||||
var i;
|
||||
for (i = 0; i < Page_Validators.length; i++) {
|
||||
ValidatorValidate(Page_Validators[i], validationGroup, null);
|
||||
}
|
||||
ValidatorUpdateIsValid();
|
||||
ValidationSummaryOnSubmit(validationGroup);
|
||||
Page_BlockSubmit = !Page_IsValid;
|
||||
return Page_IsValid;
|
||||
}
|
||||
function ValidatorCommonOnSubmit() {
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
var result = !Page_BlockSubmit;
|
||||
if ((typeof(window.event) != "undefined") && (window.event != null)) {
|
||||
window.event.returnValue = result;
|
||||
}
|
||||
Page_BlockSubmit = false;
|
||||
return result;
|
||||
}
|
||||
function ValidatorEnable(val, enable) {
|
||||
val.enabled = (enable != false);
|
||||
ValidatorValidate(val);
|
||||
ValidatorUpdateIsValid();
|
||||
}
|
||||
function ValidatorOnChange(event) {
|
||||
event = event || window.event;
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
var targetedControl;
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
targetedControl = event.srcElement;
|
||||
}
|
||||
else {
|
||||
targetedControl = event.target;
|
||||
}
|
||||
var vals;
|
||||
if (typeof(targetedControl.Validators) != "undefined") {
|
||||
vals = targetedControl.Validators;
|
||||
}
|
||||
else {
|
||||
if (targetedControl.tagName.toLowerCase() == "label") {
|
||||
targetedControl = document.getElementById(targetedControl.htmlFor);
|
||||
vals = targetedControl.Validators;
|
||||
}
|
||||
}
|
||||
if (vals) {
|
||||
for (var i = 0; i < vals.length; i++) {
|
||||
ValidatorValidate(vals[i], null, event);
|
||||
}
|
||||
}
|
||||
ValidatorUpdateIsValid();
|
||||
}
|
||||
function ValidatedTextBoxOnKeyPress(event) {
|
||||
event = event || window.event;
|
||||
if (event.keyCode == 13) {
|
||||
ValidatorOnChange(event);
|
||||
var vals;
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
vals = event.srcElement.Validators;
|
||||
}
|
||||
else {
|
||||
vals = event.target.Validators;
|
||||
}
|
||||
return AllValidatorsValid(vals);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function ValidatedControlOnBlur(event) {
|
||||
event = event || window.event;
|
||||
var control;
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
control = event.srcElement;
|
||||
}
|
||||
else {
|
||||
control = event.target;
|
||||
}
|
||||
if ((typeof(control) != "undefined") && (control != null) && (Page_InvalidControlToBeFocused == control)) {
|
||||
control.focus();
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
}
|
||||
}
|
||||
function ValidatorValidate(val, validationGroup, event) {
|
||||
val.isvalid = true;
|
||||
if ((typeof(val.enabled) == "undefined" || val.enabled != false) && IsValidationGroupMatch(val, validationGroup)) {
|
||||
if (typeof(val.evaluationfunction) == "function") {
|
||||
val.isvalid = val.evaluationfunction(val);
|
||||
if (!val.isvalid && Page_InvalidControlToBeFocused == null &&
|
||||
typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
|
||||
ValidatorSetFocus(val, event);
|
||||
}
|
||||
}
|
||||
}
|
||||
ValidatorUpdateDisplay(val);
|
||||
}
|
||||
function ValidatorSetFocus(val, event) {
|
||||
var ctrl;
|
||||
if (typeof(val.controlhookup) == "string") {
|
||||
var eventCtrl;
|
||||
if ((typeof(event) != "undefined") && (event != null)) {
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
eventCtrl = event.srcElement;
|
||||
}
|
||||
else {
|
||||
eventCtrl = event.target;
|
||||
}
|
||||
}
|
||||
if ((typeof(eventCtrl) != "undefined") && (eventCtrl != null) &&
|
||||
(typeof(eventCtrl.id) == "string") &&
|
||||
(eventCtrl.id == val.controlhookup)) {
|
||||
ctrl = eventCtrl;
|
||||
}
|
||||
}
|
||||
if ((typeof(ctrl) == "undefined") || (ctrl == null)) {
|
||||
ctrl = document.getElementById(val.controltovalidate);
|
||||
}
|
||||
if ((typeof(ctrl) != "undefined") && (ctrl != null) &&
|
||||
(ctrl.tagName.toLowerCase() != "table" || (typeof(event) == "undefined") || (event == null)) &&
|
||||
((ctrl.tagName.toLowerCase() != "input") || (ctrl.type.toLowerCase() != "hidden")) &&
|
||||
(typeof(ctrl.disabled) == "undefined" || ctrl.disabled == null || ctrl.disabled == false) &&
|
||||
(typeof(ctrl.visible) == "undefined" || ctrl.visible == null || ctrl.visible != false) &&
|
||||
(IsInVisibleContainer(ctrl))) {
|
||||
if ((ctrl.tagName.toLowerCase() == "table" && (typeof(__nonMSDOMBrowser) == "undefined" || __nonMSDOMBrowser)) ||
|
||||
(ctrl.tagName.toLowerCase() == "span")) {
|
||||
var inputElements = ctrl.getElementsByTagName("input");
|
||||
var lastInputElement = inputElements[inputElements.length -1];
|
||||
if (lastInputElement != null) {
|
||||
ctrl = lastInputElement;
|
||||
}
|
||||
}
|
||||
if (typeof(ctrl.focus) != "undefined" && ctrl.focus != null) {
|
||||
ctrl.focus();
|
||||
Page_InvalidControlToBeFocused = ctrl;
|
||||
}
|
||||
}
|
||||
}
|
||||
function IsInVisibleContainer(ctrl) {
|
||||
if (typeof(ctrl.style) != "undefined" &&
|
||||
( ( typeof(ctrl.style.display) != "undefined" &&
|
||||
ctrl.style.display == "none") ||
|
||||
( typeof(ctrl.style.visibility) != "undefined" &&
|
||||
ctrl.style.visibility == "hidden") ) ) {
|
||||
return false;
|
||||
}
|
||||
else if (typeof(ctrl.parentNode) != "undefined" &&
|
||||
ctrl.parentNode != null &&
|
||||
ctrl.parentNode != ctrl) {
|
||||
return IsInVisibleContainer(ctrl.parentNode);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function IsValidationGroupMatch(control, validationGroup) {
|
||||
if ((typeof(validationGroup) == "undefined") || (validationGroup == null)) {
|
||||
return true;
|
||||
}
|
||||
var controlGroup = "";
|
||||
if (typeof(control.validationGroup) == "string") {
|
||||
controlGroup = control.validationGroup;
|
||||
}
|
||||
return (controlGroup == validationGroup);
|
||||
}
|
||||
function ValidatorOnLoad() {
|
||||
if (typeof(Page_Validators) == "undefined")
|
||||
return;
|
||||
var i, val;
|
||||
for (i = 0; i < Page_Validators.length; i++) {
|
||||
val = Page_Validators[i];
|
||||
if (typeof(val.evaluationfunction) == "string") {
|
||||
eval("val.evaluationfunction = " + val.evaluationfunction + ";");
|
||||
}
|
||||
if (typeof(val.isvalid) == "string") {
|
||||
if (val.isvalid == "False") {
|
||||
val.isvalid = false;
|
||||
Page_IsValid = false;
|
||||
}
|
||||
else {
|
||||
val.isvalid = true;
|
||||
}
|
||||
} else {
|
||||
val.isvalid = true;
|
||||
}
|
||||
if (typeof(val.enabled) == "string") {
|
||||
val.enabled = (val.enabled != "False");
|
||||
}
|
||||
if (typeof(val.controltovalidate) == "string") {
|
||||
ValidatorHookupControlID(val.controltovalidate, val);
|
||||
}
|
||||
if (typeof(val.controlhookup) == "string") {
|
||||
ValidatorHookupControlID(val.controlhookup, val);
|
||||
}
|
||||
}
|
||||
Page_ValidationActive = true;
|
||||
}
|
||||
function ValidatorConvert(op, dataType, val) {
|
||||
function GetFullYear(year) {
|
||||
var twoDigitCutoffYear = val.cutoffyear % 100;
|
||||
var cutoffYearCentury = val.cutoffyear - twoDigitCutoffYear;
|
||||
return ((year > twoDigitCutoffYear) ? (cutoffYearCentury - 100 + year) : (cutoffYearCentury + year));
|
||||
}
|
||||
var num, cleanInput, m, exp;
|
||||
if (dataType == "Integer") {
|
||||
exp = /^\s*[-\+]?\d+\s*$/;
|
||||
if (op.match(exp) == null)
|
||||
return null;
|
||||
num = parseInt(op, 10);
|
||||
return (isNaN(num) ? null : num);
|
||||
}
|
||||
else if(dataType == "Double") {
|
||||
exp = new RegExp("^\\s*([-\\+])?(\\d*)\\" + val.decimalchar + "?(\\d*)\\s*$");
|
||||
m = op.match(exp);
|
||||
if (m == null)
|
||||
return null;
|
||||
if (m[2].length == 0 && m[3].length == 0)
|
||||
return null;
|
||||
cleanInput = (m[1] != null ? m[1] : "") + (m[2].length>0 ? m[2] : "0") + (m[3].length>0 ? "." + m[3] : "");
|
||||
num = parseFloat(cleanInput);
|
||||
return (isNaN(num) ? null : num);
|
||||
}
|
||||
else if (dataType == "Currency") {
|
||||
var hasDigits = (val.digits > 0);
|
||||
var beginGroupSize, subsequentGroupSize;
|
||||
var groupSizeNum = parseInt(val.groupsize, 10);
|
||||
if (!isNaN(groupSizeNum) && groupSizeNum > 0) {
|
||||
beginGroupSize = "{1," + groupSizeNum + "}";
|
||||
subsequentGroupSize = "{" + groupSizeNum + "}";
|
||||
}
|
||||
else {
|
||||
beginGroupSize = subsequentGroupSize = "+";
|
||||
}
|
||||
exp = new RegExp("^\\s*([-\\+])?((\\d" + beginGroupSize + "(\\" + val.groupchar + "\\d" + subsequentGroupSize + ")+)|\\d*)"
|
||||
+ (hasDigits ? "\\" + val.decimalchar + "?(\\d{0," + val.digits + "})" : "")
|
||||
+ "\\s*$");
|
||||
m = op.match(exp);
|
||||
if (m == null)
|
||||
return null;
|
||||
if (m[2].length == 0 && hasDigits && m[5].length == 0)
|
||||
return null;
|
||||
cleanInput = (m[1] != null ? m[1] : "") + m[2].replace(new RegExp("(\\" + val.groupchar + ")", "g"), "") + ((hasDigits && m[5].length > 0) ? "." + m[5] : "");
|
||||
num = parseFloat(cleanInput);
|
||||
return (isNaN(num) ? null : num);
|
||||
}
|
||||
else if (dataType == "Date") {
|
||||
var yearFirstExp = new RegExp("^\\s*((\\d{4})|(\\d{2}))([-/]|\\. ?)(\\d{1,2})\\4(\\d{1,2})\\.?\\s*$");
|
||||
m = op.match(yearFirstExp);
|
||||
var day, month, year;
|
||||
if (m != null && (((typeof(m[2]) != "undefined") && (m[2].length == 4)) || val.dateorder == "ymd")) {
|
||||
day = m[6];
|
||||
month = m[5];
|
||||
year = (m[2].length == 4) ? m[2] : GetFullYear(parseInt(m[3], 10));
|
||||
}
|
||||
else {
|
||||
if (val.dateorder == "ymd"){
|
||||
return null;
|
||||
}
|
||||
var yearLastExp = new RegExp("^\\s*(\\d{1,2})([-/]|\\. ?)(\\d{1,2})(?:\\s|\\2)((\\d{4})|(\\d{2}))(?:\\s\u0433\\.|\\.)?\\s*$");
|
||||
m = op.match(yearLastExp);
|
||||
if (m == null) {
|
||||
return null;
|
||||
}
|
||||
if (val.dateorder == "mdy") {
|
||||
day = m[3];
|
||||
month = m[1];
|
||||
}
|
||||
else {
|
||||
day = m[1];
|
||||
month = m[3];
|
||||
}
|
||||
year = ((typeof(m[5]) != "undefined") && (m[5].length == 4)) ? m[5] : GetFullYear(parseInt(m[6], 10));
|
||||
}
|
||||
month -= 1;
|
||||
var date = new Date(year, month, day);
|
||||
if (year < 100) {
|
||||
date.setFullYear(year);
|
||||
}
|
||||
return (typeof(date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null;
|
||||
}
|
||||
else {
|
||||
return op.toString();
|
||||
}
|
||||
}
|
||||
function ValidatorCompare(operand1, operand2, operator, val) {
|
||||
var dataType = val.type;
|
||||
var op1, op2;
|
||||
if ((op1 = ValidatorConvert(operand1, dataType, val)) == null)
|
||||
return false;
|
||||
if (operator == "DataTypeCheck")
|
||||
return true;
|
||||
if ((op2 = ValidatorConvert(operand2, dataType, val)) == null)
|
||||
return true;
|
||||
switch (operator) {
|
||||
case "NotEqual":
|
||||
return (op1 != op2);
|
||||
case "GreaterThan":
|
||||
return (op1 > op2);
|
||||
case "GreaterThanEqual":
|
||||
return (op1 >= op2);
|
||||
case "LessThan":
|
||||
return (op1 < op2);
|
||||
case "LessThanEqual":
|
||||
return (op1 <= op2);
|
||||
default:
|
||||
return (op1 == op2);
|
||||
}
|
||||
}
|
||||
function CompareValidatorEvaluateIsValid(val) {
|
||||
var value = ValidatorGetValue(val.controltovalidate);
|
||||
if (ValidatorTrim(value).length == 0)
|
||||
return true;
|
||||
var compareTo = "";
|
||||
if ((typeof(val.controltocompare) != "string") ||
|
||||
(typeof(document.getElementById(val.controltocompare)) == "undefined") ||
|
||||
(null == document.getElementById(val.controltocompare))) {
|
||||
if (typeof(val.valuetocompare) == "string") {
|
||||
compareTo = val.valuetocompare;
|
||||
}
|
||||
}
|
||||
else {
|
||||
compareTo = ValidatorGetValue(val.controltocompare);
|
||||
}
|
||||
var operator = "Equal";
|
||||
if (typeof(val.operator) == "string") {
|
||||
operator = val.operator;
|
||||
}
|
||||
return ValidatorCompare(value, compareTo, operator, val);
|
||||
}
|
||||
function CustomValidatorEvaluateIsValid(val) {
|
||||
var value = "";
|
||||
if (typeof(val.controltovalidate) == "string") {
|
||||
value = ValidatorGetValue(val.controltovalidate);
|
||||
if ((ValidatorTrim(value).length == 0) &&
|
||||
((typeof(val.validateemptytext) != "string") || (val.validateemptytext != "true"))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
var args = { Value:value, IsValid:true };
|
||||
if (typeof(val.clientvalidationfunction) == "string") {
|
||||
eval(val.clientvalidationfunction + "(val, args) ;");
|
||||
}
|
||||
return args.IsValid;
|
||||
}
|
||||
function RegularExpressionValidatorEvaluateIsValid(val) {
|
||||
var value = ValidatorGetValue(val.controltovalidate);
|
||||
if (ValidatorTrim(value).length == 0)
|
||||
return true;
|
||||
var rx = new RegExp(val.validationexpression);
|
||||
var matches = rx.exec(value);
|
||||
return (matches != null && value == matches[0]);
|
||||
}
|
||||
function ValidatorTrim(s) {
|
||||
var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/);
|
||||
return (m == null) ? "" : m[1];
|
||||
}
|
||||
function RequiredFieldValidatorEvaluateIsValid(val) {
|
||||
return (ValidatorTrim(ValidatorGetValue(val.controltovalidate)) != ValidatorTrim(val.initialvalue))
|
||||
}
|
||||
function RangeValidatorEvaluateIsValid(val) {
|
||||
var value = ValidatorGetValue(val.controltovalidate);
|
||||
if (ValidatorTrim(value).length == 0)
|
||||
return true;
|
||||
return (ValidatorCompare(value, val.minimumvalue, "GreaterThanEqual", val) &&
|
||||
ValidatorCompare(value, val.maximumvalue, "LessThanEqual", val));
|
||||
}
|
||||
function ValidationSummaryOnSubmit(validationGroup) {
|
||||
if (typeof(Page_ValidationSummaries) == "undefined")
|
||||
return;
|
||||
var summary, sums, s;
|
||||
var headerSep, first, pre, post, end;
|
||||
for (sums = 0; sums < Page_ValidationSummaries.length; sums++) {
|
||||
summary = Page_ValidationSummaries[sums];
|
||||
if (!summary) continue;
|
||||
summary.style.display = "none";
|
||||
if (!Page_IsValid && IsValidationGroupMatch(summary, validationGroup)) {
|
||||
var i;
|
||||
if (summary.showsummary != "False") {
|
||||
summary.style.display = "";
|
||||
if (typeof(summary.displaymode) != "string") {
|
||||
summary.displaymode = "BulletList";
|
||||
}
|
||||
switch (summary.displaymode) {
|
||||
case "List":
|
||||
headerSep = "<br>";
|
||||
first = "";
|
||||
pre = "";
|
||||
post = "<br>";
|
||||
end = "";
|
||||
break;
|
||||
case "BulletList":
|
||||
default:
|
||||
headerSep = "";
|
||||
first = "<ul>";
|
||||
pre = "<li>";
|
||||
post = "</li>";
|
||||
end = "</ul>";
|
||||
break;
|
||||
case "SingleParagraph":
|
||||
headerSep = " ";
|
||||
first = "";
|
||||
pre = "";
|
||||
post = " ";
|
||||
end = "<br>";
|
||||
break;
|
||||
}
|
||||
s = "";
|
||||
if (typeof(summary.headertext) == "string") {
|
||||
s += summary.headertext + headerSep;
|
||||
}
|
||||
s += first;
|
||||
for (i=0; i<Page_Validators.length; i++) {
|
||||
if (!Page_Validators[i].isvalid && typeof(Page_Validators[i].errormessage) == "string") {
|
||||
s += pre + Page_Validators[i].errormessage + post;
|
||||
}
|
||||
}
|
||||
s += end;
|
||||
summary.innerHTML = s;
|
||||
window.scrollTo(0,0);
|
||||
}
|
||||
if (summary.showmessagebox == "True") {
|
||||
s = "";
|
||||
if (typeof(summary.headertext) == "string") {
|
||||
s += summary.headertext + "\r\n";
|
||||
}
|
||||
var lastValIndex = Page_Validators.length - 1;
|
||||
for (i=0; i<=lastValIndex; i++) {
|
||||
if (!Page_Validators[i].isvalid && typeof(Page_Validators[i].errormessage) == "string") {
|
||||
switch (summary.displaymode) {
|
||||
case "List":
|
||||
s += Page_Validators[i].errormessage;
|
||||
if (i < lastValIndex) {
|
||||
s += "\r\n";
|
||||
}
|
||||
break;
|
||||
case "BulletList":
|
||||
default:
|
||||
s += "- " + Page_Validators[i].errormessage;
|
||||
if (i < lastValIndex) {
|
||||
s += "\r\n";
|
||||
}
|
||||
break;
|
||||
case "SingleParagraph":
|
||||
s += Page_Validators[i].errormessage + " ";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
alert(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (window.jQuery) {
|
||||
(function ($) {
|
||||
var dataValidationAttribute = "data-val",
|
||||
dataValidationSummaryAttribute = "data-valsummary",
|
||||
normalizedAttributes = { validationgroup: "validationGroup", focusonerror: "focusOnError" };
|
||||
function getAttributesWithPrefix(element, prefix) {
|
||||
var i,
|
||||
attribute,
|
||||
list = {},
|
||||
attributes = element.attributes,
|
||||
length = attributes.length,
|
||||
prefixLength = prefix.length;
|
||||
prefix = prefix.toLowerCase();
|
||||
for (i = 0; i < length; i++) {
|
||||
attribute = attributes[i];
|
||||
if (attribute.specified && attribute.name.substr(0, prefixLength).toLowerCase() === prefix) {
|
||||
list[attribute.name.substr(prefixLength)] = attribute.value;
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
function normalizeKey(key) {
|
||||
key = key.toLowerCase();
|
||||
return normalizedAttributes[key] === undefined ? key : normalizedAttributes[key];
|
||||
}
|
||||
function addValidationExpando(element) {
|
||||
var attributes = getAttributesWithPrefix(element, dataValidationAttribute + "-");
|
||||
$.each(attributes, function (key, value) {
|
||||
element[normalizeKey(key)] = value;
|
||||
});
|
||||
}
|
||||
function dispose(element) {
|
||||
var index = $.inArray(element, Page_Validators);
|
||||
if (index >= 0) {
|
||||
Page_Validators.splice(index, 1);
|
||||
}
|
||||
}
|
||||
function addNormalizedAttribute(name, normalizedName) {
|
||||
normalizedAttributes[name.toLowerCase()] = normalizedName;
|
||||
}
|
||||
function parseSpecificAttribute(selector, attribute, validatorsArray) {
|
||||
return $(selector).find("[" + attribute + "='true']").each(function (index, element) {
|
||||
addValidationExpando(element);
|
||||
element.dispose = function () { dispose(element); element.dispose = null; };
|
||||
if ($.inArray(element, validatorsArray) === -1) {
|
||||
validatorsArray.push(element);
|
||||
}
|
||||
}).length;
|
||||
}
|
||||
function parse(selector) {
|
||||
var length = parseSpecificAttribute(selector, dataValidationAttribute, Page_Validators);
|
||||
length += parseSpecificAttribute(selector, dataValidationSummaryAttribute, Page_ValidationSummaries);
|
||||
return length;
|
||||
}
|
||||
function loadValidators() {
|
||||
if (typeof (ValidatorOnLoad) === "function") {
|
||||
ValidatorOnLoad();
|
||||
}
|
||||
if (typeof (ValidatorOnSubmit) === "undefined") {
|
||||
window.ValidatorOnSubmit = function () {
|
||||
return Page_ValidationActive ? ValidatorCommonOnSubmit() : true;
|
||||
};
|
||||
}
|
||||
}
|
||||
function registerUpdatePanel() {
|
||||
if (window.Sys && Sys.WebForms && Sys.WebForms.PageRequestManager) {
|
||||
var prm = Sys.WebForms.PageRequestManager.getInstance(),
|
||||
postBackElement, endRequestHandler;
|
||||
if (prm.get_isInAsyncPostBack()) {
|
||||
endRequestHandler = function (sender, args) {
|
||||
if (parse(document)) {
|
||||
loadValidators();
|
||||
}
|
||||
prm.remove_endRequest(endRequestHandler);
|
||||
endRequestHandler = null;
|
||||
};
|
||||
prm.add_endRequest(endRequestHandler);
|
||||
}
|
||||
prm.add_beginRequest(function (sender, args) {
|
||||
postBackElement = args.get_postBackElement();
|
||||
});
|
||||
prm.add_pageLoaded(function (sender, args) {
|
||||
var i, panels, valFound = 0;
|
||||
if (typeof (postBackElement) === "undefined") {
|
||||
return;
|
||||
}
|
||||
panels = args.get_panelsUpdated();
|
||||
for (i = 0; i < panels.length; i++) {
|
||||
valFound += parse(panels[i]);
|
||||
}
|
||||
panels = args.get_panelsCreated();
|
||||
for (i = 0; i < panels.length; i++) {
|
||||
valFound += parse(panels[i]);
|
||||
}
|
||||
if (valFound) {
|
||||
loadValidators();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
$(function () {
|
||||
if (typeof (Page_Validators) === "undefined") {
|
||||
window.Page_Validators = [];
|
||||
}
|
||||
if (typeof (Page_ValidationSummaries) === "undefined") {
|
||||
window.Page_ValidationSummaries = [];
|
||||
}
|
||||
if (typeof (Page_ValidationActive) === "undefined") {
|
||||
window.Page_ValidationActive = false;
|
||||
}
|
||||
$.WebFormValidator = {
|
||||
addNormalizedAttribute: addNormalizedAttribute,
|
||||
parse: parse
|
||||
};
|
||||
if (parse(document)) {
|
||||
loadValidators();
|
||||
}
|
||||
registerUpdatePanel();
|
||||
});
|
||||
} (jQuery));
|
||||
}
|
||||
Vendored
+2377
File diff suppressed because it is too large.
Load diff
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:tLine truncated
|
||||
this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c&&"top";if("bottom"==this.affixed)return null!=c?!(e+this.unpin<=f.top)&&"bottom":!(e+g<=a-d)&&"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&e<=c?"top":null!=d&&i+j>=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.globalize.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n){typeof define=="function"&&define.amd?define(["./ej.core.min"],n):n()})(function(){(function(n,t){function ot(n,t){var s=n||"",k=p,t=t.toString(),ct=t.indexOf(".")>-1||n.indexOf(".")>-1,r=0,rt=0,i="",d="",a=n.split(","),ut="0",lt,at=n.toLowerCase().indexOf("e"),w,o,ft=s.indexOf("#"),v,st,b,l,y,nt,tt,f,u,c,e;if(n.indexOf("\\")>-1&&(d=n.substr(0,n.lastIndexOf("\\")+1),n=n.substr(n.lastIndexOf("\\")+1,n.length),ft=n.indexOf("#")),at>-1){for(v="",s="",o=n.toLowerCase().split("e"),lt=n.indexOf("+")>-1?n.split("+")[1]:n.split("-")[1],t=parseInt(t).toExponential(),w=t.split("e"),r=o[1].length-w[1].length,u=o[1].length-1;u>0;u--)o[1][u]!="0"?s+=o[1][u]:r>1?(s+="#",r--):s+="0";for(st=n.indexOf("+")>-1?"+":"",s=st+s.split("").reverse().join(""),u=0;u<w[0].length;u++)v=w[0][u]!="."?v.concat("#"):v.concat(".");v.length>o[0].length&&(v=o[0]);s=d+v+"e"+s}else if(ct){if(o=n.split("."),w=t.split("."),o[1]=o[1].replace(/[,.]/g,""),r=o[0].replace(/[,.]/g,"").length-w[0].replace(/[,.]/g,"").length,r<0&&ej.isNullOrUndefined(n.match(/[\[\(\)\]]/g))){for(a=o[0].split(","),i=o[0].split(","),e=a.length-1;e>=0;e--)if(a[e])for(f=a[e].length,u=0,c=Math.abs(r);u<c;u++){if(f===3)break;i[e]="0"+i[e];f++;r++}if(i=i.join(),r<0)for(ej.isNullOrUndefined(f)||f==3||(i=","+i),u=0,c=Math.abs(r);u<c;u++)f===3&&(i=","+i,f=0),i="0"+i,f++;r=0;s=d+i+"."+o[1]}else if(ej.isNullOrUndefined(n.match(/[\[\(\)\]]/g))){for(i=o[0].replace(/[,.]/g,""),b="",f=0,l=i.length-1;l>=0;l--)f===3?(b=","+b,f=0):f++,b=i[l]+b;s=d+b+"."+o[1]}}else{if(y=0,nt=a.splice(1,a.length),r=n.replace(/[,.\[\(\]\)]/g,"").length-t.replace(/[,.]/g,"").length,ft>-1){for(tt=0,c=n.length;tt<c;tt++)n[tt]==="#"&&y++;(y===1||a[1]&&y===2)&&(ut="#");y===1&&(nt=a[0])}if(r<0){for(o=s.split(","),i=o.splice(1,o.length),e=a.length-1;e>=0;e--)if(nt[e])for(f=nt[e].length,i[e]||(i[e]=""),u=0,c=Math.abs(r)+1;u<c;u++){if(y!=1&&f===3){f=0;break}i[e]=i[e].concat(ut);f++;r++}if(i=i.join(),r<0)for(ej.isNullOrUndefined(f)||f==3||(i=","+i),u=0,c=Math.abs(r)+1;u<c;u++)y!=1&&f===3&&(i=","+i,f=0),i=ut+i,f++;r=0;s=d+i}rt=0}for(var et=[],vt=s.split(""),it=0,l=0,h,g,ot=!1,ht=!1,yt=n.indexOf("\\");l<s.length;l++)if(h=vt[l],h==="e"&&(ht=!0),h==="0"&&ft<0?r>0&&rt<=l?(r--,rt++):r>0?r--:g=k[h]:h=="0"&&(ht||h!="0")||(g=k[h]),h==="0"&&yt>-1&&(g=k[h]),l===s.lastIndexOf("\\")&&(ot=!1),g&&!ot)et[it]={rule:g},it+=1;else for(h==="\\"&&(h="",l===s.lastIndexOf("\\")||(ot=!0)),h=h.split(""),e=0;e<h.length;e++)et[it]=h[e],it+=1;return k=et,{rules:k,format:s}}function st(n,t,i){var u,r,e,o;if(ej.isNullOrUndefined(n)||typeof n=="string"||!t)throw"Bad Number Format Exception";if(o=t,u=ot(t,n),e=u.rules,t=u.format,t.indexOf("\\")>=0){var s=t.lastIndexOf("\\"),l=t.slice(0,s),f=t.slice(s+1,t.length),h;f=f.replace(/[9?CANa#&]/g,"_");h=l+f;r=h.replace(/[\\]/g,"");t=t.replace(/[\\]/g,"")}else r=t.replace(/[9?CANa#&]/g,"_");return r=c(r,i),ht(n,t,r,e,i,o)}function c(n,t){var r,f,e,o,u,i;if(n.length!=0){for(r=ej.preferredCulture(t),u="",f=r.numberFormat[","],e=r.numberFormat.currency.symbol,o=r.numberFormat["."],i=0;i<n.length;i++)u+=n[i]==","?f:n[i]=="."?o:n[i]=="$"?e:n[i];n=u}return n}function ht(i,r,u,f,e,o){var ft,l,nt,it;if(!ej.isNullOrUndefined(i)){r.toLowerCase().indexOf("e")>-1&&(ft=o.indexOf("+")>-1?o.split("+")[1]:o.split("-")[1],i=i.toExponential(),o.indexOf("-")>-1&&(i=i.replace("+","")));var p,ut,k,et,rt=p=ut=i.toString(),s=u,a=k=0,h,g="_",d,v,y,tt,ot=r.match(/[\(\[\]\)]/g);if(rt=!r.indexOf("\\")>=0?i=ut.replace(/[\(\)-]/g,""):et,l=f.length-1,nt=p.length-1,ej.isNullOrUndefined(ot))while(a<f.length){if(h=p[k],d=f[a],h==t)break;if(h===d||h===g||h==="e"&&h===d.toLowerCase()?(h===g?g:"",v=s.substring(0,a),y=s.substring(a),h=c(h,e),s=v+h+y.substr(1,y.length),k+=1,a+=1):f[a].rule!=t?(it=p.charCodeAt(k),w(r,it,a)?(v=s.substring(0,a),y=s.substring(a),tt=b(p,k,a,r,u),s=v+tt+y.substr(1,y.length),a++,k++):a++):(d==="e"&&(k=p.indexOf("e")+1),a++),k>rt.length||l<0)break}else while(l>=0){if(h=p[nt],d=f[l],h==t)break;if(h===d||h===g||h==="e"&&h===d.toLowerCase()?(h===g?g:"",v=s.substring(0,l+1),y=s.substring(l+1),h=c(h,e),s=v.substr(0,v.length-1)+h+y,l--,nt--):f[l].rule!=t?(it=p.charCodeAt(nt),w(r,it,l)?(v=s.substring(0,l+1),y=s.substring(l+1),tt=b(p,nt,l,r,u),s=v.substr(0,v.length-1)+tt+y,l--,nt--):l--):l--,k>rt.length||l<0)break}if(i)return(s.indexOf("_")-s.indexOf(",")==1||s.indexOf("_")-s.indexOf(".")==1)&&(s=s.slice(0,s.indexOf("_")-1)),n.trim(s.replace(/[_]/g,""))==""?null:s.replace(/[_]/g,"")}}function w(t,i,r){var f=p,u=!1,e=t.substr(r,1),o=String.fromCharCode(i);return n.each(f,function(n,t){e==n&&(u=o.match(new RegExp(t))?!0:!1)}),u}function b(n,t,i,r,u){var f=!1;return r.indexOf(".")>-1&&i===u.length-1&&n[t+1]>5&&(f=!0),f?(parseInt(n[t])+1).toString():n[t]}function s(n,t){return n.indexOf(t)===0}function l(n,t){return n.substr(n.length-t.length)===t}function e(n){return(n+"").replace(rt,"")}function ct(n){return isNaN(n)?NaN:Math[n<0?"ceil":"floor"](n)}function h(n,t,i){for(var r=n.length;r<t;r++)n=i?"0"+n:n+"0";returnLine truncated
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.reportdesigner.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n){typeof define=="function"&&define.amd?define(["./../common/ej.core.min","./../common/ej.data.min","./../common/ej.touch.min","./../common/ej.draggable.min","./../common/ej.scroller.min","./../common/ej.globalize.min","./ej.waitingpopup.min","./ej.button.min","./ej.checkbox.min","./ej.radiobutton.min","./ej.autocomplete.min","./ej.datepicker.min","./ej.timepicker.min","./ej.datetimepicker.min","./ej.daterangepicker.min","./ej.dialog.min","./ej.dropdownlist.min","./ej.tooltip.min","./ej.listview.min","./ej.listbox.min","./ej.editor.min","./ej.maskedit.min","./ej.menu.min","./ej.pager.min","./ej.slider.min","./ej.splitbutton.min","./ej.toolbar.min","./ej.splitter.min","./ej.tab.min","./ej.treeview.min","./ej.uploadbox.min","./ej.colorpicker.min","./ej.grid.min","./ej.excelfilter.min","./../datavisualization/ej.chart.min","./../datavisualization/ej.circulargauge.min","./../datavisualization/ej.lineargauge.min","./../datavisualization/ej.bulletgraph.min","./../datavisualization/ej.map.min","./ej.reportviewer.min"],n):n()})(function(){var rf=function(){function n(){this.__type="Syncfusion.RDL.DOM.Size"}return n}(),uf=function(){function n(){}return n}(),ff=function(){function n(){this.__type="Syncfusion.RDL.DOM.Style"}return n}(),ef=function(){function n(){}return n}(),of=function(){function n(n,t){this.__type="Syncfusion.RDL.DOM.CustomProperty";n&&(this.Name=n);t&&(this.Value=t)}return n}(),n,i,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,t,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai,vi,yi,pi,wi,bi,ki,di,gi,nr,tr,ir,rr,ur,fr,er,or,sr,hr,cr,lr,ar,vr,yr,pr,wr,br,kr,dr,gr,nu,tu,iu,ru,uu,fu,eu,ou,su,hu,cu,lu,au,vu,yu,pu,wu,bu,ku,du,gu,nf,u,r,tf;window.ej.createObject("ej.ReportModel.Size",rf,window);window.ej.createObject("ej.ReportModel.Border",uf,window);window.ej.createObject("ej.ReportModel.Style",ff,window);window.ej.createObject("ej.ReportModel.ReportItem",ef,window);window.ej.createObject("ej.ReportModel.CustomProperty",of,window);var r=this&&this.__extends||function(n,t){function r(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)},f=function(){function n(){}return n}(),sf=function(n){function t(){n.apply(this,arguments)}return r(t,n),t}(f),hf=function(n){function t(){n.apply(this,arguments)}return r(t,n),t}(f),cf=function(){function n(){}return n}(),lf=function(){function n(){}return n}(),ns=function(){function n(){}return n}(),af=function(){function n(){}return n}(),vf=function(){function n(){}return n}(),yf=function(){function n(){}return n}(),pf=function(){function n(){}return n}();window.ej.createObject("ej.ReportModel.Property",f,window);window.ej.createObject("ej.ReportModel.CategoryItem",cf,window);window.ej.createObject("ej.ReportModel.PropertyItem",af,window);window.ej.createObject("ej.ReportModel.CommonProperty",pf,window);window.ej.createObject("ej.ReportModel.PageBreak",vf,window);window.ej.createObject("ej.ReportModel.Visibility",yf,window);window.ej.createObject("ej.ReportModel.DropDownDatasource",lf,window);window.ej.createObject("ej.ReportModel.TextRunProperty",sf,window);window.ej.createObject("ej.ReportModel.TablixItemProperty",hf,window),function(n){var t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt;(function(n){n[n.Inch="in"]="Inch";n[n.Cm="cm"]="Cm";n[n.Px="px"]="Px";n[n.Pt="pt"]="Pt";n[n.Mm="mm"]="Mm";n[n.Pc="pc"]="Pc"})(n.UnitType||(n.UnitType={}));t=n.UnitType,function(n){n[n.Unknown=0]="Unknown";n[n.Folder=1]="Folder";n[n.Report=2]="Report";n[n.Resource=3]="Resource";n[n.DataSource=4]="DataSource";n[n.Model=5]="Model";n[n.Site=6]="Site";n[n.DataSet=7]="DataSet";n[n.File=8]="File"}(n.ReportType||(n.ReportType={}));i=n.ReportType,function(n){n[n.External=0]="External";n[n.Embedded=1]="Embedded";n[n.Database=2]="Database"}(n.Source||(n.Source={}));r=n.Source,function(n){n[n.AutoSize=0]="AutoSize";n[n.Fit=1]="Fit";n[n.FitProportional=2]="FitProportional";n[n.Clip=3]="Clip"}(n.Sizing||(n.Sizing={}));u=n.Sizing,function(n){n[n.ReportItem=0]="ReportItem";n[n.Text=1]="Text"}(n.CopyType||(n.CopyType={}));f=n.CopyType,function(n){n[n.Configured=0]="Configured";n[n.NotConfigured=1]="NotConfigured";n[n.InProgress=2]="InProgress"}(n.ServiceState||(n.ServiceState={}));e=n.ServiceState,function(n){n[n.addChartMember=0]="addChartMember";n[n.addChartSeries=1]="addChartSeries";n[n.removeChartMember=2]="removeChartMember";n[n.removeChartSeries=3]="removeChartSeries";n[n.emptyChartMember=4]="emptyChartMember"}(n.ChartCmdAction||(n.ChartCmdAction={}));o=n.ChartCmdAction,function(n){n[n.Column=0]="Column";n[n.Bar=1]="Bar";n[n.Line=2]="Line";n[n.Shape=3]="Shape";n[n.Scatter=4]="Scatter";n[n.Area=5]="Area";n[n.Range=6]="Range";n[n.Polar=7]="Polar"}(n.VisualizationType||(n.VisualizationType={}));s=n.VisualizationType,function(n){n[n.Plain=0]="Plain";n[n.Stacked=1]="Stacked";n[n.PercentStacked=2]="PercentStacked";n[n.Smooth=Line truncated
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.unobtrusive.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n){typeof define=="function"&&define.amd?define(["./ej.core.min"],n):n()})(function(){(function($,ej,wd){"use strict";var options=wd.unobtrusive={dataRole:!1,ejRole:!1,directive:!1},propMaps={};String.prototype.trim=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")};var div=$(document.createElement("div")),processAttrib=function(n,t,i){if(t.indexOf("-")===-1){n[t]=i;return}ej.createObject(t.replace(/-/g,"."),i,n)},processData=function(n){return n==="true"?!0:n==="false"?!1:+n+""===n?+n:n},readAttributes=function(n,t,i){for(var o=n[0].attributes,r,u={},l=i.slice(2).toLowerCase(),s="data-ej-",h=s.length,f="ej-",c=f.length,e=0;e<o.length;e++)r=o[e],t.dataRole&&r.name.startsWith(s)&&processAttrib(u,r.name.slice(h),processData(r.value)),(t.ejRole&&r.name.startsWith(f)||t.dataRole===!1&&t.ejRole===!1&&t.directive===!0&&r.name.startsWith(f))&&processAttrib(u,r.name.slice(c),processData(r.value));return u},iterateAndSetModel=function(model,data,map,type){var field="",current;for(var prop in data){if(field=map&&prop in map?map[prop]:prop,current=data[prop],type&&type[field]==="string"&&(current=current.toString()),ej.isPlainObject(current)&&(map||type)){model[field]={};iterateAndSetModel(model[field],current,map[prop+".value"]?map[prop+".value"]:map,ej.isPlainObject(type[field])?type[field]:type);continue}if(type&&(type[field]==="array"||type[field]==="parent"))try{current=JSON.parse(current)}catch(e){current=eval(current)}else type&&type[field]==="data"&&(/^\[{0,1}\{.+\}\]{0,1}$/.test(current)?current=JSON.parse(current):current.indexOf("/")===-1&&(current=ej.getObject(current.indexOf("window.")===0?current.slice(7):current,window)||current));model[field]=current}},changeTag=function(n,t){var r=$(n),u,i;if(ej.support.outerHTML)return div.insertBefore(r),u=n.tagName,i=[],i[0]="<",i[1]=n.outerHTML.trim().replace(RegExp("^<"+u+"|"+u+">$","ig"),t),i[1].endsWith(">")||(i[2]=">"),n.outerHTML=i.join(""),n=div.next()[0],div.remove(),n;var e=r.clone(),u=n.tagName,f="";return r.html(f),f+="<",f+=div.append(e).html().replace(RegExp("^<"+u+"|"+u+">$","ig"),t),f+=">",div.html(f),e=r.wrap(div.children().first()).parent(),r.remove(),div.empty(),e[0]},findAndChangeTag=function(n,t,i,r){for(var f=!1,e=n.length,u=0;u<e;u++)n[u].offsetParent?n[u]=changeTag(n[u],t):(n.splice(u--,1),f=!0,e--);return f&&n.push.apply(n,findAndChangeTag(r.find(i),t,i,r)),n},findElements=function(n,t,i,r){var u=[],f=n.replace("ej","").toLowerCase(),e={};return t.dataRole===!0&&u.push("[data-role='"+n.toLowerCase()+"']"),t.ejRole===!0&&u.push("[ej-"+f+"]"),e.role=i.find(u.join(",")),t.directive===!0&&(e.directive=findAndChangeTag(i.find(f),r.validTags&&r.validTags[0]||"div",f,i)),e},generatePropMap=function(n){var i={},r;for(var t in n)r=t.toLowerCase(),ej.isPlainObject(n[t])&&(i[r+".value"]=generatePropMap(n[t])),i[r]=t;return i},initControls=function(n,t,i,r,u){for(var e,o,s=r.dataTypes,h=n.length,f=0;f<h;f++)e=n.eq(f),o={},iterateAndSetModel(o,readAttributes(e,t,i),u,s),e[i](o)},checkUnobtrusive=function(n,t,i,r){var f=findElements(n,i,r,t),u=propMaps[n];(f.role&&f.role.length||f.directive&&f.directive.length)&&!u&&(u=generatePropMap(t.defaults),u.serverevents="serverEvents",u.clientid="clientId",u.uniqueid="uniqueId",propMaps[n]=u,t._unobtrusive&&$.extend(!0,u,t._unobtrusive));initControls(f.role,i,n,t,u);f.directive&&initControls(f.directive,i,n,t,u,!0)},readBoolAttr=function(n,t){return n.hasOwnProperty(t)?n[t]!==!1:!1};wd.init=function(n){var t,i;n=n?n.jquery?n:$(n):$(document);t=wd.registeredWidgets;for(i in t)checkUnobtrusive(t[i].name,t[i].proto,options,n)};$(function(){var n=$(document.body).data(),t,i;(options.ejRole=n.hasOwnProperty("ejrole")?readBoolAttr(n,"ejrole"):options.ejRole,options.directive=n.hasOwnProperty("directive")?readBoolAttr(n,"directive"):options.directive,options.ejRole!==!0&&options.directive!==!0&&(options.dataRole=!0),options.dataRole=n.hasOwnProperty("datarole")?readBoolAttr(n,"datarole"):options.dataRole,options.ejRole===!0||options.dataRole===!0||options.directive===!0)&&(wd.autoInit=n.hasOwnProperty("autoinit")?readBoolAttr(n,"autoinit"):!0,wd.autoInit===!0)&&(t=[],options.dataRole===!0&&t.push("[data-ej-init]"),options.ejRole===!0&&t.push("[ej-init]"),i=$(t.join(",")),i.length||(i=$(document)),wd.init(i))})})(window.jQuery,window.Syncfusion,window.Syncfusion.widget)});
|
||||
+33209
File diff suppressed because it is too large.
Load diff
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.web.all.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n){typeof define=="function"&&define.amd?define(["jquery","jsrender","jquery-validation"],n):n()})(function(){var LookupCachingMode,CalcQuickBase,FormulaInfoSetAction,FormulaInfoHashtable,HashTable,ejDateRangePicker,clipboardCleaner,documentManager,InternalAdaptive,InternalScroller,InternalSelection,InternalFilter,InternalDragAndDrop,InternalEdit,InternalContext,InternalSwimlane,InternalCommon,_sideBySeriesPadding,LoadingPriority,RoutingPriority,SegmentOrientation,ObstacleSideType,PortDirection,Orientation,ScanDirection,RoutingSolution,Directions,ejSparkline,__extends,ejSunburstChart;window.ej=window.Syncfusion=window.Syncfusion||{},function(n,t,i){"use strict";var e,u,f,o;t.version="18.3.0.35";t.consts={NamespaceJoin:"-"};t.TextAlign={Center:"center",Justify:"justify",Left:"left",Right:"right"};t.Orientation={Horizontal:"horizontal",Vertical:"vertical"};t.serverTimezoneOffset=0;t.parseDateInUTC=!1;t.persistStateVersion=null;t.locales=t.locales||[];Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(n,t){return n[t]!==i});Date.prototype.toISOString||function(){function n(n){var t=String(n);return t.length===1&&(t="0"+t),t}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+n(this.getUTCMonth()+1)+"-"+n(this.getUTCDate())+"T"+n(this.getUTCHours())+":"+n(this.getUTCMinutes())+":"+n(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}();String.format=function(){for(var t=arguments[0],n=0;n<arguments.length-1;n++)t=t.replace(new RegExp("\\{"+n+"\\}","gm"),arguments[n+1]);return t.replace(/\{[0-9]\}/g,"")};jQuery.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}};t.defineClass=function(n,r,u,f){if(!n||!u)return i;for(var o=n.split("."),s=window,e=0;e<o.length-1;e++)t.isNullOrUndefined(s[o[e]])&&(s[o[e]]={}),s=s[o[e]];return(f||t.isNullOrUndefined(s[o[e]]))&&(r=typeof r=="function"?r:function(){},s[o[e]]=r,s[o[e]].prototype=u),s[o[e]]};t.util={getNameSpace:function(n){var i=n.toLowerCase().split(".");return i[0]==="ej"&&(i[0]="e"),i.join(t.consts.NamespaceJoin)},getObject:function(n,r){var u,e,f;if(!r||!n)return i;for(typeof n!="string"&&(n=JSON.stringify(n)),u=r,e=n.split("."),f=0;f<e.length;f++){if(t.util.isNullOrUndefined(u))break;u=u[e[f]]}return u},createObject:function(n,i,r){for(var o=n.split("."),s=r||window,u=s,e,h=o.length,f=0;f<h;f++)e=o[f],f+1==h?u[e]=i:t.isNullOrUndefined(u[e])&&(u[e]={}),u=u[e];return s},isNullOrUndefined:function(n){return n===i||n===null},exportAll:function(i,r){var h=[],o,u=[],c,l,a,f,v,p={action:i,method:"post","data-ajax":"false"},s=t.buildTag("form","",null,p),e,y;if(r.length!=0){for(e=0;e<r.length;e++)c=e,l=n("#"+r[e]),a=n("#"+r[e]).data(),o=a.ejWidgets,f=n(l).data(o[0]),u.push({id:f._id,locale:f.model.locale}),t.isNullOrUndefined(f)||(v=f._getExportModel(f.model),h.push({name:o[0],type:"hidden",value:f.stringify(v)}),y=t.buildTag("input","",null,h[c]),s.append(y));n("body").append(s);s.submit();setTimeout(function(){var r,f,i;if(u.length)for(i=0;i<u.length;i++)t.isNullOrUndefined(u[i].locale)||(r=n("#"+u[i].id).data(),o=r.ejWidgets,f=n("#"+u[i].id).data(o[0]),f.model.locale=u[i].locale)},0);s.remove()}return!0},print:function(i,r){var f=t.buildTag("div"),o=i.clone(),r,e,u;f.append(o);r||(r=window.open("","print","height=452,width=1024,tabbar=no"));r.document.write("<!DOCTYPE html>");e=n("head").find("link").add("style");t.browserInfo().name==="msie"?(u="",e.each(function(t,i){i.tagName=="LINK"&&n(i).attr("href",i.href);u+=i.outerHTML}),r.document.write("<html><head><\/head><body>"+u+f[0].innerHTML+"<\/body><\/html>")):(u="",r.document.write("<html><head>"),e.each(function(t,i){i.tagName=="LINK"&&n(i).attr("href",i.href);u+=i.outerHTML}),r.document.writeln(u+"<\/head><body>"),r.document.writeln(f[0].innerHTML+"<\/body><\/html>"));r.document.close();r.focus();setTimeout(function(){t.isNullOrUndefined(r.window)||(r.print(),setTimeout(function(){r.close()},1e3))},1e3)},ieClearRemover:function(t){var i=n(t).height();t.style.paddingTop=parseFloat(i/2)+"px";t.style.paddingBottom=parseFloat(i/2)+"px";t.style.height="1px";t.style.lineHeight="1px"},sendAjaxRequest:function(t){n.ajax({type:t.type,cache:t.cache,url:t.url,dataType:t.dataType,data:t.data,contentType:t.contentType,async:t.async,success:t.successHandler,error:t.errorHandler,beforeSend:t.beforeSendHandler,complete:t.completeHandler})},buildTag:function(t,r,u,f){var s=/^[a-z]*[0-9a-z]+/ig.exec(t)[0],e=/#([_a-z0-9-&@\/\\,+()$~%:*?<>{}\[\]]+\S)/ig.exec(t),o;return e=e?e[e.length-1].replace(/[&@\/\\,+()$~%.:*?<>{}\[\]]/g,""):i,o=/\.([a-z]+[-_0-9a-z ]+)/ig.exec(t),o=o?o[o.length-1]:i,n(document.createElement(s)).attr(e?{id:e}:{}).addClass(o||"").css(u||{}).attr(f||{}).html(r||"")},_preventDefaulLine truncated
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.webform.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
function setViewstate(n,t){n&&(n.prototype._includeOnViewstate=t)}function refreshFlag(){setTimeout(function(){ej.isOnWebForms=!0},0)}function EJ_ClientSideOnPostBack(){var n=typeof theForm=="undefined"?$("body form"):$(theForm);n.length&&(n.append(getPostBackData()),addPostBackHandler(),ej.isOnWebForms=!1)}function getPostBackData(){var f=$("body .e-js"),i,t,r,u,n,e;for($("#ej-hidden-model-container").remove(),i=$(document.createElement("div")),i.attr("id","ej-hidden-model-container"),t=0;t<f.length;t++)if(r=$(f[t]).data("ejWidgets"),r)for(u=0;u<r.length;u++)(n=$(f[t]).data(r[u]),n&&n.model.clientId)&&(e=$(document.createElement("input")).attr({type:"hidden",id:n.model.clientId+"_hidden_model",name:n.model.clientId+"_hidden_model"}).val(JSON.stringify(includeRequiredProp(n))),i.append(e));return i}function includeRequiredProp(n){for(var u,i=n._includeOnViewstate||[],r={},t=0;t<i.length;t++)i[t].indexOf(".")>-1?ej.isNullOrUndefined(r[i[t].split(".")[0]])?r[i[t].split(".")[0]]=complexDataFilter(i[t],n.model):(u={},u[i[t].split(".")[0]]=complexDataFilter(i[t],n.model),r=$.extend(!0,r,u)):r[i[t]]=ej.util.getObject(i[t],n.model);return r}function complexDataFilter(n,t){var i=n.split(".")||[],r=0,u={};return t[i[r]]instanceof Array?u[i[r]]=arrayModelFilter(n,[],t[i[r]],i,r+1):typeof t[i[r]]=="object"&&(u[i[r]]=objectModelFilter(n,{},t[i[r]],i,r+1)),u[i[r]]}function arrayModelFilter(n,t,i,r,u){for(var e,f=0;f<i.length;f++)e={},r!=[]&&r.length-1!=u?i[f][r[u]]instanceof Array?e[r[u]]=arrayModelFilter(r[u+1],[],i[f][r[u]],r,u+1):typeof i[f][r[u]]=="object"&&(e[r[u]]=objectModelFilter(r[u+1],{},i[f][r[u]],r,u+1)):e[r[u]]=r!=[]?ej.util.getObject(r[u],i[f]):ej.util.getObject(n,i[f]),t.push(e);return t}function objectModelFilter(n,t,i,r,u){return r!=[]&&r.length-1!=u?i[r[u]]instanceof Array?t[r[u]]=arrayModelFilter(r[u+1],[],i[r[u]],r,u+1):typeof i[r[u]]=="object"&&(t[r[u]]=objectModelFilter(r[u+1],{},i[r[u]],r,u+1)):r!=[]?t[r[u]]=ej.util.getObject(r[u],i):t[n]=ej.util.getObject(n,i),t}function clearPostBackData(){refreshFlag();removePostBackHandler();$("#ej-hidden-model-container").remove()}function addPostBackHandler(){typeof Sys!="undefined"&&Sys.WebForms.PageRequestManager.getInstance().add_endRequest(clearPostBackData)}function removePostBackHandler(){typeof Sys!="undefined"&&Sys.WebForms.PageRequestManager.getInstance().remove_endRequest(clearPostBackData)}(function(){setViewstate(ej.Accordion,["cssClass","enabled","enableRTL","selectedItems","selectedItemIndex"]);setViewstate(ej.Autocomplete,["cssClass","enabled","enableRTL","readOnly","value","selectValueByKey"]);setViewstate(ej.Button,["enabled","cssClass","enableRTL"]);setViewstate(ej.Captcha,["characterSet","maximumLength","caseSensitive","autoValidate","successMessage","errorMessage","encryptedCode","isValid","enableAudio","enableRefreshImage","enableRTL","audioUrl"]);setViewstate(ej.CheckBox,["checked","checkState","enabled","cssClass","enableRTL"]);setViewstate(ej.ColorPicker,["value","cssClass","enabled","showRecentColors","opacityValue","toolIcon","columns","palette","modelType"]);setViewstate(ej.ComboBox,["value","text","enabled","readonly","cssClass","index","enableRtl"]);setViewstate(ej.CurrencyTextbox,["cssClass","locale","enabled","enableRTL","readOnly","value"]);setViewstate(ej.DatePicker,["value","dateFormat","minDate","maxDate","locale","enabled","readOnly","cssClass","enableRTL"]);setViewstate(ej.DateRangePicker,["value","dateFormat","timeFormat","locale","enabled","cssClass","enableRTL"]);setViewstate(ej.DateTimePicker,["value","minDateTime","dateTimeFormat","maxDateTime","locale","enabled","readOnly","cssClass","enableRTL"]);setViewstate(ej.Dialog,["enabled","cssClass","enableRTL"]);setViewstate(ej.DropDownList,["value","text","enabled","readOnly","cssClass","enableRTL","selectedIndex","selectedIndices"]);setViewstate(ej.FileExplorer,["allowMultiSelection","showToolbar","showCheckbox","showRoundedCorner","showTreeview","showContextMenu","showFooter","selectedFolder","selectedItems","fileTypes","locale","layout","enableRTL","cssClass","gridSettings","filterSettings"]);setViewstate(ej.GroupButton,["cssClass","enabled","enableRTL","orientation","selectedItemIndex"]);setViewstate(ej.MaskEdit,["value","maskFormat","inputMode","enabled","readOnly","cssClass"]);setViewstate(ej.Menu,["animationType","enabled","cssClass","enableRTL","orientation"]);setViewstate(ej.NumericTextbox,["cssClass","locale","enabled","enableRTL","readOnly","value"]);setViewstate(ej.Pager,["enabled","enableRTL","currentPage","pageSize"]);setViewstate(ej.PercentageTextbox,["cssClass","locale","enabled","enableRTL","readOnly","value"]);setViewstate(ej.ProgressBar,["value","text","percentage","minValue","maxValue","enabled","cssClass","enableRTL"]);setViewstate(ej.RadioButton,["checked","enabled","cssClass","enableRTL"]);setViewstate(ej.Rating,["value","minValue","maxValue","readOnly","cssClass"]);setViewstate(ej.RadialSlider,["radius","ticks","value","enableAnimation","autoOpen"Line truncated
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.widget.angular.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n){typeof define=="function"&&define.amd?define(["angular","./ej.core.min"],n):n()})(function(){(function(n,t,i,r,u){"use strict";var s=r.module("ejangular",[]),o,f,h,c,l,e,a;t.module=s;o=u;f={firstCap:function(n){return n.charAt(0).toUpperCase()+n.slice(1)},generatePropMap:function(n,i,r,u){var o,s,e;typeof i!="string"||t.isNullOrUndefined(n)||(n.name=i,i={});o=i||{};u?u+=".":u="";r=r||"";for(e in n)s=r+f.firstCap(e.toLowerCase()),t.isPlainObject(n[e])&&f.generatePropMap(n[e],o,s,u+e,name),o[s]=u+e,t.isNullOrUndefined(n.name)||(o.ejCtlname=n.name);return o},generateAttr:function(n,i,r,e){var o,s;if(t.isPlainObject(n))for(o in n)s=o.toLowerCase(),f.generateAttr(n[o],i,(r||"e")+f.firstCap(s),(e||"e")+"-"+s);else r&&i[r]===u&&typeof n!="object"&&typeof n!="function"&&typeof n!="undefined"&&(i[r]=n.toString(),i.$attr[r]=e)},getModel:function(i,r,e,o,s,h,c){var p={},a,l,it=r.$attr||r,d=!i,y,w,g,ft,nt,v,k,b,rt,ut,tt;i=i||(r===it?{}:it);c=c||"";ft=f.getDirectiveName(i.ejCtlname||"");nt=r[ft];t.isNullOrUndefined(nt)||nt==""||(p=t.getObject(nt,e)||{},f.generateAttr(p,r));for(v in it)if(y=!0,w=g=null,d||v[0]==="e"&&/[A-Z]/.test(v[1])){if(l=r[v]||"",d||(v=v.slice(1)),typeof l=="object"){if(k=d?i[v]||v:v,l instanceof Array)for(b=0;b<l.length;b++)l[b]=f.getModel(null,l[b],e,o,s,h,c+k+"["+b+"]");else{rt={};for(ut in l)(a=l.$attr[ut],a)&&(rt[a]=f.getModel(null,l[ut],e,o,s,h,c+k+"."+a));l=rt;a=f.getObject(k,p);a&&n.extend(!0,a,l);continue}f.createObject(k,l,p);continue}if(a=i[v]||v,y=!isNaN(l)||/^['"].+['"]$/.test(l),y===!1&&(y=l.indexOf("["),y===-1?y=!(l.split(".")[0]in e||f.getObject(l.split(".")[0],e)!==u):(tt=f.buildProperty(e,l),y=!tt.available,y||(w=tt.getter,g=tt.setter))),y===!0){f.createObject(a,f.processData(l),p);continue}o.push({key:l,value:c+a,twoWay:s.indexOf(a)!==-1});w=w||f.getObject;g=g||f.createObject;l=d||s.indexOf(a)===-1||h&&v[0]==="V"&&v==="Value"?w(l,e):f.addTwoWays(l,e,w(l,e));f.createObject(a,l,p)}return p},buildProperty:function(n,i){var r=new Function("prop","instance","with (instance) { \nreturn "+i.replace(/^([^\[.]+)/,"instance['$1']")+"\n}"),u=new Function("prop","val","instance","with (instance) {"+i.replace(/^([^\[.]+)/,"instance['$1']")+" = val;\n}");return"$$ejProperties"in n||(n.$$ejProperties={}),n.$$ejProperties[i]={getter:r,setter:u},{available:!t.isNullOrUndefined(r(i,n)),getter:r,setter:u}},addTwoWays:function(n,t,i){var r=f.createObject;return"$$ejProperties"in t&&n in t.$$ejProperties&&(r=t.$$ejProperties[n].setter),function(e){if(e===u)return i;i=e;r(n,i,t);f.applyScope(t)}},valReplace:/^'(.+)'$|^"(.+)"$/g,processData:function(n){var t=n.replace(f.valReplace,"$1$2");return t==="true"?!0:t==="false"?!1:t!==n?t:(t=+t,t+""===n?t:n)},addWatches:function(n,i,r,u,e){for(var h,c,o,s=0;s<i.length;s++)h="$watch",c=f.getObject,o=i[s].key,"$$ejProperties"in n&&o in n.$$ejProperties&&(c=n.$$ejProperties[o].getter),c(o,n)instanceof Array&&!e&&(h="$watchCollection"),n[h](o,t.proxy(u,n,{control:r,watch:i[s]}),i[s].twoWay&&e)},raise:function(n,t,i){if(t!==i){var r=f.getObject(n.watch.value,n.control.model);(typeof r=="function"&&(r=r()),(r!==t||r instanceof Array)&&(r!==i||!(r instanceof Array)))&&(n.control.observables.indexOf(n.watch.value)===-1||n.control.type==="editor"&&n.watch.value==="value"||(t=f.addTwoWays(n.watch.key,this,t)),n.control.option(n.watch.value,t,typeof t=="undefined"||t instanceof Array))}},angToEjProp:function(n,t){for(var i in t)if(t[i]===n)return i},modelChange:function(n,t){var i,r,u;t&&(i=f.getObject,r=f.createObject,"$$ejProperties"in n&&t in n.$$ejProperties&&(u=n.$$ejProperties[t],i=u.getter,r=u.setter),this.option("_change",function(u){u.value!==i(t,n)&&(r(t,u.value,n),f.applyScope(n))}))},getDirectiveName:function(n){if(n.length<4)return"";var t=n[2]==="m"?4:3;return n.slice(0,t)+n.slice(t).toLowerCase()},applyScope:function(n){setTimeout(function(){n.$apply()},0)},loadTags:function(n,t){var e=n,u,o,i,r;if(e)return e;for(e={},i=0;i<t.length;i++){for(u=t[i].attr||[],o={},r=0;r<u.length;r++)typeof u[r]=="object"?o["e-tag"]=f.loadTags(null,u[r]):o[u[r].toLowerCase().replace(/\./g,"-")]=u[r];e["e-"+t[i].tag.toLowerCase().replace(/\./g,"-")]={field:t[i].tag,attr:o,content:t[i].content,singular:(t[i].singular||t[i].tag.replace(/s$/,"")).replace(/\./g,"-")}}return e},getTagValues:function(t,i){var h=n(i).children(),e={$attr:{}},o,l,a;if(h.length===0)return e;for(o=0;o<h.length;o++){var s=n(h.get(o)),c,u=s.prop("tagName").toLowerCase(),r=t[u];if(!r){if(u=s[0].attributes[0],!u)continue;if(u=u.nodeName,r=t[u],!r)continue}l="e-"+r.singular;c=s.children(l+",["+l+"]");a=c.toArray().map(function(t){var i=f.readAttributes(t,r.attr),u,e;return r.content?(u=t.innerHTML,u.length&&(i[r.content]=t.innerHTML,i.$attr[r.content]=r.content)):r.attr["e-tag"]&&(e=f.getTagValues(r.attr["e-tag"],t),n.extend(!0,i||{},e)),i}).filter(function(n){return n});c.remove();s.remove();a.length&&(f.createAndAddAttr(r.field,a,e),e.$attr[r.field.toLowerCase().replace(/\..+/g,"")]=r.field.repLine truncated
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.widget.ko.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n){typeof define=="function"&&define.amd?define(["knockout","./ej.core.min"],n):n()})(function(n){return function(n,t,i,r,u){"use strict";var f={binder:function(t,i,u,e,s,h,c){var d=n(t).data(c),p=!d,l=o(i,h["ob.ignore"],!p),w,b,v,k,y,a;if(!p&&JSON)for(y in l)v=l[y],v instanceof Array&&(k=d.model[y])instanceof Array&&v.length===k.length&&JSON.stringify(v)===JSON.stringify(k)&&delete l[y];p&&h.type==="editor"&&r.isObservable(l.value)&&(b=l.value,w=f.modelChange(b),l=n.extend({},l,{value:l.value()}));n(t)[c](l);a=n(t).data(c);"tmpl.$bindingContext"in a&&f.refreshTemplate(t,a["tmpl.$bindingContext"]);n(t).on(c+"refresh",function(){"tmpl.$bindingContext"in a&&f.refreshTemplate(t,a["tmpl.$bindingContext"])});w&&(n(t).data(c).kosubscribe=b.subscribe(f.valueChange(n(t)[c]("model._change",w).data(c))))},modelChange:function(n){return function(t){n(t.value)}},valueChange:function(n){return function(t){n.option("value",f.processData(t))}},processData:function(n){return n==="true"?!0:n==="false"?!1:+n+""===n?+n:n},bindKoHandler:function(t,i){i["ob.ignore"]=[];[].push.apply(i["ob.ignore"],i.observables||[]);r.bindingHandlers[t]={init:function(i){r.utils.domNodeDisposal.addDisposeCallback(i,function(){var o,e,s,r,u,f;n(i).off(t+"refresh");o=n(i).data(t);e=o["tmpl.$bindingContext"]||{};for(s in e)delete e[s];if(r=n(i).data(t).kosubscribe,r)if(typeof r.dispose=="function")r.dispose();else for(u in r)for(f in r[u])r[u].hasOwnProperty(f)&&(r[u][f].dispose(),delete r[u][f]);n(i)[t]("destroy")})},update:function(n,r,u,e,o){f.binder(n,r,u,e,o,i,t)}};r.bindingHandlers.ejTemplate={init:function(){return{controlsDescendantBindings:!0}}}},refreshTemplate:function(t,i){var o=n(t).find(".ej-knockout-template"),u,e,f;for(u in i){if(e=o.filter("."+i[u].key),!e.length){delete i[u];continue}for(f=0;f<e.length;f++)r.renderTemplate(u.replace("#",""),i[u].bindingContext.items[f],{},e[f])}}},o=function(n,i,u,f){var s=r.utils.unwrapObservable(n),h={},e;if(f=f||"",typeof s=="function"&&(s=s()),t.isPlainObject(s))for(e in s)if(i.indexOf(f+e)===-1)h[e]=r.utils.unwrapObservable(s[e]),(t.isPlainObject(h[e])||r.isObservable(h[e]))&&(h[e]=o(h[e],i,u,f+e+"."));else{if(u)continue;h[e]=s[e]}return h},e=i.registeredWidgets;for(var s in e)f.bindKoHandler(e[s].name,e[s].proto);t.widget.extensions={registerWidget:function(n){f.bindKoHandler(n,e[n].proto)}};t.extensions.ko={subscriptions:{},register:function(n,i,f){if(!r||!r.isObservable(n))return n;var e=n,o={};return n.ejComputed!==u&&(e=n.ejComputed,n=n.ejValue,f.isejObservableArray=!0),t.widget.observables.subscriptions[i]=e.subscribe(t.proxy(t.widget.observables.raise,{instance:f,field:i})),f.kosubscribe||(f.kosubscribe=[]),o[i]=t.widget.observables.subscriptions[i],f.kosubscribe.push(o),n},raise:function(i){var r=this.instance["ob.values"],u=this.field in r;u||(r[this.field]=this.instance.option(this.field));(r[this.field]!==i||n.isArray(this.instance.option(this.field)()))&&(this.instance.option(this.field,t.extensions.modelGUID,!0),r[this.field]=i)},getValue:function(n,t){return t?n:typeof n=="function"?n():n}};r.extenders.ejObservableArray=function(n,t){var i=r.computed({read:function(){return r.toJS(n)},write:function(t,i,r){var u,f,e;switch(r){case"insert":u=new n.ejObsFunc(t);n.splice(i,0,u);break;case"remove":n.splice(i,1);break;case"update":for(u=Object.keys(t),f=0;f<u.length;f++)e=u[f],n()[i][e](t[e])}}},this);return n.ejValue=r.observableArray(i)(),n.ejComputed=i,n.ejObsFunc=t,n};t.template["text/ko-template"]=function(n,i,r,u){var e,f=n["tmpl.$bindingContext"];return f&&f[i]||(f=f||{},f[i]={bindingContext:{},key:t.getGuid("tmpl")},e=f[i].bindingContext,n["tmpl.$bindingContext"]=f),e=f[i].bindingContext,t.isNullOrUndefined(u)?(u=1,e.items=[r]):(e.items||(e.items=[]),e.items[u]=r),"<div data-bind='ejTemplate:{}' ej-prop='"+u+"' class='"+f[i].key+" ej-knockout-template'><\/div>"};t.widget.observables=t.extensions.ko}(window.jQuery,window.Syncfusion,window.Syncfusion.widget,n||window.ko),n||window.ko});
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.ar-AE.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("ar-AE", { name: "ar-AE", englishName: "Arabic (U.A.E.)", nativeName: "العربية (الإمارات العربية المتحدة)", language: "ar", isRTL: !0, numberFormat: { pattern: ["n-"], NaN: "ليس برقم", negativeInfinity: "-لا نهاية", positiveInfinity: "+لا نهاية", currency: { pattern: ["$n-", "$ n"], symbol: "د.إ." } }, calendars: { standard: { firstDay: 6, days: { names: ["الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"], namesAbbr: ["الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"], namesShort: ["ح", "ن", "ث", "ر", "خ", "ج", "س"] }, months: { names: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليه", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر", ""], namesAbbr: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليه", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر", ""] }, AM: ["ص", "ص", "ص"], PM: ["م", "م", "م"], patterns: { d: "dd/MM/yyyy", D: "dd MMMM, yyyy", t: "hh:mm tt", T: "hh:mm:ss tt", f: "dd MMMM, yyyy hh:mm tt", F: "dd MMMM, yyyy hh:mm:ss tt", M: "dd MMMM", Y: "MMMM, yyyy" } }, UmAlQura: { name: "UmAlQura", firstDay: 6, days: { names: ["الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"], namesAbbr: ["الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"], namesShort: ["ح", "ن", "ث", "ر", "خ", "ج", "س"] }, months: { names: ["محرم", "صفر", "ربيع الأول", "ربيع الثاني", "جمادى الأولى", "جمادى الثانية", "رجب", "شعبان", "رمضان", "شوال", "ذو القعدة", "ذو الحجة", ""], namesAbbr: ["محرم", "صفر", "ربيع الأول", "ربيع الثاني", "جمادى الأولى", "جمادى الثانية", "رجب", "شعبان", "رمضان", "شوال", "ذو القعدة", "ذو الحجة", ""] }, AM: ["ص", "ص", "ص"], PM: ["م", "م", "م"], twoDigitYearMax: 1451, patterns: { d: "dd/MM/yy", D: "dd/MMMM/yyyy", t: "hh:mm tt", T: "hh:mm:ss tt", f: "dd/MMMM/yyyy hh:mm tt", F: "dd/MMMM/yyyy hh:mm:ss tt", M: "dd MMMM", Y: "MMMM, yyyy" }, convert: { _yearInfo: [[746, -21987072e5], [1769, -21681216e5], [3794, -21374496e5], [3748, -21067776e5], [3402, -2076192e6], [2710, -20456064e5], [1334, -20150208e5], [2741, -19844352e5], [3498, -19537632e5], [2980, -19230912e5], [2889, -18925056e5], [2707, -186192e7], [1323, -18313344e5], [2647, -18007488e5], [1206, -17700768e5], [2741, -17394912e5], [1450, -17088192e5], [3413, -16782336e5], [3370, -16475616e5], [2646, -1616976e6], [1198, -15863904e5], [2397, -15558048e5], [748, -15251328e5], [1749, -14945472e5], [1706, -14638752e5], [1365, -14332896e5], [1195, -1402704e6], [2395, -13721184e5], [698, -13414464e5], [1397, -13108608e5], [2994, -12801888e5], [1892, -12495168e5], [1865, -12189312e5], [1621, -11883456e5], [683, -115776e7], [1371, -11271744e5], [2778, -10965024e5], [1748, -10658304e5], [3785, -10352448e5], [3474, -10045728e5], [3365, -9739872e5], [2637, -9434016e5], [685, -912816e6], [1389, -8822304e5], [2922, -8515584e5], [2898, -8208864e5], [2725, -7903008e5], [2635, -7597152e5], [1175, -7291296e5], [2359, -698544e6], [694, -667872e6], [1397, -6372864e5], [3434, -6066144e5], [3410, -5759424e5], [2710, -5453568e5], [2349, -5147712e5], [605, -4841856e5], [1245, -4536e8], [2778, -422928e6], [1492, -392256e6], [3497, -3616704e5], [3410, -3309984e5], [2730, -3004128e5], [1238, -2698272e5], [2486, -2392416e5], [884, -2085696e5], [1897, -177984e6], [1874, -147312e6], [1701, -1167264e5], [1355, -861408e5], [2731, -555552e5], [1370, -248832e5], [2773, 57024e5], [3538, 363744e5], [3492, 670464e5], [3401, 97632e6], [2709, 1282176e5], [1325, 1588032e5], [2653, 1893888e5], [1370, 2200608e5], [2773, 2506464e5], [1706, 2813184e5], [1685, 311904e6], [1323, 3424896e5], [2647, 3730752e5], [1198, 4037472e5], [2422, 4343328e5], [1388, 4650048e5], [2901, 4955904e5], [2730, 5262624e5], [2645, 556848e6], [1197, 5874336e5], [2397, 6180192e5], [730, 6486912e5], [1497, 6792768e5], [3506, 7099488e5], [2980, 7406208e5], [2890, 7712064e5], [2645, 801792e6], [693, 8323776e5], [1397, 8629632e5], [2922, 8936352e5], [3026, 9243072e5], [3012, 9549792e5], [2953, 9855648e5], [2709, 10161504e5], [1325, 1046736e6], [1453, 10773216e5], [2922, 11079936e5], [1748, 11386656e5], [3529, 11692512e5], [3474, 11999232e5], [2726, 12305088e5], [2390, 12610944e5], [686, 129168e7], [1389, 13222656e5], [874, 13529376e5], [2901, 13835232e5], [2730, 14141952e5], [2381, 14447808e5], [1181, 14753664e5], [2397, 1505952e6], [698, 1536624e6], [1461, 15672096e5], [1450, 15978816e5], [3413, 16284672e5], [2714, 16591392e5], [2350, 16897248e5], [622, 1720Line truncated
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.de-DE.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("de-DE", { name: "de-DE", englishName: "German (Germany)", nativeName: "Deutsch (Deutschland)", language: "de", numberFormat: { pattern: ["-n"], ",": ".", ".": ",", groupSizes: [3], negativeInfinity: "-unendlich", positiveInfinity: "+unendlich", percent: { pattern: ["-n%", "n%"], groupSizes: [3], ",": ".", ".": ",", symbol: "%" }, currency: { pattern: ["-n $", "n $"], groupSizes: [3], ",": ".", ".": ",", symbol: "€" } }, calendars: { standard: { "/": ".", firstDay: 1, days: { names: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], namesAbbr: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], namesShort: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"] }, months: { names: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], namesAbbr: ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""] }, AM: null, PM: null, patterns: { d: "dd.MM.yyyy", D: "dddd, d. MMMM yyyy", t: "HH:mm", T: "HH:mm:ss", f: "dddd, d. MMMM yyyy HH:mm", F: "dddd, d. MMMM yyyy HH:mm:ss", M: "d. MMMM" } } } });;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.en-US.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("en-US", { name: "en-US", englishName: "English (United States)" });;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.es-ES.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("es-ES", { name: "es-ES", englishName: "Spanish (Spain, International Sort)", nativeName: "Español (España, alfabetización internacional)", language: "es", numberFormat: { pattern: ["-n"], ",": ".", ".": ",", groupSizes: [3], negativeInfinity: "-Infinito", positiveInfinity: "Infinito", percent: { pattern: ["-n%", "n%"], groupSizes: [3], ",": ".", ".": ",", symbol: "%" }, currency: { pattern: ["-n $", "n $"], groupSizes: [3], ",": ".", ".": ",", symbol: "€" } }, calendars: { standard: { firstDay: 1, days: { names: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], namesAbbr: ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], namesShort: ["D", "L", "M", "X", "J", "V", "S"] }, months: { names: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], namesAbbr: ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""] }, AM: null, PM: null, patterns: { d: "dd/MM/yyyy", D: "dddd, d' de 'MMMM' de 'yyyy", t: "H:mm", T: "H:mm:ss", f: "dddd, d' de 'MMMM' de 'yyyy H:mm", F: "dddd, d' de 'MMMM' de 'yyyy H:mm:ss", M: "d' de 'MMMM", Y: "MMMM' de 'yyyy" } } } });;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.fr-FR.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("fr-FR", { name: "fr-FR", englishName: "French (France)", nativeName: "français (France)", language: "fr", numberFormat: { pattern: ["-n"], ",": " ", ".": ",", groupSizes: [3], NaN: "Non numérique", negativeInfinity: "-Infini", positiveInfinity: "+Infini", percent: { pattern: ["-n%", "n%"], groupSizes: [3], ",": " ", ".": ",", symbol: "%" }, currency: { pattern: ["-n $", "n $"], groupSizes: [3], ",": " ", ".": ",", symbol: "€" } }, calendars: { standard: { "/": "/", ":": ":", firstDay: 1, days: { names: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], namesAbbr: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], namesShort: ["di", "lu", "ma", "me", "je", "ve", "sa"] }, months: { names: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], namesAbbr: ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""] }, AM: null, PM: null, eras: [{ name: "ap. J.-C.", start: null, offset: 0 }], patterns: { d: "dd/MM/yyyy", D: "dddd d MMMM yyyy", t: "HH:mm", T: "HH:mm:ss", f: "dddd d MMMM yyyy HH:mm", F: "dddd d MMMM yyyy HH:mm:ss", M: "d MMMM" } } } });;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.vi-VN.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("vi-VN", { name: "vi-VN", englishName: "Vietnamese (Vietnam)", nativeName: "Tiếng Việt (Việt Nam)", language: "vi", numberFormat: { ",": ".", ".": ",", percent: { ",": ".", ".": "," }, currency: { pattern: ["-n $", "n $"], ",": ".", ".": ",", symbol: "₫" } }, calendars: { standard: { firstDay: 1, days: { names: ["Chủ Nhật", "Thứ Hai", "Thứ Ba", "Thứ Tư", "Thứ Năm", "Thứ Sáu", "Thứ Bảy"], namesAbbr: ["CN", "Hai", "Ba", "Tư", "Năm", "Sáu", "Bảy"], namesShort: ["C", "H", "B", "T", "N", "S", "B"] }, months: { names: ["Tháng Giêng", "Tháng Hai", "Tháng Ba", "Tháng Tư", "Tháng Năm", "Tháng Sáu", "Tháng Bảy", "Tháng Tám", "Tháng Chín", "Tháng Mười", "Tháng Mười Một", "Tháng Mười Hai", ""], namesAbbr: ["Thg1", "Thg2", "Thg3", "Thg4", "Thg5", "Thg6", "Thg7", "Thg8", "Thg9", "Thg10", "Thg11", "Thg12", ""] }, AM: ["SA", "sa", "SA"], PM: ["CH", "ch", "CH"], patterns: { d: "dd/MM/yyyy", D: "dd MMMM yyyy", f: "dd MMMM yyyy h:mm tt", F: "dd MMMM yyyy h:mm:ss tt", M: "dd MMMM" } } } });;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* filename: ej.culture.zh-CN.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
|
||||
ej.addCulture("zh-CN", { name: "zh-CN", englishName: "Chinese (Simplified, China)", nativeName: "中文(中华人民共和国)", language: "zh-CHS", numberFormat: { pattern: ["-n"], ",": ",", ".": ".", groupSizes: [3], NaN: "非数字", negativeInfinity: "负无穷大", positiveInfinity: "正无穷大", percent: { pattern: ["-n%", "n%"], groupSizes: [3], ",": ",", ".": ".", symbol: "%" }, currency: { pattern: ["$-n", "$n"], groupSizes: [3], ",": ",", ".": ".", symbol: "¥" } }, calendars: { standard: { firstDay: 1, days: { names: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], namesAbbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], namesShort: ["日", "一", "二", "三", "四", "五", "六"] }, months: { names: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], namesAbbr: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""] }, AM: ["上午", "上午", "上午"], PM: ["下午", "下午", "下午"], patterns: { d: "yyyy/M/d", D: "yyyy'年'M'月'd'日'", t: "H:mm", T: "H:mm:ss", f: "yyyy'年'M'月'd'日' H:mm", F: "yyyy'年'M'月'd'日' H:mm:ss", M: "M'月'd'日'", Y: "yyyy'年'M'月'" } } } });;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.ar-AE.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("arAE")<0&&t.locales.push("arAE");n.fn.Locale_arAE=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["ar-AE"]={addNewText:"اضف جديد",emptyResultText:"لا اقتراحات",actionFailure:"عدم وجود الحقل المحدد في مصدر البيانات الواردة",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["ar-AE"]={buttonText:{apply:"تطبيق",cancel:"إلغاء",swatches:"حوامل"},tooltipText:{switcher:"الجلاد",addButton:"إضافة اللون",basic:"الأساسية",monoChrome:"أحادية اللون",flatColors:"الألوان مسطحة",seaWolf:"ذئب البحر",webColors:"الألوان على شبكة الإنترنت",sandy:"رملي",pinkShades:"ظلال الوردي",misty:"ضبابي",citrus:"أشجار الحمضيات",vintage:"خمر",moonLight:"ضوء القمر",candyCrush:"الحلوى الإزدحام",currentColor:"اللون الحالي",selectedColor:"اختيار اللون"}};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["ar-AE"]={watermarkText:"أدخل قيمة"};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["ar-AE"]={watermarkText:"حدد تاريخ",buttonText:"اليوم"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["ar-AE"]={ButtonText:{apply:"تطبيق",cancel:"إلغاء",reset:"إعادة تعيين"},watermarkText:"حدد المدى",customPicker:"المنتقى مخصص"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["ar-AE"]={watermarkText:"حدد التاريخ والوقت",buttonText:{today:"اليوم",timeNow:"الوقت الآن",done:"فعله",timeTitle:"مرة"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["ar-AE"]={tooltip:{close:"قريب",collapse:"انهيار",restore:"استعادة",maximize:"تعظيم",minimize:"خفض",expand:"وسع",unPin:"نزع الدبوس",pin:"دبوس"},closeIconTooltip:"أغلق"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["ar-AE"]={emptyResultText:"لا اقتراحات،",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["ar-AE"]={noRecordsTemplate:"لا توجد سجلات",actionFailureTemplate:"أخفق الطلب"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["ar-AE"]={titleText:"قائمة طعام"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["ar-AE"]={placeHolderText:"اكتب الرمز المعروض",CustomErrorMessage:"كلمة التحقق غير صالحة"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["ar-AE"]={SortNoSmaller:"نوع من الأصغر إلى الأكبر",SortNoLarger:"نوع من الأكبر إلى الأصغر",SortTextAscending:"نوع الألف إلى الياء",SortTextDescending:"نوع Z إلى A",SortDateOldest:"النوع الأقدم من قبل",SortDateNewest:"النوع الجديد من قبل",SortByColor:"الترتيب حسب اللون",SortByCellColor:"ترتيب بواسطة خلية اللون",SortByFontColor:"فرز حسب لون الخط",FilterByColor:"تصفية حسب اللون",CustomSort:"فرز مخصص",FilterByCellColor:"مرشح من قبل خلية اللون",FilterByFontColor:"تصفية حسب لون الخط",ClearFilter:"تصفية واضحة",NumberFilter:"عدد المرشحات",GuidFilter:"مرشحات GUD",TextFilter:"مرشحات النص",DateFilter:"تاريخ مرشحات",SelectAll:"اختر الكل",DateTimeFilter:"Date Time Filters",Blanks:"الفراغات",Search:"بحث",Showrowswhere:"إظهار الصفوف حيث",NumericTextboxWaterMark:"أدخل قيمة",StringMenuOptions:[{text:"متساوي",value:"equal"},{text:"غير متساوي",value:"notequal"},{text:"ابدا ب",value:"startswith"},{text:"ينتهي مع",value:"endswith"},{text:"يحتوي على",value:"contains"},{text:"تصفية مخصصة",value:"customfilter"}],NumberMenuOptions:[{text:"متساوي",value:"equal"},{text:"غير متساوي",value:"notequal"},{text:"أقل من",value:"lessthan"},{text:"أقل من أو يساوي",value:"lessthanorequal"},{text:"اعظم من",value:"greaterthan"},{text:"أكبر من أو يساوي",value:"greaterthanorequal"},{text:"ما بين",value:"between"},{text:"تصفية مخصصة",value:"customfilter"}],GuidMenuOptions:[{text:"متساوي",value:"equal"},{text:"غير متساوي",value:"notequal"},{text:"تصفية مخصصة",value:"customfilter"}],DateMenuOptions:[{text:"متساوي",value:"equal"},{text:"غير متساوي",value:"notequal"},{textLine truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.de-DE.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("deDE")<0&&t.locales.push("deDE");n.fn.Locale_deDE=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["de-DE"]={addNewText:"Neue hinzufügen",emptyResultText:"Kein Vorschlag",actionFailure:"Das angegebene Feld ist nicht in der Datenquelle erhalten",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["de-DE"]={buttonText:{apply:"Anwenden",cancel:"Abbrechen",swatches:"Farbfelder"},tooltipText:{switcher:"Umschalter",addButton:"Farbe hinzufügen",basic:"Basic",monoChrome:"Einfarbig",flatColors:"Flache Farben",seaWolf:"See Wolf",webColors:"Webfarben",sandy:"Sandig",pinkShades:"Rosa Schatten",misty:"misty",citrus:"Zitrusfrucht",vintage:"Jahrgang",moonLight:"Mondlicht",candyCrush:"Candy Crush",currentColor:"Aktuelle Frabe",selectedColor:"Ausgewählte Farbe"}};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["de-DE"]={watermarkText:"Geben Sie Wert"};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["de-DE"]={watermarkText:"Datum wählen",buttonText:"Heute"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["de-DE"]={ButtonText:{apply:"Übernehmen",cancel:"Abbrechen",reset:"Zurücksetzen"},watermarkText:"Wählen Sie Bereich",customPicker:"Benutzerdefinierter Auswähler"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["de-DE"]={watermarkText:"Zeit auswählen",buttonText:{today:"Heute",timeNow:"Aktuelle Zeit",done:"Fertig",timeTitle:"Zeit"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["de-DE"]={tooltip:{close:"Schließen",collapse:"Ausblenden",restore:"Wiederherstellen",maximize:"Maximieren",minimize:"Minimeiren",expand:"Erweitern",unPin:"Entfernen",pin:"Anheften"},closeIconTooltip:"schließen"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["de-DE"]={emptyResultText:"Keine Vorschläge,",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["de-DE"]={noRecordsTemplate:"Keine Aufzeichnungen gefunden",actionFailureTemplate:"Die Anforderung ist fehlgeschlagen"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["de-DE"]={titleText:"Speisekarte"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["de-DE"]={placeHolderText:"Geben Sie den angezeigten Code ein",CustomErrorMessage:"Ungültiges Captcha"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["de-DE"]={SortNoSmaller:"Von Klein zu Groß Sortieren",SortNoLarger:"Von Groß zu Klein Sortieren",SortTextAscending:"Von A zu Z Sortieren",SortTextDescending:"Von Z zu A Sortieren",SortDateOldest:"Nach Datum sortieren (absteigend)",SortDateNewest:"Nach Datum sortieren (aufsteigend)",SortByColor:"Nach Farbe sortieren",SortByCellColor:"Nach Zellenfarbe sortieren",SortByFontColor:"Nach Schriftfarbe sortieren",FilterByColor:"Nach Farbe filtern",CustomSort:"Benutzerdefiniertes Sortieren",FilterByCellColor:"Nach Zellenfarbe filtern",FilterByFontColor:"Nach Schriftfarbe filtern",ClearFilter:"Filter löschen",NumberFilter:"Nummern Filter",GuidFilter:"Guid Filter",TextFilter:"Text Filter",DateFilter:"Datum Filter",DateTimeFilter:"Zeit Filter",SelectAll:"Alles auswählen",Blanks:"Leer",Search:"Suchen",Showrowswhere:"Zeile anzeigen wo",NumericTextboxWaterMark:"Geben Sie Wert",StringMenuOptions:[{text:"Gleich",value:"equal"},{text:"Ungleich",value:"notequal"},{text:"Startet mit",value:"startswith"},{text:"Endet mit",value:"endswith"},{text:"Beinhalted",value:"contains"},{text:"Benutzerdefiniertes Filtern",value:"customfilter"}],NumberMenuOptions:[{text:"Gleich",value:"equal"},{text:"Ungleich",value:"notequal"},{text:"Kleiner als",value:"lessthan"},{text:"Kleiner oder Gleich",value:"lessthanorequal"},{text:"Größer als",value:"greaterthan"},{text:"Größer oder Gleich",value:"greaterthanorequal"},{text:"Zwischen",value:"between"},{text:"Benutzerdefinierte Filter",value:"customfilter"}],GuidMenuOptions:[{text:"Gleich",value:"equal"},{text:"Ungleich",value:"notequal"},{text:"Benutzerdefiniertes Filtern",value:"customfilter"}],DateMenuOptions:[{text:"Gleich",value:"equal"},{text:"Ungleich",value:"notequal"},{text:"Kleiner als",value:"lessthan"},{text:"Kleiner oder Gleich",value:"lessthanorequal"},{text:"Größer als",value:"greaterthan"},{text:"Größer oder Gleich",value:"greaterthanorequal"},{text:"Zwischen",value:"between"},{text:"Benutzerdefinierte Filter",value:"customfilter"}],DatetimeMenuOptions:[{text:"Gleich",value:"equal"},{text:"Ungleich",value:"notequal"},{text:"Kleiner als",value:"lessthan"},{text:"Kleiner oder Gleich",value:"lessthanorequal"},{text:"Größer als",value:"greaterthan"},{text:"Größer oLine truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.en-GB.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("enGB")<0&&t.locales.push("enGB");n.fn.Locale_enGB=function(n){switch(n){case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["en-GB"]={buttonText:{apply:"Apply",cancel:"Cancel",swatches:"Swatches"},tooltipText:{switcher:"Switcher",addButton:"Add colour",basic:"Basic",monoChrome:"Mono Chrome",flatColors:"Flat colours",seaWolf:"Sea Wolf",webColors:"Web colours",sandy:"Sandy",pinkShades:"Pink Shades",misty:"Misty",citrus:"Citrus",vintage:"Vintage",moonLight:"Moon Light",candyCrush:"Candy Crush",currentColor:"Current colour",selectedColor:"Selected colour"}};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["en-GB"]={watermarkText:"Select date",buttonText:"Today"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["en-GB"]={ButtonText:{apply:"Apply",cancel:"Cancel",reset:"Reset"},watermarkText:"Select Range",customPicker:"Custom Picker"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["en-GB"]={watermarkText:"Select datetime",buttonText:{today:"Today",timeNow:"Time Now",done:"Done",timeTitle:"Time"}};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["en-GB"]={emptyResultText:"No suggestions,",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["en-GB"]={noRecordsTemplate:"No Records Found",actionFailureTemplate:"The Request Failed"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["en-GB"]={titleText:"Menu"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["en-GB"]={placeHolderText:"Type the code shown",CustomErrorMessage:"Invalid Captcha"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["en-GB"]={SortNoSmaller:"Sort Smallest to Largest",SortNoLarger:"Sort Largest to Smallest",SortTextAscending:"Sort A to Z",SortTextDescending:"Sort Z to A",SortDateOldest:"Sort by Oldest",SortDateNewest:"Sort by Newest",SortByColor:"Sort By Color",SortByCellColor:"Sort by Cell Color",SortByFontColor:"Sort by Font Color",FilterByColor:"Filter By Color",CustomSort:"Custom Sort",FilterByCellColor:"Filter by Cell Color",FilterByFontColor:"Filter by Font Color",ClearFilter:"Clear Filter",NumberFilter:"Number Filters",GuidFilter:"Guid Filters",TextFilter:"Text Filters",DateFilter:"Date Filters",DateTimeFilter:"Date Time Filters",SelectAll:"Select All",Blanks:"Blanks",Search:"Search",Showrowswhere:"Show rows where",NumericTextboxWaterMark:"Enter value",StringMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Starts With",value:"startswith"},{text:"Ends With",value:"endswith"},{text:"Contains",value:"contains"},{text:"Custom Filter",value:"customfilter"}],NumberMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Less Than",value:"lessthan"},{text:"Less Than Or Equal",value:"lessthanorequal"},{text:"Greater Than",value:"greaterthan"},{text:"Greater Than Or Equal",value:"greaterthanorequal"},{text:"Between",value:"between"},{text:"Custom Filter",value:"customfilter"}],GuidMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Custom Filter",value:"customfilter"}],DateMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Less Than",value:"lessthan"},{text:"Less Than Or Equal",value:"lessthanorequal"},{text:"Greater Than",value:"greaterthan"},{text:"Greater Than Or Equal",value:"greaterthanorequal"},{text:"Between",value:"between"},{text:"Custom Filter",value:"customfilter"}],DatetimeMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Less Than",value:"lessthan"},{text:"Less Than Or Equal",value:"lessthanorequal"},{text:"Greater Than",value:"greaterthan"},{text:"Greater Than Or Equal",value:"greaterthanorequal"},{text:"Between",value:"between"},{text:"Custom Filter",value:"customfilter"}],Top10MenuOptions:[{text:"Top",value:"top"},{text:"Bottom",value:"bottom"}],title:"Custom Filter",PredicateAnd:"AND",PredicateOr:"OR",OK:"OK",MatchCase:"Match Case",Cancel:"Cancel",NoResult:"No Matches Found",CheckBoxStatusMsg:"Not all items showing",DatePickerWaterMark:"Select date",DateTimePickerWaterMark:"Select date time",True:"true",False:"false",AddToFilter:"Add current selection to filter"};break;case"ejGrid":t.Grid.Locale=t.Grid.Locale||{};t.Grid.Locale["en-GB"]={EmptyRecord:"No records to display",GroupDropArea:"Drag a column header here to group its column",DeleteOperationAlert:"No records selected for delete operation",EditOperationAlert:"No records selected for edit operation",SaveButton:"Save",OKButton:"OK",CancelButton:"Cancel",EditFormTitle:"Details of ",AddFormTitle:"Add New Record",GroupCaptionFormat:"{{:headerText}}: {{:key}} - {{:count}} {{if count == 1 }} item {{else}} itLine truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.en-US.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("enUS")<0&&t.locales.push("enUS");n.fn.Locale_enUS=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["en-US"]={addNewText:"Add New",emptyResultText:"No suggestions",actionFailure:"The specified field doesn't exist in the given data source",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["en-US"]={buttonText:{apply:"Apply",cancel:"Cancel",swatches:"Swatches"},tooltipText:{switcher:"Switcher",addButton:"Add color",basic:"Basic",monoChrome:"Mono chrome",flatColors:"Flat colors",seaWolf:"Sea wolf",webColors:"Web colors",sandy:"Sandy",pinkShades:"Pink shades",misty:"Misty",citrus:"Citrus",vintage:"Vintage",moonLight:"Moon light",candyCrush:"Candy crush",currentColor:"Current color",selectedColor:"Selected color"}};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["en-US"]={watermarkText:"Select date",buttonText:"Today"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["en-US"]={ButtonText:{apply:"Apply",cancel:"Cancel",reset:"Reset"},watermarkText:"Select range",customPicker:"Custom picker"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["en-US"]={watermarkText:"Select datetime",buttonText:{today:"Today",timeNow:"Time Now",done:"Done",timeTitle:"Time"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["en-US"]={tooltip:{close:"Close",collapse:"Collapse",restore:"Restore",maximize:"Maximize",minimize:"Minimize",expand:"Expand",unPin:"UnPin",pin:"Pin"},closeIconTooltip:"close"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["en-US"]={emptyResultText:"No suggestions,",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["en-US"]={noRecordsTemplate:"No Records Found",actionFailureTemplate:"The Request Failed"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["en-US"]={titleText:"Menu"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["en-US"]={placeHolderText:"Type the code shown",CustomErrorMessage:"Invalid Captcha"};break;case"ejNumericTextbox":t.NumericTextbox.Locale=t.NumericTextbox.Locale||{};t.NumericTextbox.Locale["en-US"]={watermarkText:"Enter value"};break;case"ejPercentageTextbox":t.PercentageTextbox.Locale=t.PercentageTextbox.Locale||{};t.PercentageTextbox.Locale["en-US"]={watermarkText:"Enter value"};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["en-US"]={watermarkText:"Enter value"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["en-US"]={SortNoSmaller:"Sort Smallest to Largest",SortNoLarger:"Sort Largest to Smallest",SortTextAscending:"Sort A to Z",SortTextDescending:"Sort Z to A",SortDateOldest:"Sort by Oldest",SortDateNewest:"Sort by Newest",SortByColor:"Sort By Color",SortByCellColor:"Sort by Cell Color",SortByFontColor:"Sort by Font Color",FilterByColor:"Filter By Color",CustomSort:"Custom Sort",FilterByCellColor:"Filter by Cell Color",FilterByFontColor:"Filter by Font Color",ClearFilter:"Clear Filter",NumberFilter:"Number Filters",GuidFilter:"Guid Filters",TextFilter:"Text Filters",DateFilter:"Date Filters",DateTimeFilter:"Date Time Filters",SelectAll:"Select All",Blanks:"Blanks",Search:"Search",Showrowswhere:"Show rows where",NumericTextboxWaterMark:"Enter value",StringMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Starts With",value:"startswith"},{text:"Ends With",value:"endswith"},{text:"Contains",value:"contains"},{text:"Custom Filter",value:"customfilter"}],NumberMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Less Than",value:"lessthan"},{text:"Less Than Or Equal",value:"lessthanorequal"},{text:"Greater Than",value:"greaterthan"},{text:"Greater Than Or Equal",value:"greaterthanorequal"},{text:"Between",value:"between"},{text:"Custom Filter",value:"customfilter"}],GuidMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Custom Filter",value:"customfilter"}],DateMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Less Than",value:"lessthan"},{text:"Less Than Or Equal",value:"lessthanorequal"},{text:"Greater Than",value:"greaterthan"},{text:"Greater Than Or Equal",value:"greaterthanorequal"},{text:"Between",value:"between"},{text:"Custom Filter",value:"customfilter"}],DatetimeMenuOptions:[{text:"Equal",value:"equal"},{text:"Not Equal",value:"notequal"},{text:"Less Than",value:"lessthan"},{text:"Less Than Or Equal",value:"lessthanorequal"},{text:"Greater Than",value:"greaterthan"},{text:"Greater Than Or Equal",value:"greaterthanorequal"},{text:"Between",value:"between"}Line truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.es-ES.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("esES")<0&&t.locales.push("esES");n.fn.Locale_esES=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["es-ES"]={addNewText:"Agregar nuevo",emptyResultText:"No hay sugerencias",actionFailure:"El campo especificado no existe en la fuente de datos dada",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["es-ES"]={buttonText:{apply:"Aplicar",cancel:"Cancelar",swatches:"Muestras"},tooltipText:{switcher:"conmutador",addButton:"Añadir color",basic:"BASIC",monoChrome:"Monocromo",flatColors:"Colores planos",seaWolf:"Lobo marino",webColors:"Colores Web",sandy:"Arenoso",pinkShades:"tonos rosas",misty:"brumoso",citrus:"Agrios",vintage:"Vendimia",moonLight:"luz de la luna",candyCrush:"Candy Crush",currentColor:"Color actual",selectedColor:"Color seleccionado"}};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["es-ES"]={watermarkText:"introducir el valor"};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["es-ES"]={watermarkText:"Seleccione fecha",buttonText:"Hoy"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["es-ES"]={ButtonText:{apply:"aplicar",cancel:"cancelar",reset:"Reiniciar"},watermarkText:"seleccionar rango",customPicker:"selector personalizado"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["es-ES"]={watermarkText:"seleccione fecha y hora",buttonText:{today:"Hoy",timeNow:"Ahora",done:"Hecho",timeTitle:"Hora"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["es-ES"]={tooltip:{close:"Cerca",collapse:"Colapso",restore:"Restaurar",maximize:"Maximizar",minimize:"Minimizar",expand:"Expandir",unPin:"Desprender",pin:"Alfiler"},closeIconTooltip:"cerca"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["es-ES"]={emptyResultText:"No hay sugerencias,",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["es-ES"]={noRecordsTemplate:"No se encontrarón archivos",actionFailureTemplate:"La solicitud falló"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["es-ES"]={titleText:"menú"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["es-ES"]={placeHolderText:"Escribe el código mostrado",CustomErrorMessage:"Captcha inválido"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["es-ES"]={SortNoSmaller:"Ordenar de menor a mayor",SortNoLarger:"Ordenar de mayor a menor",SortTextAscending:"Ordenar de A a Z",SortTextDescending:"Ordenar de Z a A",SortDateOldest:"Ordenar por Más antiguos",SortDateNewest:"Ordenar por Más reciente",SortByColor:"Ordenar por color",SortByCellColor:"Ordenar por color de la célula",SortByFontColor:"Ordenar por Color de fuente",FilterByColor:"Filtrar por color",CustomSort:"Orden personalizado",FilterByCellColor:"Filtrar por color de la célula",FilterByFontColor:"Filtrar por color de fuente",ClearFilter:"Borrar filtro",NumberFilter:"Número Filtros",GuidFilter:"Gud Filtros",TextFilter:"Filtros de texto",DateFilter:"Filtros de fecha",DateTimeFilter:"Fecha filtros de tiempo",SelectAll:"Seleccionar todo",Blanks:"Los espacios en blanco",Search:"Buscar",Showrowswhere:"Mostrar filas",NumericTextboxWaterMark:"introducir el valor",StringMenuOptions:[{text:"Igual",value:"equal"},{text:"No es equal",value:"notequal"},{text:"Comienza con",value:"startswith"},{text:"Termina con",value:"endswith"},{text:"contiene",value:"contains"},{text:"Filtro personalizado",value:"customfilter"}],NumberMenuOptions:[{text:"Igual",value:"equal"},{text:"No es equal",value:"notequal"},{text:"Menos que",value:"lessthan"},{text:"Menor o equal",value:"lessthanorequal"},{text:"Mas grande que",value:"greaterthan"},{text:"Mayor que o equal",value:"greaterthanorequal"},{text:"Entre",value:"between"},{text:"Filtro personalizado",value:"customfilter"}],GuidMenuOptions:[{text:"Igual",value:"equal"},{text:"No es equal",value:"notequal"},{text:"Filtro personalizado",value:"customfilter"}],DateMenuOptions:[{text:"Igual",value:"equal"},{text:"No es equal",value:"notequal"},{text:"Menos que",value:"lessthan"},{text:"Menor o equal",value:"lessthanorequal"},{text:"Mas grande que",value:"greaterthan"},{text:"Mayor que o equal",value:"greaterthanorequal"},{text:"Entre",value:"between"},{text:"Filtro personalizado",value:"customfilter"}],DatetimeMenuOptions:[{text:"Igual",value:"equal"},{text:"No es equal",value:"notequal"},{text:"Menos que",value:"lessthan"},{text:"Menor o equal",value:"lessthanorequal"},{text:"Mas grande que",value:"greaterthan"},{text:"Mayor que o equal",value:"greaterthanorequal"},{text:"Entre",value:"between"},{text:"Filtro personalizado",value:"custoLine truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.fr-FR.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("frFR")<0&&t.locales.push("frFR");n.fn.Locale_frFR=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["fr-FR"]={addNewText:"Ajouter un nouveau",emptyResultText:"Pas de suggestions",actionFailure:"Le champ spécifié n'existe pas dans la source de données donné",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["fr-FR"]={buttonText:{apply:"Appliquer",cancel:"Annuler",swatches:"Échantillons"},tooltipText:{switcher:"Commutateur",addButton:"Ajouter une couleur",basic:"De base",monoChrome:"Monochrome",flatColors:"Couleurs plates",seaWolf:"Loup de mer",webColors:"Couleurs Web",sandy:"Sablonneux",pinkShades:"Pink Shades",misty:"Brumeux",citrus:"Agrumes",vintage:"Cru",moonLight:"clair de lune",candyCrush:"Candy Crush",currentColor:"Couleur actuelle",selectedColor:"Couleur sélectionnée"}};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["fr-FR"]={watermarkText:"entrer la valeur"};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["fr-FR"]={watermarkText:"Sélectionner une date",buttonText:"Aujourd'hui"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["fr-FR"]={ButtonText:{apply:"Appliquer",cancel:"Annuler",reset:"Réinitialiser"},watermarkText:"Sélectionner une plage",customPicker:"Sélecteur personnalisé"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["fr-FR"]={watermarkText:"Sélectionnez l'heure de la date",buttonText:{today:"Aujourd'hui",timeNow:"C'est l'heure",done:"Terminé",timeTitle:"Temps"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["fr-FR"]={tooltip:{close:"Fermer",collapse:"Effondrement",restore:"Restaurer",maximize:"Maximiser",minimize:"Minimiser",expand:"Développer",unPin:"Détacher",pin:"Épingle"},closeIconTooltip:"Fermer"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["fr-FR"]={emptyResultText:"Pas de suggestions,",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["fr-FR"]={noRecordsTemplate:"Aucun enregistrement trouvé",actionFailureTemplate:"La demande a échoué"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["fr-FR"]={titleText:"Menu"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["fr-FR"]={placeHolderText:"Entrer le code indiqué",CustomErrorMessage:"Captcha invalide"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["fr-FR"]={SortNoSmaller:"Trier petit au plus grand",SortNoLarger:"Trier grand au plus petit",SortTextAscending:"Trier de A à Z",SortTextDescending:"Trier Z à A",SortDateOldest:"Trier par Le plus ancien",SortDateNewest:"Trier par Date",SortByColor:"Trier par couleur",SortByCellColor:"Trier par Portable",SortByFontColor:"Trier par Couleur de police",FilterByColor:"Filtrer par couleur",CustomSort:"Tri personnalisé",FilterByCellColor:"Filtrer par Portable",FilterByFontColor:"Filtrer par couleur de police",ClearFilter:"Clair Filtrer",NumberFilter:"Filtres numériques",GuidFilter:"Filtres Gud",TextFilter:"Filtres de texte",DateFilter:"La date Filtres",DateTimeFilter:"Date Heure Filtres",SelectAll:"Sélectionner tout",Blanks:"Blanks",Search:"Chercher",Showrowswhere:"Afficher les lignes où",NumericTextboxWaterMark:"Entrer la valeur",StringMenuOptions:[{text:"Égal",value:"equal"},{text:"Inequal",value:"notequal"},{text:"Commence avec",value:"startswith"},{text:"Se termine par",value:"endswith"},{text:"contient",value:"contains"},{text:"Filtre personnalisé",value:"customfilter"}],NumberMenuOptions:[{text:"Égal",value:"equal"},{text:"Inequal",value:"notequal"},{text:"Moins que",value:"lessthan"},{text:"Inférieur ou equal",value:"lessthanorequal"},{text:"Plus grand que",value:"greaterthan"},{text:"Meilleur que ou equal",value:"greaterthanorequal"},{text:"Entre",value:"between"},{text:"Filtre personnalisé",value:"customfilter"}],GuidMenuOptions:[{text:"Égal",value:"equal"},{text:"Inequal",value:"notequal"},{text:"Filtre personnalisé",value:"customfilter"}],DateMenuOptions:[{text:"Égal",value:"equal"},{text:"Inequal",value:"notequal"},{text:"Moins que",value:"lessthan"},{text:"Inférieur ou equal",value:"lessthanorequal"},{text:"Plus grand que",value:"greaterthan"},{text:"Meilleur que ou equal",value:"greaterthanorequal"},{text:"Entre",value:"between"},{text:"Filtre personnalisé",value:"customfilter"}],DatetimeMenuOptions:[{text:"Égal",value:"equal"},{text:"Inequal",value:"notequal"},{text:"Moins que",value:"lessthan"},{text:"Inférieur ou equal",value:"lessthanorequal"},{text:"Plus grand que",value:"greaterthan"},{text:"Meilleur que ou equal",value:"greaterthanorequal"},{texLine truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.vi-VN.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.indexOf("viVN")<0&&t.locales.push("viVN");n.fn.Locale_viVN=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["vi-VN"]={addNewText:"Thêm mới",emptyResultText:"Chưa có đề xuất",actionFailure:"Các lĩnh vực được chỉ định không tồn tại trong nguồn dữ liệu cho",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["vi-VN"]={buttonText:{apply:"Ứng dụng",cancel:"hủy bỏ",swatches:"Swatches"},tooltipText:{switcher:"Switcher",addButton:"Thêm màu",basic:"Căn bản",monoChrome:"Monochrome",flatColors:"Màu sắc phẳng",seaWolf:"biển Wolf",webColors:"Màu sắc Web",sandy:"cát",pinkShades:"Shades hồng",misty:"mơ hồ",citrus:"Citrus",vintage:"Đồ cũ",moonLight:"ánh trăng",candyCrush:"candy crush",currentColor:"Màu hiện tại",selectedColor:"Màu được chọn"}};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["vi-VN"]={watermarkText:"nhập giá trị"};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["vi-VN"]={watermarkText:"Chọn ngày",buttonText:"Hôm nay"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["vi-VN"]={ButtonText:{apply:"Ứng dụng",cancel:"hủy bỏ",reset:"Thiết lập lại"},watermarkText:"Chọn Phạm vi",customPicker:"tuỳ chỉnh Picker"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["vi-VN"]={watermarkText:"Chọn thời gian ngày",buttonText:{today:"Hôm nay",timeNow:"Hiện tại",done:"Làm xong",timeTitle:"Thời gian"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["vi-VN"]={tooltip:{close:"Gần",collapse:"Sự sụp đổ",restore:"khôi phục",maximize:"Tối đa hóa",minimize:"Giảm thiểu",expand:"Phát triển",unPin:"tháo kim găm",pin:"Ghim"},closeIconTooltip:"gần"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["vi-VN"]={emptyResultText:"Không đề nghị,",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["vi-VN"]={noRecordsTemplate:"Không có dữ liệu được tìm thấy",actionFailureTemplate:"Yêu cầu Không thành công"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["vi-VN"]={titleText:"Thực đơn"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["vi-VN"]={placeHolderText:"Nhập mã được hiển thị",CustomErrorMessage:"Captcha không hợp lệ"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["vi-VN"]={SortNoSmaller:"Sắp xếp nhỏ nhất đến lớn nhất",SortNoLarger:"Sắp xếp lớn nhất đến nhỏ nhất",SortTextAscending:"Sắp xếp từ A đến Z",SortTextDescending:"Sắp xếp từ Z đến A",SortDateOldest:"Sắp xếp theo Cũ nhất",SortDateNewest:"Sắp xếp theo Mới nhất",SortByColor:"Sắp xếp theo màu",SortByCellColor:"Sắp xếp theo màu di động",SortByFontColor:"Sắp xếp theo Font Color",FilterByColor:"Lọc theo màu",CustomSort:"tuỳ theo",FilterByCellColor:"Lọc theo màu di động",FilterByFontColor:"Lọc theo Font Color",ClearFilter:"Clear Filter",NumberFilter:"Bộ lọc số",GuidFilter:"Bộ lọc gud",TextFilter:"Bộ lọc văn bản",DateFilter:"Bộ lọc gia ngày",DateTimeFilter:"Bộ lọc Ngày Giờ",SelectAll:"Chọn tất cả",Blanks:"Blanks",Search:"Tìm kiếm",Showrowswhere:"Hiển thị các hàng nơi",NumericTextboxWaterMark:"nhập giá trị",StringMenuOptions:[{text:"bằng",value:"equal"},{text:"Không công bằng",value:"notequal"},{text:"Bắt đầu với",value:"startswith"},{text:"Kết thúc Với",value:"endswith"},{text:"Chứa đựng",value:"contains"},{text:"bộ lọc tùy chỉnh",value:"customfilter"}],NumberMenuOptions:[{text:"bằng",value:"equal"},{text:"Không công bằng",value:"notequal"},{text:"Ít hơn",value:"lessthan"},{text:"Less Than Hoặc bình đẳng",value:"lessthanorequal"},{text:"Lớn hơn",value:"greaterthan"},{text:"Lớn hơn hoặc bằng",value:"greaterthanorequal"},{text:"Giữa",value:"between"},{text:"bộ lọc tùy chỉnh",value:"customfilter"}],GuidMenuOptions:[{text:"bằng",value:"equal"},{text:"Không công bằng",value:"notequal"},{text:"bộ lọc tùy chỉnh",value:"customfilter"}],DateMenuOptions:[{text:"bằng",value:"equal"},{text:"Không công bằng",value:"notequal"},{text:"Ít hơn",value:"lessthan"},{text:"Less Than Hoặc bình đẳng",value:"lessthanorequal"},{text:"Lớn hơn",value:"greaterthan"},{text:"Lớn hơn hoặc bằng",value:"greaterthanorequal"},{text:"Giữa",value:"between"},{text:"bộ lọc tùy chỉnh",value:"customfilter"}],DatetiLine truncated
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.zh-CN.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
(function(n,t){var i,r;t.locales.push("zhCN");n.fn.Locale_zhCN=function(n){switch(n){case"ejAutocomplete":t.Autocomplete.Locale=t.Autocomplete.Locale||{};t.Autocomplete.Locale["zh-CN"]={addNewText:"添新",emptyResultText:"没有建议",actionFailure:"指定字段中不定的数据源存在",watermarkText:" "};break;case"ejColorPicker":t.ColorPicker.Locale=t.ColorPicker.Locale||{};t.ColorPicker.Locale["zh-CN"]={buttonText:{apply:"应用",cancel:"取消",swatches:"色板"},tooltipText:{switcher:"切换器",addButton:"添加颜色",basic:"基本",monoChrome:"单色铬",flatColors:"平的颜色",seaWolf:"海狼",webColors:"网颜色",sandy:"沙",pinkShades:"桃红色树荫",misty:"蒙蒙",citrus:"柑橘",vintage:"葡萄酒",moonLight:"月光",candyCrush:"糖果粉碎",currentColor:"当前颜色",selectedColor:"所选颜色"}};break;case"ejCurrencyTextbox":t.CurrencyTextbox.Locale=t.CurrencyTextbox.Locale||{};t.CurrencyTextbox.Locale["zh-CN"]={watermarkText:"输入值"};break;case"ejDatePicker":t.DatePicker.Locale=t.DatePicker.Locale||{};t.DatePicker.Locale["zh-CN"]={watermarkText:"选择日期",buttonText:"今天"};break;case"ejDateRangePicker":t.DateRangePicker.Locale=t.DateRangePicker.Locale||{};t.DateRangePicker.Locale["zh-CN"]={ButtonText:{apply:"应用",cancel:"取消",reset:"重启"},watermarkText:"选择范围",customPicker:"自定义选择器"};break;case"ejDateTimePicker":t.DateTimePicker.Locale=t.DateTimePicker.Locale||{};t.DateTimePicker.Locale["zh-CN"]={watermarkText:"选择日期时间",buttonText:{today:"今天",timeNow:"现在时间",done:"做",timeTitle:"时间"}};break;case"ejDialog":t.Dialog.Locale=t.Dialog.Locale||{};t.Dialog.Locale["zh-CN"]={tooltip:{close:"关闭",collapse:"崩溃",restore:"恢复",maximize:"最大化",minimize:"最小化最小化",expand:"扩大",unPin:"拔掉闩",pin:"销"},closeIconTooltip:"关闭"};break;case"ejDropDownList":t.DropDownList.Locale=t.DropDownList.Locale||{};t.DropDownList.Locale["zh-CN"]={emptyResultText:"没有建议",watermarkText:" "};break;case"ejComboBox":t.ComboBox.Locale=t.ComboBox.Locale||{};t.ComboBox.Locale["zh-CN"]={noRecordsTemplate:"没有找到记录",actionFailureTemplate:"请求失败"};break;case"ejMenu":t.Menu.Locale=t.Menu.Locale||{};t.Menu.Locale["zh-CN"]={titleText:"菜单"};break;case"ejCaptcha":t.Captcha.Locale=t.Captcha.Locale||{};t.Captcha.Locale["zh-CN"]={placeHolderText:"输入显示的字符",CustomErrorMessage:"无效输入"};break;case"ejExcelFilter":t.ExcelFilter.Locale=t.ExcelFilter.Locale||{};t.ExcelFilter.Locale["zh-CN"]={SortNoSmaller:"排序从最小到最大",SortNoLarger:"排序从大到小",SortTextAscending:"排序从A到Z",SortTextDescending:"排序Z到A",SortDateOldest:"按最早日期排序",SortDateNewest:"排序方式最新",SortByColor:"按颜色",SortByCellColor:"排序方式细胞色",SortByFontColor:"排序方式字体颜色",FilterByColor:"过滤按颜色",CustomSort:"自定义排序",FilterByCellColor:"通过细胞彩色滤光片",FilterByFontColor:"通过字体颜色过滤",ClearFilter:"清除过滤器",NumberFilter:"号码过滤",GuidFilter:"GUD过滤器",TextFilter:"文本过滤器",DateFilter:"日期过滤器",DateTimeFilter:"日期时间过滤器",SelectAll:"全选",Blanks:"空白",Search:"搜索",Showrowswhere:"显示的行",NumericTextboxWaterMark:"数字水印文本框",StringMenuOptions:[{text:"等于",value:"equal"},{text:"不平等",value:"notequal"},{text:"以。。开始",value:"startswith"},{text:"结束与",value:"endswith"},{text:"包含",value:"contains"},{text:"自定义过滤器",value:"customfilter"}],NumberMenuOptions:[{text:"等于",value:"equal"},{text:"不平等",value:"notequal"},{text:"少于",value:"lessthan"},{text:"小于或等于",value:"lessthanorequal"},{text:"比...更棒",value:"greaterthan"},{text:"大于或等于",value:"greaterthanorequal"},{text:"之间",value:"between"},{text:"自定义过滤器",value:"customfilter"}],GuidMenuOptions:[{text:"等于",value:"equal"},{text:"不平等",value:"notequal"},{text:"自定义过滤器",value:"customfilter"}],DateMenuOptions:[{text:"等于",value:"equal"},{text:"不平等",value:"notequal"},{text:"少于",value:"lessthan"},{text:"小于或等于",value:"lessthanorequal"},{text:"比...更棒",value:"greaterthan"},{text:"大于或等于",value:"greaterthanorequal"},{text:"之间",value:"between"},{text:"自定义过滤器",value:"customfilter"}],DatetimeMenuOptions:[{text:"等于",value:"equal"},{text:"不平等",value:"notequal"},{text:"少于",value:"lessthan"},{text:"小于或等于",value:"lessthanorequal"},{text:"比...更棒",value:"greaterthan"},{text:"大于或等于",value:"greaterthanorequal"},{text:"之间",value:"between"},{text:"自定义过滤器",value:"customfilter"}],Top10MenuOptions:[{text:"最佳",value:"top"},{text:"底部",value:"bottom"}],title:"自定义过滤器",PredicateAnd:"和",PredicateOr:"要么",OK:"好",MatchCase:"相符",Cancel:"取消",NoResult:"未找到匹配",CheckBoxStatusMsg:"并非所有Line truncated
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.de-DE.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
ej.ReportDesigner.Locale["de-DE"]={itemPanel:{waterMarkText:"Widgets suchen",noDataFound:"Keine Treffer gefunden...",customCategory:"Barcodes",customRptItemName:"1D Barcode",dataRequirements:"Datenanforderungen",customTooltip:{tooltip:{requirements:"Fügen Sie dem Designerbereich ein Berichtselement hinzu.",description:"Zeigt das benutzerdefinierte Berichtselement an.",title:"Benutzerdefiniertes Berichtselement"}},groupItems:{basicItems:{groupName:"Grundlegende Elemente",Items:{line:{displayText:"Linie",tooltip:{requirements:"Trennen einer Region durch eine Linie in Berichtsabschnitten.",description:"Grafisches Element zum Trennen der Berichtsregion.",title:"Linie"}},image:{displayText:"Bild",tooltip:{requirements:"Um ein Bild aus der Datenbank anzuzeigen, betten Sie das Bild ein.",description:"Zeigt die Bilder an.",title:"Bild"}},textBox:{displayText:"Textfeld",tooltip:{requirements:"Fügen Sie einen beliebigen Text hinzu.",description:"Zeigt den statischen und dynamischen Text an.",title:"Textfeld"}},rectangle:{displayText:"Rechteck",tooltip:{requirements:"Kombinieren Sie ein oder mehrere Berichtselemente darin.",description:"Grafisches Containerelement.",title:"Rechteck"}}}},comparison:{groupName:"Vergleich",Items:{column:{displayText:"Säule",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht Werte für eine Gruppe ungeordneter Elemente in verschiedenen Kategorien mithilfe der horizontal angeordneten vertikalen Balken.",title:"Säule"}},bar:{displayText:"Bar",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht Werte für eine Gruppe ungeordneter Elemente über verschiedene Kategorien hinweg mit den vertikal angeordneten horizontalen Balken.",title:"Bar"}},stackedColumn:{displayText:"Gestapelte Säule",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht mehrere Messungen mit vertikal gestapelten Balken.",title:"Gestapelte Säule"}},stackedBar:{displayText:"Gestapelte Bar",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht mehrere Takte mit horizontal gestapelten Leisten.",title:"Gestapelte Bar"}},stackedColumnPercent:{displayText:"Gestapelte Säule100%",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht mehrere Messungen als Teile eines Ganzen mit vertikal gestapelten Balken.",title:"Gestapelte Säule100%"}},stackedBarPercent:{displayText:"Gestapelte Bar100%",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht mehrere Takte als Teile eines Ganzen unter Verwendung der horizontal gestapelten Balken.",title:"Gestapelte Bar100%"}}}},proportion:{groupName:"Anteil",Items:{pie:{displayText:"Kuchen",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Zeigt die Anteile jedes Beitrags an die Gesamtmenge in Form von Kuchenscheiben an.",title:"Kuchen"}},explodedPie:{displayText:"Explodierter Kuchen",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Betont ein einzelnes Stück eines Kreisdiagramms.",title:"Explodierter Kuchen"}},doughnut:{displayText:"Krapfen",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Zeigt die Proportionen von jedem Beitrag zur Gesamtmenge in Form von Donut-Scheiben.",title:"Krapfen"}},pyramid:{displayText:"Pyramide",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Zeigt den proportionalen Vergleich zwischen Werten progressiv ansteigend an.",title:"Pyramide"}},funnel:{displayText:"Trichter",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Zeigt den proportionalen Vergleich zwischen den Werten schrittweise abnehmend an.",title:"Trichter"}}}},distribution:{groupName:"Verteilung",Items:{area:{displayText:"Bereich",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht Werte für eine Gruppe ungeordneter Elemente über verschiedene Kategorien hinweg durch die vertikal gefüllten gefüllten Kurven.",title:"Bereich"}},smoothArea:{displayText:"Glatte Oberfläche",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht Werte für einen Satz ungeordneter Elemente über verschiedene Kategorien hinweg durch die gefüllten Kurven, die vertikal mit glatter Oberfläche angeordnet sind.",title:"Glatte Oberfläche"}},stackedArea:{displayText:"Gestapelte Fläche",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht mehrere Messungen durch die vertikal gestapelten gefüllten Kurven.",title:"Gestapelte Fläche"}},stackedAreaPercent:{displayText:"Gestapelte Fläche100%",tooltip:{requirements:"1 oder mehr Werte und 1 oder mehr Spalten.",description:"Vergleicht mehrere Messungen als Teile eines Ganzen durch die vertikal gestapelten gefüllten Kurven.",title:"Gestapelte Fläche100%"}},line:{displayText:"Linie",tooltip:{requireLine truncated
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.en-US.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
ej.ReportDesigner.Locale["en-US"]={itemPanel:{waterMarkText:"Search Widgets",noDataFound:"No matches found...",customCategory:"Barcodes",dataRequirements:"Data Requirements",customRptItemName:"1D Barcode",customTooltip:{tooltip:{requirements:"Add a report item to the designer area.",description:"Displays the custom report item.",title:"Custom Reportitem"}},groupItems:{basicItems:{groupName:"Basic Items",Items:{line:{displayText:"Line",tooltip:{requirements:"To separate a region through a line in report sections.",description:"Graphical element to seperate the report region.",title:"Line"}},image:{displayText:"Image",tooltip:{requirements:"To display an image from the database, embed the image.",description:"Displays the images.",title:"Image"}},textBox:{displayText:"TextBox",tooltip:{requirements:"Add any text.",description:"Displays the static and dynamic text.",title:"TextBox"}},rectangle:{displayText:"Rectangle",tooltip:{requirements:"Combine one or more report items inside it.",description:"Graphical container element.",title:"Rectangle"}}}},comparison:{groupName:"Comparison",Items:{column:{displayText:"Column",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares values for a set of unordered items across various categories using the vertical bars arranged horizontally.",title:"Column"}},bar:{displayText:"Bar",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares values for a set of unordered items across various categories using the horizontal bars arranged vertically.",title:"Bar"}},stackedColumn:{displayText:"Stacked Column",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares multiple measures using the bars stacked vertically.",title:"Stacked Column"}},stackedBar:{displayText:"Stacked Bar",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares multiple measures using the bars stacked horizontally.",title:"Stacked Bar"}},stackedColumnPercent:{displayText:"Stacked Column100%",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares multiple measures as parts of a whole using the bars stacked vertically.",title:"Stacked Column100%"}},stackedBarPercent:{displayText:"Stacked Bar100%",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares multiple measures as parts of a whole using the bars stacked horizontally.",title:"Stacked Bar100%"}}}},proportion:{groupName:"Proportion",Items:{pie:{displayText:"Pie",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Showcases the proportions of each items contribution to the total in the form of pie-slices.",title:"Pie"}},explodedPie:{displayText:"Exploded Pie",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Emphasizes an individual slice of a pie chart.",title:"Exploded Pie"}},doughnut:{displayText:"Doughnut",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Showcases the proportions of each items contribution to the total in the form of doughnut-slices.",title:"Doughnut"}},pyramid:{displayText:"Pyramid",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Showcases the proportional comparison between values in a progressively increasing manner.",title:"Pyramid"}},funnel:{displayText:"Funnel",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Showcases the proportional comparison between values in a progressively decreasing manner.",title:"Funnel"}}}},distribution:{groupName:"Distribution",Items:{area:{displayText:"Area",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares values for a set of unordered items across various categories through the filled curves ordered vertically.",title:"Area"}},smoothArea:{displayText:"Smooth Area",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares values for a set of unordered items across various categories through the filled curves ordered vertically with smooth surface.",title:"Smooth Area"}},stackedArea:{displayText:"Stacked Area",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares multiple measures through the filled curves stacked vertically.",title:"Stacked Area"}},stackedAreaPercent:{displayText:"Stacked Area100%",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares multiple measures as parts of a whole through the filled curves stacked vertically.",title:"Stacked Area100%"}},line:{displayText:"Line",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Showcases the trends for analysis over a time with data points connected using the straight lines.",title:"Line"}},smoothLine:{displayText:"Smooth Line",tooltip:{requirements:"1 or more values and 1 or more columns.",description:"Compares the distribution of values over a time period connected using theLine truncated
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.es-ES.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
ej.ReportDesigner.Locale["es-ES"]={itemPanel:{waterMarkText:"Widgets de búsqueda",noDataFound:"No se encontraron coincidencias...",customCategory:"Códigos de barras",customRptItemName:"Código de barras 1D",dataRequirements:"Requerimientos de datos",customTooltip:{tooltip:{requirements:"Agregar un elemento de informe al área de diseñador.",description:"Muestra el elemento de informe personalizado.",title:"Informe personalizado"}},groupItems:{basicItems:{groupName:"Artículos básicos",Items:{line:{displayText:"Línea",tooltip:{requirements:"Para separar una región a través de una línea en las secciones del informe.",description:"Elemento gráfico para separar la región del informe.",title:"Línea"}},image:{displayText:"Imagen",tooltip:{requirements:"Para mostrar una imagen de la base de datos, incruste la imagen.",description:"Muestra las imágenes.",title:"Imagen"}},textBox:{displayText:"Caja de texto",tooltip:{requirements:"Agrega cualquier texto.",description:"Muestra el texto estático y dinámico.",title:"Caja de texto"}},rectangle:{displayText:"Rectángulo",tooltip:{requirements:"Combina uno o más elementos del informe dentro de él.",description:"Elemento contenedor gráfico.",title:"Rectángulo"}}}},comparison:{groupName:"Comparación",Items:{column:{displayText:"Columna",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara valores para un conjunto de elementos desordenados en varias categorías usando las barras verticales dispuestas horizontalmente.",title:"Columna"}},bar:{displayText:"Bar",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara valores para un conjunto de elementos desordenados en varias categorías usando las barras horizontales dispuestas verticalmente.",title:"Bar"}},stackedColumn:{displayText:"Columna apilada",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara medidas múltiples usando las barras apiladas verticalmente.",title:"Columna apilada"}},stackedBar:{displayText:"Barra apilada",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara medidas múltiples usando las barras apiladas horizontalmente.",title:"Barra apilada"}},stackedColumnPercent:{displayText:"Columna apilada100%",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara medidas múltiples como partes de un todo usando las barras apiladas verticalmente.",title:"Columna apilada100%"}},stackedBarPercent:{displayText:"Barre empilée100%",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara medidas múltiples como partes de un todo usando las barras apiladas horizontalmente.",title:"Barre empilée100%"}}}},proportion:{groupName:"Proporción",Items:{pie:{displayText:"Tarta",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Muestra las proporciones de la contribución de cada artículo al total en forma de sectores de sectores.",title:"Tarta"}},explodedPie:{displayText:"Pie estallado",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Enfatiza una porción individual de un gráfico circular.",title:"Pie estallado"}},doughnut:{displayText:"Rosquilla",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Muestra las proporciones de cada contribución de artículos al total en forma de rodajas de donuts.",title:"Rosquilla"}},pyramid:{displayText:"Pirámide",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Muestra la comparación proporcional entre valores de una manera progresivamente creciente.",title:"Pirámide"}},funnel:{displayText:"Embudo",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Muestra la comparación proporcional entre valores de una manera progresivamente decreciente.",title:"Embudo"}}}},distribution:{groupName:"Distribución",Items:{area:{displayText:"Zona",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara valores para un conjunto de elementos desordenados en varias categorías a través de las curvas rellenas ordenadas verticalmente.",title:"Zona"}},smoothArea:{displayText:"Área suave",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara los valores de un conjunto de elementos desordenados en varias categorías a través de las curvas rellenas ordenadas verticalmente con una superficie lisa.",title:"Área suave"}},stackedArea:{displayText:"Área apilada",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara medidas múltiples a través de las curvas llenas apiladas verticalmente.",title:"Área apilada"}},stackedAreaPercent:{displayText:"Área apilada100%",tooltip:{requirements:"1 o más valores y 1 o más columnas.",description:"Compara medidas múltiples como partes de un todo a través de las curvas llenas apiladas verticalmente.",title:"Área apilada100%"}},line:{displayText:"Línea",tooltip:{requirements:"Line truncated
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.fr-FR.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
ej.ReportDesigner.Locale["fr-FR"]={itemPanel:{waterMarkText:"Rechercher des widgets",noDataFound:"Aucun résultat..",customCategory:"Codes barres",customRptItemName:"1D code à barre",dataRequirements:"Exigences en matière de données",customTooltip:{tooltip:{requirements:"Ajoutez un élément de rapport à la zone du concepteur.",description:"Affiche l'élément de rapport personnalisé.",title:"Rapport personnalisé"}},groupItems:{basicItems:{groupName:"Articles de base",Items:{line:{displayText:"Ligne",tooltip:{requirements:"Pour séparer une région par une ligne dans les sections de rapport.",description:"Élément graphique pour séparer la région du rapport.",title:"Ligne"}},image:{displayText:"Image",tooltip:{requirements:"Pour afficher une image de la base de données, incorporez l'image.",description:"Affiche les images.",title:"Image"}},textBox:{displayText:"Zone de texte",tooltip:{requirements:"Ajouter du texte.",description:"Affiche le texte statique et dynamique.",title:"Zone de texte"}},rectangle:{displayText:"Rectangle",tooltip:{requirements:"Ajouter un élément de rapport à la zone du concepteur.",description:"Combinez un ou plusieurs éléments de rapport à l'intérieur",title:"Rectangle"}}}},comparison:{groupName:"Comparaison",Items:{column:{displayText:"Colonne",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare les valeurs d'un ensemble d'éléments non ordonnés dans différentes catégories en utilisant les barres verticales disposées horizontalement.",title:"Colonne"}},bar:{displayText:"Bar",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare les valeurs d'un ensemble d'éléments non ordonnés dans différentes catégories en utilisant les barres horizontales disposées verticalement.",title:"Bar"}},stackedColumn:{displayText:"Colonne empilée",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare plusieurs mesures à l'aide des barres empilées verticalement.",title:"Colonne empilée"}},stackedBar:{displayText:"Barre empilée",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare plusieurs mesures à l'aide des barres empilées horizontalement.",title:"Barre empilée"}},stackedColumnPercent:{displayText:"Colonne empilée100%",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare plusieurs mesures en tant que parties d'un tout en utilisant les barres empilées verticalement.",title:"Colonne empilée100%"}},stackedBarPercent:{displayText:"Barre empilée100%",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare plusieurs mesures en tant que parties d'un ensemble à l'aide des barres empilées horizontalement.",title:"Barre empilée100%"}}}},proportion:{groupName:"Proportion",Items:{pie:{displayText:"Tarte",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Présente les proportions de la contribution de chaque article au total sous forme de tranches de tarte.",title:"Tarte"}},explodedPie:{displayText:"Tarte Explosée",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Souligne une tranche individuelle d'un camembert.",title:"Tarte Explosée"}},doughnut:{displayText:"Beignet",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Présente les proportions de la contribution de chaque article au total sous forme de tranches de beignets.",title:"Beignet"}},pyramid:{displayText:"Pyramide",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Présente la comparaison proportionnelle entre les valeurs de manière progressivement croissante.",title:"Pyramide"}},funnel:{displayText:"Entonnoir",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Présente la comparaison proportionnelle entre les valeurs de manière progressivement décroissante.",title:"Entonnoir"}}}},distribution:{groupName:"Distribution",Items:{area:{displayText:"Région",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare les valeurs d'un ensemble d'éléments non ordonnés dans différentes catégories à travers les courbes remplies ordonnées verticalement.",title:"Région"}},smoothArea:{displayText:"Zone lisse",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare les valeurs d'un ensemble d'éléments non ordonnés dans différentes catégories à travers les courbes remplies ordonnées verticalement avec une surface lisse.",title:"Zone lisse"}},stackedArea:{displayText:"Zone empilée",tooltip:{requirements:"1 ou plusieurs valeurs et 1 ou plusieurs colonnes.",description:"Compare plusieurs mesures à travers les courbes remplies empilées verticalement.",title:"Zone empilée"}},stackedAreaPercent:{disLine truncated
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename: ej.localetexts.zh-CN.min.js
|
||||
* version : 18.3.0.35
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
* applicable laws.
|
||||
*/
|
||||
ej.ReportDesigner.Locale["zh-CN"]={itemPanel:{waterMarkText:"搜索小工具",noDataFound:"找不到匹配项...",customCategory:"条形码",customRptItemName:"1D条码",dataRequirements:"數據要求",customTooltip:{tooltip:{requirements:"將報表項添加到設計器區域。",description:"顯示自定義報告項目。",title:"自定義報告項目"}},groupItems:{basicItems:{groupName:"基本项目",Items:{line:{displayText:"線",tooltip:{requirements:"通過報告部分中的線分隔區域。",description:"用於分隔報告區域的圖形元素。",title:"線"}},image:{displayText:"圖片",tooltip:{requirements:"要顯示數據庫中的圖像,請嵌入圖像。",description:"顯示圖像。",title:"圖片"}},textBox:{displayText:"文本框",tooltip:{requirements:"添加任何文字。",description:"顯示靜態和動態文本。",title:"文本框"}},rectangle:{displayText:"長方形",tooltip:{requirements:"將一個或多個報表項合併到其中。",description:"圖形容器元素。",title:"長方形"}}}},comparison:{groupName:"對照",Items:{column:{displayText:"柱",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"使用水平排列的垂直條比較各種類別中的一組無序項的值。",title:"柱"}},bar:{displayText:"酒吧",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"使用垂直排列的水平條比較各種類別中的一組無序項的值。",title:"酒吧"}},stackedColumn:{displayText:"堆積柱",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"使用垂直堆疊的條比較多個度量。",title:"堆積柱"}},stackedBar:{displayText:"堆積吧",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"使用水平堆疊的條比較多個度量。",title:"堆積吧"}},stackedColumnPercent:{displayText:"堆積柱100%",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"使用垂直堆疊的條將多個度量作為整體的一部分進行比較。",title:"堆積柱100%"}},stackedBarPercent:{displayText:"堆積條100%",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"使用水平堆疊的條將多個度量作為整體的一部分進行比較。",title:"堆積條100%"}}}},proportion:{groupName:"比例",Items:{pie:{displayText:"餡餅",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"以餅圖的形式展示每個項目對總數的貢獻比例。",title:"餡餅"}},explodedPie:{displayText:"爆炸的餡餅",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"強調餅圖的單個切片。",title:"爆炸的餡餅"}},doughnut:{displayText:"甜甜圈",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"以甜甜圈切片的形式展示每個項目對總數的貢獻比例。",title:"甜甜圈"}},pyramid:{displayText:"金字塔",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"以逐步增加的方式展示值之間的比例比較。",title:"金字塔"}},funnel:{displayText:"漏斗",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"以逐漸減少的方式展示值之間的比例比較。",title:"漏斗"}}}},distribution:{groupName:"Distribution",Items:{area:{displayText:"區",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"通過垂直排序的填充曲線比較不同類別的一組無序項的值。",title:"區"}},smoothArea:{displayText:"光滑的區域",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"通過垂直排列的具有光滑表面的填充曲線,比較不同類別中的一組無序項的值。",title:"光滑的區域"}},stackedArea:{displayText:"堆積區域",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"通過垂直堆疊的填充曲線比較多個度量。",title:"堆積區域"}},stackedAreaPercent:{displayText:"堆積面積100%",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"通過垂直堆疊的填充曲線將多個度量作為整體的一部分進行比較。",title:"堆積面積100%"}},line:{displayText:"線",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"展示使用直線連接數據點的一段時間內的分析趨勢。",title:"線"}},smoothLine:{displayText:"流暢的線條",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"比較使用平滑線連接的時間段內的值分佈。",title:"流暢的線條"}},steppedLine:{displayText:"階梯線",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"比較使用階梯線連接的時間段內的值分佈。",title:"階梯線"}},lineWithMarkers:{displayText:"與標記線",tooltip:{requirements:"1個或更多個值和1個或更多列。",description:"比較多個組在同一時間段內的Line truncated
|
||||
Vendored
+2670
File diff suppressed because it is too large.
Load diff
Vendored
+10364
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["jquery.js"],"names":["global","factory","module","exports","document","w","Error","window","this","noGlobal","arr","getProto","Object","getPrototypeOf","slice","concat","push","indexOf","class2type","toString","hasOwn","hasOwnProperty","fnToString","ObjectFunctionString","call","support","isFunction","obj","nodeType","isWindow","preservedScriptAttributes","type","src","noModule","DOMEval","code","doc","node","i","script","createElement","text","head","appendChild","parentNode","removeChild","toType","version","jQuery","selector","context","fn","init","rtrim","prototype","jquery","constructor","length","toArray","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","elem","apply","arguments","first","eq","last","len","j","end","sort","splice","extend","options","name","copy","copyIsArray","clone","target","deep","isPlainObject","Array","isArray","undefined","expando","Math","random","replace","isReady","error","msg","noop","proto","Ctor","isEmptyObject","globalEval","isArrayLike","trim","makeArray","results","inArray","second","grep","invert","callbackInverse","matches","callbackExpect","arg","value","guid","Symbol","iterator","split","toLowerCase","Sizzle","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","contains","Date","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","sortOrder","a","b","pop","push_native","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rcomma","rcombinators","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","_","escaped","escapedWhitespace","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","unloadHandler","disabledAncestor","addCombinator","disabled","dir","next","childNodes","e","els","seed","m","nid","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","nodeName","getAttribute","setAttribute","toSelector","join","testContext","querySelectorAll","qsaError","removeAttribute","keys","cache","key","cacheLength","shift","markFunction","assert","el","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","documentElement","hasCompare","subWindow","defaultView","top","addEventListener","attachEvent","className","createComment","getById","getElementsByName","filter","attrId","find","getAttributeNode","tag","tmp","innerHTML","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","attr","val","specified","escape","sel","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","xml","uniqueCache","outerCache","nodeIndex","start","parent","useCache","lastChild","uniqueID","pseudo","args","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","filters","parseOnly","tokens","soFar","preFilters","cached","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","multipleContexts","contexts","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","matcherFromGroupMatchers","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","token","compiled","defaultValue","unique","isXMLDoc","escapeSelector","until","truncate","is","siblings","n","rneedsContext","rsingleTag","winnow","qualifier","self","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","prev","targets","l","closest","index","prevAll","add","addBack","sibling","parents","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","content","reverse","rnothtmlwhite","createOptions","object","flag","Callbacks","firLine truncated
|
||||
File diff suppressed because it is too large.
Load diff
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/*! jQuery v3.3.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector | (c) JS Foundation and other contributors | jquery.org/license */
|
||||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,u=n.push,s=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,d=f.toString,p=d.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},v=function e(t){return null!=t&&t===t.window},y={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in y)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var x="3.3.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector",w=function(e,t){return new w.fn.init(e,t)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:x,constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},u=1,s=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[u]||{},u++),"object"==typeof a||g(a)||(a={}),u===s&&(a=this,u--);u<s;u++)if(null!=(e=arguments[u]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&d.call(n)===p)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(T(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?w.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,u=!n;o<a;o++)(r=!t(e[o],o))!==u&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,u=[];if(T(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&u.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&u.push(i);return a.apply([],u)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function T(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!g(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,u,s,l,c,f,d,p,h,g,v,y,m,b,x="sizzle"+1*new Date,w=e.document,C=0,T=0,E=ae(),N=ae(),k=ae(),A=function(e,t){return e===t&&(f=!0),0},D={}.hasOwnProperty,S=[],L=S.pop,j=S.push,q=S.push,O=S.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",B="\\["+I+"*("+R+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+I+"*\\]",M=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",W=new RegExp(I+"+","g"),$=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),F=new RegExp("^"+I+"*,"+I+"*"),z=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),_=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),U=new RegExp(M),V=new RegExp("^"+R+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["jquery.slim.js"],"names":["global","factory","module","exports","document","w","Error","window","this","noGlobal","arr","getProto","Object","getPrototypeOf","slice","concat","push","indexOf","class2type","toString","hasOwn","hasOwnProperty","fnToString","ObjectFunctionString","call","support","isFunction","obj","nodeType","isWindow","preservedScriptAttributes","type","src","noModule","DOMEval","code","doc","node","i","script","createElement","text","head","appendChild","parentNode","removeChild","toType","version","jQuery","selector","context","fn","init","rtrim","prototype","jquery","constructor","length","toArray","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","elem","apply","arguments","first","eq","last","len","j","end","sort","splice","extend","options","name","copy","copyIsArray","clone","target","deep","isPlainObject","Array","isArray","undefined","expando","Math","random","replace","isReady","error","msg","noop","proto","Ctor","isEmptyObject","globalEval","isArrayLike","trim","makeArray","results","inArray","second","grep","invert","callbackInverse","matches","callbackExpect","arg","value","guid","Symbol","iterator","split","toLowerCase","Sizzle","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","contains","Date","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","sortOrder","a","b","pop","push_native","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rcomma","rcombinators","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","_","escaped","escapedWhitespace","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","unloadHandler","disabledAncestor","addCombinator","disabled","dir","next","childNodes","e","els","seed","m","nid","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","nodeName","getAttribute","setAttribute","toSelector","join","testContext","querySelectorAll","qsaError","removeAttribute","keys","cache","key","cacheLength","shift","markFunction","assert","el","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","documentElement","hasCompare","subWindow","defaultView","top","addEventListener","attachEvent","className","createComment","getById","getElementsByName","filter","attrId","find","getAttributeNode","tag","tmp","innerHTML","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","attr","val","specified","escape","sel","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","xml","uniqueCache","outerCache","nodeIndex","start","parent","useCache","lastChild","uniqueID","pseudo","args","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","filters","parseOnly","tokens","soFar","preFilters","cached","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","multipleContexts","contexts","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","matcherFromGroupMatchers","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","token","compiled","defaultValue","unique","isXMLDoc","escapeSelector","until","truncate","is","siblings","n","rneedsContext","rsingleTag","winnow","qualifier","self","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","prev","targets","l","closest","index","prevAll","add","addBack","sibling","parents","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","content","reverse","rnothtmlwhite","createOptions","object","flag","Callbacks"Line truncated
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
|
||||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:f,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(k.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||k.isPlainObject(n)?n:{},i=!1,a[t]=k.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(p,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?k.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,k="sizzle"+1*new Date,m=n.document,S=0,r=0,p=ue(),x=ue(),N=ue(),A=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",$=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",F=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+Line truncated
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/*! jQuery Validation Plugin - v1.11.1 - 3/22/2013\n* https://github.com/jzaefferer/jquery-validation
|
||||
* Copyright (c) 2013 Jörn Zaefferer; Licensed MIT */(function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."),void 0;var i=t.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(e){i.settings.submitHandler&&(i.submitButton=e.target),t(e.target).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(e.target).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.submit(function(e){function s(){var s;return i.settings.submitHandler?(i.submitButton&&(s=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,e),i.submitButton&&s.remove(),!1):!0}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)},valid:function(){if(t(this[0]).is("form"))return this.validate().form();var e=!0,i=t(this[0].form).validate();return this.each(function(){e=e&&i.element(this)}),e},removeAttrs:function(e){var i={},s=this;return t.each(e.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(e,i){var s=this[0];if(e){var r=t.data(s.form,"validator").settings,n=r.rules,a=t.validator.staticRules(s);switch(e){case"add":t.extend(a,t.validator.normalizeRule(i)),delete a.messages,n[s.name]=a,i.messages&&(r.messages[s.name]=t.extend(r.messages[s.name],i.messages));break;case"remove":if(!i)return delete n[s.name],a;var u={};return t.each(i.split(/\s/),function(t,e){u[e]=a[e],delete a[e]}),u}}var o=t.validator.normalizeRules(t.extend({},t.validator.classRules(s),t.validator.attributeRules(s),t.validator.dataRules(s),t.validator.staticRules(s)),s);if(o.required){var l=o.required;delete o.required,o=t.extend({required:l},o)}return o}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(t)).hide())},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){(9!==e.which||""!==this.elementValue(t))&&(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var i=t.data(this[0].form,"validator"),s="on"+e.type.replace(/^validate/,"");i.settings[s]&&i.settings[s].call(i,this[0],e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currenLine truncated
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
(function(n,t,i){"use strict";function it(n,t){t&&t.onError&&t.onError(n)===!1||(this.name="JsRender Error",this.message=n||"JsRender error")}function o(n,t){var i;n=n||{};for(i in t)n[i]=t[i];return n}function ct(n,t,i){return(!k.rTag||arguments.length)&&(a=n?n.charAt(0):a,v=n?n.charAt(1):v,f=t?t.charAt(0):f,h=t?t.charAt(1):h,w=i||w,n="\\"+a+"(\\"+w+")?\\"+v,t="\\"+f+"\\"+h,l="(?:(?:(\\w+(?=[\\/\\s\\"+f+"]))|(?:(\\w+)?(:)|(>)|!--((?:[^-]|-(?!-))*)--|(\\*)))\\s*((?:[^\\"+f+"]|\\"+f+"(?!\\"+h+"))*?)",k.rTag=l+")",l=new RegExp(n+l+"(\\/)?|(?:\\/(\\w+)))"+t,"g"),et=new RegExp("<.*>|([^\\\\]|^)[{}]|"+n+".*"+t)),[a,v,f,h,w]}function ei(n,t){t||(t=n,n=i);var e,f,o,u,r=this,s=!t||t==="root";if(n){if(u=r.type===t?r:i,!u)if(e=r.views,r._.useKey){for(f in e)if(u=e[f].get(n,t))break}else for(f=0,o=e.length;!u&&f<o;f++)u=e[f].get(n,t)}else if(s)while(r.parent.parent)u=r=r.parent;else while(r&&!u)u=r.type===t?r:i,r=r.parent;return u}function lt(){var n=this.get("item");return n?n.index:i}function oi(n,t){var u,f=this,r=t&&t[n]||(f.ctx||{})[n];return r=r===i?f.getRsc("helpers",n):r,r&&typeof r=="function"&&(u=function(){return r.apply(f,arguments)},o(u,r)),u||r}function si(n,t,u){var h,f,o,e=+u===u&&u,s=t.linkCtx;return e&&(u=(e=t.tmpl.bnds[e-1])(t.data,t,r)),o=u.args[0],(n||e)&&(f=s&&s.tag||{_:{inline:!s},tagName:n+":",flow:!0,_is:"tag"},f._.bnd=e,s&&(s.tag=f,u.ctx=c(u.ctx,s.view.ctx)),f.tagCtx=u,u.view=t,f.ctx=u.ctx||{},delete u.ctx,t._.tag=f,n=n!=="true"&&n,n&&((h=t.getRsc("converters",n))||p("Unknown converter: {{"+n+":"))&&(f.depends=h.depends,o=h.apply(f,u.args)),o=e&&t._.onRender?t._.onRender(o,t,e):o,t._.tag=i),o}function hi(n,t){for(var e=this,u=r[n],f=u&&u[t];f===i&&e;)u=e.tmpl[n],f=u&&u[t],e=e.parent;return f}function ci(n,t,u,f){var ft,s,et,nt,k,l,tt,it,h,d,y,ot,v,ut,w="",g=+f===f&&f,a=t.linkCtx||0,b=t.ctx,st=u||t.tmpl,ht=t._;for(n._is==="tag"&&(s=n,n=s.tagName),g&&(f=(ot=st.bnds[g-1])(t.data,t,r)),tt=f.length,s=s||a.tag,l=0;l<tt;l++)h=f[l],y=h.tmpl,y=h.content=y&&st.tmpls[y-1],u=h.props.tmpl,l||u&&s||(v=t.getRsc("tags",n)||p("Unknown tag: {{"+n+"}}")),u=u||(s?s:v).template||y,u=""+u===u?t.getRsc("templates",u)||e(u):u,o(h,{tmpl:u,render:rt,index:l,view:t,ctx:c(h.ctx,b)}),s||(v._ctr?(s=new v._ctr,ut=!!s.init,s.attr=s.attr||v.attr||i):s={render:v.render},s._={inline:!a},a&&(a.attr=s.attr=a.attr||s.attr,a.tag=s,s.linkCtx=a),(s._.bnd=ot||a)&&(s._.arrVws={}),s.tagName=n,s.parent=k=b&&b.tag,s._is="tag",s._def=v),ht.tag=s,h.tag=s,s.tagCtxs=f,s.flow||(d=h.ctx=h.ctx||{},et=s.parents=d.parentTags=b&&c(d.parentTags,b.parentTags)||{},k&&(et[k.tagName]=k),d.tag=s);for(s.rendering={},l=0;l<tt;l++)h=s.tagCtx=f[l],s.ctx=h.ctx,!l&&ut&&(s.init(h,a,s.ctx),ut=i),(ft=s.render)&&(it=ft.apply(s,h.args)),w+=it!==i?it:h.tmpl?h.render():"";return delete s.rendering,s.tagCtx=s.tagCtxs[0],s.ctx=s.tagCtx.ctx,s._.inline&&(nt=s.attr)&&nt!=="html"&&(w=nt==="text"?wt.html(w):""),g&&t._.onRender?t._.onRender(w,t,g):w}function b(n,t,r,u,f,e,o,s){var c,l,a,y=t==="array",v={key:0,useKey:y?0:1,id:""+fi++,onRender:s,bnds:{}},h={data:u,tmpl:f,content:o,views:y?[]:{},parent:r,ctx:n,type:t,get:ei,getIndex:lt,getRsc:hi,hlp:oi,_:v,_is:"view"};return r&&(c=r.views,l=r._,l.useKey?(c[v.key="_"+l.useKey++]=h,a=l.tag,v.bnd=y&&(!a||!!a._.bnd&&a)):c.splice(v.key=h.index=e!==i?e:c.length,0,h),h.ctx=n||r.ctx),h}function li(n){var t,i,r,u,f;for(t in y)if(u=y[t],(f=u.compile)&&(i=n[t+"s"]))for(r in i)i[r]=f(r,i[r],n,t,u)}function ai(n,t,i){var u,r;return typeof t=="function"?t={depends:t.depends,render:t}:((r=t.template)&&(t.template=""+r===r?e[r]||e(r):r),t.init!==!1&&(u=t._ctr=function(){},(u.prototype=t).constructor=u)),i&&(t._parentTmpl=i),t}function at(r,u,f,o,s,h){function v(i){if(""+i===i||i.nodeType>0){try{a=i.nodeType>0?i:!et.test(i)&&t&&t(n.document).find(i)[0]}catch(u){}return a&&(i=a.getAttribute(ht),r=r||i,i=e[i],i||(r=r||"_"+ui++,a.setAttribute(ht,r),i=e[r]=at(r,a.innerHTML,f,o,s,h))),i}}var l,a;return u=u||"",l=v(u),h=h||(u.markup?u:{}),h.tmplName=r,f&&(h._parentTmpl=f),!l&&u.markup&&(l=v(u.markup))&&l.fn&&(l.debug!==u.debug||l.allowCode!==u.allowCode)&&(l=l.markup),l!==i?(r&&!f&&(tt[r]=function(){return u.render.apply(u,arguments)}),l.fn||u.fn?l.fn&&(u=r&&r!==l.tmplName?c(h,l):l):(u=vt(l,h),ut(l,u)),li(h),u):void 0}function vt(n,t){var i,f=d.wrapMap||{},r=o({markup:n,tmpls:[],links:{},tags:{},bnds:[],_is:"template",render:rt},t);return t.htmlTag||(i=ii.exec(n),r.htmlTag=i?i[1].toLowerCase():""),i=f[r.htmlTag],i&&i!==f.div&&(r.markup=u.trim(r.markup),r._elCnt=!0),r}function vi(n,t){function u(e,o,s){var l,h,a,c;if(e&&""+e!==e&&!e.nodeType&&!e.markup){for(a in e)u(a,e[a],o);return r}return o===i&&(o=e,e=i),e&&""+e!==e&&(s=o,o=e,e=i),c=s?s[f]=s[f]||{}:u,h=t.compile,(l=k.onBeforeStoreItem)&&(h=l(c,e,o,h)||h),e?o===null?delete c[e]:c[e]=h?o=h(e,o,s,n,t):o:o=h(i,o),h&&o&&(o._is=n),(l=k.onStoreItem)&&l(c,e,o,h),o}var f=n+"s";r[f]=u,y[n]=t}function rt(n,t,f,o,s,h){var w,ut,nt,v,tt,it,rt,k,y,ft,d,et,a,l=this,ot=!l.attr||l.attr==="html",g="";if(o===!0&Line truncated
|
||||
//JsRender v1.0.0-beta: http://jsviews.com
|
||||
Vendored
+1406
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user