Initial commit
This commit is contained in:
Vendored
+10
File diff suppressed because one or more lines are too long
Vendored
+10
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
Vendored
+10
File diff suppressed because one or more lines are too long
Vendored
+10
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
+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
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
+10
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user