From f9a50a3b97f8b51647b7d260dd6835aa68a8c21a Mon Sep 17 00:00:00 2001 From: syncfusion-javascript Date: Mon, 31 Jan 2022 11:35:33 +0530 Subject: [PATCH] Essential Studio v19.4.0.48 release --- dist/amd/aurelia-syncfusion-bridge.d.ts | 206 +- dist/aurelia-syncfusion-bridge.d.ts | 206 +- dist/aurelia-syncfusion-bridge.js | 1800 ++++++------ dist/commonjs/aurelia-syncfusion-bridge.d.ts | 206 +- dist/dev/aurelia-syncfusion-bridge.d.ts | 206 +- dist/es6/aurelia-syncfusion-bridge.d.ts | 206 +- dist/system/aurelia-syncfusion-bridge.d.ts | 206 +- dist/temp/aurelia-syncfusion-bridge.js | 2490 ++++++++--------- doc/CHANGELOG.md | 15 + package-lock.json | 107 +- package.json | 2 +- sample/package-lock.json | 63 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/bootstrap-theme/ej.theme.css | 4 +- .../ej/web/bootstrap-theme/ej.theme.min.css | 4 +- .../default-theme/ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../Content/ej/web/default-theme/ej.theme.css | 4 +- .../ej/web/default-theme/ej.theme.min.css | 4 +- ...dgets.core.bootstrap.compatibility.min.css | 4 +- .../ej/web/ej.widgets.core.bootstrap.min.css | 4 +- .../web/ej.widgets.core.compatibility.min.css | 4 +- ...idgets.core.material.compatibility.min.css | 4 +- .../ej/web/ej.widgets.core.material.min.css | 4 +- .../Content/ej/web/ej.widgets.core.min.css | 4 +- ...gets.core.office-365.compatibility.min.css | 4 +- .../ej/web/ej.widgets.core.office-365.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/flat-azure-dark/ej.theme.css | 4 +- .../ej/web/flat-azure-dark/ej.theme.min.css | 4 +- .../flat-lime-dark/ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/flat-lime-dark/ej.theme.css | 4 +- .../ej/web/flat-lime-dark/ej.theme.min.css | 4 +- .../web/flat-lime/ej.theme.compatibility.css | 4 +- .../flat-lime/ej.theme.compatibility.min.css | 4 +- vendors/Content/ej/web/flat-lime/ej.theme.css | 4 +- .../Content/ej/web/flat-lime/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/flat-saffron-dark/ej.theme.css | 4 +- .../ej/web/flat-saffron-dark/ej.theme.min.css | 4 +- .../flat-saffron/ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../Content/ej/web/flat-saffron/ej.theme.css | 4 +- .../ej/web/flat-saffron/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/gradient-azure-dark/ej.theme.css | 4 +- .../web/gradient-azure-dark/ej.theme.min.css | 4 +- .../gradient-azure/ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/gradient-azure/ej.theme.css | 4 +- .../ej/web/gradient-azure/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/gradient-lime-dark/ej.theme.css | 4 +- .../web/gradient-lime-dark/ej.theme.min.css | 4 +- .../gradient-lime/ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../Content/ej/web/gradient-lime/ej.theme.css | 4 +- .../ej/web/gradient-lime/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/gradient-saffron-dark/ej.theme.css | 4 +- .../gradient-saffron-dark/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/gradient-saffron/ej.theme.css | 4 +- .../ej/web/gradient-saffron/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/high-contrast-01/ej.theme.css | 4 +- .../ej/web/high-contrast-01/ej.theme.min.css | 4 +- .../ej.theme.compatibility.css | 4 +- .../ej.theme.compatibility.min.css | 4 +- .../ej/web/high-contrast-02/ej.theme.css | 4 +- .../ej/web/high-contrast-02/ej.theme.min.css | 4 +- .../web/material/ej.theme.compatibility.css | 4 +- .../material/ej.theme.compatibility.min.css | 4 +- vendors/Content/ej/web/material/ej.theme.css | 4 +- .../Content/ej/web/material/ej.theme.min.css | 4 +- .../web/office-365/ej.theme.compatibility.css | 4 +- .../office-365/ej.theme.compatibility.min.css | 4 +- .../Content/ej/web/office-365/ej.theme.css | 4 +- .../ej/web/office-365/ej.theme.min.css | 4 +- .../amd/aurelia-syncfusion-bridge.d.ts | 40 +- .../ej/aurelia/aurelia-syncfusion-bridge.d.ts | 40 +- .../ej/aurelia/aurelia-syncfusion-bridge.js | 142 +- .../commonjs/aurelia-syncfusion-bridge.d.ts | 40 +- .../es6/aurelia-syncfusion-bridge.d.ts | 40 +- .../system/aurelia-syncfusion-bridge.d.ts | 40 +- vendors/scripts/ej/common/ej.core.min.js | 6 +- vendors/scripts/ej/common/ej.data.min.js | 4 +- vendors/scripts/ej/common/ej.draggable.min.js | 4 +- vendors/scripts/ej/common/ej.globalize.min.js | 4 +- vendors/scripts/ej/common/ej.scroller.min.js | 4 +- vendors/scripts/ej/common/ej.touch.min.js | 4 +- .../scripts/ej/common/ej.unobtrusive.min.js | 4 +- vendors/scripts/ej/common/ej.web.react.min.js | 4 +- vendors/scripts/ej/common/ej.webform.min.js | 4 +- .../ej/common/ej.widget.angular.min.js | 4 +- vendors/scripts/ej/common/ej.widget.ko.min.js | 4 +- .../ej/datavisualization/ej.barcode.min.js | 4 +- .../datavisualization/ej.bulletgraph.min.js | 4 +- .../ej/datavisualization/ej.chart.min.js | 4 +- .../datavisualization/ej.circulargauge.min.js | 4 +- .../ej/datavisualization/ej.diagram.min.js | 4 +- .../datavisualization/ej.digitalgauge.min.js | 4 +- .../ej/datavisualization/ej.gauge.min.js | 4 +- .../ej/datavisualization/ej.heatmap.min.js | 4 +- .../datavisualization/ej.lineargauge.min.js | 4 +- .../ej/datavisualization/ej.map.min.js | 4 +- .../ej.rangenavigator.min.js | 4 +- .../ej/datavisualization/ej.sparkline.min.js | 4 +- .../datavisualization/ej.sunburstchart.min.js | 4 +- .../ej/datavisualization/ej.treemap.min.js | 4 +- .../scripts/ej/i18n/ej.culture.ar-AE.min.js | 4 +- .../scripts/ej/i18n/ej.culture.de-DE.min.js | 4 +- .../scripts/ej/i18n/ej.culture.en-GB.min.js | 4 +- .../scripts/ej/i18n/ej.culture.en-US.min.js | 4 +- .../scripts/ej/i18n/ej.culture.es-ES.min.js | 4 +- .../scripts/ej/i18n/ej.culture.fr-FR.min.js | 4 +- .../scripts/ej/i18n/ej.culture.vi-VN.min.js | 4 +- .../scripts/ej/i18n/ej.culture.zh-CN.min.js | 4 +- .../ej/l10n/ej.localetexts.ar-AE.min.js | 4 +- .../ej/l10n/ej.localetexts.de-DE.min.js | 4 +- .../ej/l10n/ej.localetexts.en-GB.min.js | 4 +- .../ej/l10n/ej.localetexts.en-US.min.js | 4 +- .../ej/l10n/ej.localetexts.es-ES.min.js | 4 +- .../ej/l10n/ej.localetexts.fr-FR.min.js | 4 +- .../ej/l10n/ej.localetexts.vi-VN.min.js | 4 +- .../ej/l10n/ej.localetexts.zh-CN.min.js | 4 +- .../ej/mobile/ej.mobile.accordion.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.all.min.js | 6 +- .../ej/mobile/ej.mobile.application.min.js | 4 +- .../ej/mobile/ej.mobile.autocomplete.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.button.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.core.min.js | 4 +- .../ej/mobile/ej.mobile.datepicker.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.dialog.min.js | 4 +- .../ej/mobile/ej.mobile.dropdownlist.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.editor.min.js | 4 +- .../ej/mobile/ej.mobile.groupbutton.min.js | 4 +- .../ej/mobile/ej.mobile.inputbutton.min.js | 4 +- .../ej/mobile/ej.mobile.listview.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.menu.min.js | 4 +- .../ej/mobile/ej.mobile.navigationbar.min.js | 4 +- .../ej/mobile/ej.mobile.progressbar.min.js | 4 +- .../ej/mobile/ej.mobile.radialmenu.min.js | 4 +- .../ej/mobile/ej.mobile.radialslider.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.rating.min.js | 4 +- .../ej/mobile/ej.mobile.rotator.min.js | 4 +- .../ej/mobile/ej.mobile.scrollpanel.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.slider.min.js | 4 +- .../ej/mobile/ej.mobile.splitpane.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.tab.min.js | 4 +- .../scripts/ej/mobile/ej.mobile.tile.min.js | 4 +- .../ej/mobile/ej.mobile.timepicker.min.js | 4 +- .../ej/mobile/ej.mobile.togglebutton.min.js | 4 +- vendors/scripts/ej/web/ej.accordion.min.js | 4 +- vendors/scripts/ej/web/ej.autocomplete.min.js | 6 +- vendors/scripts/ej/web/ej.button.min.js | 4 +- vendors/scripts/ej/web/ej.calculate.min.js | 4 +- vendors/scripts/ej/web/ej.captcha.min.js | 4 +- vendors/scripts/ej/web/ej.checkbox.min.js | 4 +- vendors/scripts/ej/web/ej.colorpicker.min.js | 4 +- vendors/scripts/ej/web/ej.combobox.min.js | 4 +- vendors/scripts/ej/web/ej.datepicker.min.js | 4 +- .../scripts/ej/web/ej.daterangepicker.min.js | 4 +- .../scripts/ej/web/ej.datetimepicker.min.js | 4 +- vendors/scripts/ej/web/ej.dialog.min.js | 4 +- .../scripts/ej/web/ej.documenteditor.min.js | 4 +- vendors/scripts/ej/web/ej.dropdownlist.min.js | 6 +- vendors/scripts/ej/web/ej.dropdowntree.min.js | 4 +- vendors/scripts/ej/web/ej.editor.min.js | 4 +- vendors/scripts/ej/web/ej.excelfilter.min.js | 4 +- vendors/scripts/ej/web/ej.fileexplorer.min.js | 4 +- vendors/scripts/ej/web/ej.gantt.min.js | 6 +- vendors/scripts/ej/web/ej.grid.min.js | 4 +- vendors/scripts/ej/web/ej.groupbutton.min.js | 4 +- vendors/scripts/ej/web/ej.kanban.min.js | 4 +- vendors/scripts/ej/web/ej.listbox.min.js | 4 +- vendors/scripts/ej/web/ej.listview.min.js | 4 +- vendors/scripts/ej/web/ej.maskedit.min.js | 4 +- vendors/scripts/ej/web/ej.mediaplayer.min.js | 4 +- vendors/scripts/ej/web/ej.menu.min.js | 4 +- .../scripts/ej/web/ej.navigationdrawer.min.js | 4 +- vendors/scripts/ej/web/ej.olap.base.min.js | 4 +- vendors/scripts/ej/web/ej.pager.min.js | 4 +- vendors/scripts/ej/web/ej.pdfviewer.min.js | 4 +- vendors/scripts/ej/web/ej.pivot.common.min.js | 4 +- .../ej/web/ej.pivotanalysis.base.min.js | 4 +- vendors/scripts/ej/web/ej.pivotchart.min.js | 4 +- vendors/scripts/ej/web/ej.pivotclient.min.js | 4 +- vendors/scripts/ej/web/ej.pivotgauge.min.js | 4 +- vendors/scripts/ej/web/ej.pivotgrid.min.js | 4 +- vendors/scripts/ej/web/ej.pivotpager.min.js | 4 +- .../ej/web/ej.pivotschemadesigner.min.js | 4 +- vendors/scripts/ej/web/ej.pivottreemap.min.js | 4 +- vendors/scripts/ej/web/ej.print.min.js | 4 +- vendors/scripts/ej/web/ej.progressbar.min.js | 4 +- vendors/scripts/ej/web/ej.radialmenu.min.js | 4 +- vendors/scripts/ej/web/ej.radialslider.min.js | 4 +- vendors/scripts/ej/web/ej.radiobutton.min.js | 4 +- vendors/scripts/ej/web/ej.rating.min.js | 4 +- .../scripts/ej/web/ej.recurrenceeditor.min.js | 4 +- vendors/scripts/ej/web/ej.ribbon.min.js | 4 +- vendors/scripts/ej/web/ej.rotator.min.js | 4 +- vendors/scripts/ej/web/ej.rte.min.js | 4 +- vendors/scripts/ej/web/ej.schedule.min.js | 4 +- vendors/scripts/ej/web/ej.signature.min.js | 4 +- vendors/scripts/ej/web/ej.slider.min.js | 4 +- vendors/scripts/ej/web/ej.spellcheck.min.js | 4 +- vendors/scripts/ej/web/ej.splitbutton.min.js | 4 +- vendors/scripts/ej/web/ej.splitter.min.js | 4 +- vendors/scripts/ej/web/ej.spreadsheet.min.js | 4 +- vendors/scripts/ej/web/ej.tab.min.js | 4 +- vendors/scripts/ej/web/ej.tagcloud.min.js | 4 +- vendors/scripts/ej/web/ej.tile.min.js | 4 +- vendors/scripts/ej/web/ej.timepicker.min.js | 4 +- vendors/scripts/ej/web/ej.togglebutton.min.js | 4 +- vendors/scripts/ej/web/ej.toolbar.min.js | 4 +- vendors/scripts/ej/web/ej.tooltip.min.js | 4 +- vendors/scripts/ej/web/ej.treegrid.min.js | 4 +- vendors/scripts/ej/web/ej.treeview.min.js | 4 +- vendors/scripts/ej/web/ej.uploadbox.min.js | 4 +- vendors/scripts/ej/web/ej.waitingpopup.min.js | 4 +- vendors/scripts/ej/web/ej.web.all.min.js | 6 +- 231 files changed, 3474 insertions(+), 3445 deletions(-) diff --git a/dist/amd/aurelia-syncfusion-bridge.d.ts b/dist/amd/aurelia-syncfusion-bridge.d.ts index bdd98865..b1be3739 100644 --- a/dist/amd/aurelia-syncfusion-bridge.d.ts +++ b/dist/amd/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -160,12 +160,90 @@ declare module 'aurelia-syncfusion-bridge' { export class ejCircularGauge extends WidgetBase { constructor(element?: any); } - export class ejComboBox extends WidgetBase { + export class ejColorPicker extends WidgetBase { constructor(element?: any); } - export class ejColorPicker extends WidgetBase { + export class ejComboBox extends WidgetBase { constructor(element?: any); } + export { + customAttribute, + bindable, + inject, + inlineView, + customElement, + children, + TemplatingEngine + }; + export const constants: any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; + export function delayed(): any; + + /** + * To get binded events from the element + * @param element The Element from which events acquired + */ + export function getEventOption(element?: any): any; + + /** + * Fire DOM event on an element + * @param element The Element which the DOM event will be fired on + * @param name The Event's name + * @param data Addition data to attach to an event + */ + export function fireEvent(element: Element, name: string, data?: any): any; + export class TemplateProcessor { + constructor(context?: any, templateEngine?: any); + initTemplate(): any; + initWidgetDependancies(): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; + clearTempalte(): any; + unbindViews(obj?: any): any; + } + export class Template { + template: any; + constructor(target?: any); + } + export class Util { + getBindablePropertyName(propertyName: string): string; + _unhyphenate(name: string): string; + getOptions(model?: any, properties?: any): any; + getControlPropertyName(options?: any, propertyName?: any): any; + hasValue(prop?: any): any; + processData(value?: any): any; + } + export class WidgetBase { + + /** + * To Create an widget + * @param option Object which contains Element in which widget will be created + */ + createWidget(option?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + createTwoWays(): any; + addTwoways(prop?: any): any; + + /** + * To get property and event options from the element + * @param element Element from which options are acquired + */ + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; + attached(): any; + unsubscribe(): any; + unbind(): any; + + /** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + update(e?: any): any; + detached(): any; + } export class ejCurrencyTextbox extends WidgetBase { constructor(element?: any); } @@ -178,10 +256,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDateTimePicker extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDiagram extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { @@ -196,9 +274,6 @@ declare module 'aurelia-syncfusion-bridge' { export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGroupButton extends WidgetBase { - constructor(element?: any); - } export class Column { template: any; setTemplates(): any; @@ -207,6 +282,9 @@ declare module 'aurelia-syncfusion-bridge' { columns: any; constructor(element?: any, templateEngine?: any); } + export class ejGroupButton extends WidgetBase { + constructor(element?: any); + } export class ejHeatMap extends WidgetBase { constructor(element?: any); } @@ -257,10 +335,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPivotChart extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPivotChart extends WidgetBase { constructor(element?: any); } export class ejPivotGauge extends WidgetBase { @@ -272,13 +350,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPivotSchemaDesigner extends WidgetBase { constructor(element?: any); } - export class ejProgressBar extends WidgetBase { - constructor(element?: any); - } export class ejPivotTreeMap extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejProgressBar extends WidgetBase { constructor(element?: any); } export class Item { @@ -289,6 +364,9 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } + export class ejRadialSlider extends WidgetBase { + constructor(element?: any); + } export class ejRadioButton extends WidgetBase { constructor(element?: any); } @@ -299,24 +377,24 @@ declare module 'aurelia-syncfusion-bridge' { export class RangeSeries { } - export class ejRibbon extends WidgetBase { + export class ejRating extends WidgetBase { constructor(element?: any); } - export class ejRating extends WidgetBase { + export class ejRibbon extends WidgetBase { constructor(element?: any); } export class ejRotator extends WidgetBase { constructor(element?: any); } + export class ejRte extends WidgetBase { + constructor(element?: any); + } export class ejSchedule extends WidgetBase { resources: any; constructor(element?: any); } export class ScheduleResource { - } - export class ejRte extends WidgetBase { - constructor(element?: any); } export class ejScroller extends WidgetBase { constructor(element?: any); @@ -333,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -346,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); - } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { + } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -401,82 +479,4 @@ declare module 'aurelia-syncfusion-bridge' { export class ejWaitingPopup extends WidgetBase { constructor(element?: any); } - export { - customAttribute, - bindable, - inject, - inlineView, - customElement, - children, - TemplatingEngine - }; - export const constants: any; - export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; - export function delayed(): any; - - /** - * To get binded events from the element - * @param element The Element from which events acquired - */ - export function getEventOption(element?: any): any; - - /** - * Fire DOM event on an element - * @param element The Element which the DOM event will be fired on - * @param name The Event's name - * @param data Addition data to attach to an event - */ - export function fireEvent(element: Element, name: string, data?: any): any; - export class TemplateProcessor { - constructor(context?: any, templateEngine?: any); - initTemplate(): any; - initWidgetDependancies(): any; - renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; - compileTemplate(element?: any): any; - clearTempalte(): any; - unbindViews(obj?: any): any; - } - export class Template { - template: any; - constructor(target?: any); - } - export class Util { - getBindablePropertyName(propertyName: string): string; - _unhyphenate(name: string): string; - getOptions(model?: any, properties?: any): any; - getControlPropertyName(options?: any, propertyName?: any): any; - hasValue(prop?: any): any; - processData(value?: any): any; - } - export class WidgetBase { - - /** - * To Create an widget - * @param option Object which contains Element in which widget will be created - */ - createWidget(option?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - createTwoWays(): any; - addTwoways(prop?: any): any; - - /** - * To get property and event options from the element - * @param element Element from which options are acquired - */ - getWidgetOptions(element?: any): any; - getChildProperties(options?: any): any; - attached(): any; - unsubscribe(): any; - unbind(): any; - - /** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - update(e?: any): any; - detached(): any; - } } \ No newline at end of file diff --git a/dist/aurelia-syncfusion-bridge.d.ts b/dist/aurelia-syncfusion-bridge.d.ts index 84ce1d09..d2c07311 100644 --- a/dist/aurelia-syncfusion-bridge.d.ts +++ b/dist/aurelia-syncfusion-bridge.d.ts @@ -127,10 +127,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -156,12 +156,90 @@ declare module 'aurelia-syncfusion-bridge' { export class ejCircularGauge extends WidgetBase { constructor(element?: any); } - export class ejComboBox extends WidgetBase { + export class ejColorPicker extends WidgetBase { constructor(element?: any); } - export class ejColorPicker extends WidgetBase { + export class ejComboBox extends WidgetBase { constructor(element?: any); } + export { + customAttribute, + bindable, + inject, + inlineView, + customElement, + children, + TemplatingEngine + }; + export const constants: any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; + export function delayed(): any; + + /** + * To get binded events from the element + * @param element The Element from which events acquired + */ + export function getEventOption(element?: any): any; + + /** + * Fire DOM event on an element + * @param element The Element which the DOM event will be fired on + * @param name The Event's name + * @param data Addition data to attach to an event + */ + export function fireEvent(element: Element, name: string, data?: any): any; + export class TemplateProcessor { + constructor(context?: any, templateEngine?: any); + initTemplate(): any; + initWidgetDependancies(): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; + clearTempalte(): any; + unbindViews(obj?: any): any; + } + export class Template { + template: any; + constructor(target?: any); + } + export class Util { + getBindablePropertyName(propertyName: string): string; + _unhyphenate(name: string): string; + getOptions(model?: any, properties?: any): any; + getControlPropertyName(options?: any, propertyName?: any): any; + hasValue(prop?: any): any; + processData(value?: any): any; + } + export class WidgetBase { + + /** + * To Create an widget + * @param option Object which contains Element in which widget will be created + */ + createWidget(option?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + createTwoWays(): any; + addTwoways(prop?: any): any; + + /** + * To get property and event options from the element + * @param element Element from which options are acquired + */ + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; + attached(): any; + unsubscribe(): any; + unbind(): any; + + /** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + update(e?: any): any; + detached(): any; + } export class ejCurrencyTextbox extends WidgetBase { constructor(element?: any); } @@ -174,10 +252,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDateTimePicker extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDiagram extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { @@ -192,9 +270,6 @@ declare module 'aurelia-syncfusion-bridge' { export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGroupButton extends WidgetBase { - constructor(element?: any); - } export class Column { template: any; setTemplates(): any; @@ -203,6 +278,9 @@ declare module 'aurelia-syncfusion-bridge' { columns: any; constructor(element?: any, templateEngine?: any); } + export class ejGroupButton extends WidgetBase { + constructor(element?: any); + } export class ejHeatMap extends WidgetBase { constructor(element?: any); } @@ -253,10 +331,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPivotChart extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPivotChart extends WidgetBase { constructor(element?: any); } export class ejPivotGauge extends WidgetBase { @@ -268,13 +346,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPivotSchemaDesigner extends WidgetBase { constructor(element?: any); } - export class ejProgressBar extends WidgetBase { - constructor(element?: any); - } export class ejPivotTreeMap extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejProgressBar extends WidgetBase { constructor(element?: any); } export class Item { @@ -285,6 +360,9 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } + export class ejRadialSlider extends WidgetBase { + constructor(element?: any); + } export class ejRadioButton extends WidgetBase { constructor(element?: any); } @@ -295,24 +373,24 @@ declare module 'aurelia-syncfusion-bridge' { export class RangeSeries { } - export class ejRibbon extends WidgetBase { + export class ejRating extends WidgetBase { constructor(element?: any); } - export class ejRating extends WidgetBase { + export class ejRibbon extends WidgetBase { constructor(element?: any); } export class ejRotator extends WidgetBase { constructor(element?: any); } + export class ejRte extends WidgetBase { + constructor(element?: any); + } export class ejSchedule extends WidgetBase { resources: any; constructor(element?: any); } export class ScheduleResource { - } - export class ejRte extends WidgetBase { - constructor(element?: any); } export class ejScroller extends WidgetBase { constructor(element?: any); @@ -329,10 +407,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -342,15 +420,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); - } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { + } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -397,82 +475,4 @@ declare module 'aurelia-syncfusion-bridge' { export class ejWaitingPopup extends WidgetBase { constructor(element?: any); } - export { - customAttribute, - bindable, - inject, - inlineView, - customElement, - children, - TemplatingEngine - }; - export const constants: any; - export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; - export function delayed(): any; - - /** - * To get binded events from the element - * @param element The Element from which events acquired - */ - export function getEventOption(element?: any): any; - - /** - * Fire DOM event on an element - * @param element The Element which the DOM event will be fired on - * @param name The Event's name - * @param data Addition data to attach to an event - */ - export function fireEvent(element: Element, name: string, data?: any): any; - export class TemplateProcessor { - constructor(context?: any, templateEngine?: any); - initTemplate(): any; - initWidgetDependancies(): any; - renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; - compileTemplate(element?: any): any; - clearTempalte(): any; - unbindViews(obj?: any): any; - } - export class Template { - template: any; - constructor(target?: any); - } - export class Util { - getBindablePropertyName(propertyName: string): string; - _unhyphenate(name: string): string; - getOptions(model?: any, properties?: any): any; - getControlPropertyName(options?: any, propertyName?: any): any; - hasValue(prop?: any): any; - processData(value?: any): any; - } - export class WidgetBase { - - /** - * To Create an widget - * @param option Object which contains Element in which widget will be created - */ - createWidget(option?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - createTwoWays(): any; - addTwoways(prop?: any): any; - - /** - * To get property and event options from the element - * @param element Element from which options are acquired - */ - getWidgetOptions(element?: any): any; - getChildProperties(options?: any): any; - attached(): any; - unsubscribe(): any; - unbind(): any; - - /** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - update(e?: any): any; - detached(): any; - } } \ No newline at end of file diff --git a/dist/aurelia-syncfusion-bridge.js b/dist/aurelia-syncfusion-bridge.js index 0fc45d8d..ec33b8a7 100644 --- a/dist/aurelia-syncfusion-bridge.js +++ b/dist/aurelia-syncfusion-bridge.js @@ -445,11 +445,10 @@ export class ejAccordion extends WidgetBase { } -@customElement(`${constants.elementPrefix}barcode`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']) +@customAttribute(`${constants.attributePrefix}autocomplete`) + @generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'ignoreAccent', 'locale', 'minCharacter', 'multiColumnSettings', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejBarcode extends WidgetBase { +export class ejAutocomplete extends WidgetBase { constructor(element) { super(); this.element = element; @@ -457,10 +456,11 @@ export class ejBarcode extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}autocomplete`) - @generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'ignoreAccent', 'locale', 'minCharacter', 'multiColumnSettings', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}barcode`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']) @inject(Element) -export class ejAutocomplete extends WidgetBase { +export class ejBarcode extends WidgetBase { constructor(element) { super(); this.element = element; @@ -550,18 +550,6 @@ export class ejCircularGauge extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}combo-box`) -@generateBindables('ejComboBox', ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enableRtl', 'enabled', 'fields', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'width'], ['value']) -@inject(Element) -export class ejComboBox extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; - } -} - - @customAttribute(`${constants.attributePrefix}color-picker`) @generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'locale', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']) @inject(Element) @@ -573,10 +561,10 @@ export class ejColorPicker extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}currency-textbox`) - @generateBindables('ejCurrencyTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}combo-box`) +@generateBindables('ejComboBox', ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enableRtl', 'enabled', 'fields', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'width'], ['value']) @inject(Element) -export class ejCurrencyTextbox extends WidgetBase { +export class ejComboBox extends WidgetBase { constructor(element) { super(); this.isEditor = true; @@ -585,364 +573,520 @@ export class ejCurrencyTextbox extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}date-picker`) - @generateBindables('ejDatePicker', ['allowEdit', 'allowDrillDown', 'blackoutDates', 'buttonText', 'cssClass', 'dateFormat', 'dayHeaderFormat', 'depthLevel', 'displayInline', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'fields', 'headerFormat', 'height', 'highlightSection', 'highlightWeekend', 'htmlAttributes', 'locale', 'maxDate', 'minDate', 'readOnly', 'showDisabledRange', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'weekNumber', 'width'], ['value'], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejDatePicker extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; - } -} +export {customAttribute, bindable, inject, inlineView, customElement, children, TemplatingEngine}; +export const constants = { + eventPrefix: 'e-on-', + bindablePrefix: 'e-', + attributePrefix: 'ej-', + elementPrefix: 'ej-', + aureliaTemplateString: '' +}; -@customAttribute(`${constants.attributePrefix}date-range-picker`) -@generateBindables('ejDateRangePicker', ['allowEdit', 'buttonText', 'cssClass', 'dateFormat', 'enableTimePicker', 'enabled', 'enablePersistence', 'endDate', 'height', 'locale', 'maxDate', 'minDate', 'ranges', 'separator', 'startDate', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'watermarkText', 'width'], ['value']) -@inject(Element) -export class ejDateRangePicker extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; - } +export function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties, observerCollection) { + return function(target, key, descriptor) { + let behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); + let container = (Container.instance || new Container()); + let util = container.get(Util); + let bindingInstance = container.get(BindingEngine); + inputs.push('options'); + inputs.push('widget'); + let len = inputs.length; + if (observerCollection) { + target.prototype.arrayObserver = []; + observerCollection.forEach((element) => { + target.prototype.arrayObserver.push(util.getBindablePropertyName(element)); + }); + target.prototype.bindingInstance = bindingInstance; + } + target.prototype.controlName = controlName; + target.prototype.twoWays = twoWayProperties ? twoWayProperties : []; + target.prototype.abbrevProperties = abbrevProperties ? abbrevProperties : []; + if (len) { + target.prototype.controlProperties = inputs; + for (let i = 0; i < len; i++) { + let option = inputs[i]; + if (abbrevProperties && option in abbrevProperties) { + option = abbrevProperties[option]; + option.forEach((prop) => { + registerProp(util, prop, target, behaviorResource, descriptor); + }); + } else { + registerProp(util, option, target, behaviorResource, descriptor); + } + } + } + }; } +function registerProp(util, option, target, behaviorResource, descriptor) { + let nameOrConfigOrTarget = { + name: util.getBindablePropertyName(option) + }; -@customAttribute(`${constants.attributePrefix}date-time-picker`) - @generateBindables('ejDateTimePicker', ['allowEdit', 'buttonText', 'blackoutDates', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejDateTimePicker extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; + if (option === 'widget') { + nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay; } -} - -@customElement(`${constants.elementPrefix}dialog`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejDialog', ['actionButtons', 'ajaxSettings', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'backgroundScroll', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'htmlAttributes', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex', 'showFooter', 'footerTemplateId'], [], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejDialog extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } + let prop = new BindableProperty(nameOrConfigOrTarget); + prop.registerWith(target, behaviorResource, descriptor); } +export function delayed() { + return function(target, key, descriptor) { + let taskQueue = (Container.instance || new Container()).get(TaskQueue); + let ptr = descriptor.value; -@customElement(`${constants.elementPrefix}diagram`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'labelRenderingMode', 'layout', 'locale', 'nodes', 'layers', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'serializationSettings', 'rulerSettings', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']) -@inject(Element) -export class ejDiagram extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } -} - + descriptor.value = function(...args) { + if (this.childPropertyName) { + taskQueue.queueTask(() => ptr.apply(this, args)); + } else { + ptr.apply(this, args); + } + }; -@customElement(`${constants.elementPrefix}digital-gauge`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']) -@inject(Element) -export class ejDigitalGauge extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } + return descriptor; + }; } - -@customAttribute(`${constants.attributePrefix}drop-down-list`) - @generateBindables('ejDropDownList', ['allowVirtualScrolling', 'cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enableServerFiltering', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'loadOnDemand', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', 'locale', 'maxPopupHeight', 'minPopupHeight', 'maxPopupWidth', 'minPopupWidth', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showPopupOnLoad', 'showRoundedCorner', 'sortOrder', 'targetID', 'template', 'text', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width', 'virtualScrollMode'], ['value'], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) -@inject(Element) -export class ejDropDownList extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; +/** +* To get binded events from the element +* @param element The Element from which events acquired +*/ +export function getEventOption(element) { + let name; + let attr; + let attributes = element.attributes; + let option = {}; + let container = (Container.instance || new Container()); + let util = container.get(Util); + for (let i = 0, len = attributes.length; i < len; i++) { + attr = attributes[i]; + name = attr.name; + if (!name.startsWith(constants.eventPrefix)) { + continue; + } + let actualEventName = name.split('.')[0];//Event name with constants event prefix + let eventName = util._unhyphenate(actualEventName.split(constants.eventPrefix)[1]); + option[eventName] = e => fireEvent(element, actualEventName, e); // eslint-disable-line no-loop-func } + return option; } - - -@customElement(`${constants.elementPrefix}file-explorer`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowDragAndDrop', 'allowKeyboardNavigation', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'enablePersistence', 'enableResize', 'enableRTL', 'enableThumbnailCompress', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'rootFolderName', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'virtualItemCount', 'width'], [], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejFileExplorer extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } +/** +* Fire DOM event on an element +* @param element The Element which the DOM event will be fired on +* @param name The Event's name +* @param data Addition data to attach to an event +*/ +export function fireEvent(element: Element, name: string, data? = {}) { + let event = new CustomEvent(name, { + detail: data, + bubbles: true + }); + element.dispatchEvent(event); + return event; } +@inject(TemplatingEngine, Util) +export class TemplateProcessor { -@customElement(`${constants.elementPrefix}gantt`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowDragAndDrop', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowMultipleExporting', 'allowSelection', 'allowSorting', 'allowUnscheduledTask', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'cellTooltipTemplate', 'childMapping', 'columnDialogFields', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'dayWorkingTime', 'dragTooltip', 'durationMapping', 'durationUnit', 'durationUnitMapping', 'editDialogFields', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enablePredecessorValidation', 'enableProgressBarResizing', 'enableResize', 'enableSerialNumber', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'enableWBS', 'enableWBSPredecessor', 'endDateMapping', 'expandStateMapping', 'filterSettings', 'groupCollection', 'groupIdMapping', 'groupNameMapping', 'highlightNonWorkingTime', 'highlightWeekends', 'holidays', 'includeWeekend', 'isResponsive', 'leftTaskLabelMapping', 'leftTaskLabelTemplate', 'locale', 'milestoneMapping', 'milestoneTemplate', 'nonWorkingBackground', 'notesMapping', 'parentProgressbarBackground', 'parentTaskIdMapping', 'parentTaskbarBackground', 'parentTaskbarTemplate', 'predecessorMapping', 'predecessorTooltipTemplate', 'progressMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'query', 'readOnly', 'renderBaseline', 'resourceCollectionMapping', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resourceUnitMapping', 'resources', 'rightTaskLabelMapping', 'rightTaskLabelTemplate', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedCellIndexes', 'selectedRowIndex', 'selectionType', 'selectionMode', 'showColumnChooser', 'showColumnOptions', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'splitterSettings', 'startDateMapping', 'stripLines', 'taskCollectionMapping', 'taskIdMapping', 'taskNameMapping', 'taskSchedulingMode', 'taskSchedulingModeMapping', 'taskType', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarHeight', 'taskbarTemplate', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'toolbarSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'weekendBackground', 'workMapping', 'workUnit', 'workWeek', 'workingTimeScale'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes'], {}, ['dataSource']) -@inject(Element) -export class ejGantt extends WidgetBase { - constructor(element) { - super(); - this.element = element; + constructor(context, templateEngine) { + this.context = context; + this.templatingEngine = templateEngine; + this.util = new Util(); } -} - -@customAttribute(`${constants.attributePrefix}group-button`) -@generateBindables('ejGroupButton', ['cssClass', 'dataSource', 'enableRTL', 'enabled', 'fields', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'query', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejGroupButton extends WidgetBase { - constructor(element) { - super(); - this.element = element; + initTemplate() { + let proxy = this; + ej.template.render = function(self, selector, data, index) { + return proxy.renderStringTemplate(self, selector, data, index); + }; } -} - - -@inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}column`) -@generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'commands', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckbox', 'editParams', 'editTemplate', 'editType', 'enableGroupByFormat', 'field', 'filterBarTemplate', 'filterType', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'priority', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'], [], {'headerTemplateID': ['headerTemplateId', 'headerTemplateID']}) - -export class Column { - @children(`${constants.elementPrefix}template`) template = []; - setTemplates() { - if (this.template[0]) { - let util = new Util(); - this[util.getBindablePropertyName('template')] = this.template[0].template; + initWidgetDependancies() { + if ( this.context.widget.aureliaTemplate) { + this.compileTemplate(this.context.widget.element); } + let proxy = this.context; + let element = this.context.widget.element; + element.on( this.context.widget.pluginName + 'refresh', function() { + if (proxy.widget.aureliaTemplate) { + proxy.templateProcessor.compileTemplate(element); + } + }); } -} - - -@customElement(`${constants.elementPrefix}grid`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejGrid', ['allowCellMerging', 'allowGrouping', 'allowKeyboardNavigation', 'allowFiltering', 'allowSorting', 'allowMultiSorting', 'allowPaging', 'allowReordering', 'allowResizeToFit', 'allowResizing', 'allowRowDragAndDrop', 'allowScrolling', 'allowSearching', 'allowSelection', 'allowTextWrap', 'allowMultipleExporting', 'commonWidth', 'gridLines', 'childGrid', 'columnLayout', 'columns', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'editSettings', 'enableAltRow', 'enableAutoSaveOnSelectionChange', 'enableHeaderHover', 'enablePersistence', 'enableResponsiveRow', 'enableRowHover', 'enableRTL', 'enableTouch', 'enableToolbarItems', 'exportToExcelAction', 'exportToPdfAction', 'exportToWordAction', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'resizeSettings', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectedRowIndices', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource', 'selectedRowIndices'], {'enableRTL': ['enableRtl']}, ['dataSource']) -@inject(Element, TemplatingEngine) -export class ejGrid extends WidgetBase { - @children(`${constants.elementPrefix}column`) columns = []; - constructor(element, templateEngine) { - super(); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); - } -} - -@customElement(`${constants.elementPrefix}heat-map`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejHeatMap', ['width', 'height', 'id', 'showTooltip', 'tooltipSettings', 'itemsSource', 'heatMapCell', 'isResponsive', 'enableVirtualization', 'defaultColumnStyle', 'legendCollection', 'itemsMapping', 'colorMappingCollection']) -@inject(Element) -export class ejHeatMap extends WidgetBase { - constructor(element) { - super(); - this.element = element; + renderStringTemplate(self, selector, data, index) { + let templateObject = self.aureliaTemplate; + if (!templateObject || !templateObject[selector]) { + templateObject = templateObject || {}; + templateObject[selector] = { key: ej.getGuid('aurtmpl'), itemData: [], views: [] }; + self.aureliaTemplate = templateObject; + } + let scope = templateObject[selector]; + if (this.util.hasValue(index)) { + scope.itemData[index] = data; + } else { + scope.itemData = [data]; + } + let actElement = $(selector).html(); + let tempElement = "
" + actElement + '
'; + return tempElement; } -} - -@customElement(`${constants.elementPrefix}heat-map-legend`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejHeatMapLegend', ['width', 'height', 'isResponsive', 'showLabel', 'colorMappingCollection', 'orientation', 'legendMode']) -@inject(Element) -export class ejHeatMapLegend extends WidgetBase { - constructor(element) { - super(); - this.element = element; + compileTemplate(element) { + let templates = $(element).find('.ej-aurelia-template'); + let templateObject = this.context.widget.aureliaTemplate; + for (let template in templateObject) { + let tmplElement = templates.filter('.' + templateObject[template].key); + if (tmplElement.length) { + for (let i = 0; i < tmplElement.length; i++) { + let dataIndex = parseInt($(tmplElement[i]).attr('ej-prop'));// eslint-disable-line radix + let view = this.templatingEngine.enhance(tmplElement[i]); + view.bind(templateObject[template].itemData[dataIndex], this.context.parentCtx); + templateObject[template].views[dataIndex] = view; + } + } else { + this.unbindViews(templateObject[template]); + delete templateObject[template]; + } + } } -} - -@customElement(`${constants.elementPrefix}kanban`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejKanban', ['allowDragAndDrop', 'allowExternalDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowFiltering', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'allowPrinting', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableTouch', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'workflows', 'locale', 'showColumnWhenEmpty'], ['dataSource'], {'enableRTL': ['enableRtl']}, ['dataSource']) -@inject(Element) -export class ejKanban extends WidgetBase { - @children(`${constants.elementPrefix}kanban-column`) columns = []; - constructor(element) { - super(); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; + clearTempalte() { + let templateObject = this.context.widget.aureliaTemplate; + if (templateObject && Object.keys(templateObject).length) { + for (let t in templateObject) { + this.unbindViews(templateObject[t]); + delete templateObject[t]; + } + } } -} - - -@inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}kanban-column`) - -@generateBindables('columns', ['headerText', 'totalCount', 'totalCount', 'key', 'allowDrop', 'allowDrag', 'isCollapsed', 'constraints', 'constraints', 'constraints', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']) - -export class KanbanColumn { -} - -@customElement(`${constants.elementPrefix}linear-gauge`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'exportSettings', 'isResponsive', 'enableGroupSeparator', 'enableResize', 'frame', 'height', 'labelColor', 'locale', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']) -@inject(Element) -export class ejLinearGauge extends WidgetBase { - constructor(element) { - super(); - this.element = element; + unbindViews(obj) { + for (let i = 0; i < obj.views.length; i++) { + let view = obj.views[i]; + view.unbind(); + } } -} - -@customAttribute(`${constants.attributePrefix}list-box`) - @generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'enableWordWrap', 'fields', 'height', 'itemHeight', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'sortOrder', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value', 'dataSource'], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) -@inject(Element) -export class ejListBox extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } } - -@customElement(`${constants.elementPrefix}list-view`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejListView', ['ajaxSettings', 'checkedIndices', 'cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'items', 'headerBackButtonText', 'headerTitle', 'height', 'locale', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'showHeaderBackButton', 'templateId', 'width', 'itemRequestCount', 'totalItemsCount', 'allowVirtualScrolling', 'virtualScrollMode'], ['dataSource', 'selectedItemIndex'], {}, ['dataSource']) -@inject(Element) -export class ejListView extends WidgetBase { - constructor(element) { - super(); - this.element = element; +@customElement(`${constants.elementPrefix}template`) +@noView() +@processContent((compiler, resources, element, instruction) => { + let html = element.innerHTML; + if (html !== '') { + instruction.template = html; + } + element.innerHTML = ''; +}) +@inject(TargetInstruction) +export class Template { + @bindable template; + constructor(target) { + this.template = target.elementInstruction.template; } -} - - -@inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}layer`) - -@generateBindables('layers', ['bingMapType', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'geometryType', 'layerType', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers']) -export class Layer { } +export class Util { -@customElement(`${constants.elementPrefix}map`) -@inlineView(`${constants.aureliaTemplateString}`) - @generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'draggingOnSelection', 'enableAnimation', 'enableRTL', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'isResponsive', 'zoomSettings', 'navigationControl', 'locale', 'layers'], ['baseMapIndex', 'enablePan', 'enableResize', 'enableAnimation', 'zoomSettings.level', 'zoomSettings.minValue', 'zoomSettings.maxValue', 'zoomSettings.factor', 'zoomSettings.enableZoom', 'zoomSettings.enableZoomOnSelection', 'navigationControl.enableNavigation', 'navigationControl.orientation', 'navigationControl.absolutePosition', 'navigationControl.dockPosition'], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejMap extends WidgetBase { - @children(`${constants.elementPrefix}layer`) layers = []; - constructor(element) { - super(); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'layers'; + getBindablePropertyName(propertyName: string): string { + let name = `${constants.bindablePrefix}${propertyName}`; + return this._unhyphenate(name); } -} - -@customAttribute(`${constants.attributePrefix}mask-edit`) -@generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'locale', 'maskFormat', 'name', 'readOnly', 'showError', 'showPromptChar', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']) -@inject(Element) -export class ejMaskEdit extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; + _unhyphenate(name: string): string { + return name.replace(/-([a-z])/g, (g) => g[1].toUpperCase()); } -} + getOptions(model, properties ) { + let bindableproperites = {}; + let value; + for (let prop of properties) { + if (model.abbrevProperties && prop in model.abbrevProperties && model.abbrevProperties.hasOwnProperty(prop)) { + model.abbrevProperties[prop].some(property => { + value = model[this.getBindablePropertyName(property)]; + return this.hasValue(value); + }); + } else { + value = model[this.getBindablePropertyName(prop)]; + } + if (this.hasValue(value)) { + if (typeof value === 'string' ) { + value = this.processData(value); + } + bindableproperites[prop] = value; + } + } + return bindableproperites; + } -@customAttribute(`${constants.attributePrefix}menu`) -@generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'container', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'isResponsive', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width', 'overflowHeight', 'overflowWidth'], [], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejMenu extends WidgetBase { - constructor(element) { - super(); - this.element = element; + getControlPropertyName(options, propertyName) { + let property; + for (let prop of options.controlProperties) { + if (options.abbrevProperties && prop in options.abbrevProperties && options.abbrevProperties.hasOwnProperty(prop)) { + options.abbrevProperties[prop].some(props => { + property = propertyName === this.getBindablePropertyName(props) ? prop : undefined; + return property; + }); + if (property) break; + } else if (propertyName === this.getBindablePropertyName(prop)) { + property = prop; + break; + } + } + return property; } -} + hasValue(prop) { + return typeof (prop) !== 'undefined' && prop !== null; + } -@customElement(`${constants.elementPrefix}navigation-drawer`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejNavigationDrawer', ['ajaxSettings', 'contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width', 'isPaneOpen']) -@inject(Element) -export class ejNavigationDrawer extends WidgetBase { - constructor(element) { - super(); - this.element = element; + processData(value) { + if (value === 'true') { + return true; + } else if (value === 'false') { + return false; + } else if (+value + '' === value) { + return +value; + } + return value; } } - -@customAttribute(`${constants.attributePrefix}numeric-textbox`) - @generateBindables('ejNumericTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejNumericTextbox extends WidgetBase { - constructor(element) { - super(); - this.isEditor = true; - this.element = element; +let firstValue = {}; +export class WidgetBase { +/** +* To Create an widget +* @param option Object which contains Element in which widget will be created +*/ + createWidget(option) { + this.allOption = this.getWidgetOptions(option.element); + if (!this.ejOptions && !this.isEditor) { + this.createTwoWays(); + } + this.eWidget = this.widget = jQuery($(option.element))[this.controlName](this.allOption).data(this.controlName); + if (this.templateProcessor) { + this.templateProcessor.initWidgetDependancies(); + } + if (this.isEditor) { + this.widget.model._change = (evt) => { + if ('eValue' in this) { + this[this.util.getBindablePropertyName('value')] = evt.value; + } + }; + } } -} + bind(ctx, overrideCtx) { + this.parentCtx = overrideCtx; + if (this.widget && this.widget.element && this.isEditor) { + this.widget.option('value', (this.eValue === undefined ? null : this.eValue)); + } + } -@customElement(`${constants.elementPrefix}overview`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], {'sourceID': ['sourceId']}) -@inject(Element) -export class ejOverview extends WidgetBase { - constructor(element) { - super(); - this.element = element; + createTwoWays() { + let model = this.allOption; + let twoWays = this.twoWays; + let len = twoWays.length; + for (let i = 0; i < len; i++) { + let prop = twoWays[i]; + ej.createObject(prop, this.addTwoways(prop), model); + } + } + + addTwoways(prop) { + let model = this; + let value = firstValue; + return function(newVal, isApp) { + if (value === firstValue) { + let viewModelProp = model.util.getBindablePropertyName(prop); + value = model[viewModelProp]; + if (value === undefined) { + value = this.defaults[prop]; + } + return value; + } + if (newVal === undefined) { + return value; + } + if (value === newVal) { + return null; + } + value = newVal; + if (!isApp && model.util.hasValue(newVal) ) { + let viewModelProp = model.util.getBindablePropertyName(prop); + model[viewModelProp] = newVal; + } + return null; + }; + } +/** +* To get property and event options from the element +* @param element Element from which options are acquired +*/ + getWidgetOptions(element) { + let propOptions; + if (this.ejOptions) { + propOptions = this.ejOptions; + } else { + propOptions = this.util.getOptions(this, this.controlProperties); + } + let eventOption = getEventOption(element); + if (this.hasChildProperty) { + this.getChildProperties(propOptions); + } + return Object.assign({}, propOptions, eventOption); + } + + getChildProperties(options) { + let PropertyName = this.childPropertyName; + let childCollection = this[PropertyName]; + let len = childCollection.length; + if (len) { + options[PropertyName] = []; + let childProperties = childCollection[0].controlProperties; + for (let i = 0; i < len; i++) { + options[PropertyName].push(this.util.getOptions(childCollection[i], childProperties)); + } + } + } + + @delayed() + attached() { + if (this.templateProcessor) { + this[this.childPropertyName].forEach(template => template.setTemplates()); + } + this.util = new Util(); + this.createWidget({ element: this.element }); + } + + unsubscribe() { + if (this.subscription) { + this.subscription.dispose(); + this.subscription = null; + } } -} + unbind() { + this.unsubscribe(); + } -@customElement(`${constants.elementPrefix}pager`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPager', ['customText', 'currentPage', 'cssClass', 'enabled', 'enableExternalMessage', 'enableQueryString', 'enableRTL', 'externalMessage', 'isResponsive', 'locale', 'pageCount', 'pageSize', 'pageSizeList', 'pageSizeMessage', 'template', 'totalPages', 'totalRecordsCount', 'showPageInfo'], [], {'enableRTL': ['enableRtl']}) +/** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property, newValue, oldValue) { + if (this.widget) { + let modelValue; + let prop = this.util.getControlPropertyName(this, property); + this.unsubscribe(); + if (this.arrayObserver) { + this.arrayObserver.forEach((arrayProp) => { + if (this[arrayProp] instanceof Array) { + this.subscription = this.bindingInstance.collectionObserver(this[arrayProp]).subscribe((e) => { + this.update(e); + }); + } + }); + } + if (prop) { + if (prop === 'widget') { + return; + } else if (prop !== 'options') { + modelValue = this.widget.model[prop]; + let isTwoway = typeof modelValue === 'function'; + if (isTwoway) { + modelValue = modelValue(); + } + if (modelValue !== newValue) { + if (isTwoway) { + newValue = this.addTwoways(prop); + } + this.widget.option(prop, newValue); + } + } else { + this.widget.option(newValue); + } + } + } + } + + update(e) { + let modelValue; + let newVal; + if (e.length) { + this.arrayObserver.forEach((arrayProp) => { + if (this[arrayProp] instanceof Array) { + let prop = this.util.getControlPropertyName(this, arrayProp); + modelValue = this.widget.model[prop]; + if (typeof modelValue === 'function') { + modelValue = modelValue(); + newVal = modelValue; + newVal = this.addTwoways(prop); + this.widget.option(prop, newVal); + } else { + this.widget.option(prop, modelValue); + } + } + }); + } + } + + detached() { + if (this.templateProcessor) { + this.templateProcessor.clearTempalte(); + } + if (this.widget) { + this.widget.destroy(); + } + } +} + +@customAttribute(`${constants.attributePrefix}currency-textbox`) + @generateBindables('ejCurrencyTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejPager extends WidgetBase { +export class ejCurrencyTextbox extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } -@customElement(`${constants.elementPrefix}pdf-viewer`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'serverActionSettings', 'serviceUrl', 'documentPath', 'enableTextMarkupAnnotations', 'enableHighlightAnnotation', 'enableUnderlineAnnotation', 'enableStrikethroughAnnotation', 'enableSignature', 'strikethroughSettings', 'underlineSettings', 'highlightSettings', 'signatureSettings', 'textSelectionContextMenu', 'annotationContextMenu', 'annotationType', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService', 'interactionMode', 'bufferingMode', 'hyperlinkOpenState', 'enableHyperlink', 'enableTextSelection', 'isResponsive', 'isDocumentEdited', 'allowClientBuffering', 'fileName']) +@customAttribute(`${constants.attributePrefix}date-picker`) + @generateBindables('ejDatePicker', ['allowEdit', 'allowDrillDown', 'blackoutDates', 'buttonText', 'cssClass', 'dateFormat', 'dayHeaderFormat', 'depthLevel', 'displayInline', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'fields', 'headerFormat', 'height', 'highlightSection', 'highlightWeekend', 'htmlAttributes', 'locale', 'maxDate', 'minDate', 'readOnly', 'showDisabledRange', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'weekNumber', 'width'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejPdfViewer extends WidgetBase { +export class ejDatePicker extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } -@customElement(`${constants.elementPrefix}pivot-chart`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'zooming', 'commonSeriesOptions', 'dataSource', 'customObject', 'enable3D', 'enableRTL', 'enableMultiLevelLabels', 'isResponsive', 'legend', 'locale', 'operationalMode', 'axes', 'primaryXAxis', 'primaryYAxis', 'rotation', 'enableContextMenu', 'serviceMethodSettings', 'size', 'title', 'url', 'enableXHRCredentials'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}date-range-picker`) +@generateBindables('ejDateRangePicker', ['allowEdit', 'buttonText', 'cssClass', 'dateFormat', 'enableTimePicker', 'enabled', 'enablePersistence', 'endDate', 'height', 'locale', 'maxDate', 'minDate', 'ranges', 'separator', 'startDate', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'watermarkText', 'width'], ['value']) @inject(Element) -export class ejPivotChart extends WidgetBase { +export class ejDateRangePicker extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } -@customAttribute(`${constants.attributePrefix}percentage-textbox`) - @generateBindables('ejPercentageTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}date-time-picker`) + @generateBindables('ejDateTimePicker', ['allowEdit', 'buttonText', 'blackoutDates', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejPercentageTextbox extends WidgetBase { +export class ejDateTimePicker extends WidgetBase { constructor(element) { super(); this.isEditor = true; @@ -951,11 +1095,11 @@ export class ejPercentageTextbox extends WidgetBase { } -@customElement(`${constants.elementPrefix}pivot-gauge`) +@customElement(`${constants.elementPrefix}diagram`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPivotGauge', ['columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableAnimation', 'enableTooltip', 'enableRTL', 'frame', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url', 'analysisMode', 'operationalMode', 'enableXHRCredentials'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'labelRenderingMode', 'layout', 'locale', 'nodes', 'layers', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'serializationSettings', 'rulerSettings', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']) @inject(Element) -export class ejPivotGauge extends WidgetBase { +export class ejDiagram extends WidgetBase { constructor(element) { super(); this.element = element; @@ -963,11 +1107,11 @@ export class ejPivotGauge extends WidgetBase { } -@customElement(`${constants.elementPrefix}pivot-grid`) +@customElement(`${constants.elementPrefix}dialog`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'pivotTableFieldListID', 'dataSource', 'valueSortSettings', 'frozenHeaderSettings', 'headerSettings', 'showUniqueNameOnPivotButton', 'customObject', 'collapsedMembers', 'enableCellContext', 'enableCellSelection', 'enableDrillThrough', 'enableCellClick', 'enableCellDoubleClick', 'enableCellEditing', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableAdvancedFilter', 'enableDeferUpdate', 'enableGroupingBar', 'maxNodeLimitInMemberEditor', 'enableMemberEditorPaging', 'memberEditorPageSize', 'enableMemberEditorSorting', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableToolTipAnimation', 'enableColumnResizing', 'resizeColumnsToFit', 'enableContextMenu', 'enableVirtualScrolling', 'enablePaging', 'hyperlinkSettings', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableCompleteDataExport', 'enableXHRCredentials'], [], {'pivotTableFieldListID': ['pivotTableFieldListId'], 'enableRTL': ['enableRtl']}) +@generateBindables('ejDialog', ['actionButtons', 'ajaxSettings', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'backgroundScroll', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'htmlAttributes', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex', 'showFooter', 'footerTemplateId'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejPivotGrid extends WidgetBase { +export class ejDialog extends WidgetBase { constructor(element) { super(); this.element = element; @@ -975,11 +1119,11 @@ export class ejPivotGrid extends WidgetBase { } -@customElement(`${constants.elementPrefix}pivot-schema-designer`) +@customElement(`${constants.elementPrefix}digital-gauge`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'enableRTL', 'olap', 'enableDragDrop', 'height', 'locale', 'pivotControl', 'serviceMethods', 'url', 'width', 'layout'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']) @inject(Element) -export class ejPivotSchemaDesigner extends WidgetBase { +export class ejDigitalGauge extends WidgetBase { constructor(element) { super(); this.element = element; @@ -987,22 +1131,23 @@ export class ejPivotSchemaDesigner extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}progress-bar`) -@generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}drop-down-list`) + @generateBindables('ejDropDownList', ['allowVirtualScrolling', 'cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enableServerFiltering', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'loadOnDemand', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', 'locale', 'maxPopupHeight', 'minPopupHeight', 'maxPopupWidth', 'minPopupWidth', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showPopupOnLoad', 'showRoundedCorner', 'sortOrder', 'targetID', 'template', 'text', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width', 'virtualScrollMode'], ['value'], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) @inject(Element) -export class ejProgressBar extends WidgetBase { +export class ejDropDownList extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } -@customElement(`${constants.elementPrefix}pivot-tree-map`) +@customElement(`${constants.elementPrefix}file-explorer`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials']) +@generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowDragAndDrop', 'allowKeyboardNavigation', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'enablePersistence', 'enableResize', 'enableRTL', 'enableThumbnailCompress', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'rootFolderName', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'virtualItemCount', 'width'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejPivotTreeMap extends WidgetBase { +export class ejFileExplorer extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1010,11 +1155,11 @@ export class ejPivotTreeMap extends WidgetBase { } -@customElement(`${constants.elementPrefix}radial-slider`) +@customElement(`${constants.elementPrefix}gantt`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']) +@generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowDragAndDrop', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowMultipleExporting', 'allowSelection', 'allowSorting', 'allowUnscheduledTask', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'cellTooltipTemplate', 'childMapping', 'columnDialogFields', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'dayWorkingTime', 'dragTooltip', 'durationMapping', 'durationUnit', 'durationUnitMapping', 'editDialogFields', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enablePredecessorValidation', 'enableProgressBarResizing', 'enableResize', 'enableSerialNumber', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'enableWBS', 'enableWBSPredecessor', 'endDateMapping', 'expandStateMapping', 'filterSettings', 'groupCollection', 'groupIdMapping', 'groupNameMapping', 'highlightNonWorkingTime', 'highlightWeekends', 'holidays', 'includeWeekend', 'isResponsive', 'leftTaskLabelMapping', 'leftTaskLabelTemplate', 'locale', 'milestoneMapping', 'milestoneTemplate', 'nonWorkingBackground', 'notesMapping', 'parentProgressbarBackground', 'parentTaskIdMapping', 'parentTaskbarBackground', 'parentTaskbarTemplate', 'predecessorMapping', 'predecessorTooltipTemplate', 'progressMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'query', 'readOnly', 'renderBaseline', 'resourceCollectionMapping', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resourceUnitMapping', 'resources', 'rightTaskLabelMapping', 'rightTaskLabelTemplate', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedCellIndexes', 'selectedRowIndex', 'selectionType', 'selectionMode', 'showColumnChooser', 'showColumnOptions', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'splitterSettings', 'startDateMapping', 'stripLines', 'taskCollectionMapping', 'taskIdMapping', 'taskNameMapping', 'taskSchedulingMode', 'taskSchedulingModeMapping', 'taskType', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarHeight', 'taskbarTemplate', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'toolbarSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'weekendBackground', 'workMapping', 'workUnit', 'workWeek', 'workingTimeScale'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes'], {}, ['dataSource']) @inject(Element) -export class ejRadialSlider extends WidgetBase { +export class ejGantt extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1023,11 +1168,11 @@ export class ejRadialSlider extends WidgetBase { @inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}item`) +@customElement(`${constants.elementPrefix}column`) -@generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items']) +@generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'commands', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckbox', 'editParams', 'editTemplate', 'editType', 'enableGroupByFormat', 'field', 'filterBarTemplate', 'filterType', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'priority', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'], [], {'headerTemplateID': ['headerTemplateId', 'headerTemplateID']}) -export class Item { +export class Column { @children(`${constants.elementPrefix}template`) template = []; setTemplates() { if (this.template[0]) { @@ -1038,27 +1183,27 @@ export class Item { } -@customElement(`${constants.elementPrefix}radial-menu`) +@customElement(`${constants.elementPrefix}grid`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']) +@generateBindables('ejGrid', ['allowCellMerging', 'allowGrouping', 'allowKeyboardNavigation', 'allowFiltering', 'allowSorting', 'allowMultiSorting', 'allowPaging', 'allowReordering', 'allowResizeToFit', 'allowResizing', 'allowRowDragAndDrop', 'allowScrolling', 'allowSearching', 'allowSelection', 'allowTextWrap', 'allowMultipleExporting', 'commonWidth', 'gridLines', 'childGrid', 'columnLayout', 'columns', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'editSettings', 'enableAltRow', 'enableAutoSaveOnSelectionChange', 'enableHeaderHover', 'enablePersistence', 'enableResponsiveRow', 'enableRowHover', 'enableRTL', 'enableTouch', 'enableToolbarItems', 'exportToExcelAction', 'exportToPdfAction', 'exportToWordAction', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'resizeSettings', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectedRowIndices', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource', 'selectedRowIndices'], {'enableRTL': ['enableRtl']}, ['dataSource']) @inject(Element, TemplatingEngine) -export class ejRadialMenu extends WidgetBase { - @children(`${constants.elementPrefix}item`) items = []; +export class ejGrid extends WidgetBase { + @children(`${constants.elementPrefix}column`) columns = []; constructor(element, templateEngine) { super(); this.element = element; this.hasChildProperty = true; - this.childPropertyName = 'items'; + this.childPropertyName = 'columns'; this.templateProcessor = new TemplateProcessor(this, templateEngine); this.templateProcessor.initTemplate(); } } -@customAttribute(`${constants.attributePrefix}radio-button`) -@generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}group-button`) +@generateBindables('ejGroupButton', ['cssClass', 'dataSource', 'enableRTL', 'enabled', 'fields', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'query', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejRadioButton extends WidgetBase { +export class ejGroupButton extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1066,57 +1211,23 @@ export class ejRadioButton extends WidgetBase { } -@customElement(`${constants.elementPrefix}range-navigator`) +@customElement(`${constants.elementPrefix}heat-map`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejRangeNavigator', ['allowSnapping', 'allowNextValue', 'border', 'dataSource', 'series', 'seriesSettings', 'enableDeferredUpdate', 'enableScrollbar', 'enableAutoResizing', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejHeatMap', ['width', 'height', 'id', 'showTooltip', 'tooltipSettings', 'itemsSource', 'heatMapCell', 'isResponsive', 'enableVirtualization', 'defaultColumnStyle', 'legendCollection', 'itemsMapping', 'colorMappingCollection']) @inject(Element) -export class ejRangeNavigator extends WidgetBase { - @children(`${constants.elementPrefix}range-series`) series = []; +export class ejHeatMap extends WidgetBase { constructor(element) { super(); this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; } } +@customElement(`${constants.elementPrefix}heat-map-legend`) @inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}range-series`) - -@generateBindables('series', ['xName', 'yName', 'dataSource', 'type', 'enableAnimation', 'fill']) - -export class RangeSeries { -} - - -@customElement(`${constants.elementPrefix}ribbon`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejRibbon', ['allowResizing', 'isResponsive', 'buttonDefaults', 'showQAT', 'cssClass', 'collapsePinSettings', 'enableOnDemand', 'collapsible', 'enableRTL', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'], [], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejRibbon extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } -} - - -@customAttribute(`${constants.attributePrefix}rating`) -@generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'htmlAttributes', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']) -@inject(Element) -export class ejRating extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } -} - - -@customAttribute(`${constants.attributePrefix}rotator`) -@generateBindables('ejRotator', ['allowKeyboardNavigation', 'animationSpeed', 'animationType', 'circularMode', 'cssClass', 'dataSource', 'delay', 'displayItemsCount', 'enableAutoPlay', 'enabled', 'enableRTL', 'fields', 'frameSpace', 'isResponsive', 'navigateSteps', 'orientation', 'pagerPosition', 'query', 'showCaption', 'showNavigateButton', 'showPager', 'showPlayButton', 'showThumbnail', 'slideHeight', 'slideWidth', 'startIndex', 'stopOnHover', 'template', 'templateId', 'thumbnailSourceID'], [], {'enableRTL': ['enableRtl'], 'thumbnailSourceID': ['thumbnailSourceId']}) +@generateBindables('ejHeatMapLegend', ['width', 'height', 'isResponsive', 'showLabel', 'colorMappingCollection', 'orientation', 'legendMode']) @inject(Element) -export class ejRotator extends WidgetBase { +export class ejHeatMapLegend extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1124,34 +1235,35 @@ export class ejRotator extends WidgetBase { } -@customElement(`${constants.elementPrefix}schedule`) +@customElement(`${constants.elementPrefix}kanban`) @inlineView(`${constants.aureliaTemplateString}`) - @generateBindables('ejSchedule', ['allowDragAndDrop', 'allowInline', 'allowDelete', 'allowKeyboardNavigation', 'appointmentSettings', 'appointmentTemplateId', 'cssClass', 'categorizeSettings', 'cellHeight', 'cellWidth', 'contextMenuSettings', 'currentDate', 'currentView', 'dateFormat', 'showAppointmentNavigator', 'enableAppointmentResize', 'enableLoadOnDemand', 'enablePersistence', 'enableRTL', 'endHour', 'group', 'height', 'workHours', 'isDST', 'isResponsive', 'locale', 'maxDate', 'minDate', 'orientation', 'prioritySettings', 'readOnly', 'reminderSettings', 'renderDates', 'resourceHeaderTemplateId', 'resources', 'showAllDayRow', 'showWeekend', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', 'showTimeZoneFields', 'showQuickWindow', 'startHour', 'timeMode', 'timeZone', 'timeZoneCollection', 'views', 'width', 'enableRecurrenceValidation', 'agendaViewSettings', 'firstDayOfWeek', 'workWeek', 'tooltipSettings', 'timeScale', 'showDeleteConfirmationDialog', 'allDayCellsTemplateId', 'workCellsTemplateId', 'dateHeaderTemplateId', 'showOverflowButton', 'appointmentDragArea', 'showNextPrevMonth', 'blockoutSettings'], ['currentView', 'currentDate'], {'enableRTL': ['enableRtl']}) +@generateBindables('ejKanban', ['allowDragAndDrop', 'allowExternalDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowFiltering', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'allowPrinting', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableTouch', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'workflows', 'locale', 'showColumnWhenEmpty'], ['dataSource'], {'enableRTL': ['enableRtl']}, ['dataSource']) @inject(Element) -export class ejSchedule extends WidgetBase { - @children(`${constants.elementPrefix}schedule-resource`) resources = []; +export class ejKanban extends WidgetBase { + @children(`${constants.elementPrefix}kanban-column`) columns = []; constructor(element) { super(); this.element = element; this.hasChildProperty = true; - this.childPropertyName = 'resources'; + this.childPropertyName = 'columns'; } } @inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}schedule-resource`) +@customElement(`${constants.elementPrefix}kanban-column`) -@generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings']) +@generateBindables('columns', ['headerText', 'totalCount', 'totalCount', 'key', 'allowDrop', 'allowDrag', 'isCollapsed', 'constraints', 'constraints', 'constraints', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']) -export class ScheduleResource { +export class KanbanColumn { } -@customAttribute(`${constants.attributePrefix}rte`) - @generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'pasteCleanupSettings', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'exportToPdfSettings', 'exportToWordSettings', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'importSettings', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showRoundedCorner', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'toolbarOverflowMode', 'tooltipSettings', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}linear-gauge`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'exportSettings', 'isResponsive', 'enableGroupSeparator', 'enableResize', 'frame', 'height', 'labelColor', 'locale', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']) @inject(Element) -export class ejRte extends WidgetBase { +export class ejLinearGauge extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1159,10 +1271,10 @@ export class ejRte extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}scroller`) - @generateBindables('ejScroller', ['animationSpeed', 'autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}list-box`) + @generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'enableWordWrap', 'fields', 'height', 'itemHeight', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'sortOrder', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value', 'dataSource'], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) @inject(Element) -export class ejScroller extends WidgetBase { +export class ejListBox extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1170,11 +1282,11 @@ export class ejScroller extends WidgetBase { } -@customElement(`${constants.elementPrefix}signature`) +@customElement(`${constants.elementPrefix}list-view`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSignature', ['backgroundColor', 'backgroundImage', 'enabled', 'height', 'isResponsive', 'saveImageFormat', 'saveWithBackground', 'showRoundedCorner', 'strokeColor', 'strokeWidth', 'width']) +@generateBindables('ejListView', ['ajaxSettings', 'checkedIndices', 'cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'items', 'headerBackButtonText', 'headerTitle', 'height', 'locale', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'showHeaderBackButton', 'templateId', 'width', 'itemRequestCount', 'totalItemsCount', 'allowVirtualScrolling', 'virtualScrollMode'], ['dataSource', 'selectedItemIndex'], {}, ['dataSource']) @inject(Element) -export class ejSignature extends WidgetBase { +export class ejListView extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1182,34 +1294,46 @@ export class ejSignature extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}slider`) - @generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showButtons', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}layer`) + +@generateBindables('layers', ['bingMapType', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'geometryType', 'layerType', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers']) + +export class Layer { +} + + +@customElement(`${constants.elementPrefix}map`) +@inlineView(`${constants.aureliaTemplateString}`) + @generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'draggingOnSelection', 'enableAnimation', 'enableRTL', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'isResponsive', 'zoomSettings', 'navigationControl', 'locale', 'layers'], ['baseMapIndex', 'enablePan', 'enableResize', 'enableAnimation', 'zoomSettings.level', 'zoomSettings.minValue', 'zoomSettings.maxValue', 'zoomSettings.factor', 'zoomSettings.enableZoom', 'zoomSettings.enableZoomOnSelection', 'navigationControl.enableNavigation', 'navigationControl.orientation', 'navigationControl.absolutePosition', 'navigationControl.dockPosition'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejSlider extends WidgetBase { +export class ejMap extends WidgetBase { + @children(`${constants.elementPrefix}layer`) layers = []; constructor(element) { super(); this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'layers'; } } -@customElement(`${constants.elementPrefix}sparkline`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'border', 'width', 'opacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'rangeBandSettings', 'locale', 'palette', 'isResponsive', 'enableCanvasRendering', 'enableGroupSeparator', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'axisLineSettings']) +@customAttribute(`${constants.attributePrefix}mask-edit`) +@generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'locale', 'maskFormat', 'name', 'readOnly', 'showError', 'showPromptChar', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']) @inject(Element) -export class ejSparkline extends WidgetBase { +export class ejMaskEdit extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } -@customElement(`${constants.elementPrefix}spell-check`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSpellCheck', ['dictionarySettings', 'misspellWordCss', 'locale', 'maxSuggestionCount', 'ignoreWords', 'contextMenuSettings', 'ignoreSettings', 'isResponsive', 'enableValidateOnType', 'controlsToValidate', 'enableAsync', 'ajaxRequestType', 'ajaxDataType']) +@customAttribute(`${constants.attributePrefix}menu`) +@generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'container', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'isResponsive', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width', 'overflowHeight', 'overflowWidth'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejSpellCheck extends WidgetBase { +export class ejMenu extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1217,11 +1341,11 @@ export class ejSpellCheck extends WidgetBase { } -@customElement(`${constants.elementPrefix}splitter`) +@customElement(`${constants.elementPrefix}navigation-drawer`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejNavigationDrawer', ['ajaxSettings', 'contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width', 'isPaneOpen']) @inject(Element) -export class ejSplitter extends WidgetBase { +export class ejNavigationDrawer extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1229,46 +1353,35 @@ export class ejSplitter extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}split-button`) -@generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) +@customAttribute(`${constants.attributePrefix}numeric-textbox`) + @generateBindables('ejNumericTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejSplitButton extends WidgetBase { +export class ejNumericTextbox extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } +@customElement(`${constants.elementPrefix}overview`) @inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}sheet`) - -@generateBindables('sheets', ['border', 'border', 'border', 'border', 'cellTypes', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'frozenRows', 'frozenColumns', 'headerStyles', 'hideColumns', 'hideRows', 'mergeCells', 'primaryKey', 'query', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rowCount', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'showGridlines', 'showHeader', 'showHeadings', 'sheetName', 'startCell']) - -export class Sheet { -} - - -@customElement(`${constants.elementPrefix}spreadsheet`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClear', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowOverflow', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowSparkline', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'enableTouch', 'exportSettings', 'formatSettings', 'importSettings', 'isImport', 'isReadOnly', 'locale', 'nameManager', 'pictureSettings', 'printSettings', 'ribbonSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showPager', 'showRibbon', 'undoRedoStep', 'userName']) +@generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], {'sourceID': ['sourceId']}) @inject(Element) -export class ejSpreadsheet extends WidgetBase { - @children(`${constants.elementPrefix}sheet`) sheets = []; +export class ejOverview extends WidgetBase { constructor(element) { super(); this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'sheets'; } } -@customElement(`${constants.elementPrefix}symbol-palette`) +@customElement(`${constants.elementPrefix}pager`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']) +@generateBindables('ejPager', ['customText', 'currentPage', 'cssClass', 'enabled', 'enableExternalMessage', 'enableQueryString', 'enableRTL', 'externalMessage', 'isResponsive', 'locale', 'pageCount', 'pageSize', 'pageSizeList', 'pageSizeMessage', 'template', 'totalPages', 'totalRecordsCount', 'showPageInfo'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejSymbolPalette extends WidgetBase { +export class ejPager extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1276,47 +1389,35 @@ export class ejSymbolPalette extends WidgetBase { } -@customElement(`${constants.elementPrefix}sunburst-chart`) +@customElement(`${constants.elementPrefix}pdf-viewer`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSunburstChart', ['background', 'valueMemberPath', 'border', 'segmentBorder', 'dataSource', 'palette', 'parentNode', 'xName', 'yName', 'isResponsive', 'size', 'visible', 'tooltip', 'points', 'startAngle', 'endAngle', 'radius', 'innerRadius', 'dataLabelSettings', 'title', 'highlightSettings', 'selectionSettings', 'levels', 'legend', 'theme', 'margin', 'enableAnimation', 'opacity', 'zoomSettings', 'animationType']) +@generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'serverActionSettings', 'serviceUrl', 'documentPath', 'enableTextMarkupAnnotations', 'enableHighlightAnnotation', 'enableUnderlineAnnotation', 'enableStrikethroughAnnotation', 'enableSignature', 'strikethroughSettings', 'underlineSettings', 'highlightSettings', 'signatureSettings', 'textSelectionContextMenu', 'annotationContextMenu', 'annotationType', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService', 'interactionMode', 'bufferingMode', 'hyperlinkOpenState', 'enableHyperlink', 'enableTextSelection', 'isResponsive', 'isDocumentEdited', 'allowClientBuffering', 'fileName']) @inject(Element) -export class ejSunburstChart extends WidgetBase { - @children(`${constants.elementPrefix}sunburst-levels`) levels = []; +export class ejPdfViewer extends WidgetBase { constructor(element) { super(); this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; } } -@inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}sunburst-levels`) - -@generateBindables('levels', ['groupMemberPath']) - -export class SunburstLevels { -} - - -@customElement(`${constants.elementPrefix}tab`) -@inlineView(`${constants.aureliaTemplateString}`) - @generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}percentage-textbox`) + @generateBindables('ejPercentageTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejTab extends WidgetBase { +export class ejPercentageTextbox extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } -@customElement(`${constants.elementPrefix}tag-cloud`) +@customElement(`${constants.elementPrefix}pivot-chart`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'htmlAttributes', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'zooming', 'commonSeriesOptions', 'dataSource', 'customObject', 'enable3D', 'enableRTL', 'enableMultiLevelLabels', 'isResponsive', 'legend', 'locale', 'operationalMode', 'axes', 'primaryXAxis', 'primaryYAxis', 'rotation', 'enableContextMenu', 'serviceMethodSettings', 'size', 'title', 'url', 'enableXHRCredentials'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejTagCloud extends WidgetBase { +export class ejPivotChart extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1324,11 +1425,11 @@ export class ejTagCloud extends WidgetBase { } -@customElement(`${constants.elementPrefix}tile`) +@customElement(`${constants.elementPrefix}pivot-gauge`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'locale', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']) +@generateBindables('ejPivotGauge', ['columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableAnimation', 'enableTooltip', 'enableRTL', 'frame', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url', 'analysisMode', 'operationalMode', 'enableXHRCredentials'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejTile extends WidgetBase { +export class ejPivotGauge extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1336,22 +1437,23 @@ export class ejTile extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}time-picker`) - @generateBindables('ejTimePicker', ['cssClass', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'validationMessages', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}pivot-grid`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'pivotTableFieldListID', 'dataSource', 'valueSortSettings', 'frozenHeaderSettings', 'headerSettings', 'showUniqueNameOnPivotButton', 'customObject', 'collapsedMembers', 'enableCellContext', 'enableCellSelection', 'enableDrillThrough', 'enableCellClick', 'enableCellDoubleClick', 'enableCellEditing', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableAdvancedFilter', 'enableDeferUpdate', 'enableGroupingBar', 'maxNodeLimitInMemberEditor', 'enableMemberEditorPaging', 'memberEditorPageSize', 'enableMemberEditorSorting', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableToolTipAnimation', 'enableColumnResizing', 'resizeColumnsToFit', 'enableContextMenu', 'enableVirtualScrolling', 'enablePaging', 'hyperlinkSettings', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableCompleteDataExport', 'enableXHRCredentials'], [], {'pivotTableFieldListID': ['pivotTableFieldListId'], 'enableRTL': ['enableRtl']}) @inject(Element) -export class ejTimePicker extends WidgetBase { +export class ejPivotGrid extends WidgetBase { constructor(element) { super(); - this.isEditor = true; this.element = element; } } -@customAttribute(`${constants.attributePrefix}toggle-button`) -@generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}pivot-schema-designer`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'enableRTL', 'olap', 'enableDragDrop', 'height', 'locale', 'pivotControl', 'serviceMethods', 'url', 'width', 'layout'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejToggleButton extends WidgetBase { +export class ejPivotSchemaDesigner extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1359,10 +1461,11 @@ export class ejToggleButton extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}toolbar`) -@generateBindables('ejToolbar', ['cssClass', 'dataSource', 'disabledItemIndices', 'enabled', 'enabledItemIndices', 'enableRTL', 'enableSeparator', 'fields', 'height', 'htmlAttributes', 'hide', 'isResponsive', 'Items', 'orientation', 'query', 'responsiveType', 'showRoundedCorner', 'width'], [], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}pivot-tree-map`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials']) @inject(Element) -export class ejToolbar extends WidgetBase { +export class ejPivotTreeMap extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1370,10 +1473,10 @@ export class ejToolbar extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}tooltip`) -@generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'tip', 'title', 'trigger', 'width'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}progress-bar`) +@generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejTooltip extends WidgetBase { +export class ejProgressBar extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1381,67 +1484,113 @@ export class ejTooltip extends WidgetBase { } -@customElement(`${constants.elementPrefix}tree-grid`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejTreeGrid', ['allowColumnReordering', 'allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowPaging', 'allowSearching', 'allowSelection', 'allowSorting', 'allowTextWrap', 'altRowTemplateID', 'cellTooltipTemplate', 'childMapping', 'collapsibleTotalSummary', 'columnDialogFields', 'columnResizeSettings', 'columns', 'commonWidth', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'detailsRowHeight', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableLoadOnDemand', 'enableResize', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'headerTextOverflow', 'idMapping', 'isResponsive', 'locale', 'pageSettings', 'parentIdMapping', 'parseRowTemplate', 'query', 'rowHeight', 'rowTemplateID', 'searchSettings', 'selectedCellIndexes', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnOptions', 'showDetailsRow', 'showDetailsRowInfoColumn', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showStackedHeader', 'showSummaryRow', 'showTotalSummary', 'sizeSettings', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'toolbarSettings', 'totalSummaryHeight', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes', 'pageSettings.currentPage'], {'altRowTemplateID': ['altRowTemplateId'], 'rowTemplateID': ['rowTemplateId']}, ['dataSource']) -@inject(Element, TemplatingEngine) -export class ejTreeGrid extends WidgetBase { - @children(`${constants.elementPrefix}tree-grid-column`) columns = []; - constructor(element, templateEngine) { - super(); +@customElement(`${constants.elementPrefix}item`) + +@generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items']) + +export class Item { + @children(`${constants.elementPrefix}template`) template = []; + setTemplates() { + if (this.template[0]) { + let util = new Util(); + this[util.getBindablePropertyName('template')] = this.template[0].template; + } + } +} + + +@customElement(`${constants.elementPrefix}radial-menu`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']) +@inject(Element, TemplatingEngine) +export class ejRadialMenu extends WidgetBase { + @children(`${constants.elementPrefix}item`) items = []; + constructor(element, templateEngine) { + super(); this.element = element; this.hasChildProperty = true; - this.childPropertyName = 'columns'; + this.childPropertyName = 'items'; this.templateProcessor = new TemplateProcessor(this, templateEngine); this.templateProcessor.initTemplate(); } } +@customElement(`${constants.elementPrefix}radial-slider`) @inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}tree-grid-column`) +@generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']) +@inject(Element) +export class ejRadialSlider extends WidgetBase { + constructor(element) { + super(); + this.element = element; + } +} -@generateBindables('columns', ['allowCellSelection', 'allowEditing', 'allowFiltering', 'allowFilteringBlankContent', 'allowFreezing', 'allowSorting', 'angularTemplate', 'clipMode', 'commands', 'commands', 'commands', 'displayAsCheckbox', 'dropdownData', 'editParams', 'editTemplate', 'editType', 'field', 'filterEditType', 'filterType', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isTemplateColumn', 'priority', 'showCheckbox', 'showInColumnChooser', 'template', 'templateID', 'textAlign', 'tooltip', 'validationRules', 'visible', 'width'], [], {'headerTemplateID': ['headerTemplateId', 'headerTemplateID'], 'templateID': ['templateId', 'templateID']}) -export class TreeGridColumn { - @children(`${constants.elementPrefix}template`) angularTemplate = []; - setTemplates() { - if (this.angularTemplate[0]) { - let util = new Util(); - this[util.getBindablePropertyName('angularTemplate')] = this.angularTemplate[0].template; - } +@customAttribute(`${constants.attributePrefix}radio-button`) +@generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejRadioButton extends WidgetBase { + constructor(element) { + super(); + this.element = element; } } +@customElement(`${constants.elementPrefix}range-navigator`) @inlineView(`${constants.aureliaTemplateString}`) -@customElement(`${constants.elementPrefix}level`) +@generateBindables('ejRangeNavigator', ['allowSnapping', 'allowNextValue', 'border', 'dataSource', 'series', 'seriesSettings', 'enableDeferredUpdate', 'enableScrollbar', 'enableAutoResizing', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejRangeNavigator extends WidgetBase { + @children(`${constants.elementPrefix}range-series`) series = []; + constructor(element) { + super(); + this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'series'; + } +} -@generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'textOverflow', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']) -export class Level { +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}range-series`) + +@generateBindables('series', ['xName', 'yName', 'dataSource', 'type', 'enableAnimation', 'fill']) + +export class RangeSeries { } -@customElement(`${constants.elementPrefix}tree-map`) +@customAttribute(`${constants.attributePrefix}rating`) +@generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'htmlAttributes', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']) +@inject(Element) +export class ejRating extends WidgetBase { + constructor(element) { + super(); + this.element = element; + } +} + + +@customElement(`${constants.elementPrefix}ribbon`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'colorPath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'isHierarchicalDatasource', 'header', 'enableDrillDown', 'drillDownValue', 'drillDownLevel', 'isResponsive', 'enableResize', 'draggingOnSelection', 'draggingGroupOnSelection', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'enableGroupSeparator', 'locale', 'leafItemSettings', 'rangeColorMapping', 'selectionMode', 'groupSelectionMode', 'showLegend', 'enableGradient', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'], {}, ['dataSource']) +@generateBindables('ejRibbon', ['allowResizing', 'isResponsive', 'buttonDefaults', 'showQAT', 'cssClass', 'collapsePinSettings', 'enableOnDemand', 'collapsible', 'enableRTL', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejTreeMap extends WidgetBase { - @children(`${constants.elementPrefix}level`) levels = []; +export class ejRibbon extends WidgetBase { constructor(element) { super(); this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; } } -@customAttribute(`${constants.attributePrefix}tree-view`) -@generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'allowMultiSelection', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'fullRowSelect', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'selectedNodes', 'showCheckbox', 'sortSettings', 'template', 'width'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}rotator`) +@generateBindables('ejRotator', ['allowKeyboardNavigation', 'animationSpeed', 'animationType', 'circularMode', 'cssClass', 'dataSource', 'delay', 'displayItemsCount', 'enableAutoPlay', 'enabled', 'enableRTL', 'fields', 'frameSpace', 'isResponsive', 'navigateSteps', 'orientation', 'pagerPosition', 'query', 'showCaption', 'showNavigateButton', 'showPager', 'showPlayButton', 'showThumbnail', 'slideHeight', 'slideWidth', 'startIndex', 'stopOnHover', 'template', 'templateId', 'thumbnailSourceID'], [], {'enableRTL': ['enableRtl'], 'thumbnailSourceID': ['thumbnailSourceId']}) @inject(Element) -export class ejTreeView extends WidgetBase { +export class ejRotator extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1449,11 +1598,10 @@ export class ejTreeView extends WidgetBase { } -@customElement(`${constants.elementPrefix}uploadbox`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'htmlAttributes', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'showRoundedCorner', 'uploadName', 'width'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}rte`) + @generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'pasteCleanupSettings', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'exportToPdfSettings', 'exportToWordSettings', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'importSettings', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showRoundedCorner', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'toolbarOverflowMode', 'tooltipSettings', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejUploadbox extends WidgetBase { +export class ejRte extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1461,487 +1609,339 @@ export class ejUploadbox extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}waiting-popup`) -@generateBindables('ejWaitingPopup', ['cssClass', 'htmlAttributes', 'showImage', 'showOnInit', 'target', 'appendTo', 'template', 'text']) +@customElement(`${constants.elementPrefix}schedule`) +@inlineView(`${constants.aureliaTemplateString}`) + @generateBindables('ejSchedule', ['allowDragAndDrop', 'allowInline', 'allowDelete', 'allowKeyboardNavigation', 'appointmentSettings', 'appointmentTemplateId', 'cssClass', 'categorizeSettings', 'cellHeight', 'cellWidth', 'contextMenuSettings', 'currentDate', 'currentView', 'dateFormat', 'showAppointmentNavigator', 'enableAppointmentResize', 'enableLoadOnDemand', 'enablePersistence', 'enableRTL', 'endHour', 'group', 'height', 'workHours', 'isDST', 'isResponsive', 'locale', 'maxDate', 'minDate', 'orientation', 'prioritySettings', 'readOnly', 'reminderSettings', 'renderDates', 'resourceHeaderTemplateId', 'resources', 'showAllDayRow', 'showWeekend', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', 'showTimeZoneFields', 'showQuickWindow', 'startHour', 'timeMode', 'timeZone', 'timeZoneCollection', 'views', 'width', 'enableRecurrenceValidation', 'agendaViewSettings', 'firstDayOfWeek', 'workWeek', 'tooltipSettings', 'timeScale', 'showDeleteConfirmationDialog', 'allDayCellsTemplateId', 'workCellsTemplateId', 'dateHeaderTemplateId', 'showOverflowButton', 'appointmentDragArea', 'showNextPrevMonth', 'blockoutSettings'], ['currentView', 'currentDate'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejWaitingPopup extends WidgetBase { +export class ejSchedule extends WidgetBase { + @children(`${constants.elementPrefix}schedule-resource`) resources = []; constructor(element) { super(); this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'resources'; } } -export {customAttribute, bindable, inject, inlineView, customElement, children, TemplatingEngine}; +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}schedule-resource`) -export const constants = { - eventPrefix: 'e-on-', - bindablePrefix: 'e-', - attributePrefix: 'ej-', - elementPrefix: 'ej-', - aureliaTemplateString: '' -}; +@generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings']) -export function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties, observerCollection) { - return function(target, key, descriptor) { - let behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); - let container = (Container.instance || new Container()); - let util = container.get(Util); - let bindingInstance = container.get(BindingEngine); - inputs.push('options'); - inputs.push('widget'); - let len = inputs.length; - if (observerCollection) { - target.prototype.arrayObserver = []; - observerCollection.forEach((element) => { - target.prototype.arrayObserver.push(util.getBindablePropertyName(element)); - }); - target.prototype.bindingInstance = bindingInstance; - } - target.prototype.controlName = controlName; - target.prototype.twoWays = twoWayProperties ? twoWayProperties : []; - target.prototype.abbrevProperties = abbrevProperties ? abbrevProperties : []; - if (len) { - target.prototype.controlProperties = inputs; - for (let i = 0; i < len; i++) { - let option = inputs[i]; - if (abbrevProperties && option in abbrevProperties) { - option = abbrevProperties[option]; - option.forEach((prop) => { - registerProp(util, prop, target, behaviorResource, descriptor); - }); - } else { - registerProp(util, option, target, behaviorResource, descriptor); - } - } - } - }; +export class ScheduleResource { } -function registerProp(util, option, target, behaviorResource, descriptor) { - let nameOrConfigOrTarget = { - name: util.getBindablePropertyName(option) - }; - if (option === 'widget') { - nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay; +@customAttribute(`${constants.attributePrefix}scroller`) + @generateBindables('ejScroller', ['animationSpeed', 'autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejScroller extends WidgetBase { + constructor(element) { + super(); + this.element = element; } - - let prop = new BindableProperty(nameOrConfigOrTarget); - prop.registerWith(target, behaviorResource, descriptor); } -export function delayed() { - return function(target, key, descriptor) { - let taskQueue = (Container.instance || new Container()).get(TaskQueue); - let ptr = descriptor.value; - - descriptor.value = function(...args) { - if (this.childPropertyName) { - taskQueue.queueTask(() => ptr.apply(this, args)); - } else { - ptr.apply(this, args); - } - }; - - return descriptor; - }; -} -/** -* To get binded events from the element -* @param element The Element from which events acquired -*/ -export function getEventOption(element) { - let name; - let attr; - let attributes = element.attributes; - let option = {}; - let container = (Container.instance || new Container()); - let util = container.get(Util); - for (let i = 0, len = attributes.length; i < len; i++) { - attr = attributes[i]; - name = attr.name; - if (!name.startsWith(constants.eventPrefix)) { - continue; - } - let actualEventName = name.split('.')[0];//Event name with constants event prefix - let eventName = util._unhyphenate(actualEventName.split(constants.eventPrefix)[1]); - option[eventName] = e => fireEvent(element, actualEventName, e); // eslint-disable-line no-loop-func +@customElement(`${constants.elementPrefix}signature`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSignature', ['backgroundColor', 'backgroundImage', 'enabled', 'height', 'isResponsive', 'saveImageFormat', 'saveWithBackground', 'showRoundedCorner', 'strokeColor', 'strokeWidth', 'width']) +@inject(Element) +export class ejSignature extends WidgetBase { + constructor(element) { + super(); + this.element = element; } - return option; -} -/** -* Fire DOM event on an element -* @param element The Element which the DOM event will be fired on -* @param name The Event's name -* @param data Addition data to attach to an event -*/ -export function fireEvent(element: Element, name: string, data? = {}) { - let event = new CustomEvent(name, { - detail: data, - bubbles: true - }); - element.dispatchEvent(event); - return event; } -@inject(TemplatingEngine, Util) -export class TemplateProcessor { - constructor(context, templateEngine) { - this.context = context; - this.templatingEngine = templateEngine; - this.util = new Util(); +@customAttribute(`${constants.attributePrefix}slider`) + @generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showButtons', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejSlider extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - initTemplate() { - let proxy = this; - ej.template.render = function(self, selector, data, index) { - return proxy.renderStringTemplate(self, selector, data, index); - }; - } - initWidgetDependancies() { - if ( this.context.widget.aureliaTemplate) { - this.compileTemplate(this.context.widget.element); - } - let proxy = this.context; - let element = this.context.widget.element; - element.on( this.context.widget.pluginName + 'refresh', function() { - if (proxy.widget.aureliaTemplate) { - proxy.templateProcessor.compileTemplate(element); - } - }); +@customElement(`${constants.elementPrefix}sparkline`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'border', 'width', 'opacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'rangeBandSettings', 'locale', 'palette', 'isResponsive', 'enableCanvasRendering', 'enableGroupSeparator', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'axisLineSettings']) +@inject(Element) +export class ejSparkline extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - renderStringTemplate(self, selector, data, index) { - let templateObject = self.aureliaTemplate; - if (!templateObject || !templateObject[selector]) { - templateObject = templateObject || {}; - templateObject[selector] = { key: ej.getGuid('aurtmpl'), itemData: [], views: [] }; - self.aureliaTemplate = templateObject; - } - let scope = templateObject[selector]; - if (this.util.hasValue(index)) { - scope.itemData[index] = data; - } else { - scope.itemData = [data]; - } - let actElement = $(selector).html(); - let tempElement = "
" + actElement + '
'; - return tempElement; - } - compileTemplate(element) { - let templates = $(element).find('.ej-aurelia-template'); - let templateObject = this.context.widget.aureliaTemplate; - for (let template in templateObject) { - let tmplElement = templates.filter('.' + templateObject[template].key); - if (tmplElement.length) { - for (let i = 0; i < tmplElement.length; i++) { - let dataIndex = parseInt($(tmplElement[i]).attr('ej-prop'));// eslint-disable-line radix - let view = this.templatingEngine.enhance(tmplElement[i]); - view.bind(templateObject[template].itemData[dataIndex], this.context.parentCtx); - templateObject[template].views[dataIndex] = view; - } - } else { - this.unbindViews(templateObject[template]); - delete templateObject[template]; - } - } +@customElement(`${constants.elementPrefix}spell-check`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSpellCheck', ['dictionarySettings', 'misspellWordCss', 'locale', 'maxSuggestionCount', 'ignoreWords', 'contextMenuSettings', 'ignoreSettings', 'isResponsive', 'enableValidateOnType', 'controlsToValidate', 'enableAsync', 'ajaxRequestType', 'ajaxDataType']) +@inject(Element) +export class ejSpellCheck extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - clearTempalte() { - let templateObject = this.context.widget.aureliaTemplate; - if (templateObject && Object.keys(templateObject).length) { - for (let t in templateObject) { - this.unbindViews(templateObject[t]); - delete templateObject[t]; - } - } + +@customAttribute(`${constants.attributePrefix}split-button`) +@generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) +@inject(Element) +export class ejSplitButton extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - unbindViews(obj) { - for (let i = 0; i < obj.views.length; i++) { - let view = obj.views[i]; - view.unbind(); - } + +@customElement(`${constants.elementPrefix}splitter`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejSplitter extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} + + +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}sheet`) + +@generateBindables('sheets', ['border', 'border', 'border', 'border', 'cellTypes', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'frozenRows', 'frozenColumns', 'headerStyles', 'hideColumns', 'hideRows', 'mergeCells', 'primaryKey', 'query', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rowCount', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'showGridlines', 'showHeader', 'showHeadings', 'sheetName', 'startCell']) +export class Sheet { } -@customElement(`${constants.elementPrefix}template`) -@noView() -@processContent((compiler, resources, element, instruction) => { - let html = element.innerHTML; - if (html !== '') { - instruction.template = html; + +@customElement(`${constants.elementPrefix}spreadsheet`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClear', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowOverflow', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowSparkline', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'enableTouch', 'exportSettings', 'formatSettings', 'importSettings', 'isImport', 'isReadOnly', 'locale', 'nameManager', 'pictureSettings', 'printSettings', 'ribbonSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showPager', 'showRibbon', 'undoRedoStep', 'userName']) +@inject(Element) +export class ejSpreadsheet extends WidgetBase { + @children(`${constants.elementPrefix}sheet`) sheets = []; + constructor(element) { + super(); + this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'sheets'; } - element.innerHTML = ''; -}) -@inject(TargetInstruction) -export class Template { - @bindable template; - constructor(target) { - this.template = target.elementInstruction.template; +} + + +@customElement(`${constants.elementPrefix}sunburst-chart`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSunburstChart', ['background', 'valueMemberPath', 'border', 'segmentBorder', 'dataSource', 'palette', 'parentNode', 'xName', 'yName', 'isResponsive', 'size', 'visible', 'tooltip', 'points', 'startAngle', 'endAngle', 'radius', 'innerRadius', 'dataLabelSettings', 'title', 'highlightSettings', 'selectionSettings', 'levels', 'legend', 'theme', 'margin', 'enableAnimation', 'opacity', 'zoomSettings', 'animationType']) +@inject(Element) +export class ejSunburstChart extends WidgetBase { + @children(`${constants.elementPrefix}sunburst-levels`) levels = []; + constructor(element) { + super(); + this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'levels'; } +} + + +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}sunburst-levels`) + +@generateBindables('levels', ['groupMemberPath']) +export class SunburstLevels { } -export class Util { - getBindablePropertyName(propertyName: string): string { - let name = `${constants.bindablePrefix}${propertyName}`; - return this._unhyphenate(name); +@customElement(`${constants.elementPrefix}symbol-palette`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']) +@inject(Element) +export class ejSymbolPalette extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - _unhyphenate(name: string): string { - return name.replace(/-([a-z])/g, (g) => g[1].toUpperCase()); - } - getOptions(model, properties ) { - let bindableproperites = {}; - let value; - for (let prop of properties) { - if (model.abbrevProperties && prop in model.abbrevProperties && model.abbrevProperties.hasOwnProperty(prop)) { - model.abbrevProperties[prop].some(property => { - value = model[this.getBindablePropertyName(property)]; - return this.hasValue(value); - }); - } else { - value = model[this.getBindablePropertyName(prop)]; - } - if (this.hasValue(value)) { - if (typeof value === 'string' ) { - value = this.processData(value); - } - bindableproperites[prop] = value; - } - } - return bindableproperites; +@customElement(`${constants.elementPrefix}tab`) +@inlineView(`${constants.aureliaTemplateString}`) + @generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejTab extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - getControlPropertyName(options, propertyName) { - let property; - for (let prop of options.controlProperties) { - if (options.abbrevProperties && prop in options.abbrevProperties && options.abbrevProperties.hasOwnProperty(prop)) { - options.abbrevProperties[prop].some(props => { - property = propertyName === this.getBindablePropertyName(props) ? prop : undefined; - return property; - }); - if (property) break; - } else if (propertyName === this.getBindablePropertyName(prop)) { - property = prop; - break; - } - } - return property; + +@customElement(`${constants.elementPrefix}tag-cloud`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'htmlAttributes', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejTagCloud extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - hasValue(prop) { - return typeof (prop) !== 'undefined' && prop !== null; + +@customElement(`${constants.elementPrefix}tile`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'locale', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']) +@inject(Element) +export class ejTile extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - processData(value) { - if (value === 'true') { - return true; - } else if (value === 'false') { - return false; - } else if (+value + '' === value) { - return +value; - } - return value; + +@customAttribute(`${constants.attributePrefix}time-picker`) + @generateBindables('ejTimePicker', ['cssClass', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'validationMessages', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejTimePicker extends WidgetBase { + constructor(element) { + super(); + this.isEditor = true; + this.element = element; } } -let firstValue = {}; -export class WidgetBase { -/** -* To Create an widget -* @param option Object which contains Element in which widget will be created -*/ - createWidget(option) { - this.allOption = this.getWidgetOptions(option.element); - if (!this.ejOptions && !this.isEditor) { - this.createTwoWays(); - } - this.eWidget = this.widget = jQuery($(option.element))[this.controlName](this.allOption).data(this.controlName); - if (this.templateProcessor) { - this.templateProcessor.initWidgetDependancies(); - } - if (this.isEditor) { - this.widget.model._change = (evt) => { - if ('eValue' in this) { - this[this.util.getBindablePropertyName('value')] = evt.value; - } - }; - } - } - bind(ctx, overrideCtx) { - this.parentCtx = overrideCtx; - if (this.widget && this.widget.element && this.isEditor) { - this.widget.option('value', (this.eValue === undefined ? null : this.eValue)); - } +@customAttribute(`${constants.attributePrefix}toggle-button`) +@generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejToggleButton extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - createTwoWays() { - let model = this.allOption; - let twoWays = this.twoWays; - let len = twoWays.length; - for (let i = 0; i < len; i++) { - let prop = twoWays[i]; - ej.createObject(prop, this.addTwoways(prop), model); - } - } - addTwoways(prop) { - let model = this; - let value = firstValue; - return function(newVal, isApp) { - if (value === firstValue) { - let viewModelProp = model.util.getBindablePropertyName(prop); - value = model[viewModelProp]; - if (value === undefined) { - value = this.defaults[prop]; - } - return value; - } - if (newVal === undefined) { - return value; - } - if (value === newVal) { - return null; - } - value = newVal; - if (!isApp && model.util.hasValue(newVal) ) { - let viewModelProp = model.util.getBindablePropertyName(prop); - model[viewModelProp] = newVal; - } - return null; - }; - } -/** -* To get property and event options from the element -* @param element Element from which options are acquired -*/ - getWidgetOptions(element) { - let propOptions; - if (this.ejOptions) { - propOptions = this.ejOptions; - } else { - propOptions = this.util.getOptions(this, this.controlProperties); - } - let eventOption = getEventOption(element); - if (this.hasChildProperty) { - this.getChildProperties(propOptions); - } - return Object.assign({}, propOptions, eventOption); +@customAttribute(`${constants.attributePrefix}toolbar`) +@generateBindables('ejToolbar', ['cssClass', 'dataSource', 'disabledItemIndices', 'enabled', 'enabledItemIndices', 'enableRTL', 'enableSeparator', 'fields', 'height', 'htmlAttributes', 'hide', 'isResponsive', 'Items', 'orientation', 'query', 'responsiveType', 'showRoundedCorner', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejToolbar extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - getChildProperties(options) { - let PropertyName = this.childPropertyName; - let childCollection = this[PropertyName]; - let len = childCollection.length; - if (len) { - options[PropertyName] = []; - let childProperties = childCollection[0].controlProperties; - for (let i = 0; i < len; i++) { - options[PropertyName].push(this.util.getOptions(childCollection[i], childProperties)); - } - } + +@customAttribute(`${constants.attributePrefix}tooltip`) +@generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'tip', 'title', 'trigger', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejTooltip extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - @delayed() - attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(template => template.setTemplates()); - } - this.util = new Util(); - this.createWidget({ element: this.element }); + +@customElement(`${constants.elementPrefix}tree-grid`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejTreeGrid', ['allowColumnReordering', 'allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowPaging', 'allowSearching', 'allowSelection', 'allowSorting', 'allowTextWrap', 'altRowTemplateID', 'cellTooltipTemplate', 'childMapping', 'collapsibleTotalSummary', 'columnDialogFields', 'columnResizeSettings', 'columns', 'commonWidth', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'detailsRowHeight', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableLoadOnDemand', 'enableResize', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'headerTextOverflow', 'idMapping', 'isResponsive', 'locale', 'pageSettings', 'parentIdMapping', 'parseRowTemplate', 'query', 'rowHeight', 'rowTemplateID', 'searchSettings', 'selectedCellIndexes', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnOptions', 'showDetailsRow', 'showDetailsRowInfoColumn', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showStackedHeader', 'showSummaryRow', 'showTotalSummary', 'sizeSettings', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'toolbarSettings', 'totalSummaryHeight', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes', 'pageSettings.currentPage'], {'altRowTemplateID': ['altRowTemplateId'], 'rowTemplateID': ['rowTemplateId']}, ['dataSource']) +@inject(Element, TemplatingEngine) +export class ejTreeGrid extends WidgetBase { + @children(`${constants.elementPrefix}tree-grid-column`) columns = []; + constructor(element, templateEngine) { + super(); + this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'columns'; + this.templateProcessor = new TemplateProcessor(this, templateEngine); + this.templateProcessor.initTemplate(); } +} - unsubscribe() { - if (this.subscription) { - this.subscription.dispose(); - this.subscription = null; + +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}tree-grid-column`) + +@generateBindables('columns', ['allowCellSelection', 'allowEditing', 'allowFiltering', 'allowFilteringBlankContent', 'allowFreezing', 'allowSorting', 'angularTemplate', 'clipMode', 'commands', 'commands', 'commands', 'displayAsCheckbox', 'dropdownData', 'editParams', 'editTemplate', 'editType', 'field', 'filterEditType', 'filterType', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isTemplateColumn', 'priority', 'showCheckbox', 'showInColumnChooser', 'template', 'templateID', 'textAlign', 'tooltip', 'validationRules', 'visible', 'width'], [], {'headerTemplateID': ['headerTemplateId', 'headerTemplateID'], 'templateID': ['templateId', 'templateID']}) + +export class TreeGridColumn { + @children(`${constants.elementPrefix}template`) angularTemplate = []; + setTemplates() { + if (this.angularTemplate[0]) { + let util = new Util(); + this[util.getBindablePropertyName('angularTemplate')] = this.angularTemplate[0].template; } } +} - unbind() { - this.unsubscribe(); + +@inlineView(`${constants.aureliaTemplateString}`) +@customElement(`${constants.elementPrefix}level`) + +@generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'textOverflow', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']) + +export class Level { +} + + +@customElement(`${constants.elementPrefix}tree-map`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'colorPath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'isHierarchicalDatasource', 'header', 'enableDrillDown', 'drillDownValue', 'drillDownLevel', 'isResponsive', 'enableResize', 'draggingOnSelection', 'draggingGroupOnSelection', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'enableGroupSeparator', 'locale', 'leafItemSettings', 'rangeColorMapping', 'selectionMode', 'groupSelectionMode', 'showLegend', 'enableGradient', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'], {}, ['dataSource']) +@inject(Element) +export class ejTreeMap extends WidgetBase { + @children(`${constants.elementPrefix}level`) levels = []; + constructor(element) { + super(); + this.element = element; + this.hasChildProperty = true; + this.childPropertyName = 'levels'; } +} -/** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property, newValue, oldValue) { - if (this.widget) { - let modelValue; - let prop = this.util.getControlPropertyName(this, property); - this.unsubscribe(); - if (this.arrayObserver) { - this.arrayObserver.forEach((arrayProp) => { - if (this[arrayProp] instanceof Array) { - this.subscription = this.bindingInstance.collectionObserver(this[arrayProp]).subscribe((e) => { - this.update(e); - }); - } - }); - } - if (prop) { - if (prop === 'widget') { - return; - } else if (prop !== 'options') { - modelValue = this.widget.model[prop]; - let isTwoway = typeof modelValue === 'function'; - if (isTwoway) { - modelValue = modelValue(); - } - if (modelValue !== newValue) { - if (isTwoway) { - newValue = this.addTwoways(prop); - } - this.widget.option(prop, newValue); - } - } else { - this.widget.option(newValue); - } - } - } + +@customAttribute(`${constants.attributePrefix}tree-view`) +@generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'allowMultiSelection', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'fullRowSelect', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'selectedNodes', 'showCheckbox', 'sortSettings', 'template', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejTreeView extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - update(e) { - let modelValue; - let newVal; - if (e.length) { - this.arrayObserver.forEach((arrayProp) => { - if (this[arrayProp] instanceof Array) { - let prop = this.util.getControlPropertyName(this, arrayProp); - modelValue = this.widget.model[prop]; - if (typeof modelValue === 'function') { - modelValue = modelValue(); - newVal = modelValue; - newVal = this.addTwoways(prop); - this.widget.option(prop, newVal); - } else { - this.widget.option(prop, modelValue); - } - } - }); - } + +@customElement(`${constants.elementPrefix}uploadbox`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'htmlAttributes', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'showRoundedCorner', 'uploadName', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejUploadbox extends WidgetBase { + constructor(element) { + super(); + this.element = element; } +} - detached() { - if (this.templateProcessor) { - this.templateProcessor.clearTempalte(); - } - if (this.widget) { - this.widget.destroy(); - } + +@customAttribute(`${constants.attributePrefix}waiting-popup`) +@generateBindables('ejWaitingPopup', ['cssClass', 'htmlAttributes', 'showImage', 'showOnInit', 'target', 'appendTo', 'template', 'text']) +@inject(Element) +export class ejWaitingPopup extends WidgetBase { + constructor(element) { + super(); + this.element = element; } } + diff --git a/dist/commonjs/aurelia-syncfusion-bridge.d.ts b/dist/commonjs/aurelia-syncfusion-bridge.d.ts index bdd98865..b1be3739 100644 --- a/dist/commonjs/aurelia-syncfusion-bridge.d.ts +++ b/dist/commonjs/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -160,12 +160,90 @@ declare module 'aurelia-syncfusion-bridge' { export class ejCircularGauge extends WidgetBase { constructor(element?: any); } - export class ejComboBox extends WidgetBase { + export class ejColorPicker extends WidgetBase { constructor(element?: any); } - export class ejColorPicker extends WidgetBase { + export class ejComboBox extends WidgetBase { constructor(element?: any); } + export { + customAttribute, + bindable, + inject, + inlineView, + customElement, + children, + TemplatingEngine + }; + export const constants: any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; + export function delayed(): any; + + /** + * To get binded events from the element + * @param element The Element from which events acquired + */ + export function getEventOption(element?: any): any; + + /** + * Fire DOM event on an element + * @param element The Element which the DOM event will be fired on + * @param name The Event's name + * @param data Addition data to attach to an event + */ + export function fireEvent(element: Element, name: string, data?: any): any; + export class TemplateProcessor { + constructor(context?: any, templateEngine?: any); + initTemplate(): any; + initWidgetDependancies(): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; + clearTempalte(): any; + unbindViews(obj?: any): any; + } + export class Template { + template: any; + constructor(target?: any); + } + export class Util { + getBindablePropertyName(propertyName: string): string; + _unhyphenate(name: string): string; + getOptions(model?: any, properties?: any): any; + getControlPropertyName(options?: any, propertyName?: any): any; + hasValue(prop?: any): any; + processData(value?: any): any; + } + export class WidgetBase { + + /** + * To Create an widget + * @param option Object which contains Element in which widget will be created + */ + createWidget(option?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + createTwoWays(): any; + addTwoways(prop?: any): any; + + /** + * To get property and event options from the element + * @param element Element from which options are acquired + */ + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; + attached(): any; + unsubscribe(): any; + unbind(): any; + + /** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + update(e?: any): any; + detached(): any; + } export class ejCurrencyTextbox extends WidgetBase { constructor(element?: any); } @@ -178,10 +256,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDateTimePicker extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDiagram extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { @@ -196,9 +274,6 @@ declare module 'aurelia-syncfusion-bridge' { export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGroupButton extends WidgetBase { - constructor(element?: any); - } export class Column { template: any; setTemplates(): any; @@ -207,6 +282,9 @@ declare module 'aurelia-syncfusion-bridge' { columns: any; constructor(element?: any, templateEngine?: any); } + export class ejGroupButton extends WidgetBase { + constructor(element?: any); + } export class ejHeatMap extends WidgetBase { constructor(element?: any); } @@ -257,10 +335,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPivotChart extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPivotChart extends WidgetBase { constructor(element?: any); } export class ejPivotGauge extends WidgetBase { @@ -272,13 +350,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPivotSchemaDesigner extends WidgetBase { constructor(element?: any); } - export class ejProgressBar extends WidgetBase { - constructor(element?: any); - } export class ejPivotTreeMap extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejProgressBar extends WidgetBase { constructor(element?: any); } export class Item { @@ -289,6 +364,9 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } + export class ejRadialSlider extends WidgetBase { + constructor(element?: any); + } export class ejRadioButton extends WidgetBase { constructor(element?: any); } @@ -299,24 +377,24 @@ declare module 'aurelia-syncfusion-bridge' { export class RangeSeries { } - export class ejRibbon extends WidgetBase { + export class ejRating extends WidgetBase { constructor(element?: any); } - export class ejRating extends WidgetBase { + export class ejRibbon extends WidgetBase { constructor(element?: any); } export class ejRotator extends WidgetBase { constructor(element?: any); } + export class ejRte extends WidgetBase { + constructor(element?: any); + } export class ejSchedule extends WidgetBase { resources: any; constructor(element?: any); } export class ScheduleResource { - } - export class ejRte extends WidgetBase { - constructor(element?: any); } export class ejScroller extends WidgetBase { constructor(element?: any); @@ -333,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -346,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); - } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { + } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -401,82 +479,4 @@ declare module 'aurelia-syncfusion-bridge' { export class ejWaitingPopup extends WidgetBase { constructor(element?: any); } - export { - customAttribute, - bindable, - inject, - inlineView, - customElement, - children, - TemplatingEngine - }; - export const constants: any; - export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; - export function delayed(): any; - - /** - * To get binded events from the element - * @param element The Element from which events acquired - */ - export function getEventOption(element?: any): any; - - /** - * Fire DOM event on an element - * @param element The Element which the DOM event will be fired on - * @param name The Event's name - * @param data Addition data to attach to an event - */ - export function fireEvent(element: Element, name: string, data?: any): any; - export class TemplateProcessor { - constructor(context?: any, templateEngine?: any); - initTemplate(): any; - initWidgetDependancies(): any; - renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; - compileTemplate(element?: any): any; - clearTempalte(): any; - unbindViews(obj?: any): any; - } - export class Template { - template: any; - constructor(target?: any); - } - export class Util { - getBindablePropertyName(propertyName: string): string; - _unhyphenate(name: string): string; - getOptions(model?: any, properties?: any): any; - getControlPropertyName(options?: any, propertyName?: any): any; - hasValue(prop?: any): any; - processData(value?: any): any; - } - export class WidgetBase { - - /** - * To Create an widget - * @param option Object which contains Element in which widget will be created - */ - createWidget(option?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - createTwoWays(): any; - addTwoways(prop?: any): any; - - /** - * To get property and event options from the element - * @param element Element from which options are acquired - */ - getWidgetOptions(element?: any): any; - getChildProperties(options?: any): any; - attached(): any; - unsubscribe(): any; - unbind(): any; - - /** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - update(e?: any): any; - detached(): any; - } } \ No newline at end of file diff --git a/dist/dev/aurelia-syncfusion-bridge.d.ts b/dist/dev/aurelia-syncfusion-bridge.d.ts index bdd98865..b1be3739 100644 --- a/dist/dev/aurelia-syncfusion-bridge.d.ts +++ b/dist/dev/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -160,12 +160,90 @@ declare module 'aurelia-syncfusion-bridge' { export class ejCircularGauge extends WidgetBase { constructor(element?: any); } - export class ejComboBox extends WidgetBase { + export class ejColorPicker extends WidgetBase { constructor(element?: any); } - export class ejColorPicker extends WidgetBase { + export class ejComboBox extends WidgetBase { constructor(element?: any); } + export { + customAttribute, + bindable, + inject, + inlineView, + customElement, + children, + TemplatingEngine + }; + export const constants: any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; + export function delayed(): any; + + /** + * To get binded events from the element + * @param element The Element from which events acquired + */ + export function getEventOption(element?: any): any; + + /** + * Fire DOM event on an element + * @param element The Element which the DOM event will be fired on + * @param name The Event's name + * @param data Addition data to attach to an event + */ + export function fireEvent(element: Element, name: string, data?: any): any; + export class TemplateProcessor { + constructor(context?: any, templateEngine?: any); + initTemplate(): any; + initWidgetDependancies(): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; + clearTempalte(): any; + unbindViews(obj?: any): any; + } + export class Template { + template: any; + constructor(target?: any); + } + export class Util { + getBindablePropertyName(propertyName: string): string; + _unhyphenate(name: string): string; + getOptions(model?: any, properties?: any): any; + getControlPropertyName(options?: any, propertyName?: any): any; + hasValue(prop?: any): any; + processData(value?: any): any; + } + export class WidgetBase { + + /** + * To Create an widget + * @param option Object which contains Element in which widget will be created + */ + createWidget(option?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + createTwoWays(): any; + addTwoways(prop?: any): any; + + /** + * To get property and event options from the element + * @param element Element from which options are acquired + */ + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; + attached(): any; + unsubscribe(): any; + unbind(): any; + + /** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + update(e?: any): any; + detached(): any; + } export class ejCurrencyTextbox extends WidgetBase { constructor(element?: any); } @@ -178,10 +256,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDateTimePicker extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDiagram extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { @@ -196,9 +274,6 @@ declare module 'aurelia-syncfusion-bridge' { export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGroupButton extends WidgetBase { - constructor(element?: any); - } export class Column { template: any; setTemplates(): any; @@ -207,6 +282,9 @@ declare module 'aurelia-syncfusion-bridge' { columns: any; constructor(element?: any, templateEngine?: any); } + export class ejGroupButton extends WidgetBase { + constructor(element?: any); + } export class ejHeatMap extends WidgetBase { constructor(element?: any); } @@ -257,10 +335,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPivotChart extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPivotChart extends WidgetBase { constructor(element?: any); } export class ejPivotGauge extends WidgetBase { @@ -272,13 +350,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPivotSchemaDesigner extends WidgetBase { constructor(element?: any); } - export class ejProgressBar extends WidgetBase { - constructor(element?: any); - } export class ejPivotTreeMap extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejProgressBar extends WidgetBase { constructor(element?: any); } export class Item { @@ -289,6 +364,9 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } + export class ejRadialSlider extends WidgetBase { + constructor(element?: any); + } export class ejRadioButton extends WidgetBase { constructor(element?: any); } @@ -299,24 +377,24 @@ declare module 'aurelia-syncfusion-bridge' { export class RangeSeries { } - export class ejRibbon extends WidgetBase { + export class ejRating extends WidgetBase { constructor(element?: any); } - export class ejRating extends WidgetBase { + export class ejRibbon extends WidgetBase { constructor(element?: any); } export class ejRotator extends WidgetBase { constructor(element?: any); } + export class ejRte extends WidgetBase { + constructor(element?: any); + } export class ejSchedule extends WidgetBase { resources: any; constructor(element?: any); } export class ScheduleResource { - } - export class ejRte extends WidgetBase { - constructor(element?: any); } export class ejScroller extends WidgetBase { constructor(element?: any); @@ -333,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -346,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); - } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { + } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -401,82 +479,4 @@ declare module 'aurelia-syncfusion-bridge' { export class ejWaitingPopup extends WidgetBase { constructor(element?: any); } - export { - customAttribute, - bindable, - inject, - inlineView, - customElement, - children, - TemplatingEngine - }; - export const constants: any; - export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; - export function delayed(): any; - - /** - * To get binded events from the element - * @param element The Element from which events acquired - */ - export function getEventOption(element?: any): any; - - /** - * Fire DOM event on an element - * @param element The Element which the DOM event will be fired on - * @param name The Event's name - * @param data Addition data to attach to an event - */ - export function fireEvent(element: Element, name: string, data?: any): any; - export class TemplateProcessor { - constructor(context?: any, templateEngine?: any); - initTemplate(): any; - initWidgetDependancies(): any; - renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; - compileTemplate(element?: any): any; - clearTempalte(): any; - unbindViews(obj?: any): any; - } - export class Template { - template: any; - constructor(target?: any); - } - export class Util { - getBindablePropertyName(propertyName: string): string; - _unhyphenate(name: string): string; - getOptions(model?: any, properties?: any): any; - getControlPropertyName(options?: any, propertyName?: any): any; - hasValue(prop?: any): any; - processData(value?: any): any; - } - export class WidgetBase { - - /** - * To Create an widget - * @param option Object which contains Element in which widget will be created - */ - createWidget(option?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - createTwoWays(): any; - addTwoways(prop?: any): any; - - /** - * To get property and event options from the element - * @param element Element from which options are acquired - */ - getWidgetOptions(element?: any): any; - getChildProperties(options?: any): any; - attached(): any; - unsubscribe(): any; - unbind(): any; - - /** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - update(e?: any): any; - detached(): any; - } } \ No newline at end of file diff --git a/dist/es6/aurelia-syncfusion-bridge.d.ts b/dist/es6/aurelia-syncfusion-bridge.d.ts index bdd98865..b1be3739 100644 --- a/dist/es6/aurelia-syncfusion-bridge.d.ts +++ b/dist/es6/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -160,12 +160,90 @@ declare module 'aurelia-syncfusion-bridge' { export class ejCircularGauge extends WidgetBase { constructor(element?: any); } - export class ejComboBox extends WidgetBase { + export class ejColorPicker extends WidgetBase { constructor(element?: any); } - export class ejColorPicker extends WidgetBase { + export class ejComboBox extends WidgetBase { constructor(element?: any); } + export { + customAttribute, + bindable, + inject, + inlineView, + customElement, + children, + TemplatingEngine + }; + export const constants: any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; + export function delayed(): any; + + /** + * To get binded events from the element + * @param element The Element from which events acquired + */ + export function getEventOption(element?: any): any; + + /** + * Fire DOM event on an element + * @param element The Element which the DOM event will be fired on + * @param name The Event's name + * @param data Addition data to attach to an event + */ + export function fireEvent(element: Element, name: string, data?: any): any; + export class TemplateProcessor { + constructor(context?: any, templateEngine?: any); + initTemplate(): any; + initWidgetDependancies(): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; + clearTempalte(): any; + unbindViews(obj?: any): any; + } + export class Template { + template: any; + constructor(target?: any); + } + export class Util { + getBindablePropertyName(propertyName: string): string; + _unhyphenate(name: string): string; + getOptions(model?: any, properties?: any): any; + getControlPropertyName(options?: any, propertyName?: any): any; + hasValue(prop?: any): any; + processData(value?: any): any; + } + export class WidgetBase { + + /** + * To Create an widget + * @param option Object which contains Element in which widget will be created + */ + createWidget(option?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + createTwoWays(): any; + addTwoways(prop?: any): any; + + /** + * To get property and event options from the element + * @param element Element from which options are acquired + */ + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; + attached(): any; + unsubscribe(): any; + unbind(): any; + + /** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + update(e?: any): any; + detached(): any; + } export class ejCurrencyTextbox extends WidgetBase { constructor(element?: any); } @@ -178,10 +256,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDateTimePicker extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDiagram extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { @@ -196,9 +274,6 @@ declare module 'aurelia-syncfusion-bridge' { export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGroupButton extends WidgetBase { - constructor(element?: any); - } export class Column { template: any; setTemplates(): any; @@ -207,6 +282,9 @@ declare module 'aurelia-syncfusion-bridge' { columns: any; constructor(element?: any, templateEngine?: any); } + export class ejGroupButton extends WidgetBase { + constructor(element?: any); + } export class ejHeatMap extends WidgetBase { constructor(element?: any); } @@ -257,10 +335,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPivotChart extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPivotChart extends WidgetBase { constructor(element?: any); } export class ejPivotGauge extends WidgetBase { @@ -272,13 +350,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPivotSchemaDesigner extends WidgetBase { constructor(element?: any); } - export class ejProgressBar extends WidgetBase { - constructor(element?: any); - } export class ejPivotTreeMap extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejProgressBar extends WidgetBase { constructor(element?: any); } export class Item { @@ -289,6 +364,9 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } + export class ejRadialSlider extends WidgetBase { + constructor(element?: any); + } export class ejRadioButton extends WidgetBase { constructor(element?: any); } @@ -299,24 +377,24 @@ declare module 'aurelia-syncfusion-bridge' { export class RangeSeries { } - export class ejRibbon extends WidgetBase { + export class ejRating extends WidgetBase { constructor(element?: any); } - export class ejRating extends WidgetBase { + export class ejRibbon extends WidgetBase { constructor(element?: any); } export class ejRotator extends WidgetBase { constructor(element?: any); } + export class ejRte extends WidgetBase { + constructor(element?: any); + } export class ejSchedule extends WidgetBase { resources: any; constructor(element?: any); } export class ScheduleResource { - } - export class ejRte extends WidgetBase { - constructor(element?: any); } export class ejScroller extends WidgetBase { constructor(element?: any); @@ -333,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -346,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); - } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { + } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -401,82 +479,4 @@ declare module 'aurelia-syncfusion-bridge' { export class ejWaitingPopup extends WidgetBase { constructor(element?: any); } - export { - customAttribute, - bindable, - inject, - inlineView, - customElement, - children, - TemplatingEngine - }; - export const constants: any; - export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; - export function delayed(): any; - - /** - * To get binded events from the element - * @param element The Element from which events acquired - */ - export function getEventOption(element?: any): any; - - /** - * Fire DOM event on an element - * @param element The Element which the DOM event will be fired on - * @param name The Event's name - * @param data Addition data to attach to an event - */ - export function fireEvent(element: Element, name: string, data?: any): any; - export class TemplateProcessor { - constructor(context?: any, templateEngine?: any); - initTemplate(): any; - initWidgetDependancies(): any; - renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; - compileTemplate(element?: any): any; - clearTempalte(): any; - unbindViews(obj?: any): any; - } - export class Template { - template: any; - constructor(target?: any); - } - export class Util { - getBindablePropertyName(propertyName: string): string; - _unhyphenate(name: string): string; - getOptions(model?: any, properties?: any): any; - getControlPropertyName(options?: any, propertyName?: any): any; - hasValue(prop?: any): any; - processData(value?: any): any; - } - export class WidgetBase { - - /** - * To Create an widget - * @param option Object which contains Element in which widget will be created - */ - createWidget(option?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - createTwoWays(): any; - addTwoways(prop?: any): any; - - /** - * To get property and event options from the element - * @param element Element from which options are acquired - */ - getWidgetOptions(element?: any): any; - getChildProperties(options?: any): any; - attached(): any; - unsubscribe(): any; - unbind(): any; - - /** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - update(e?: any): any; - detached(): any; - } } \ No newline at end of file diff --git a/dist/system/aurelia-syncfusion-bridge.d.ts b/dist/system/aurelia-syncfusion-bridge.d.ts index bdd98865..b1be3739 100644 --- a/dist/system/aurelia-syncfusion-bridge.d.ts +++ b/dist/system/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -160,12 +160,90 @@ declare module 'aurelia-syncfusion-bridge' { export class ejCircularGauge extends WidgetBase { constructor(element?: any); } - export class ejComboBox extends WidgetBase { + export class ejColorPicker extends WidgetBase { constructor(element?: any); } - export class ejColorPicker extends WidgetBase { + export class ejComboBox extends WidgetBase { constructor(element?: any); } + export { + customAttribute, + bindable, + inject, + inlineView, + customElement, + children, + TemplatingEngine + }; + export const constants: any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; + export function delayed(): any; + + /** + * To get binded events from the element + * @param element The Element from which events acquired + */ + export function getEventOption(element?: any): any; + + /** + * Fire DOM event on an element + * @param element The Element which the DOM event will be fired on + * @param name The Event's name + * @param data Addition data to attach to an event + */ + export function fireEvent(element: Element, name: string, data?: any): any; + export class TemplateProcessor { + constructor(context?: any, templateEngine?: any); + initTemplate(): any; + initWidgetDependancies(): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; + clearTempalte(): any; + unbindViews(obj?: any): any; + } + export class Template { + template: any; + constructor(target?: any); + } + export class Util { + getBindablePropertyName(propertyName: string): string; + _unhyphenate(name: string): string; + getOptions(model?: any, properties?: any): any; + getControlPropertyName(options?: any, propertyName?: any): any; + hasValue(prop?: any): any; + processData(value?: any): any; + } + export class WidgetBase { + + /** + * To Create an widget + * @param option Object which contains Element in which widget will be created + */ + createWidget(option?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + createTwoWays(): any; + addTwoways(prop?: any): any; + + /** + * To get property and event options from the element + * @param element Element from which options are acquired + */ + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; + attached(): any; + unsubscribe(): any; + unbind(): any; + + /** + * To change widget model value + * @param property The viewModel property name + * @param newValue New value of the property + * @param oldvalue Pld value of the property + */ + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + update(e?: any): any; + detached(): any; + } export class ejCurrencyTextbox extends WidgetBase { constructor(element?: any); } @@ -178,10 +256,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDateTimePicker extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDiagram extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { @@ -196,9 +274,6 @@ declare module 'aurelia-syncfusion-bridge' { export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGroupButton extends WidgetBase { - constructor(element?: any); - } export class Column { template: any; setTemplates(): any; @@ -207,6 +282,9 @@ declare module 'aurelia-syncfusion-bridge' { columns: any; constructor(element?: any, templateEngine?: any); } + export class ejGroupButton extends WidgetBase { + constructor(element?: any); + } export class ejHeatMap extends WidgetBase { constructor(element?: any); } @@ -257,10 +335,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPivotChart extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPivotChart extends WidgetBase { constructor(element?: any); } export class ejPivotGauge extends WidgetBase { @@ -272,13 +350,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPivotSchemaDesigner extends WidgetBase { constructor(element?: any); } - export class ejProgressBar extends WidgetBase { - constructor(element?: any); - } export class ejPivotTreeMap extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejProgressBar extends WidgetBase { constructor(element?: any); } export class Item { @@ -289,6 +364,9 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } + export class ejRadialSlider extends WidgetBase { + constructor(element?: any); + } export class ejRadioButton extends WidgetBase { constructor(element?: any); } @@ -299,24 +377,24 @@ declare module 'aurelia-syncfusion-bridge' { export class RangeSeries { } - export class ejRibbon extends WidgetBase { + export class ejRating extends WidgetBase { constructor(element?: any); } - export class ejRating extends WidgetBase { + export class ejRibbon extends WidgetBase { constructor(element?: any); } export class ejRotator extends WidgetBase { constructor(element?: any); } + export class ejRte extends WidgetBase { + constructor(element?: any); + } export class ejSchedule extends WidgetBase { resources: any; constructor(element?: any); } export class ScheduleResource { - } - export class ejRte extends WidgetBase { - constructor(element?: any); } export class ejScroller extends WidgetBase { constructor(element?: any); @@ -333,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -346,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); - } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { + } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -401,82 +479,4 @@ declare module 'aurelia-syncfusion-bridge' { export class ejWaitingPopup extends WidgetBase { constructor(element?: any); } - export { - customAttribute, - bindable, - inject, - inlineView, - customElement, - children, - TemplatingEngine - }; - export const constants: any; - export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: any, observerCollection?: any): any; - export function delayed(): any; - - /** - * To get binded events from the element - * @param element The Element from which events acquired - */ - export function getEventOption(element?: any): any; - - /** - * Fire DOM event on an element - * @param element The Element which the DOM event will be fired on - * @param name The Event's name - * @param data Addition data to attach to an event - */ - export function fireEvent(element: Element, name: string, data?: any): any; - export class TemplateProcessor { - constructor(context?: any, templateEngine?: any); - initTemplate(): any; - initWidgetDependancies(): any; - renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; - compileTemplate(element?: any): any; - clearTempalte(): any; - unbindViews(obj?: any): any; - } - export class Template { - template: any; - constructor(target?: any); - } - export class Util { - getBindablePropertyName(propertyName: string): string; - _unhyphenate(name: string): string; - getOptions(model?: any, properties?: any): any; - getControlPropertyName(options?: any, propertyName?: any): any; - hasValue(prop?: any): any; - processData(value?: any): any; - } - export class WidgetBase { - - /** - * To Create an widget - * @param option Object which contains Element in which widget will be created - */ - createWidget(option?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - createTwoWays(): any; - addTwoways(prop?: any): any; - - /** - * To get property and event options from the element - * @param element Element from which options are acquired - */ - getWidgetOptions(element?: any): any; - getChildProperties(options?: any): any; - attached(): any; - unsubscribe(): any; - unbind(): any; - - /** - * To change widget model value - * @param property The viewModel property name - * @param newValue New value of the property - * @param oldvalue Pld value of the property - */ - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - update(e?: any): any; - detached(): any; - } } \ No newline at end of file diff --git a/dist/temp/aurelia-syncfusion-bridge.js b/dist/temp/aurelia-syncfusion-bridge.js index dc063663..559f7faf 100644 --- a/dist/temp/aurelia-syncfusion-bridge.js +++ b/dist/temp/aurelia-syncfusion-bridge.js @@ -1,9 +1,9 @@ 'use strict'; exports.__esModule = true; -exports.WidgetBase = exports.Util = exports.Template = exports.TemplateProcessor = exports.constants = exports.TemplatingEngine = exports.children = exports.customElement = exports.inlineView = exports.inject = exports.bindable = exports.customAttribute = exports.ejWaitingPopup = exports.ejUploadbox = exports.ejTreeView = exports.ejTreeMap = exports.Level = exports.TreeGridColumn = exports.ejTreeGrid = exports.ejTooltip = exports.ejToolbar = exports.ejToggleButton = exports.ejTimePicker = exports.ejTile = exports.ejTagCloud = exports.ejTab = exports.SunburstLevels = exports.ejSunburstChart = exports.ejSymbolPalette = exports.ejSpreadsheet = exports.Sheet = exports.ejSplitButton = exports.ejSplitter = exports.ejSpellCheck = exports.ejSparkline = exports.ejSlider = exports.ejSignature = exports.ejScroller = exports.ejRte = exports.ScheduleResource = exports.ejSchedule = exports.ejRotator = exports.ejRating = exports.ejRibbon = exports.RangeSeries = exports.ejRangeNavigator = exports.ejRadioButton = exports.ejRadialMenu = exports.Item = exports.ejRadialSlider = exports.ejPivotTreeMap = exports.ejProgressBar = exports.ejPivotSchemaDesigner = exports.ejPivotGrid = exports.ejPivotGauge = exports.ejPercentageTextbox = exports.ejPivotChart = exports.ejPdfViewer = exports.ejPager = exports.ejOverview = exports.ejNumericTextbox = exports.ejNavigationDrawer = exports.ejMenu = exports.ejMaskEdit = exports.ejMap = exports.Layer = exports.ejListView = exports.ejListBox = exports.ejLinearGauge = exports.KanbanColumn = exports.ejKanban = exports.ejHeatMapLegend = exports.ejHeatMap = exports.ejGrid = exports.Column = exports.ejGroupButton = exports.ejGantt = exports.ejFileExplorer = exports.ejDropDownList = exports.ejDigitalGauge = exports.ejDiagram = exports.ejDialog = exports.ejDateTimePicker = exports.ejDateRangePicker = exports.ejDatePicker = exports.ejCurrencyTextbox = exports.ejColorPicker = exports.ejComboBox = exports.ejCircularGauge = exports.ejCheckBox = exports.Series = exports.ejChart = exports.ejButton = exports.QualitativeRange = exports.ejBulletGraph = exports.ejAutocomplete = exports.ejBarcode = exports.ejAccordion = exports.EjConfigBuilder = undefined; +exports.ejWaitingPopup = exports.ejUploadbox = exports.ejTreeView = exports.ejTreeMap = exports.Level = exports.TreeGridColumn = exports.ejTreeGrid = exports.ejTooltip = exports.ejToolbar = exports.ejToggleButton = exports.ejTimePicker = exports.ejTile = exports.ejTagCloud = exports.ejTab = exports.ejSymbolPalette = exports.SunburstLevels = exports.ejSunburstChart = exports.ejSpreadsheet = exports.Sheet = exports.ejSplitter = exports.ejSplitButton = exports.ejSpellCheck = exports.ejSparkline = exports.ejSlider = exports.ejSignature = exports.ejScroller = exports.ScheduleResource = exports.ejSchedule = exports.ejRte = exports.ejRotator = exports.ejRibbon = exports.ejRating = exports.RangeSeries = exports.ejRangeNavigator = exports.ejRadioButton = exports.ejRadialSlider = exports.ejRadialMenu = exports.Item = exports.ejProgressBar = exports.ejPivotTreeMap = exports.ejPivotSchemaDesigner = exports.ejPivotGrid = exports.ejPivotGauge = exports.ejPivotChart = exports.ejPercentageTextbox = exports.ejPdfViewer = exports.ejPager = exports.ejOverview = exports.ejNumericTextbox = exports.ejNavigationDrawer = exports.ejMenu = exports.ejMaskEdit = exports.ejMap = exports.Layer = exports.ejListView = exports.ejListBox = exports.ejLinearGauge = exports.KanbanColumn = exports.ejKanban = exports.ejHeatMapLegend = exports.ejHeatMap = exports.ejGroupButton = exports.ejGrid = exports.Column = exports.ejGantt = exports.ejFileExplorer = exports.ejDropDownList = exports.ejDigitalGauge = exports.ejDialog = exports.ejDiagram = exports.ejDateTimePicker = exports.ejDateRangePicker = exports.ejDatePicker = exports.ejCurrencyTextbox = exports.WidgetBase = exports.Util = exports.Template = exports.TemplateProcessor = exports.constants = exports.TemplatingEngine = exports.children = exports.customElement = exports.inlineView = exports.inject = exports.bindable = exports.customAttribute = exports.ejComboBox = exports.ejColorPicker = exports.ejCircularGauge = exports.ejCheckBox = exports.Series = exports.ejChart = exports.ejButton = exports.QualitativeRange = exports.ejBulletGraph = exports.ejBarcode = exports.ejAutocomplete = exports.ejAccordion = exports.EjConfigBuilder = undefined; -var _dec, _dec2, _dec3, _dec4, _class2, _dec5, _dec6, _dec7, _dec8, _class3, _dec9, _dec10, _dec11, _class4, _dec12, _dec13, _dec14, _dec15, _dec16, _class5, _desc, _value, _class6, _descriptor, _dec17, _dec18, _dec19, _class8, _dec20, _dec21, _dec22, _class9, _dec23, _dec24, _dec25, _dec26, _dec27, _class10, _desc2, _value2, _class11, _descriptor2, _dec28, _dec29, _dec30, _class13, _dec31, _dec32, _dec33, _class14, _dec34, _dec35, _dec36, _dec37, _class15, _dec38, _dec39, _dec40, _class16, _dec41, _dec42, _dec43, _class17, _dec44, _dec45, _dec46, _class18, _dec47, _dec48, _dec49, _class19, _dec50, _dec51, _dec52, _class20, _dec53, _dec54, _dec55, _class21, _dec56, _dec57, _dec58, _dec59, _class22, _dec60, _dec61, _dec62, _dec63, _class23, _dec64, _dec65, _dec66, _dec67, _class24, _dec68, _dec69, _dec70, _class25, _dec71, _dec72, _dec73, _dec74, _class26, _dec75, _dec76, _dec77, _dec78, _class27, _dec79, _dec80, _dec81, _class28, _dec82, _dec83, _dec84, _dec85, _class29, _desc3, _value3, _class30, _descriptor3, _dec86, _dec87, _dec88, _dec89, _dec90, _class32, _desc4, _value4, _class33, _descriptor4, _dec91, _dec92, _dec93, _dec94, _class35, _dec95, _dec96, _dec97, _dec98, _class36, _dec99, _dec100, _dec101, _dec102, _dec103, _class37, _desc5, _value5, _class38, _descriptor5, _dec104, _dec105, _dec106, _class40, _dec107, _dec108, _dec109, _dec110, _class41, _dec111, _dec112, _dec113, _class42, _dec114, _dec115, _dec116, _dec117, _class43, _dec118, _dec119, _dec120, _class44, _dec121, _dec122, _dec123, _dec124, _dec125, _class45, _desc6, _value6, _class46, _descriptor6, _dec126, _dec127, _dec128, _class48, _dec129, _dec130, _dec131, _class49, _dec132, _dec133, _dec134, _dec135, _class50, _dec136, _dec137, _dec138, _class51, _dec139, _dec140, _dec141, _dec142, _class52, _dec143, _dec144, _dec145, _dec146, _class53, _dec147, _dec148, _dec149, _dec150, _class54, _dec151, _dec152, _dec153, _dec154, _class55, _dec155, _dec156, _dec157, _class56, _dec158, _dec159, _dec160, _dec161, _class57, _dec162, _dec163, _dec164, _dec165, _class58, _dec166, _dec167, _dec168, _dec169, _class59, _dec170, _dec171, _dec172, _class60, _dec173, _dec174, _dec175, _dec176, _class61, _dec177, _dec178, _dec179, _dec180, _class62, _dec181, _dec182, _dec183, _dec184, _class63, _desc7, _value7, _class64, _descriptor7, _dec185, _dec186, _dec187, _dec188, _dec189, _class66, _desc8, _value8, _class67, _descriptor8, _dec190, _dec191, _dec192, _class69, _dec193, _dec194, _dec195, _dec196, _dec197, _class70, _desc9, _value9, _class71, _descriptor9, _dec198, _dec199, _dec200, _class73, _dec201, _dec202, _dec203, _dec204, _class74, _dec205, _dec206, _dec207, _class75, _dec208, _dec209, _dec210, _class76, _dec211, _dec212, _dec213, _dec214, _dec215, _class77, _desc10, _value10, _class78, _descriptor10, _dec216, _dec217, _dec218, _class80, _dec219, _dec220, _dec221, _class81, _dec222, _dec223, _dec224, _class82, _dec225, _dec226, _dec227, _dec228, _class83, _dec229, _dec230, _dec231, _class84, _dec232, _dec233, _dec234, _dec235, _class85, _dec236, _dec237, _dec238, _dec239, _class86, _dec240, _dec241, _dec242, _dec243, _class87, _dec244, _dec245, _dec246, _class88, _dec247, _dec248, _dec249, _class89, _dec250, _dec251, _dec252, _dec253, _dec254, _class90, _desc11, _value11, _class91, _descriptor11, _dec255, _dec256, _dec257, _dec258, _class93, _dec259, _dec260, _dec261, _dec262, _dec263, _class94, _desc12, _value12, _class95, _descriptor12, _dec264, _dec265, _dec266, _class97, _dec267, _dec268, _dec269, _dec270, _class98, _dec271, _dec272, _dec273, _dec274, _class99, _dec275, _dec276, _dec277, _dec278, _class100, _dec279, _dec280, _dec281, _class101, _dec282, _dec283, _dec284, _class102, _dec285, _dec286, _dec287, _class103, _dec288, _dec289, _dec290, _class104, _dec291, _dec292, _dec293, _dec294, _dec295, _class105, _desc13, _value13, _class106, _descriptor13, _dec296, _dec297, _dec298, _dec299, _class108, _desc14, _value14, _class109, _descriptor14, _dec300, _dec301, _dec302, _class111, _dec303, _dec304, _dec305, _dec306, _dec307, _class112, _desc15, _value15, _class113, _descriptor15, _dec308, _dec309, _dec310, _class115, _dec311, _dec312, _dec313, _dec314, _class116, _dec315, _dec316, _dec317, _class117, _dec318, _class118, _dec319, _dec320, _dec321, _dec322, _class119, _desc16, _value16, _class120, _descriptor16, _dec323, _desc17, _value17, _class122; +var _dec, _dec2, _dec3, _dec4, _class2, _dec5, _dec6, _dec7, _class3, _dec8, _dec9, _dec10, _dec11, _class4, _dec12, _dec13, _dec14, _dec15, _dec16, _class5, _desc, _value, _class6, _descriptor, _dec17, _dec18, _dec19, _class8, _dec20, _dec21, _dec22, _class9, _dec23, _dec24, _dec25, _dec26, _dec27, _class10, _desc2, _value2, _class11, _descriptor2, _dec28, _dec29, _dec30, _class13, _dec31, _dec32, _dec33, _class14, _dec34, _dec35, _dec36, _dec37, _class15, _dec38, _dec39, _dec40, _class16, _dec41, _dec42, _dec43, _class17, _dec44, _class18, _dec45, _dec46, _dec47, _dec48, _class19, _desc3, _value3, _class20, _descriptor3, _dec49, _desc4, _value4, _class22, _dec50, _dec51, _dec52, _class23, _dec53, _dec54, _dec55, _class24, _dec56, _dec57, _dec58, _class25, _dec59, _dec60, _dec61, _class26, _dec62, _dec63, _dec64, _dec65, _class27, _dec66, _dec67, _dec68, _dec69, _class28, _dec70, _dec71, _dec72, _dec73, _class29, _dec74, _dec75, _dec76, _class30, _dec77, _dec78, _dec79, _dec80, _class31, _dec81, _dec82, _dec83, _dec84, _class32, _dec85, _dec86, _dec87, _dec88, _class33, _desc5, _value5, _class34, _descriptor4, _dec89, _dec90, _dec91, _dec92, _dec93, _class36, _desc6, _value6, _class37, _descriptor5, _dec94, _dec95, _dec96, _class39, _dec97, _dec98, _dec99, _dec100, _class40, _dec101, _dec102, _dec103, _dec104, _class41, _dec105, _dec106, _dec107, _dec108, _dec109, _class42, _desc7, _value7, _class43, _descriptor6, _dec110, _dec111, _dec112, _class45, _dec113, _dec114, _dec115, _dec116, _class46, _dec117, _dec118, _dec119, _class47, _dec120, _dec121, _dec122, _dec123, _class48, _dec124, _dec125, _dec126, _class49, _dec127, _dec128, _dec129, _dec130, _dec131, _class50, _desc8, _value8, _class51, _descriptor7, _dec132, _dec133, _dec134, _class53, _dec135, _dec136, _dec137, _class54, _dec138, _dec139, _dec140, _dec141, _class55, _dec142, _dec143, _dec144, _class56, _dec145, _dec146, _dec147, _dec148, _class57, _dec149, _dec150, _dec151, _dec152, _class58, _dec153, _dec154, _dec155, _dec156, _class59, _dec157, _dec158, _dec159, _class60, _dec160, _dec161, _dec162, _dec163, _class61, _dec164, _dec165, _dec166, _dec167, _class62, _dec168, _dec169, _dec170, _dec171, _class63, _dec172, _dec173, _dec174, _dec175, _class64, _dec176, _dec177, _dec178, _dec179, _class65, _dec180, _dec181, _dec182, _class66, _dec183, _dec184, _dec185, _dec186, _class67, _desc9, _value9, _class68, _descriptor8, _dec187, _dec188, _dec189, _dec190, _dec191, _class70, _desc10, _value10, _class71, _descriptor9, _dec192, _dec193, _dec194, _dec195, _class73, _dec196, _dec197, _dec198, _class74, _dec199, _dec200, _dec201, _dec202, _dec203, _class75, _desc11, _value11, _class76, _descriptor10, _dec204, _dec205, _dec206, _class78, _dec207, _dec208, _dec209, _class79, _dec210, _dec211, _dec212, _dec213, _class80, _dec214, _dec215, _dec216, _class81, _dec217, _dec218, _dec219, _class82, _dec220, _dec221, _dec222, _dec223, _dec224, _class83, _desc12, _value12, _class84, _descriptor11, _dec225, _dec226, _dec227, _class86, _dec228, _dec229, _dec230, _class87, _dec231, _dec232, _dec233, _dec234, _class88, _dec235, _dec236, _dec237, _class89, _dec238, _dec239, _dec240, _dec241, _class90, _dec242, _dec243, _dec244, _dec245, _class91, _dec246, _dec247, _dec248, _class92, _dec249, _dec250, _dec251, _dec252, _class93, _dec253, _dec254, _dec255, _class94, _dec256, _dec257, _dec258, _dec259, _dec260, _class95, _desc13, _value13, _class96, _descriptor12, _dec261, _dec262, _dec263, _dec264, _dec265, _class98, _desc14, _value14, _class99, _descriptor13, _dec266, _dec267, _dec268, _class101, _dec269, _dec270, _dec271, _dec272, _class102, _dec273, _dec274, _dec275, _dec276, _class103, _dec277, _dec278, _dec279, _dec280, _class104, _dec281, _dec282, _dec283, _dec284, _class105, _dec285, _dec286, _dec287, _class106, _dec288, _dec289, _dec290, _class107, _dec291, _dec292, _dec293, _class108, _dec294, _dec295, _dec296, _class109, _dec297, _dec298, _dec299, _dec300, _dec301, _class110, _desc15, _value15, _class111, _descriptor14, _dec302, _dec303, _dec304, _dec305, _class113, _desc16, _value16, _class114, _descriptor15, _dec306, _dec307, _dec308, _class116, _dec309, _dec310, _dec311, _dec312, _dec313, _class117, _desc17, _value17, _class118, _descriptor16, _dec314, _dec315, _dec316, _class120, _dec317, _dec318, _dec319, _dec320, _class121, _dec321, _dec322, _dec323, _class122; exports.configure = configure; exports.generateBindables = generateBindables; @@ -508,11 +508,11 @@ var ejAccordion = exports.ejAccordion = (_dec = (0, _aureliaTemplating.customEle return ejAccordion; }(WidgetBase)) || _class2) || _class2) || _class2) || _class2); -var ejBarcode = exports.ejBarcode = (_dec5 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'barcode'), _dec6 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec7 = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec8 = (0, _aureliaDependencyInjection.inject)(Element), _dec5(_class3 = _dec6(_class3 = _dec7(_class3 = _dec8(_class3 = function (_WidgetBase2) { - _inherits(ejBarcode, _WidgetBase2); +var ejAutocomplete = exports.ejAutocomplete = (_dec5 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'autocomplete'), _dec6 = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'ignoreAccent', 'locale', 'minCharacter', 'multiColumnSettings', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': ['enableRtl'] }), _dec7 = (0, _aureliaDependencyInjection.inject)(Element), _dec5(_class3 = _dec6(_class3 = _dec7(_class3 = function (_WidgetBase2) { + _inherits(ejAutocomplete, _WidgetBase2); - function ejBarcode(element) { - _classCallCheck(this, ejBarcode); + function ejAutocomplete(element) { + _classCallCheck(this, ejAutocomplete); var _this2 = _possibleConstructorReturn(this, _WidgetBase2.call(this)); @@ -520,13 +520,13 @@ var ejBarcode = exports.ejBarcode = (_dec5 = (0, _aureliaTemplating.customElemen return _this2; } - return ejBarcode; -}(WidgetBase)) || _class3) || _class3) || _class3) || _class3); -var ejAutocomplete = exports.ejAutocomplete = (_dec9 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'autocomplete'), _dec10 = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'ignoreAccent', 'locale', 'minCharacter', 'multiColumnSettings', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': ['enableRtl'] }), _dec11 = (0, _aureliaDependencyInjection.inject)(Element), _dec9(_class4 = _dec10(_class4 = _dec11(_class4 = function (_WidgetBase3) { - _inherits(ejAutocomplete, _WidgetBase3); + return ejAutocomplete; +}(WidgetBase)) || _class3) || _class3) || _class3); +var ejBarcode = exports.ejBarcode = (_dec8 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'barcode'), _dec9 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec10 = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec11 = (0, _aureliaDependencyInjection.inject)(Element), _dec8(_class4 = _dec9(_class4 = _dec10(_class4 = _dec11(_class4 = function (_WidgetBase3) { + _inherits(ejBarcode, _WidgetBase3); - function ejAutocomplete(element) { - _classCallCheck(this, ejAutocomplete); + function ejBarcode(element) { + _classCallCheck(this, ejBarcode); var _this3 = _possibleConstructorReturn(this, _WidgetBase3.call(this)); @@ -534,8 +534,8 @@ var ejAutocomplete = exports.ejAutocomplete = (_dec9 = (0, _aureliaTemplating.cu return _this3; } - return ejAutocomplete; -}(WidgetBase)) || _class4) || _class4) || _class4); + return ejBarcode; +}(WidgetBase)) || _class4) || _class4) || _class4) || _class4); var ejBulletGraph = exports.ejBulletGraph = (_dec12 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'bullet-graph'), _dec13 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec14 = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'enableResizing', 'flowDirection', 'height', 'isResponsive', 'enableGroupSeparator', 'locale', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width']), _dec15 = (0, _aureliaDependencyInjection.inject)(Element), _dec16 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'qualitative-range'), _dec12(_class5 = _dec13(_class5 = _dec14(_class5 = _dec15(_class5 = (_class6 = function (_WidgetBase4) { _inherits(ejBulletGraph, _WidgetBase4); @@ -630,1647 +630,1647 @@ var ejCircularGauge = exports.ejCircularGauge = (_dec34 = (0, _aureliaTemplating return ejCircularGauge; }(WidgetBase)) || _class15) || _class15) || _class15) || _class15); -var ejComboBox = exports.ejComboBox = (_dec38 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'combo-box'), _dec39 = generateBindables('ejComboBox', ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enableRtl', 'enabled', 'fields', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'width'], ['value']), _dec40 = (0, _aureliaDependencyInjection.inject)(Element), _dec38(_class16 = _dec39(_class16 = _dec40(_class16 = function (_WidgetBase9) { - _inherits(ejComboBox, _WidgetBase9); +var ejColorPicker = exports.ejColorPicker = (_dec38 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'color-picker'), _dec39 = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'locale', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec40 = (0, _aureliaDependencyInjection.inject)(Element), _dec38(_class16 = _dec39(_class16 = _dec40(_class16 = function (_WidgetBase9) { + _inherits(ejColorPicker, _WidgetBase9); - function ejComboBox(element) { - _classCallCheck(this, ejComboBox); + function ejColorPicker(element) { + _classCallCheck(this, ejColorPicker); var _this9 = _possibleConstructorReturn(this, _WidgetBase9.call(this)); - _this9.isEditor = true; _this9.element = element; return _this9; } - return ejComboBox; + return ejColorPicker; }(WidgetBase)) || _class16) || _class16) || _class16); -var ejColorPicker = exports.ejColorPicker = (_dec41 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'color-picker'), _dec42 = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'locale', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec43 = (0, _aureliaDependencyInjection.inject)(Element), _dec41(_class17 = _dec42(_class17 = _dec43(_class17 = function (_WidgetBase10) { - _inherits(ejColorPicker, _WidgetBase10); +var ejComboBox = exports.ejComboBox = (_dec41 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'combo-box'), _dec42 = generateBindables('ejComboBox', ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enableRtl', 'enabled', 'fields', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'width'], ['value']), _dec43 = (0, _aureliaDependencyInjection.inject)(Element), _dec41(_class17 = _dec42(_class17 = _dec43(_class17 = function (_WidgetBase10) { + _inherits(ejComboBox, _WidgetBase10); - function ejColorPicker(element) { - _classCallCheck(this, ejColorPicker); + function ejComboBox(element) { + _classCallCheck(this, ejComboBox); var _this10 = _possibleConstructorReturn(this, _WidgetBase10.call(this)); + _this10.isEditor = true; _this10.element = element; return _this10; } - return ejColorPicker; + return ejComboBox; }(WidgetBase)) || _class17) || _class17) || _class17); -var ejCurrencyTextbox = exports.ejCurrencyTextbox = (_dec44 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'currency-textbox'), _dec45 = generateBindables('ejCurrencyTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec46 = (0, _aureliaDependencyInjection.inject)(Element), _dec44(_class18 = _dec45(_class18 = _dec46(_class18 = function (_WidgetBase11) { - _inherits(ejCurrencyTextbox, _WidgetBase11); +exports.customAttribute = _aureliaTemplating.customAttribute; +exports.bindable = _aureliaTemplating.bindable; +exports.inject = _aureliaDependencyInjection.inject; +exports.inlineView = _aureliaTemplating.inlineView; +exports.customElement = _aureliaTemplating.customElement; +exports.children = _aureliaTemplating.children; +exports.TemplatingEngine = _aureliaTemplating.TemplatingEngine; +var constants = exports.constants = { + eventPrefix: 'e-on-', + bindablePrefix: 'e-', + attributePrefix: 'ej-', + elementPrefix: 'ej-', + aureliaTemplateString: '' +}; - function ejCurrencyTextbox(element) { - _classCallCheck(this, ejCurrencyTextbox); +function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties, observerCollection) { + return function (target, key, descriptor) { + var behaviorResource = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, _aureliaTemplating.HtmlBehaviorResource, target); + var container = _aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container(); + var util = container.get(Util); + var bindingInstance = container.get(_aureliaBinding.BindingEngine); + inputs.push('options'); + inputs.push('widget'); + var len = inputs.length; + if (observerCollection) { + target.prototype.arrayObserver = []; + observerCollection.forEach(function (element) { + target.prototype.arrayObserver.push(util.getBindablePropertyName(element)); + }); + target.prototype.bindingInstance = bindingInstance; + } + target.prototype.controlName = controlName; + target.prototype.twoWays = twoWayProperties ? twoWayProperties : []; + target.prototype.abbrevProperties = abbrevProperties ? abbrevProperties : []; + if (len) { + target.prototype.controlProperties = inputs; + for (var i = 0; i < len; i++) { + var option = inputs[i]; + if (abbrevProperties && option in abbrevProperties) { + option = abbrevProperties[option]; + option.forEach(function (prop) { + registerProp(util, prop, target, behaviorResource, descriptor); + }); + } else { + registerProp(util, option, target, behaviorResource, descriptor); + } + } + } + }; +} - var _this11 = _possibleConstructorReturn(this, _WidgetBase11.call(this)); +function registerProp(util, option, target, behaviorResource, descriptor) { + var nameOrConfigOrTarget = { + name: util.getBindablePropertyName(option) + }; - _this11.isEditor = true; - _this11.element = element; - return _this11; + if (option === 'widget') { + nameOrConfigOrTarget.defaultBindingMode = _aureliaBinding.bindingMode.twoWay; } - return ejCurrencyTextbox; -}(WidgetBase)) || _class18) || _class18) || _class18); -var ejDatePicker = exports.ejDatePicker = (_dec47 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-picker'), _dec48 = generateBindables('ejDatePicker', ['allowEdit', 'allowDrillDown', 'blackoutDates', 'buttonText', 'cssClass', 'dateFormat', 'dayHeaderFormat', 'depthLevel', 'displayInline', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'fields', 'headerFormat', 'height', 'highlightSection', 'highlightWeekend', 'htmlAttributes', 'locale', 'maxDate', 'minDate', 'readOnly', 'showDisabledRange', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'weekNumber', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec49 = (0, _aureliaDependencyInjection.inject)(Element), _dec47(_class19 = _dec48(_class19 = _dec49(_class19 = function (_WidgetBase12) { - _inherits(ejDatePicker, _WidgetBase12); - - function ejDatePicker(element) { - _classCallCheck(this, ejDatePicker); - - var _this12 = _possibleConstructorReturn(this, _WidgetBase12.call(this)); + var prop = new _aureliaTemplating.BindableProperty(nameOrConfigOrTarget); + prop.registerWith(target, behaviorResource, descriptor); +} - _this12.isEditor = true; - _this12.element = element; - return _this12; - } +function delayed() { + return function (target, key, descriptor) { + var taskQueue = (_aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container()).get(_aureliaTaskQueue.TaskQueue); + var ptr = descriptor.value; - return ejDatePicker; -}(WidgetBase)) || _class19) || _class19) || _class19); -var ejDateRangePicker = exports.ejDateRangePicker = (_dec50 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-range-picker'), _dec51 = generateBindables('ejDateRangePicker', ['allowEdit', 'buttonText', 'cssClass', 'dateFormat', 'enableTimePicker', 'enabled', 'enablePersistence', 'endDate', 'height', 'locale', 'maxDate', 'minDate', 'ranges', 'separator', 'startDate', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'watermarkText', 'width'], ['value']), _dec52 = (0, _aureliaDependencyInjection.inject)(Element), _dec50(_class20 = _dec51(_class20 = _dec52(_class20 = function (_WidgetBase13) { - _inherits(ejDateRangePicker, _WidgetBase13); + descriptor.value = function () { + var _this11 = this; - function ejDateRangePicker(element) { - _classCallCheck(this, ejDateRangePicker); + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } - var _this13 = _possibleConstructorReturn(this, _WidgetBase13.call(this)); + if (this.childPropertyName) { + taskQueue.queueTask(function () { + return ptr.apply(_this11, args); + }); + } else { + ptr.apply(this, args); + } + }; - _this13.isEditor = true; - _this13.element = element; - return _this13; - } + return descriptor; + }; +} - return ejDateRangePicker; -}(WidgetBase)) || _class20) || _class20) || _class20); -var ejDateTimePicker = exports.ejDateTimePicker = (_dec53 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-time-picker'), _dec54 = generateBindables('ejDateTimePicker', ['allowEdit', 'buttonText', 'blackoutDates', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec55 = (0, _aureliaDependencyInjection.inject)(Element), _dec53(_class21 = _dec54(_class21 = _dec55(_class21 = function (_WidgetBase14) { - _inherits(ejDateTimePicker, _WidgetBase14); +function getEventOption(element) { + var name = void 0; + var attr = void 0; + var attributes = element.attributes; + var option = {}; + var container = _aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container(); + var util = container.get(Util); - function ejDateTimePicker(element) { - _classCallCheck(this, ejDateTimePicker); + var _loop = function _loop(i, len) { + attr = attributes[i]; + name = attr.name; + if (!name.startsWith(constants.eventPrefix)) { + return 'continue'; + } + var actualEventName = name.split('.')[0]; + var eventName = util._unhyphenate(actualEventName.split(constants.eventPrefix)[1]); + option[eventName] = function (e) { + return fireEvent(element, actualEventName, e); + }; + }; - var _this14 = _possibleConstructorReturn(this, _WidgetBase14.call(this)); + for (var i = 0, len = attributes.length; i < len; i++) { + var _ret = _loop(i, len); - _this14.isEditor = true; - _this14.element = element; - return _this14; + if (_ret === 'continue') continue; } + return option; +} +function fireEvent(element, name) { + var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - return ejDateTimePicker; -}(WidgetBase)) || _class21) || _class21) || _class21); -var ejDialog = exports.ejDialog = (_dec56 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'dialog'), _dec57 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec58 = generateBindables('ejDialog', ['actionButtons', 'ajaxSettings', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'backgroundScroll', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'htmlAttributes', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex', 'showFooter', 'footerTemplateId'], [], { 'enableRTL': ['enableRtl'] }), _dec59 = (0, _aureliaDependencyInjection.inject)(Element), _dec56(_class22 = _dec57(_class22 = _dec58(_class22 = _dec59(_class22 = function (_WidgetBase15) { - _inherits(ejDialog, _WidgetBase15); - - function ejDialog(element) { - _classCallCheck(this, ejDialog); + var event = new CustomEvent(name, { + detail: data, + bubbles: true + }); + element.dispatchEvent(event); + return event; +} - var _this15 = _possibleConstructorReturn(this, _WidgetBase15.call(this)); +var TemplateProcessor = exports.TemplateProcessor = (_dec44 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, Util), _dec44(_class18 = function () { + function TemplateProcessor(context, templateEngine) { + _classCallCheck(this, TemplateProcessor); - _this15.element = element; - return _this15; + this.context = context; + this.templatingEngine = templateEngine; + this.util = new Util(); } - return ejDialog; -}(WidgetBase)) || _class22) || _class22) || _class22) || _class22); -var ejDiagram = exports.ejDiagram = (_dec60 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'diagram'), _dec61 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec62 = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'labelRenderingMode', 'layout', 'locale', 'nodes', 'layers', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'serializationSettings', 'rulerSettings', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec63 = (0, _aureliaDependencyInjection.inject)(Element), _dec60(_class23 = _dec61(_class23 = _dec62(_class23 = _dec63(_class23 = function (_WidgetBase16) { - _inherits(ejDiagram, _WidgetBase16); - - function ejDiagram(element) { - _classCallCheck(this, ejDiagram); + TemplateProcessor.prototype.initTemplate = function initTemplate() { + var proxy = this; + ej.template.render = function (self, selector, data, index) { + return proxy.renderStringTemplate(self, selector, data, index); + }; + }; - var _this16 = _possibleConstructorReturn(this, _WidgetBase16.call(this)); + TemplateProcessor.prototype.initWidgetDependancies = function initWidgetDependancies() { + if (this.context.widget.aureliaTemplate) { + this.compileTemplate(this.context.widget.element); + } + var proxy = this.context; + var element = this.context.widget.element; + element.on(this.context.widget.pluginName + 'refresh', function () { + if (proxy.widget.aureliaTemplate) { + proxy.templateProcessor.compileTemplate(element); + } + }); + }; - _this16.element = element; - return _this16; - } + TemplateProcessor.prototype.renderStringTemplate = function renderStringTemplate(self, selector, data, index) { + var templateObject = self.aureliaTemplate; + if (!templateObject || !templateObject[selector]) { + templateObject = templateObject || {}; + templateObject[selector] = { key: ej.getGuid('aurtmpl'), itemData: [], views: [] }; + self.aureliaTemplate = templateObject; + } + var scope = templateObject[selector]; + if (this.util.hasValue(index)) { + scope.itemData[index] = data; + } else { + scope.itemData = [data]; + } + var actElement = $(selector).html(); + var tempElement = "
" + actElement + '
'; + return tempElement; + }; - return ejDiagram; -}(WidgetBase)) || _class23) || _class23) || _class23) || _class23); -var ejDigitalGauge = exports.ejDigitalGauge = (_dec64 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'digital-gauge'), _dec65 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec66 = generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec67 = (0, _aureliaDependencyInjection.inject)(Element), _dec64(_class24 = _dec65(_class24 = _dec66(_class24 = _dec67(_class24 = function (_WidgetBase17) { - _inherits(ejDigitalGauge, _WidgetBase17); + TemplateProcessor.prototype.compileTemplate = function compileTemplate(element) { + var templates = $(element).find('.ej-aurelia-template'); + var templateObject = this.context.widget.aureliaTemplate; + for (var template in templateObject) { + var tmplElement = templates.filter('.' + templateObject[template].key); + if (tmplElement.length) { + for (var i = 0; i < tmplElement.length; i++) { + var dataIndex = parseInt($(tmplElement[i]).attr('ej-prop')); + var view = this.templatingEngine.enhance(tmplElement[i]); + view.bind(templateObject[template].itemData[dataIndex], this.context.parentCtx); + templateObject[template].views[dataIndex] = view; + } + } else { + this.unbindViews(templateObject[template]); + delete templateObject[template]; + } + } + }; - function ejDigitalGauge(element) { - _classCallCheck(this, ejDigitalGauge); + TemplateProcessor.prototype.clearTempalte = function clearTempalte() { + var templateObject = this.context.widget.aureliaTemplate; + if (templateObject && Object.keys(templateObject).length) { + for (var t in templateObject) { + this.unbindViews(templateObject[t]); + delete templateObject[t]; + } + } + }; - var _this17 = _possibleConstructorReturn(this, _WidgetBase17.call(this)); + TemplateProcessor.prototype.unbindViews = function unbindViews(obj) { + for (var i = 0; i < obj.views.length; i++) { + var view = obj.views[i]; + view.unbind(); + } + }; - _this17.element = element; - return _this17; + return TemplateProcessor; +}()) || _class18); +var Template = exports.Template = (_dec45 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'template'), _dec46 = (0, _aureliaTemplating.noView)(), _dec47 = (0, _aureliaTemplating.processContent)(function (compiler, resources, element, instruction) { + var html = element.innerHTML; + if (html !== '') { + instruction.template = html; } + element.innerHTML = ''; +}), _dec48 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec45(_class19 = _dec46(_class19 = _dec47(_class19 = _dec48(_class19 = (_class20 = function Template(target) { + _classCallCheck(this, Template); - return ejDigitalGauge; -}(WidgetBase)) || _class24) || _class24) || _class24) || _class24); -var ejDropDownList = exports.ejDropDownList = (_dec68 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'drop-down-list'), _dec69 = generateBindables('ejDropDownList', ['allowVirtualScrolling', 'cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enableServerFiltering', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'loadOnDemand', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', 'locale', 'maxPopupHeight', 'minPopupHeight', 'maxPopupWidth', 'minPopupWidth', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showPopupOnLoad', 'showRoundedCorner', 'sortOrder', 'targetID', 'template', 'text', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width', 'virtualScrollMode'], ['value'], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec70 = (0, _aureliaDependencyInjection.inject)(Element), _dec68(_class25 = _dec69(_class25 = _dec70(_class25 = function (_WidgetBase18) { - _inherits(ejDropDownList, _WidgetBase18); - - function ejDropDownList(element) { - _classCallCheck(this, ejDropDownList); + _initDefineProp(this, 'template', _descriptor3, this); - var _this18 = _possibleConstructorReturn(this, _WidgetBase18.call(this)); + this.template = target.elementInstruction.template; +}, (_descriptor3 = _applyDecoratedDescriptor(_class20.prototype, 'template', [_aureliaTemplating.bindable], { + enumerable: true, + initializer: null +})), _class20)) || _class19) || _class19) || _class19) || _class19); - _this18.isEditor = true; - _this18.element = element; - return _this18; +var Util = exports.Util = function () { + function Util() { + _classCallCheck(this, Util); } - return ejDropDownList; -}(WidgetBase)) || _class25) || _class25) || _class25); -var ejFileExplorer = exports.ejFileExplorer = (_dec71 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'file-explorer'), _dec72 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec73 = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowDragAndDrop', 'allowKeyboardNavigation', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'enablePersistence', 'enableResize', 'enableRTL', 'enableThumbnailCompress', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'rootFolderName', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'virtualItemCount', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec74 = (0, _aureliaDependencyInjection.inject)(Element), _dec71(_class26 = _dec72(_class26 = _dec73(_class26 = _dec74(_class26 = function (_WidgetBase19) { - _inherits(ejFileExplorer, _WidgetBase19); + Util.prototype.getBindablePropertyName = function getBindablePropertyName(propertyName) { + var name = '' + constants.bindablePrefix + propertyName; + return this._unhyphenate(name); + }; - function ejFileExplorer(element) { - _classCallCheck(this, ejFileExplorer); + Util.prototype._unhyphenate = function _unhyphenate(name) { + return name.replace(/-([a-z])/g, function (g) { + return g[1].toUpperCase(); + }); + }; - var _this19 = _possibleConstructorReturn(this, _WidgetBase19.call(this)); + Util.prototype.getOptions = function getOptions(model, properties) { + var _this12 = this; - _this19.element = element; - return _this19; - } + var bindableproperites = {}; + var value = void 0; + for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; - return ejFileExplorer; -}(WidgetBase)) || _class26) || _class26) || _class26) || _class26); -var ejGantt = exports.ejGantt = (_dec75 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'gantt'), _dec76 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec77 = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowDragAndDrop', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowMultipleExporting', 'allowSelection', 'allowSorting', 'allowUnscheduledTask', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'cellTooltipTemplate', 'childMapping', 'columnDialogFields', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'dayWorkingTime', 'dragTooltip', 'durationMapping', 'durationUnit', 'durationUnitMapping', 'editDialogFields', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enablePredecessorValidation', 'enableProgressBarResizing', 'enableResize', 'enableSerialNumber', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'enableWBS', 'enableWBSPredecessor', 'endDateMapping', 'expandStateMapping', 'filterSettings', 'groupCollection', 'groupIdMapping', 'groupNameMapping', 'highlightNonWorkingTime', 'highlightWeekends', 'holidays', 'includeWeekend', 'isResponsive', 'leftTaskLabelMapping', 'leftTaskLabelTemplate', 'locale', 'milestoneMapping', 'milestoneTemplate', 'nonWorkingBackground', 'notesMapping', 'parentProgressbarBackground', 'parentTaskIdMapping', 'parentTaskbarBackground', 'parentTaskbarTemplate', 'predecessorMapping', 'predecessorTooltipTemplate', 'progressMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'query', 'readOnly', 'renderBaseline', 'resourceCollectionMapping', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resourceUnitMapping', 'resources', 'rightTaskLabelMapping', 'rightTaskLabelTemplate', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedCellIndexes', 'selectedRowIndex', 'selectionType', 'selectionMode', 'showColumnChooser', 'showColumnOptions', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'splitterSettings', 'startDateMapping', 'stripLines', 'taskCollectionMapping', 'taskIdMapping', 'taskNameMapping', 'taskSchedulingMode', 'taskSchedulingModeMapping', 'taskType', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarHeight', 'taskbarTemplate', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'toolbarSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'weekendBackground', 'workMapping', 'workUnit', 'workWeek', 'workingTimeScale'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes'], {}, ['dataSource']), _dec78 = (0, _aureliaDependencyInjection.inject)(Element), _dec75(_class27 = _dec76(_class27 = _dec77(_class27 = _dec78(_class27 = function (_WidgetBase20) { - _inherits(ejGantt, _WidgetBase20); + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } - function ejGantt(element) { - _classCallCheck(this, ejGantt); + var prop = _ref; - var _this20 = _possibleConstructorReturn(this, _WidgetBase20.call(this)); + if (model.abbrevProperties && prop in model.abbrevProperties && model.abbrevProperties.hasOwnProperty(prop)) { + model.abbrevProperties[prop].some(function (property) { + value = model[_this12.getBindablePropertyName(property)]; + return _this12.hasValue(value); + }); + } else { + value = model[this.getBindablePropertyName(prop)]; + } + if (this.hasValue(value)) { + if (typeof value === 'string') { + value = this.processData(value); + } + bindableproperites[prop] = value; + } + } + return bindableproperites; + }; - _this20.element = element; - return _this20; - } + Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { + var _this13 = this; - return ejGantt; -}(WidgetBase)) || _class27) || _class27) || _class27) || _class27); -var ejGroupButton = exports.ejGroupButton = (_dec79 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'group-button'), _dec80 = generateBindables('ejGroupButton', ['cssClass', 'dataSource', 'enableRTL', 'enabled', 'fields', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'query', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec81 = (0, _aureliaDependencyInjection.inject)(Element), _dec79(_class28 = _dec80(_class28 = _dec81(_class28 = function (_WidgetBase21) { - _inherits(ejGroupButton, _WidgetBase21); + var property = void 0; - function ejGroupButton(element) { - _classCallCheck(this, ejGroupButton); + var _loop2 = function _loop2() { + if (_isArray2) { + if (_i2 >= _iterator2.length) return 'break'; + _ref2 = _iterator2[_i2++]; + } else { + _i2 = _iterator2.next(); + if (_i2.done) return 'break'; + _ref2 = _i2.value; + } - var _this21 = _possibleConstructorReturn(this, _WidgetBase21.call(this)); + var prop = _ref2; - _this21.element = element; - return _this21; - } + if (options.abbrevProperties && prop in options.abbrevProperties && options.abbrevProperties.hasOwnProperty(prop)) { + options.abbrevProperties[prop].some(function (props) { + property = propertyName === _this13.getBindablePropertyName(props) ? prop : undefined; + return property; + }); + if (property) return 'break'; + } else if (propertyName === _this13.getBindablePropertyName(prop)) { + property = prop; + return 'break'; + } + }; - return ejGroupButton; -}(WidgetBase)) || _class28) || _class28) || _class28); -var Column = exports.Column = (_dec82 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec83 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'column'), _dec84 = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'commands', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckbox', 'editParams', 'editTemplate', 'editType', 'enableGroupByFormat', 'field', 'filterBarTemplate', 'filterType', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'priority', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'], [], { 'headerTemplateID': ['headerTemplateId', 'headerTemplateID'] }), _dec85 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec82(_class29 = _dec83(_class29 = _dec84(_class29 = (_class30 = function () { - function Column() { - _classCallCheck(this, Column); + for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { + var _ref2; - _initDefineProp(this, 'template', _descriptor3, this); - } + var _ret2 = _loop2(); - Column.prototype.setTemplates = function setTemplates() { - if (this.template[0]) { - var util = new Util(); - this[util.getBindablePropertyName('template')] = this.template[0].template; + if (_ret2 === 'break') break; } + return property; }; - return Column; -}(), (_descriptor3 = _applyDecoratedDescriptor(_class30.prototype, 'template', [_dec85], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class30)) || _class29) || _class29) || _class29); -var ejGrid = exports.ejGrid = (_dec86 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'grid'), _dec87 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec88 = generateBindables('ejGrid', ['allowCellMerging', 'allowGrouping', 'allowKeyboardNavigation', 'allowFiltering', 'allowSorting', 'allowMultiSorting', 'allowPaging', 'allowReordering', 'allowResizeToFit', 'allowResizing', 'allowRowDragAndDrop', 'allowScrolling', 'allowSearching', 'allowSelection', 'allowTextWrap', 'allowMultipleExporting', 'commonWidth', 'gridLines', 'childGrid', 'columnLayout', 'columns', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'editSettings', 'enableAltRow', 'enableAutoSaveOnSelectionChange', 'enableHeaderHover', 'enablePersistence', 'enableResponsiveRow', 'enableRowHover', 'enableRTL', 'enableTouch', 'enableToolbarItems', 'exportToExcelAction', 'exportToPdfAction', 'exportToWordAction', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'resizeSettings', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectedRowIndices', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource', 'selectedRowIndices'], { 'enableRTL': ['enableRtl'] }, ['dataSource']), _dec89 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec90 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'column'), _dec86(_class32 = _dec87(_class32 = _dec88(_class32 = _dec89(_class32 = (_class33 = function (_WidgetBase22) { - _inherits(ejGrid, _WidgetBase22); - - function ejGrid(element, templateEngine) { - _classCallCheck(this, ejGrid); - - var _this22 = _possibleConstructorReturn(this, _WidgetBase22.call(this)); + Util.prototype.hasValue = function hasValue(prop) { + return typeof prop !== 'undefined' && prop !== null; + }; - _initDefineProp(_this22, 'columns', _descriptor4, _this22); + Util.prototype.processData = function processData(value) { + if (value === 'true') { + return true; + } else if (value === 'false') { + return false; + } else if (+value + '' === value) { + return +value; + } + return value; + }; - _this22.element = element; - _this22.hasChildProperty = true; - _this22.childPropertyName = 'columns'; - _this22.templateProcessor = new TemplateProcessor(_this22, templateEngine); - _this22.templateProcessor.initTemplate(); - return _this22; - } + return Util; +}(); - return ejGrid; -}(WidgetBase), (_descriptor4 = _applyDecoratedDescriptor(_class33.prototype, 'columns', [_dec90], { - enumerable: true, - initializer: function initializer() { - return []; +var firstValue = {}; +var WidgetBase = exports.WidgetBase = (_dec49 = delayed(), (_class22 = function () { + function WidgetBase() { + _classCallCheck(this, WidgetBase); } -})), _class33)) || _class32) || _class32) || _class32) || _class32); -var ejHeatMap = exports.ejHeatMap = (_dec91 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'heat-map'), _dec92 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec93 = generateBindables('ejHeatMap', ['width', 'height', 'id', 'showTooltip', 'tooltipSettings', 'itemsSource', 'heatMapCell', 'isResponsive', 'enableVirtualization', 'defaultColumnStyle', 'legendCollection', 'itemsMapping', 'colorMappingCollection']), _dec94 = (0, _aureliaDependencyInjection.inject)(Element), _dec91(_class35 = _dec92(_class35 = _dec93(_class35 = _dec94(_class35 = function (_WidgetBase23) { - _inherits(ejHeatMap, _WidgetBase23); - - function ejHeatMap(element) { - _classCallCheck(this, ejHeatMap); - var _this23 = _possibleConstructorReturn(this, _WidgetBase23.call(this)); + WidgetBase.prototype.createWidget = function createWidget(option) { + var _this14 = this; - _this23.element = element; - return _this23; - } + this.allOption = this.getWidgetOptions(option.element); + if (!this.ejOptions && !this.isEditor) { + this.createTwoWays(); + } + this.eWidget = this.widget = jQuery($(option.element))[this.controlName](this.allOption).data(this.controlName); + if (this.templateProcessor) { + this.templateProcessor.initWidgetDependancies(); + } + if (this.isEditor) { + this.widget.model._change = function (evt) { + if ('eValue' in _this14) { + _this14[_this14.util.getBindablePropertyName('value')] = evt.value; + } + }; + } + }; - return ejHeatMap; -}(WidgetBase)) || _class35) || _class35) || _class35) || _class35); -var ejHeatMapLegend = exports.ejHeatMapLegend = (_dec95 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'heat-map-legend'), _dec96 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec97 = generateBindables('ejHeatMapLegend', ['width', 'height', 'isResponsive', 'showLabel', 'colorMappingCollection', 'orientation', 'legendMode']), _dec98 = (0, _aureliaDependencyInjection.inject)(Element), _dec95(_class36 = _dec96(_class36 = _dec97(_class36 = _dec98(_class36 = function (_WidgetBase24) { - _inherits(ejHeatMapLegend, _WidgetBase24); + WidgetBase.prototype.bind = function bind(ctx, overrideCtx) { + this.parentCtx = overrideCtx; + if (this.widget && this.widget.element && this.isEditor) { + this.widget.option('value', this.eValue === undefined ? null : this.eValue); + } + }; - function ejHeatMapLegend(element) { - _classCallCheck(this, ejHeatMapLegend); + WidgetBase.prototype.createTwoWays = function createTwoWays() { + var model = this.allOption; + var twoWays = this.twoWays; + var len = twoWays.length; + for (var i = 0; i < len; i++) { + var _prop = twoWays[i]; + ej.createObject(_prop, this.addTwoways(_prop), model); + } + }; - var _this24 = _possibleConstructorReturn(this, _WidgetBase24.call(this)); + WidgetBase.prototype.addTwoways = function addTwoways(prop) { + var model = this; + var value = firstValue; + return function (newVal, isApp) { + if (value === firstValue) { + var viewModelProp = model.util.getBindablePropertyName(prop); + value = model[viewModelProp]; + if (value === undefined) { + value = this.defaults[prop]; + } + return value; + } + if (newVal === undefined) { + return value; + } + if (value === newVal) { + return null; + } + value = newVal; + if (!isApp && model.util.hasValue(newVal)) { + var _viewModelProp = model.util.getBindablePropertyName(prop); + model[_viewModelProp] = newVal; + } + return null; + }; + }; - _this24.element = element; - return _this24; - } + WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { + var propOptions = void 0; + if (this.ejOptions) { + propOptions = this.ejOptions; + } else { + propOptions = this.util.getOptions(this, this.controlProperties); + } + var eventOption = getEventOption(element); + if (this.hasChildProperty) { + this.getChildProperties(propOptions); + } + return Object.assign({}, propOptions, eventOption); + }; - return ejHeatMapLegend; -}(WidgetBase)) || _class36) || _class36) || _class36) || _class36); -var ejKanban = exports.ejKanban = (_dec99 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'kanban'), _dec100 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec101 = generateBindables('ejKanban', ['allowDragAndDrop', 'allowExternalDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowFiltering', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'allowPrinting', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableTouch', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'workflows', 'locale', 'showColumnWhenEmpty'], ['dataSource'], { 'enableRTL': ['enableRtl'] }, ['dataSource']), _dec102 = (0, _aureliaDependencyInjection.inject)(Element), _dec103 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'kanban-column'), _dec99(_class37 = _dec100(_class37 = _dec101(_class37 = _dec102(_class37 = (_class38 = function (_WidgetBase25) { - _inherits(ejKanban, _WidgetBase25); + WidgetBase.prototype.getChildProperties = function getChildProperties(options) { + var PropertyName = this.childPropertyName; + var childCollection = this[PropertyName]; + var len = childCollection.length; + if (len) { + options[PropertyName] = []; + var childProperties = childCollection[0].controlProperties; + for (var i = 0; i < len; i++) { + options[PropertyName].push(this.util.getOptions(childCollection[i], childProperties)); + } + } + }; - function ejKanban(element) { - _classCallCheck(this, ejKanban); + WidgetBase.prototype.attached = function attached() { + if (this.templateProcessor) { + this[this.childPropertyName].forEach(function (template) { + return template.setTemplates(); + }); + } + this.util = new Util(); + this.createWidget({ element: this.element }); + }; - var _this25 = _possibleConstructorReturn(this, _WidgetBase25.call(this)); + WidgetBase.prototype.unsubscribe = function unsubscribe() { + if (this.subscription) { + this.subscription.dispose(); + this.subscription = null; + } + }; - _initDefineProp(_this25, 'columns', _descriptor5, _this25); + WidgetBase.prototype.unbind = function unbind() { + this.unsubscribe(); + }; - _this25.element = element; - _this25.hasChildProperty = true; - _this25.childPropertyName = 'columns'; - return _this25; - } + WidgetBase.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) { + var _this15 = this; - return ejKanban; -}(WidgetBase), (_descriptor5 = _applyDecoratedDescriptor(_class38.prototype, 'columns', [_dec103], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class38)) || _class37) || _class37) || _class37) || _class37); -var KanbanColumn = exports.KanbanColumn = (_dec104 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec105 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'kanban-column'), _dec106 = generateBindables('columns', ['headerText', 'totalCount', 'totalCount', 'key', 'allowDrop', 'allowDrag', 'isCollapsed', 'constraints', 'constraints', 'constraints', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec104(_class40 = _dec105(_class40 = _dec106(_class40 = function KanbanColumn() { - _classCallCheck(this, KanbanColumn); -}) || _class40) || _class40) || _class40); -var ejLinearGauge = exports.ejLinearGauge = (_dec107 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'linear-gauge'), _dec108 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec109 = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'exportSettings', 'isResponsive', 'enableGroupSeparator', 'enableResize', 'frame', 'height', 'labelColor', 'locale', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec110 = (0, _aureliaDependencyInjection.inject)(Element), _dec107(_class41 = _dec108(_class41 = _dec109(_class41 = _dec110(_class41 = function (_WidgetBase26) { - _inherits(ejLinearGauge, _WidgetBase26); + if (this.widget) { + var modelValue = void 0; + var _prop2 = this.util.getControlPropertyName(this, property); + this.unsubscribe(); + if (this.arrayObserver) { + this.arrayObserver.forEach(function (arrayProp) { + if (_this15[arrayProp] instanceof Array) { + _this15.subscription = _this15.bindingInstance.collectionObserver(_this15[arrayProp]).subscribe(function (e) { + _this15.update(e); + }); + } + }); + } + if (_prop2) { + if (_prop2 === 'widget') { + return; + } else if (_prop2 !== 'options') { + modelValue = this.widget.model[_prop2]; + var isTwoway = typeof modelValue === 'function'; + if (isTwoway) { + modelValue = modelValue(); + } + if (modelValue !== newValue) { + if (isTwoway) { + newValue = this.addTwoways(_prop2); + } + this.widget.option(_prop2, newValue); + } + } else { + this.widget.option(newValue); + } + } + } + }; - function ejLinearGauge(element) { - _classCallCheck(this, ejLinearGauge); + WidgetBase.prototype.update = function update(e) { + var _this16 = this; - var _this26 = _possibleConstructorReturn(this, _WidgetBase26.call(this)); + var modelValue = void 0; + var newVal = void 0; + if (e.length) { + this.arrayObserver.forEach(function (arrayProp) { + if (_this16[arrayProp] instanceof Array) { + var _prop3 = _this16.util.getControlPropertyName(_this16, arrayProp); + modelValue = _this16.widget.model[_prop3]; + if (typeof modelValue === 'function') { + modelValue = modelValue(); + newVal = modelValue; + newVal = _this16.addTwoways(_prop3); + _this16.widget.option(_prop3, newVal); + } else { + _this16.widget.option(_prop3, modelValue); + } + } + }); + } + }; - _this26.element = element; - return _this26; - } + WidgetBase.prototype.detached = function detached() { + if (this.templateProcessor) { + this.templateProcessor.clearTempalte(); + } + if (this.widget) { + this.widget.destroy(); + } + }; - return ejLinearGauge; -}(WidgetBase)) || _class41) || _class41) || _class41) || _class41); -var ejListBox = exports.ejListBox = (_dec111 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'list-box'), _dec112 = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'enableWordWrap', 'fields', 'height', 'itemHeight', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'sortOrder', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value', 'dataSource'], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec113 = (0, _aureliaDependencyInjection.inject)(Element), _dec111(_class42 = _dec112(_class42 = _dec113(_class42 = function (_WidgetBase27) { - _inherits(ejListBox, _WidgetBase27); + return WidgetBase; +}(), (_applyDecoratedDescriptor(_class22.prototype, 'attached', [_dec49], Object.getOwnPropertyDescriptor(_class22.prototype, 'attached'), _class22.prototype)), _class22)); +var ejCurrencyTextbox = exports.ejCurrencyTextbox = (_dec50 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'currency-textbox'), _dec51 = generateBindables('ejCurrencyTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec52 = (0, _aureliaDependencyInjection.inject)(Element), _dec50(_class23 = _dec51(_class23 = _dec52(_class23 = function (_WidgetBase11) { + _inherits(ejCurrencyTextbox, _WidgetBase11); - function ejListBox(element) { - _classCallCheck(this, ejListBox); + function ejCurrencyTextbox(element) { + _classCallCheck(this, ejCurrencyTextbox); - var _this27 = _possibleConstructorReturn(this, _WidgetBase27.call(this)); + var _this17 = _possibleConstructorReturn(this, _WidgetBase11.call(this)); - _this27.element = element; - return _this27; + _this17.isEditor = true; + _this17.element = element; + return _this17; } - return ejListBox; -}(WidgetBase)) || _class42) || _class42) || _class42); -var ejListView = exports.ejListView = (_dec114 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'list-view'), _dec115 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec116 = generateBindables('ejListView', ['ajaxSettings', 'checkedIndices', 'cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'items', 'headerBackButtonText', 'headerTitle', 'height', 'locale', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'showHeaderBackButton', 'templateId', 'width', 'itemRequestCount', 'totalItemsCount', 'allowVirtualScrolling', 'virtualScrollMode'], ['dataSource', 'selectedItemIndex'], {}, ['dataSource']), _dec117 = (0, _aureliaDependencyInjection.inject)(Element), _dec114(_class43 = _dec115(_class43 = _dec116(_class43 = _dec117(_class43 = function (_WidgetBase28) { - _inherits(ejListView, _WidgetBase28); + return ejCurrencyTextbox; +}(WidgetBase)) || _class23) || _class23) || _class23); +var ejDatePicker = exports.ejDatePicker = (_dec53 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-picker'), _dec54 = generateBindables('ejDatePicker', ['allowEdit', 'allowDrillDown', 'blackoutDates', 'buttonText', 'cssClass', 'dateFormat', 'dayHeaderFormat', 'depthLevel', 'displayInline', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'fields', 'headerFormat', 'height', 'highlightSection', 'highlightWeekend', 'htmlAttributes', 'locale', 'maxDate', 'minDate', 'readOnly', 'showDisabledRange', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'weekNumber', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec55 = (0, _aureliaDependencyInjection.inject)(Element), _dec53(_class24 = _dec54(_class24 = _dec55(_class24 = function (_WidgetBase12) { + _inherits(ejDatePicker, _WidgetBase12); - function ejListView(element) { - _classCallCheck(this, ejListView); + function ejDatePicker(element) { + _classCallCheck(this, ejDatePicker); - var _this28 = _possibleConstructorReturn(this, _WidgetBase28.call(this)); + var _this18 = _possibleConstructorReturn(this, _WidgetBase12.call(this)); - _this28.element = element; - return _this28; + _this18.isEditor = true; + _this18.element = element; + return _this18; } - return ejListView; -}(WidgetBase)) || _class43) || _class43) || _class43) || _class43); -var Layer = exports.Layer = (_dec118 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec119 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'layer'), _dec120 = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'geometryType', 'layerType', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers']), _dec118(_class44 = _dec119(_class44 = _dec120(_class44 = function Layer() { - _classCallCheck(this, Layer); -}) || _class44) || _class44) || _class44); -var ejMap = exports.ejMap = (_dec121 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'map'), _dec122 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec123 = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'draggingOnSelection', 'enableAnimation', 'enableRTL', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'isResponsive', 'zoomSettings', 'navigationControl', 'locale', 'layers'], ['baseMapIndex', 'enablePan', 'enableResize', 'enableAnimation', 'zoomSettings.level', 'zoomSettings.minValue', 'zoomSettings.maxValue', 'zoomSettings.factor', 'zoomSettings.enableZoom', 'zoomSettings.enableZoomOnSelection', 'navigationControl.enableNavigation', 'navigationControl.orientation', 'navigationControl.absolutePosition', 'navigationControl.dockPosition'], { 'enableRTL': ['enableRtl'] }), _dec124 = (0, _aureliaDependencyInjection.inject)(Element), _dec125 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'layer'), _dec121(_class45 = _dec122(_class45 = _dec123(_class45 = _dec124(_class45 = (_class46 = function (_WidgetBase29) { - _inherits(ejMap, _WidgetBase29); - - function ejMap(element) { - _classCallCheck(this, ejMap); + return ejDatePicker; +}(WidgetBase)) || _class24) || _class24) || _class24); +var ejDateRangePicker = exports.ejDateRangePicker = (_dec56 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-range-picker'), _dec57 = generateBindables('ejDateRangePicker', ['allowEdit', 'buttonText', 'cssClass', 'dateFormat', 'enableTimePicker', 'enabled', 'enablePersistence', 'endDate', 'height', 'locale', 'maxDate', 'minDate', 'ranges', 'separator', 'startDate', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'watermarkText', 'width'], ['value']), _dec58 = (0, _aureliaDependencyInjection.inject)(Element), _dec56(_class25 = _dec57(_class25 = _dec58(_class25 = function (_WidgetBase13) { + _inherits(ejDateRangePicker, _WidgetBase13); - var _this29 = _possibleConstructorReturn(this, _WidgetBase29.call(this)); + function ejDateRangePicker(element) { + _classCallCheck(this, ejDateRangePicker); - _initDefineProp(_this29, 'layers', _descriptor6, _this29); + var _this19 = _possibleConstructorReturn(this, _WidgetBase13.call(this)); - _this29.element = element; - _this29.hasChildProperty = true; - _this29.childPropertyName = 'layers'; - return _this29; + _this19.isEditor = true; + _this19.element = element; + return _this19; } - return ejMap; -}(WidgetBase), (_descriptor6 = _applyDecoratedDescriptor(_class46.prototype, 'layers', [_dec125], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class46)) || _class45) || _class45) || _class45) || _class45); -var ejMaskEdit = exports.ejMaskEdit = (_dec126 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'mask-edit'), _dec127 = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'locale', 'maskFormat', 'name', 'readOnly', 'showError', 'showPromptChar', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec128 = (0, _aureliaDependencyInjection.inject)(Element), _dec126(_class48 = _dec127(_class48 = _dec128(_class48 = function (_WidgetBase30) { - _inherits(ejMaskEdit, _WidgetBase30); + return ejDateRangePicker; +}(WidgetBase)) || _class25) || _class25) || _class25); +var ejDateTimePicker = exports.ejDateTimePicker = (_dec59 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-time-picker'), _dec60 = generateBindables('ejDateTimePicker', ['allowEdit', 'buttonText', 'blackoutDates', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec61 = (0, _aureliaDependencyInjection.inject)(Element), _dec59(_class26 = _dec60(_class26 = _dec61(_class26 = function (_WidgetBase14) { + _inherits(ejDateTimePicker, _WidgetBase14); - function ejMaskEdit(element) { - _classCallCheck(this, ejMaskEdit); + function ejDateTimePicker(element) { + _classCallCheck(this, ejDateTimePicker); - var _this30 = _possibleConstructorReturn(this, _WidgetBase30.call(this)); + var _this20 = _possibleConstructorReturn(this, _WidgetBase14.call(this)); - _this30.isEditor = true; - _this30.element = element; - return _this30; + _this20.isEditor = true; + _this20.element = element; + return _this20; } - return ejMaskEdit; -}(WidgetBase)) || _class48) || _class48) || _class48); -var ejMenu = exports.ejMenu = (_dec129 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'menu'), _dec130 = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'container', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'isResponsive', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width', 'overflowHeight', 'overflowWidth'], [], { 'enableRTL': ['enableRtl'] }), _dec131 = (0, _aureliaDependencyInjection.inject)(Element), _dec129(_class49 = _dec130(_class49 = _dec131(_class49 = function (_WidgetBase31) { - _inherits(ejMenu, _WidgetBase31); + return ejDateTimePicker; +}(WidgetBase)) || _class26) || _class26) || _class26); +var ejDiagram = exports.ejDiagram = (_dec62 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'diagram'), _dec63 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec64 = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'labelRenderingMode', 'layout', 'locale', 'nodes', 'layers', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'serializationSettings', 'rulerSettings', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec65 = (0, _aureliaDependencyInjection.inject)(Element), _dec62(_class27 = _dec63(_class27 = _dec64(_class27 = _dec65(_class27 = function (_WidgetBase15) { + _inherits(ejDiagram, _WidgetBase15); - function ejMenu(element) { - _classCallCheck(this, ejMenu); + function ejDiagram(element) { + _classCallCheck(this, ejDiagram); - var _this31 = _possibleConstructorReturn(this, _WidgetBase31.call(this)); + var _this21 = _possibleConstructorReturn(this, _WidgetBase15.call(this)); - _this31.element = element; - return _this31; + _this21.element = element; + return _this21; } - return ejMenu; -}(WidgetBase)) || _class49) || _class49) || _class49); -var ejNavigationDrawer = exports.ejNavigationDrawer = (_dec132 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'navigation-drawer'), _dec133 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec134 = generateBindables('ejNavigationDrawer', ['ajaxSettings', 'contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width', 'isPaneOpen']), _dec135 = (0, _aureliaDependencyInjection.inject)(Element), _dec132(_class50 = _dec133(_class50 = _dec134(_class50 = _dec135(_class50 = function (_WidgetBase32) { - _inherits(ejNavigationDrawer, _WidgetBase32); + return ejDiagram; +}(WidgetBase)) || _class27) || _class27) || _class27) || _class27); +var ejDialog = exports.ejDialog = (_dec66 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'dialog'), _dec67 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec68 = generateBindables('ejDialog', ['actionButtons', 'ajaxSettings', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'backgroundScroll', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'htmlAttributes', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex', 'showFooter', 'footerTemplateId'], [], { 'enableRTL': ['enableRtl'] }), _dec69 = (0, _aureliaDependencyInjection.inject)(Element), _dec66(_class28 = _dec67(_class28 = _dec68(_class28 = _dec69(_class28 = function (_WidgetBase16) { + _inherits(ejDialog, _WidgetBase16); - function ejNavigationDrawer(element) { - _classCallCheck(this, ejNavigationDrawer); + function ejDialog(element) { + _classCallCheck(this, ejDialog); - var _this32 = _possibleConstructorReturn(this, _WidgetBase32.call(this)); + var _this22 = _possibleConstructorReturn(this, _WidgetBase16.call(this)); - _this32.element = element; - return _this32; + _this22.element = element; + return _this22; } - return ejNavigationDrawer; -}(WidgetBase)) || _class50) || _class50) || _class50) || _class50); -var ejNumericTextbox = exports.ejNumericTextbox = (_dec136 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'numeric-textbox'), _dec137 = generateBindables('ejNumericTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec138 = (0, _aureliaDependencyInjection.inject)(Element), _dec136(_class51 = _dec137(_class51 = _dec138(_class51 = function (_WidgetBase33) { - _inherits(ejNumericTextbox, _WidgetBase33); + return ejDialog; +}(WidgetBase)) || _class28) || _class28) || _class28) || _class28); +var ejDigitalGauge = exports.ejDigitalGauge = (_dec70 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'digital-gauge'), _dec71 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec72 = generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec73 = (0, _aureliaDependencyInjection.inject)(Element), _dec70(_class29 = _dec71(_class29 = _dec72(_class29 = _dec73(_class29 = function (_WidgetBase17) { + _inherits(ejDigitalGauge, _WidgetBase17); - function ejNumericTextbox(element) { - _classCallCheck(this, ejNumericTextbox); + function ejDigitalGauge(element) { + _classCallCheck(this, ejDigitalGauge); - var _this33 = _possibleConstructorReturn(this, _WidgetBase33.call(this)); + var _this23 = _possibleConstructorReturn(this, _WidgetBase17.call(this)); - _this33.isEditor = true; - _this33.element = element; - return _this33; + _this23.element = element; + return _this23; } - return ejNumericTextbox; -}(WidgetBase)) || _class51) || _class51) || _class51); -var ejOverview = exports.ejOverview = (_dec139 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'overview'), _dec140 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec141 = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': ['sourceId'] }), _dec142 = (0, _aureliaDependencyInjection.inject)(Element), _dec139(_class52 = _dec140(_class52 = _dec141(_class52 = _dec142(_class52 = function (_WidgetBase34) { - _inherits(ejOverview, _WidgetBase34); + return ejDigitalGauge; +}(WidgetBase)) || _class29) || _class29) || _class29) || _class29); +var ejDropDownList = exports.ejDropDownList = (_dec74 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'drop-down-list'), _dec75 = generateBindables('ejDropDownList', ['allowVirtualScrolling', 'cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enableServerFiltering', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'loadOnDemand', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', 'locale', 'maxPopupHeight', 'minPopupHeight', 'maxPopupWidth', 'minPopupWidth', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showPopupOnLoad', 'showRoundedCorner', 'sortOrder', 'targetID', 'template', 'text', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width', 'virtualScrollMode'], ['value'], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec76 = (0, _aureliaDependencyInjection.inject)(Element), _dec74(_class30 = _dec75(_class30 = _dec76(_class30 = function (_WidgetBase18) { + _inherits(ejDropDownList, _WidgetBase18); - function ejOverview(element) { - _classCallCheck(this, ejOverview); + function ejDropDownList(element) { + _classCallCheck(this, ejDropDownList); - var _this34 = _possibleConstructorReturn(this, _WidgetBase34.call(this)); + var _this24 = _possibleConstructorReturn(this, _WidgetBase18.call(this)); - _this34.element = element; - return _this34; + _this24.isEditor = true; + _this24.element = element; + return _this24; } - return ejOverview; -}(WidgetBase)) || _class52) || _class52) || _class52) || _class52); -var ejPager = exports.ejPager = (_dec143 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pager'), _dec144 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec145 = generateBindables('ejPager', ['customText', 'currentPage', 'cssClass', 'enabled', 'enableExternalMessage', 'enableQueryString', 'enableRTL', 'externalMessage', 'isResponsive', 'locale', 'pageCount', 'pageSize', 'pageSizeList', 'pageSizeMessage', 'template', 'totalPages', 'totalRecordsCount', 'showPageInfo'], [], { 'enableRTL': ['enableRtl'] }), _dec146 = (0, _aureliaDependencyInjection.inject)(Element), _dec143(_class53 = _dec144(_class53 = _dec145(_class53 = _dec146(_class53 = function (_WidgetBase35) { - _inherits(ejPager, _WidgetBase35); + return ejDropDownList; +}(WidgetBase)) || _class30) || _class30) || _class30); +var ejFileExplorer = exports.ejFileExplorer = (_dec77 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'file-explorer'), _dec78 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec79 = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowDragAndDrop', 'allowKeyboardNavigation', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'enablePersistence', 'enableResize', 'enableRTL', 'enableThumbnailCompress', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'rootFolderName', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'virtualItemCount', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec80 = (0, _aureliaDependencyInjection.inject)(Element), _dec77(_class31 = _dec78(_class31 = _dec79(_class31 = _dec80(_class31 = function (_WidgetBase19) { + _inherits(ejFileExplorer, _WidgetBase19); - function ejPager(element) { - _classCallCheck(this, ejPager); + function ejFileExplorer(element) { + _classCallCheck(this, ejFileExplorer); - var _this35 = _possibleConstructorReturn(this, _WidgetBase35.call(this)); + var _this25 = _possibleConstructorReturn(this, _WidgetBase19.call(this)); - _this35.element = element; - return _this35; + _this25.element = element; + return _this25; } - return ejPager; -}(WidgetBase)) || _class53) || _class53) || _class53) || _class53); -var ejPdfViewer = exports.ejPdfViewer = (_dec147 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pdf-viewer'), _dec148 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec149 = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'serverActionSettings', 'serviceUrl', 'documentPath', 'enableTextMarkupAnnotations', 'enableHighlightAnnotation', 'enableUnderlineAnnotation', 'enableStrikethroughAnnotation', 'enableSignature', 'strikethroughSettings', 'underlineSettings', 'highlightSettings', 'signatureSettings', 'textSelectionContextMenu', 'annotationContextMenu', 'annotationType', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService', 'interactionMode', 'bufferingMode', 'hyperlinkOpenState', 'enableHyperlink', 'enableTextSelection', 'isResponsive', 'isDocumentEdited', 'allowClientBuffering', 'fileName']), _dec150 = (0, _aureliaDependencyInjection.inject)(Element), _dec147(_class54 = _dec148(_class54 = _dec149(_class54 = _dec150(_class54 = function (_WidgetBase36) { - _inherits(ejPdfViewer, _WidgetBase36); + return ejFileExplorer; +}(WidgetBase)) || _class31) || _class31) || _class31) || _class31); +var ejGantt = exports.ejGantt = (_dec81 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'gantt'), _dec82 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec83 = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowDragAndDrop', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowMultipleExporting', 'allowSelection', 'allowSorting', 'allowUnscheduledTask', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'cellTooltipTemplate', 'childMapping', 'columnDialogFields', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'dayWorkingTime', 'dragTooltip', 'durationMapping', 'durationUnit', 'durationUnitMapping', 'editDialogFields', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enablePredecessorValidation', 'enableProgressBarResizing', 'enableResize', 'enableSerialNumber', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'enableWBS', 'enableWBSPredecessor', 'endDateMapping', 'expandStateMapping', 'filterSettings', 'groupCollection', 'groupIdMapping', 'groupNameMapping', 'highlightNonWorkingTime', 'highlightWeekends', 'holidays', 'includeWeekend', 'isResponsive', 'leftTaskLabelMapping', 'leftTaskLabelTemplate', 'locale', 'milestoneMapping', 'milestoneTemplate', 'nonWorkingBackground', 'notesMapping', 'parentProgressbarBackground', 'parentTaskIdMapping', 'parentTaskbarBackground', 'parentTaskbarTemplate', 'predecessorMapping', 'predecessorTooltipTemplate', 'progressMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'query', 'readOnly', 'renderBaseline', 'resourceCollectionMapping', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resourceUnitMapping', 'resources', 'rightTaskLabelMapping', 'rightTaskLabelTemplate', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedCellIndexes', 'selectedRowIndex', 'selectionType', 'selectionMode', 'showColumnChooser', 'showColumnOptions', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'splitterSettings', 'startDateMapping', 'stripLines', 'taskCollectionMapping', 'taskIdMapping', 'taskNameMapping', 'taskSchedulingMode', 'taskSchedulingModeMapping', 'taskType', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarHeight', 'taskbarTemplate', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'toolbarSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'weekendBackground', 'workMapping', 'workUnit', 'workWeek', 'workingTimeScale'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes'], {}, ['dataSource']), _dec84 = (0, _aureliaDependencyInjection.inject)(Element), _dec81(_class32 = _dec82(_class32 = _dec83(_class32 = _dec84(_class32 = function (_WidgetBase20) { + _inherits(ejGantt, _WidgetBase20); - function ejPdfViewer(element) { - _classCallCheck(this, ejPdfViewer); + function ejGantt(element) { + _classCallCheck(this, ejGantt); - var _this36 = _possibleConstructorReturn(this, _WidgetBase36.call(this)); + var _this26 = _possibleConstructorReturn(this, _WidgetBase20.call(this)); - _this36.element = element; - return _this36; + _this26.element = element; + return _this26; } - return ejPdfViewer; -}(WidgetBase)) || _class54) || _class54) || _class54) || _class54); -var ejPivotChart = exports.ejPivotChart = (_dec151 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-chart'), _dec152 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec153 = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'zooming', 'commonSeriesOptions', 'dataSource', 'customObject', 'enable3D', 'enableRTL', 'enableMultiLevelLabels', 'isResponsive', 'legend', 'locale', 'operationalMode', 'axes', 'primaryXAxis', 'primaryYAxis', 'rotation', 'enableContextMenu', 'serviceMethodSettings', 'size', 'title', 'url', 'enableXHRCredentials'], [], { 'enableRTL': ['enableRtl'] }), _dec154 = (0, _aureliaDependencyInjection.inject)(Element), _dec151(_class55 = _dec152(_class55 = _dec153(_class55 = _dec154(_class55 = function (_WidgetBase37) { - _inherits(ejPivotChart, _WidgetBase37); + return ejGantt; +}(WidgetBase)) || _class32) || _class32) || _class32) || _class32); +var Column = exports.Column = (_dec85 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec86 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'column'), _dec87 = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'commands', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckbox', 'editParams', 'editTemplate', 'editType', 'enableGroupByFormat', 'field', 'filterBarTemplate', 'filterType', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'priority', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'], [], { 'headerTemplateID': ['headerTemplateId', 'headerTemplateID'] }), _dec88 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec85(_class33 = _dec86(_class33 = _dec87(_class33 = (_class34 = function () { + function Column() { + _classCallCheck(this, Column); - function ejPivotChart(element) { - _classCallCheck(this, ejPivotChart); + _initDefineProp(this, 'template', _descriptor4, this); + } - var _this37 = _possibleConstructorReturn(this, _WidgetBase37.call(this)); + Column.prototype.setTemplates = function setTemplates() { + if (this.template[0]) { + var util = new Util(); + this[util.getBindablePropertyName('template')] = this.template[0].template; + } + }; - _this37.element = element; - return _this37; + return Column; +}(), (_descriptor4 = _applyDecoratedDescriptor(_class34.prototype, 'template', [_dec88], { + enumerable: true, + initializer: function initializer() { + return []; } +})), _class34)) || _class33) || _class33) || _class33); +var ejGrid = exports.ejGrid = (_dec89 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'grid'), _dec90 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec91 = generateBindables('ejGrid', ['allowCellMerging', 'allowGrouping', 'allowKeyboardNavigation', 'allowFiltering', 'allowSorting', 'allowMultiSorting', 'allowPaging', 'allowReordering', 'allowResizeToFit', 'allowResizing', 'allowRowDragAndDrop', 'allowScrolling', 'allowSearching', 'allowSelection', 'allowTextWrap', 'allowMultipleExporting', 'commonWidth', 'gridLines', 'childGrid', 'columnLayout', 'columns', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'editSettings', 'enableAltRow', 'enableAutoSaveOnSelectionChange', 'enableHeaderHover', 'enablePersistence', 'enableResponsiveRow', 'enableRowHover', 'enableRTL', 'enableTouch', 'enableToolbarItems', 'exportToExcelAction', 'exportToPdfAction', 'exportToWordAction', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'resizeSettings', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectedRowIndices', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource', 'selectedRowIndices'], { 'enableRTL': ['enableRtl'] }, ['dataSource']), _dec92 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec93 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'column'), _dec89(_class36 = _dec90(_class36 = _dec91(_class36 = _dec92(_class36 = (_class37 = function (_WidgetBase21) { + _inherits(ejGrid, _WidgetBase21); - return ejPivotChart; -}(WidgetBase)) || _class55) || _class55) || _class55) || _class55); -var ejPercentageTextbox = exports.ejPercentageTextbox = (_dec155 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'percentage-textbox'), _dec156 = generateBindables('ejPercentageTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec157 = (0, _aureliaDependencyInjection.inject)(Element), _dec155(_class56 = _dec156(_class56 = _dec157(_class56 = function (_WidgetBase38) { - _inherits(ejPercentageTextbox, _WidgetBase38); + function ejGrid(element, templateEngine) { + _classCallCheck(this, ejGrid); - function ejPercentageTextbox(element) { - _classCallCheck(this, ejPercentageTextbox); + var _this27 = _possibleConstructorReturn(this, _WidgetBase21.call(this)); - var _this38 = _possibleConstructorReturn(this, _WidgetBase38.call(this)); + _initDefineProp(_this27, 'columns', _descriptor5, _this27); - _this38.isEditor = true; - _this38.element = element; - return _this38; + _this27.element = element; + _this27.hasChildProperty = true; + _this27.childPropertyName = 'columns'; + _this27.templateProcessor = new TemplateProcessor(_this27, templateEngine); + _this27.templateProcessor.initTemplate(); + return _this27; } - return ejPercentageTextbox; -}(WidgetBase)) || _class56) || _class56) || _class56); -var ejPivotGauge = exports.ejPivotGauge = (_dec158 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-gauge'), _dec159 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec160 = generateBindables('ejPivotGauge', ['columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableAnimation', 'enableTooltip', 'enableRTL', 'frame', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url', 'analysisMode', 'operationalMode', 'enableXHRCredentials'], [], { 'enableRTL': ['enableRtl'] }), _dec161 = (0, _aureliaDependencyInjection.inject)(Element), _dec158(_class57 = _dec159(_class57 = _dec160(_class57 = _dec161(_class57 = function (_WidgetBase39) { - _inherits(ejPivotGauge, _WidgetBase39); + return ejGrid; +}(WidgetBase), (_descriptor5 = _applyDecoratedDescriptor(_class37.prototype, 'columns', [_dec93], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class37)) || _class36) || _class36) || _class36) || _class36); +var ejGroupButton = exports.ejGroupButton = (_dec94 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'group-button'), _dec95 = generateBindables('ejGroupButton', ['cssClass', 'dataSource', 'enableRTL', 'enabled', 'fields', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'query', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec96 = (0, _aureliaDependencyInjection.inject)(Element), _dec94(_class39 = _dec95(_class39 = _dec96(_class39 = function (_WidgetBase22) { + _inherits(ejGroupButton, _WidgetBase22); - function ejPivotGauge(element) { - _classCallCheck(this, ejPivotGauge); + function ejGroupButton(element) { + _classCallCheck(this, ejGroupButton); - var _this39 = _possibleConstructorReturn(this, _WidgetBase39.call(this)); + var _this28 = _possibleConstructorReturn(this, _WidgetBase22.call(this)); - _this39.element = element; - return _this39; + _this28.element = element; + return _this28; } - return ejPivotGauge; -}(WidgetBase)) || _class57) || _class57) || _class57) || _class57); -var ejPivotGrid = exports.ejPivotGrid = (_dec162 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-grid'), _dec163 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec164 = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'pivotTableFieldListID', 'dataSource', 'valueSortSettings', 'frozenHeaderSettings', 'headerSettings', 'showUniqueNameOnPivotButton', 'customObject', 'collapsedMembers', 'enableCellContext', 'enableCellSelection', 'enableDrillThrough', 'enableCellClick', 'enableCellDoubleClick', 'enableCellEditing', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableAdvancedFilter', 'enableDeferUpdate', 'enableGroupingBar', 'maxNodeLimitInMemberEditor', 'enableMemberEditorPaging', 'memberEditorPageSize', 'enableMemberEditorSorting', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableToolTipAnimation', 'enableColumnResizing', 'resizeColumnsToFit', 'enableContextMenu', 'enableVirtualScrolling', 'enablePaging', 'hyperlinkSettings', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableCompleteDataExport', 'enableXHRCredentials'], [], { 'pivotTableFieldListID': ['pivotTableFieldListId'], 'enableRTL': ['enableRtl'] }), _dec165 = (0, _aureliaDependencyInjection.inject)(Element), _dec162(_class58 = _dec163(_class58 = _dec164(_class58 = _dec165(_class58 = function (_WidgetBase40) { - _inherits(ejPivotGrid, _WidgetBase40); + return ejGroupButton; +}(WidgetBase)) || _class39) || _class39) || _class39); +var ejHeatMap = exports.ejHeatMap = (_dec97 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'heat-map'), _dec98 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec99 = generateBindables('ejHeatMap', ['width', 'height', 'id', 'showTooltip', 'tooltipSettings', 'itemsSource', 'heatMapCell', 'isResponsive', 'enableVirtualization', 'defaultColumnStyle', 'legendCollection', 'itemsMapping', 'colorMappingCollection']), _dec100 = (0, _aureliaDependencyInjection.inject)(Element), _dec97(_class40 = _dec98(_class40 = _dec99(_class40 = _dec100(_class40 = function (_WidgetBase23) { + _inherits(ejHeatMap, _WidgetBase23); - function ejPivotGrid(element) { - _classCallCheck(this, ejPivotGrid); + function ejHeatMap(element) { + _classCallCheck(this, ejHeatMap); - var _this40 = _possibleConstructorReturn(this, _WidgetBase40.call(this)); + var _this29 = _possibleConstructorReturn(this, _WidgetBase23.call(this)); - _this40.element = element; - return _this40; + _this29.element = element; + return _this29; } - return ejPivotGrid; -}(WidgetBase)) || _class58) || _class58) || _class58) || _class58); -var ejPivotSchemaDesigner = exports.ejPivotSchemaDesigner = (_dec166 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-schema-designer'), _dec167 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec168 = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'enableRTL', 'olap', 'enableDragDrop', 'height', 'locale', 'pivotControl', 'serviceMethods', 'url', 'width', 'layout'], [], { 'enableRTL': ['enableRtl'] }), _dec169 = (0, _aureliaDependencyInjection.inject)(Element), _dec166(_class59 = _dec167(_class59 = _dec168(_class59 = _dec169(_class59 = function (_WidgetBase41) { - _inherits(ejPivotSchemaDesigner, _WidgetBase41); - - function ejPivotSchemaDesigner(element) { - _classCallCheck(this, ejPivotSchemaDesigner); + return ejHeatMap; +}(WidgetBase)) || _class40) || _class40) || _class40) || _class40); +var ejHeatMapLegend = exports.ejHeatMapLegend = (_dec101 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'heat-map-legend'), _dec102 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec103 = generateBindables('ejHeatMapLegend', ['width', 'height', 'isResponsive', 'showLabel', 'colorMappingCollection', 'orientation', 'legendMode']), _dec104 = (0, _aureliaDependencyInjection.inject)(Element), _dec101(_class41 = _dec102(_class41 = _dec103(_class41 = _dec104(_class41 = function (_WidgetBase24) { + _inherits(ejHeatMapLegend, _WidgetBase24); - var _this41 = _possibleConstructorReturn(this, _WidgetBase41.call(this)); + function ejHeatMapLegend(element) { + _classCallCheck(this, ejHeatMapLegend); - _this41.element = element; - return _this41; + var _this30 = _possibleConstructorReturn(this, _WidgetBase24.call(this)); + + _this30.element = element; + return _this30; } - return ejPivotSchemaDesigner; -}(WidgetBase)) || _class59) || _class59) || _class59) || _class59); -var ejProgressBar = exports.ejProgressBar = (_dec170 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'progress-bar'), _dec171 = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec172 = (0, _aureliaDependencyInjection.inject)(Element), _dec170(_class60 = _dec171(_class60 = _dec172(_class60 = function (_WidgetBase42) { - _inherits(ejProgressBar, _WidgetBase42); + return ejHeatMapLegend; +}(WidgetBase)) || _class41) || _class41) || _class41) || _class41); +var ejKanban = exports.ejKanban = (_dec105 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'kanban'), _dec106 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec107 = generateBindables('ejKanban', ['allowDragAndDrop', 'allowExternalDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowFiltering', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'allowPrinting', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableTouch', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'workflows', 'locale', 'showColumnWhenEmpty'], ['dataSource'], { 'enableRTL': ['enableRtl'] }, ['dataSource']), _dec108 = (0, _aureliaDependencyInjection.inject)(Element), _dec109 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'kanban-column'), _dec105(_class42 = _dec106(_class42 = _dec107(_class42 = _dec108(_class42 = (_class43 = function (_WidgetBase25) { + _inherits(ejKanban, _WidgetBase25); - function ejProgressBar(element) { - _classCallCheck(this, ejProgressBar); + function ejKanban(element) { + _classCallCheck(this, ejKanban); - var _this42 = _possibleConstructorReturn(this, _WidgetBase42.call(this)); + var _this31 = _possibleConstructorReturn(this, _WidgetBase25.call(this)); - _this42.element = element; - return _this42; + _initDefineProp(_this31, 'columns', _descriptor6, _this31); + + _this31.element = element; + _this31.hasChildProperty = true; + _this31.childPropertyName = 'columns'; + return _this31; } - return ejProgressBar; -}(WidgetBase)) || _class60) || _class60) || _class60); -var ejPivotTreeMap = exports.ejPivotTreeMap = (_dec173 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-tree-map'), _dec174 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec175 = generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials']), _dec176 = (0, _aureliaDependencyInjection.inject)(Element), _dec173(_class61 = _dec174(_class61 = _dec175(_class61 = _dec176(_class61 = function (_WidgetBase43) { - _inherits(ejPivotTreeMap, _WidgetBase43); + return ejKanban; +}(WidgetBase), (_descriptor6 = _applyDecoratedDescriptor(_class43.prototype, 'columns', [_dec109], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class43)) || _class42) || _class42) || _class42) || _class42); +var KanbanColumn = exports.KanbanColumn = (_dec110 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec111 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'kanban-column'), _dec112 = generateBindables('columns', ['headerText', 'totalCount', 'totalCount', 'key', 'allowDrop', 'allowDrag', 'isCollapsed', 'constraints', 'constraints', 'constraints', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec110(_class45 = _dec111(_class45 = _dec112(_class45 = function KanbanColumn() { + _classCallCheck(this, KanbanColumn); +}) || _class45) || _class45) || _class45); +var ejLinearGauge = exports.ejLinearGauge = (_dec113 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'linear-gauge'), _dec114 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec115 = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'exportSettings', 'isResponsive', 'enableGroupSeparator', 'enableResize', 'frame', 'height', 'labelColor', 'locale', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec116 = (0, _aureliaDependencyInjection.inject)(Element), _dec113(_class46 = _dec114(_class46 = _dec115(_class46 = _dec116(_class46 = function (_WidgetBase26) { + _inherits(ejLinearGauge, _WidgetBase26); - function ejPivotTreeMap(element) { - _classCallCheck(this, ejPivotTreeMap); + function ejLinearGauge(element) { + _classCallCheck(this, ejLinearGauge); - var _this43 = _possibleConstructorReturn(this, _WidgetBase43.call(this)); + var _this32 = _possibleConstructorReturn(this, _WidgetBase26.call(this)); - _this43.element = element; - return _this43; + _this32.element = element; + return _this32; } - return ejPivotTreeMap; -}(WidgetBase)) || _class61) || _class61) || _class61) || _class61); -var ejRadialSlider = exports.ejRadialSlider = (_dec177 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-slider'), _dec178 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec179 = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']), _dec180 = (0, _aureliaDependencyInjection.inject)(Element), _dec177(_class62 = _dec178(_class62 = _dec179(_class62 = _dec180(_class62 = function (_WidgetBase44) { - _inherits(ejRadialSlider, _WidgetBase44); + return ejLinearGauge; +}(WidgetBase)) || _class46) || _class46) || _class46) || _class46); +var ejListBox = exports.ejListBox = (_dec117 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'list-box'), _dec118 = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'enableWordWrap', 'fields', 'height', 'itemHeight', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'sortOrder', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value', 'dataSource'], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec119 = (0, _aureliaDependencyInjection.inject)(Element), _dec117(_class47 = _dec118(_class47 = _dec119(_class47 = function (_WidgetBase27) { + _inherits(ejListBox, _WidgetBase27); - function ejRadialSlider(element) { - _classCallCheck(this, ejRadialSlider); + function ejListBox(element) { + _classCallCheck(this, ejListBox); - var _this44 = _possibleConstructorReturn(this, _WidgetBase44.call(this)); + var _this33 = _possibleConstructorReturn(this, _WidgetBase27.call(this)); - _this44.element = element; - return _this44; + _this33.element = element; + return _this33; } - return ejRadialSlider; -}(WidgetBase)) || _class62) || _class62) || _class62) || _class62); -var Item = exports.Item = (_dec181 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec182 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'item'), _dec183 = generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items']), _dec184 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec181(_class63 = _dec182(_class63 = _dec183(_class63 = (_class64 = function () { - function Item() { - _classCallCheck(this, Item); + return ejListBox; +}(WidgetBase)) || _class47) || _class47) || _class47); +var ejListView = exports.ejListView = (_dec120 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'list-view'), _dec121 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec122 = generateBindables('ejListView', ['ajaxSettings', 'checkedIndices', 'cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'items', 'headerBackButtonText', 'headerTitle', 'height', 'locale', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'showHeaderBackButton', 'templateId', 'width', 'itemRequestCount', 'totalItemsCount', 'allowVirtualScrolling', 'virtualScrollMode'], ['dataSource', 'selectedItemIndex'], {}, ['dataSource']), _dec123 = (0, _aureliaDependencyInjection.inject)(Element), _dec120(_class48 = _dec121(_class48 = _dec122(_class48 = _dec123(_class48 = function (_WidgetBase28) { + _inherits(ejListView, _WidgetBase28); - _initDefineProp(this, 'template', _descriptor7, this); - } + function ejListView(element) { + _classCallCheck(this, ejListView); - Item.prototype.setTemplates = function setTemplates() { - if (this.template[0]) { - var util = new Util(); - this[util.getBindablePropertyName('template')] = this.template[0].template; - } - }; + var _this34 = _possibleConstructorReturn(this, _WidgetBase28.call(this)); - return Item; -}(), (_descriptor7 = _applyDecoratedDescriptor(_class64.prototype, 'template', [_dec184], { - enumerable: true, - initializer: function initializer() { - return []; + _this34.element = element; + return _this34; } -})), _class64)) || _class63) || _class63) || _class63); -var ejRadialMenu = exports.ejRadialMenu = (_dec185 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-menu'), _dec186 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec187 = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec188 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec189 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'item'), _dec185(_class66 = _dec186(_class66 = _dec187(_class66 = _dec188(_class66 = (_class67 = function (_WidgetBase45) { - _inherits(ejRadialMenu, _WidgetBase45); - function ejRadialMenu(element, templateEngine) { - _classCallCheck(this, ejRadialMenu); + return ejListView; +}(WidgetBase)) || _class48) || _class48) || _class48) || _class48); +var Layer = exports.Layer = (_dec124 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec125 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'layer'), _dec126 = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'labelSettings', 'geometryType', 'layerType', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers', 'subLayers']), _dec124(_class49 = _dec125(_class49 = _dec126(_class49 = function Layer() { + _classCallCheck(this, Layer); +}) || _class49) || _class49) || _class49); +var ejMap = exports.ejMap = (_dec127 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'map'), _dec128 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec129 = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'draggingOnSelection', 'enableAnimation', 'enableRTL', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'isResponsive', 'zoomSettings', 'navigationControl', 'locale', 'layers'], ['baseMapIndex', 'enablePan', 'enableResize', 'enableAnimation', 'zoomSettings.level', 'zoomSettings.minValue', 'zoomSettings.maxValue', 'zoomSettings.factor', 'zoomSettings.enableZoom', 'zoomSettings.enableZoomOnSelection', 'navigationControl.enableNavigation', 'navigationControl.orientation', 'navigationControl.absolutePosition', 'navigationControl.dockPosition'], { 'enableRTL': ['enableRtl'] }), _dec130 = (0, _aureliaDependencyInjection.inject)(Element), _dec131 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'layer'), _dec127(_class50 = _dec128(_class50 = _dec129(_class50 = _dec130(_class50 = (_class51 = function (_WidgetBase29) { + _inherits(ejMap, _WidgetBase29); - var _this45 = _possibleConstructorReturn(this, _WidgetBase45.call(this)); + function ejMap(element) { + _classCallCheck(this, ejMap); - _initDefineProp(_this45, 'items', _descriptor8, _this45); + var _this35 = _possibleConstructorReturn(this, _WidgetBase29.call(this)); - _this45.element = element; - _this45.hasChildProperty = true; - _this45.childPropertyName = 'items'; - _this45.templateProcessor = new TemplateProcessor(_this45, templateEngine); - _this45.templateProcessor.initTemplate(); - return _this45; + _initDefineProp(_this35, 'layers', _descriptor7, _this35); + + _this35.element = element; + _this35.hasChildProperty = true; + _this35.childPropertyName = 'layers'; + return _this35; } - return ejRadialMenu; -}(WidgetBase), (_descriptor8 = _applyDecoratedDescriptor(_class67.prototype, 'items', [_dec189], { + return ejMap; +}(WidgetBase), (_descriptor7 = _applyDecoratedDescriptor(_class51.prototype, 'layers', [_dec131], { enumerable: true, initializer: function initializer() { return []; } -})), _class67)) || _class66) || _class66) || _class66) || _class66); -var ejRadioButton = exports.ejRadioButton = (_dec190 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'radio-button'), _dec191 = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': ['enableRtl'] }), _dec192 = (0, _aureliaDependencyInjection.inject)(Element), _dec190(_class69 = _dec191(_class69 = _dec192(_class69 = function (_WidgetBase46) { - _inherits(ejRadioButton, _WidgetBase46); +})), _class51)) || _class50) || _class50) || _class50) || _class50); +var ejMaskEdit = exports.ejMaskEdit = (_dec132 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'mask-edit'), _dec133 = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'locale', 'maskFormat', 'name', 'readOnly', 'showError', 'showPromptChar', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec134 = (0, _aureliaDependencyInjection.inject)(Element), _dec132(_class53 = _dec133(_class53 = _dec134(_class53 = function (_WidgetBase30) { + _inherits(ejMaskEdit, _WidgetBase30); - function ejRadioButton(element) { - _classCallCheck(this, ejRadioButton); + function ejMaskEdit(element) { + _classCallCheck(this, ejMaskEdit); - var _this46 = _possibleConstructorReturn(this, _WidgetBase46.call(this)); + var _this36 = _possibleConstructorReturn(this, _WidgetBase30.call(this)); - _this46.element = element; - return _this46; + _this36.isEditor = true; + _this36.element = element; + return _this36; } - return ejRadioButton; -}(WidgetBase)) || _class69) || _class69) || _class69); -var ejRangeNavigator = exports.ejRangeNavigator = (_dec193 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'range-navigator'), _dec194 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec195 = generateBindables('ejRangeNavigator', ['allowSnapping', 'allowNextValue', 'border', 'dataSource', 'series', 'seriesSettings', 'enableDeferredUpdate', 'enableScrollbar', 'enableAutoResizing', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': ['enableRtl'] }), _dec196 = (0, _aureliaDependencyInjection.inject)(Element), _dec197 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'range-series'), _dec193(_class70 = _dec194(_class70 = _dec195(_class70 = _dec196(_class70 = (_class71 = function (_WidgetBase47) { - _inherits(ejRangeNavigator, _WidgetBase47); - - function ejRangeNavigator(element) { - _classCallCheck(this, ejRangeNavigator); + return ejMaskEdit; +}(WidgetBase)) || _class53) || _class53) || _class53); +var ejMenu = exports.ejMenu = (_dec135 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'menu'), _dec136 = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'container', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'isResponsive', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width', 'overflowHeight', 'overflowWidth'], [], { 'enableRTL': ['enableRtl'] }), _dec137 = (0, _aureliaDependencyInjection.inject)(Element), _dec135(_class54 = _dec136(_class54 = _dec137(_class54 = function (_WidgetBase31) { + _inherits(ejMenu, _WidgetBase31); - var _this47 = _possibleConstructorReturn(this, _WidgetBase47.call(this)); + function ejMenu(element) { + _classCallCheck(this, ejMenu); - _initDefineProp(_this47, 'series', _descriptor9, _this47); + var _this37 = _possibleConstructorReturn(this, _WidgetBase31.call(this)); - _this47.element = element; - _this47.hasChildProperty = true; - _this47.childPropertyName = 'series'; - return _this47; + _this37.element = element; + return _this37; } - return ejRangeNavigator; -}(WidgetBase), (_descriptor9 = _applyDecoratedDescriptor(_class71.prototype, 'series', [_dec197], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class71)) || _class70) || _class70) || _class70) || _class70); -var RangeSeries = exports.RangeSeries = (_dec198 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec199 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'range-series'), _dec200 = generateBindables('series', ['xName', 'yName', 'dataSource', 'type', 'enableAnimation', 'fill']), _dec198(_class73 = _dec199(_class73 = _dec200(_class73 = function RangeSeries() { - _classCallCheck(this, RangeSeries); -}) || _class73) || _class73) || _class73); -var ejRibbon = exports.ejRibbon = (_dec201 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'ribbon'), _dec202 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec203 = generateBindables('ejRibbon', ['allowResizing', 'isResponsive', 'buttonDefaults', 'showQAT', 'cssClass', 'collapsePinSettings', 'enableOnDemand', 'collapsible', 'enableRTL', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec204 = (0, _aureliaDependencyInjection.inject)(Element), _dec201(_class74 = _dec202(_class74 = _dec203(_class74 = _dec204(_class74 = function (_WidgetBase48) { - _inherits(ejRibbon, _WidgetBase48); + return ejMenu; +}(WidgetBase)) || _class54) || _class54) || _class54); +var ejNavigationDrawer = exports.ejNavigationDrawer = (_dec138 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'navigation-drawer'), _dec139 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec140 = generateBindables('ejNavigationDrawer', ['ajaxSettings', 'contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width', 'isPaneOpen']), _dec141 = (0, _aureliaDependencyInjection.inject)(Element), _dec138(_class55 = _dec139(_class55 = _dec140(_class55 = _dec141(_class55 = function (_WidgetBase32) { + _inherits(ejNavigationDrawer, _WidgetBase32); - function ejRibbon(element) { - _classCallCheck(this, ejRibbon); + function ejNavigationDrawer(element) { + _classCallCheck(this, ejNavigationDrawer); - var _this48 = _possibleConstructorReturn(this, _WidgetBase48.call(this)); + var _this38 = _possibleConstructorReturn(this, _WidgetBase32.call(this)); - _this48.element = element; - return _this48; + _this38.element = element; + return _this38; } - return ejRibbon; -}(WidgetBase)) || _class74) || _class74) || _class74) || _class74); -var ejRating = exports.ejRating = (_dec205 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rating'), _dec206 = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'htmlAttributes', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec207 = (0, _aureliaDependencyInjection.inject)(Element), _dec205(_class75 = _dec206(_class75 = _dec207(_class75 = function (_WidgetBase49) { - _inherits(ejRating, _WidgetBase49); + return ejNavigationDrawer; +}(WidgetBase)) || _class55) || _class55) || _class55) || _class55); +var ejNumericTextbox = exports.ejNumericTextbox = (_dec142 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'numeric-textbox'), _dec143 = generateBindables('ejNumericTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec144 = (0, _aureliaDependencyInjection.inject)(Element), _dec142(_class56 = _dec143(_class56 = _dec144(_class56 = function (_WidgetBase33) { + _inherits(ejNumericTextbox, _WidgetBase33); - function ejRating(element) { - _classCallCheck(this, ejRating); + function ejNumericTextbox(element) { + _classCallCheck(this, ejNumericTextbox); - var _this49 = _possibleConstructorReturn(this, _WidgetBase49.call(this)); + var _this39 = _possibleConstructorReturn(this, _WidgetBase33.call(this)); - _this49.element = element; - return _this49; + _this39.isEditor = true; + _this39.element = element; + return _this39; } - return ejRating; -}(WidgetBase)) || _class75) || _class75) || _class75); -var ejRotator = exports.ejRotator = (_dec208 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rotator'), _dec209 = generateBindables('ejRotator', ['allowKeyboardNavigation', 'animationSpeed', 'animationType', 'circularMode', 'cssClass', 'dataSource', 'delay', 'displayItemsCount', 'enableAutoPlay', 'enabled', 'enableRTL', 'fields', 'frameSpace', 'isResponsive', 'navigateSteps', 'orientation', 'pagerPosition', 'query', 'showCaption', 'showNavigateButton', 'showPager', 'showPlayButton', 'showThumbnail', 'slideHeight', 'slideWidth', 'startIndex', 'stopOnHover', 'template', 'templateId', 'thumbnailSourceID'], [], { 'enableRTL': ['enableRtl'], 'thumbnailSourceID': ['thumbnailSourceId'] }), _dec210 = (0, _aureliaDependencyInjection.inject)(Element), _dec208(_class76 = _dec209(_class76 = _dec210(_class76 = function (_WidgetBase50) { - _inherits(ejRotator, _WidgetBase50); + return ejNumericTextbox; +}(WidgetBase)) || _class56) || _class56) || _class56); +var ejOverview = exports.ejOverview = (_dec145 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'overview'), _dec146 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec147 = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': ['sourceId'] }), _dec148 = (0, _aureliaDependencyInjection.inject)(Element), _dec145(_class57 = _dec146(_class57 = _dec147(_class57 = _dec148(_class57 = function (_WidgetBase34) { + _inherits(ejOverview, _WidgetBase34); - function ejRotator(element) { - _classCallCheck(this, ejRotator); + function ejOverview(element) { + _classCallCheck(this, ejOverview); - var _this50 = _possibleConstructorReturn(this, _WidgetBase50.call(this)); + var _this40 = _possibleConstructorReturn(this, _WidgetBase34.call(this)); - _this50.element = element; - return _this50; + _this40.element = element; + return _this40; } - return ejRotator; -}(WidgetBase)) || _class76) || _class76) || _class76); -var ejSchedule = exports.ejSchedule = (_dec211 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule'), _dec212 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec213 = generateBindables('ejSchedule', ['allowDragAndDrop', 'allowInline', 'allowDelete', 'allowKeyboardNavigation', 'appointmentSettings', 'appointmentTemplateId', 'cssClass', 'categorizeSettings', 'cellHeight', 'cellWidth', 'contextMenuSettings', 'currentDate', 'currentView', 'dateFormat', 'showAppointmentNavigator', 'enableAppointmentResize', 'enableLoadOnDemand', 'enablePersistence', 'enableRTL', 'endHour', 'group', 'height', 'workHours', 'isDST', 'isResponsive', 'locale', 'maxDate', 'minDate', 'orientation', 'prioritySettings', 'readOnly', 'reminderSettings', 'renderDates', 'resourceHeaderTemplateId', 'resources', 'showAllDayRow', 'showWeekend', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', 'showTimeZoneFields', 'showQuickWindow', 'startHour', 'timeMode', 'timeZone', 'timeZoneCollection', 'views', 'width', 'enableRecurrenceValidation', 'agendaViewSettings', 'firstDayOfWeek', 'workWeek', 'tooltipSettings', 'timeScale', 'showDeleteConfirmationDialog', 'allDayCellsTemplateId', 'workCellsTemplateId', 'dateHeaderTemplateId', 'showOverflowButton', 'appointmentDragArea', 'showNextPrevMonth', 'blockoutSettings'], ['currentView', 'currentDate'], { 'enableRTL': ['enableRtl'] }), _dec214 = (0, _aureliaDependencyInjection.inject)(Element), _dec215 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'schedule-resource'), _dec211(_class77 = _dec212(_class77 = _dec213(_class77 = _dec214(_class77 = (_class78 = function (_WidgetBase51) { - _inherits(ejSchedule, _WidgetBase51); - - function ejSchedule(element) { - _classCallCheck(this, ejSchedule); + return ejOverview; +}(WidgetBase)) || _class57) || _class57) || _class57) || _class57); +var ejPager = exports.ejPager = (_dec149 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pager'), _dec150 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec151 = generateBindables('ejPager', ['customText', 'currentPage', 'cssClass', 'enabled', 'enableExternalMessage', 'enableQueryString', 'enableRTL', 'externalMessage', 'isResponsive', 'locale', 'pageCount', 'pageSize', 'pageSizeList', 'pageSizeMessage', 'template', 'totalPages', 'totalRecordsCount', 'showPageInfo'], [], { 'enableRTL': ['enableRtl'] }), _dec152 = (0, _aureliaDependencyInjection.inject)(Element), _dec149(_class58 = _dec150(_class58 = _dec151(_class58 = _dec152(_class58 = function (_WidgetBase35) { + _inherits(ejPager, _WidgetBase35); - var _this51 = _possibleConstructorReturn(this, _WidgetBase51.call(this)); + function ejPager(element) { + _classCallCheck(this, ejPager); - _initDefineProp(_this51, 'resources', _descriptor10, _this51); + var _this41 = _possibleConstructorReturn(this, _WidgetBase35.call(this)); - _this51.element = element; - _this51.hasChildProperty = true; - _this51.childPropertyName = 'resources'; - return _this51; + _this41.element = element; + return _this41; } - return ejSchedule; -}(WidgetBase), (_descriptor10 = _applyDecoratedDescriptor(_class78.prototype, 'resources', [_dec215], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class78)) || _class77) || _class77) || _class77) || _class77); -var ScheduleResource = exports.ScheduleResource = (_dec216 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec217 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule-resource'), _dec218 = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings']), _dec216(_class80 = _dec217(_class80 = _dec218(_class80 = function ScheduleResource() { - _classCallCheck(this, ScheduleResource); -}) || _class80) || _class80) || _class80); -var ejRte = exports.ejRte = (_dec219 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rte'), _dec220 = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'pasteCleanupSettings', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'exportToPdfSettings', 'exportToWordSettings', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'importSettings', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showRoundedCorner', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'toolbarOverflowMode', 'tooltipSettings', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec221 = (0, _aureliaDependencyInjection.inject)(Element), _dec219(_class81 = _dec220(_class81 = _dec221(_class81 = function (_WidgetBase52) { - _inherits(ejRte, _WidgetBase52); + return ejPager; +}(WidgetBase)) || _class58) || _class58) || _class58) || _class58); +var ejPdfViewer = exports.ejPdfViewer = (_dec153 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pdf-viewer'), _dec154 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec155 = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'serverActionSettings', 'serviceUrl', 'documentPath', 'enableTextMarkupAnnotations', 'enableHighlightAnnotation', 'enableUnderlineAnnotation', 'enableStrikethroughAnnotation', 'enableSignature', 'strikethroughSettings', 'underlineSettings', 'highlightSettings', 'signatureSettings', 'textSelectionContextMenu', 'annotationContextMenu', 'annotationType', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService', 'interactionMode', 'bufferingMode', 'hyperlinkOpenState', 'enableHyperlink', 'enableTextSelection', 'isResponsive', 'isDocumentEdited', 'allowClientBuffering', 'fileName']), _dec156 = (0, _aureliaDependencyInjection.inject)(Element), _dec153(_class59 = _dec154(_class59 = _dec155(_class59 = _dec156(_class59 = function (_WidgetBase36) { + _inherits(ejPdfViewer, _WidgetBase36); - function ejRte(element) { - _classCallCheck(this, ejRte); + function ejPdfViewer(element) { + _classCallCheck(this, ejPdfViewer); - var _this52 = _possibleConstructorReturn(this, _WidgetBase52.call(this)); + var _this42 = _possibleConstructorReturn(this, _WidgetBase36.call(this)); - _this52.element = element; - return _this52; + _this42.element = element; + return _this42; } - return ejRte; -}(WidgetBase)) || _class81) || _class81) || _class81); -var ejScroller = exports.ejScroller = (_dec222 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'scroller'), _dec223 = generateBindables('ejScroller', ['animationSpeed', 'autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': ['enableRtl'] }), _dec224 = (0, _aureliaDependencyInjection.inject)(Element), _dec222(_class82 = _dec223(_class82 = _dec224(_class82 = function (_WidgetBase53) { - _inherits(ejScroller, _WidgetBase53); + return ejPdfViewer; +}(WidgetBase)) || _class59) || _class59) || _class59) || _class59); +var ejPercentageTextbox = exports.ejPercentageTextbox = (_dec157 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'percentage-textbox'), _dec158 = generateBindables('ejPercentageTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec159 = (0, _aureliaDependencyInjection.inject)(Element), _dec157(_class60 = _dec158(_class60 = _dec159(_class60 = function (_WidgetBase37) { + _inherits(ejPercentageTextbox, _WidgetBase37); - function ejScroller(element) { - _classCallCheck(this, ejScroller); + function ejPercentageTextbox(element) { + _classCallCheck(this, ejPercentageTextbox); - var _this53 = _possibleConstructorReturn(this, _WidgetBase53.call(this)); + var _this43 = _possibleConstructorReturn(this, _WidgetBase37.call(this)); - _this53.element = element; - return _this53; + _this43.isEditor = true; + _this43.element = element; + return _this43; } - return ejScroller; -}(WidgetBase)) || _class82) || _class82) || _class82); -var ejSignature = exports.ejSignature = (_dec225 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'signature'), _dec226 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec227 = generateBindables('ejSignature', ['backgroundColor', 'backgroundImage', 'enabled', 'height', 'isResponsive', 'saveImageFormat', 'saveWithBackground', 'showRoundedCorner', 'strokeColor', 'strokeWidth', 'width']), _dec228 = (0, _aureliaDependencyInjection.inject)(Element), _dec225(_class83 = _dec226(_class83 = _dec227(_class83 = _dec228(_class83 = function (_WidgetBase54) { - _inherits(ejSignature, _WidgetBase54); + return ejPercentageTextbox; +}(WidgetBase)) || _class60) || _class60) || _class60); +var ejPivotChart = exports.ejPivotChart = (_dec160 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-chart'), _dec161 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec162 = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'zooming', 'commonSeriesOptions', 'dataSource', 'customObject', 'enable3D', 'enableRTL', 'enableMultiLevelLabels', 'isResponsive', 'legend', 'locale', 'operationalMode', 'axes', 'primaryXAxis', 'primaryYAxis', 'rotation', 'enableContextMenu', 'serviceMethodSettings', 'size', 'title', 'url', 'enableXHRCredentials'], [], { 'enableRTL': ['enableRtl'] }), _dec163 = (0, _aureliaDependencyInjection.inject)(Element), _dec160(_class61 = _dec161(_class61 = _dec162(_class61 = _dec163(_class61 = function (_WidgetBase38) { + _inherits(ejPivotChart, _WidgetBase38); - function ejSignature(element) { - _classCallCheck(this, ejSignature); + function ejPivotChart(element) { + _classCallCheck(this, ejPivotChart); - var _this54 = _possibleConstructorReturn(this, _WidgetBase54.call(this)); + var _this44 = _possibleConstructorReturn(this, _WidgetBase38.call(this)); - _this54.element = element; - return _this54; + _this44.element = element; + return _this44; } - return ejSignature; -}(WidgetBase)) || _class83) || _class83) || _class83) || _class83); -var ejSlider = exports.ejSlider = (_dec229 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'slider'), _dec230 = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showButtons', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec231 = (0, _aureliaDependencyInjection.inject)(Element), _dec229(_class84 = _dec230(_class84 = _dec231(_class84 = function (_WidgetBase55) { - _inherits(ejSlider, _WidgetBase55); + return ejPivotChart; +}(WidgetBase)) || _class61) || _class61) || _class61) || _class61); +var ejPivotGauge = exports.ejPivotGauge = (_dec164 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-gauge'), _dec165 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec166 = generateBindables('ejPivotGauge', ['columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableAnimation', 'enableTooltip', 'enableRTL', 'frame', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url', 'analysisMode', 'operationalMode', 'enableXHRCredentials'], [], { 'enableRTL': ['enableRtl'] }), _dec167 = (0, _aureliaDependencyInjection.inject)(Element), _dec164(_class62 = _dec165(_class62 = _dec166(_class62 = _dec167(_class62 = function (_WidgetBase39) { + _inherits(ejPivotGauge, _WidgetBase39); - function ejSlider(element) { - _classCallCheck(this, ejSlider); + function ejPivotGauge(element) { + _classCallCheck(this, ejPivotGauge); - var _this55 = _possibleConstructorReturn(this, _WidgetBase55.call(this)); + var _this45 = _possibleConstructorReturn(this, _WidgetBase39.call(this)); - _this55.element = element; - return _this55; + _this45.element = element; + return _this45; } - return ejSlider; -}(WidgetBase)) || _class84) || _class84) || _class84); -var ejSparkline = exports.ejSparkline = (_dec232 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sparkline'), _dec233 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec234 = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'border', 'width', 'opacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'rangeBandSettings', 'locale', 'palette', 'isResponsive', 'enableCanvasRendering', 'enableGroupSeparator', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'axisLineSettings']), _dec235 = (0, _aureliaDependencyInjection.inject)(Element), _dec232(_class85 = _dec233(_class85 = _dec234(_class85 = _dec235(_class85 = function (_WidgetBase56) { - _inherits(ejSparkline, _WidgetBase56); + return ejPivotGauge; +}(WidgetBase)) || _class62) || _class62) || _class62) || _class62); +var ejPivotGrid = exports.ejPivotGrid = (_dec168 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-grid'), _dec169 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec170 = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'pivotTableFieldListID', 'dataSource', 'valueSortSettings', 'frozenHeaderSettings', 'headerSettings', 'showUniqueNameOnPivotButton', 'customObject', 'collapsedMembers', 'enableCellContext', 'enableCellSelection', 'enableDrillThrough', 'enableCellClick', 'enableCellDoubleClick', 'enableCellEditing', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableAdvancedFilter', 'enableDeferUpdate', 'enableGroupingBar', 'maxNodeLimitInMemberEditor', 'enableMemberEditorPaging', 'memberEditorPageSize', 'enableMemberEditorSorting', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableToolTipAnimation', 'enableColumnResizing', 'resizeColumnsToFit', 'enableContextMenu', 'enableVirtualScrolling', 'enablePaging', 'hyperlinkSettings', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableCompleteDataExport', 'enableXHRCredentials'], [], { 'pivotTableFieldListID': ['pivotTableFieldListId'], 'enableRTL': ['enableRtl'] }), _dec171 = (0, _aureliaDependencyInjection.inject)(Element), _dec168(_class63 = _dec169(_class63 = _dec170(_class63 = _dec171(_class63 = function (_WidgetBase40) { + _inherits(ejPivotGrid, _WidgetBase40); - function ejSparkline(element) { - _classCallCheck(this, ejSparkline); + function ejPivotGrid(element) { + _classCallCheck(this, ejPivotGrid); - var _this56 = _possibleConstructorReturn(this, _WidgetBase56.call(this)); + var _this46 = _possibleConstructorReturn(this, _WidgetBase40.call(this)); - _this56.element = element; - return _this56; + _this46.element = element; + return _this46; } - return ejSparkline; -}(WidgetBase)) || _class85) || _class85) || _class85) || _class85); -var ejSpellCheck = exports.ejSpellCheck = (_dec236 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'spell-check'), _dec237 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec238 = generateBindables('ejSpellCheck', ['dictionarySettings', 'misspellWordCss', 'locale', 'maxSuggestionCount', 'ignoreWords', 'contextMenuSettings', 'ignoreSettings', 'isResponsive', 'enableValidateOnType', 'controlsToValidate', 'enableAsync', 'ajaxRequestType', 'ajaxDataType']), _dec239 = (0, _aureliaDependencyInjection.inject)(Element), _dec236(_class86 = _dec237(_class86 = _dec238(_class86 = _dec239(_class86 = function (_WidgetBase57) { - _inherits(ejSpellCheck, _WidgetBase57); + return ejPivotGrid; +}(WidgetBase)) || _class63) || _class63) || _class63) || _class63); +var ejPivotSchemaDesigner = exports.ejPivotSchemaDesigner = (_dec172 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-schema-designer'), _dec173 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec174 = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'enableRTL', 'olap', 'enableDragDrop', 'height', 'locale', 'pivotControl', 'serviceMethods', 'url', 'width', 'layout'], [], { 'enableRTL': ['enableRtl'] }), _dec175 = (0, _aureliaDependencyInjection.inject)(Element), _dec172(_class64 = _dec173(_class64 = _dec174(_class64 = _dec175(_class64 = function (_WidgetBase41) { + _inherits(ejPivotSchemaDesigner, _WidgetBase41); - function ejSpellCheck(element) { - _classCallCheck(this, ejSpellCheck); + function ejPivotSchemaDesigner(element) { + _classCallCheck(this, ejPivotSchemaDesigner); - var _this57 = _possibleConstructorReturn(this, _WidgetBase57.call(this)); + var _this47 = _possibleConstructorReturn(this, _WidgetBase41.call(this)); - _this57.element = element; - return _this57; + _this47.element = element; + return _this47; } - return ejSpellCheck; -}(WidgetBase)) || _class86) || _class86) || _class86) || _class86); -var ejSplitter = exports.ejSplitter = (_dec240 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'splitter'), _dec241 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec242 = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec243 = (0, _aureliaDependencyInjection.inject)(Element), _dec240(_class87 = _dec241(_class87 = _dec242(_class87 = _dec243(_class87 = function (_WidgetBase58) { - _inherits(ejSplitter, _WidgetBase58); + return ejPivotSchemaDesigner; +}(WidgetBase)) || _class64) || _class64) || _class64) || _class64); +var ejPivotTreeMap = exports.ejPivotTreeMap = (_dec176 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-tree-map'), _dec177 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec178 = generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials']), _dec179 = (0, _aureliaDependencyInjection.inject)(Element), _dec176(_class65 = _dec177(_class65 = _dec178(_class65 = _dec179(_class65 = function (_WidgetBase42) { + _inherits(ejPivotTreeMap, _WidgetBase42); - function ejSplitter(element) { - _classCallCheck(this, ejSplitter); + function ejPivotTreeMap(element) { + _classCallCheck(this, ejPivotTreeMap); - var _this58 = _possibleConstructorReturn(this, _WidgetBase58.call(this)); + var _this48 = _possibleConstructorReturn(this, _WidgetBase42.call(this)); - _this58.element = element; - return _this58; + _this48.element = element; + return _this48; } - return ejSplitter; -}(WidgetBase)) || _class87) || _class87) || _class87) || _class87); -var ejSplitButton = exports.ejSplitButton = (_dec244 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'split-button'), _dec245 = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec246 = (0, _aureliaDependencyInjection.inject)(Element), _dec244(_class88 = _dec245(_class88 = _dec246(_class88 = function (_WidgetBase59) { - _inherits(ejSplitButton, _WidgetBase59); + return ejPivotTreeMap; +}(WidgetBase)) || _class65) || _class65) || _class65) || _class65); +var ejProgressBar = exports.ejProgressBar = (_dec180 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'progress-bar'), _dec181 = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec182 = (0, _aureliaDependencyInjection.inject)(Element), _dec180(_class66 = _dec181(_class66 = _dec182(_class66 = function (_WidgetBase43) { + _inherits(ejProgressBar, _WidgetBase43); - function ejSplitButton(element) { - _classCallCheck(this, ejSplitButton); + function ejProgressBar(element) { + _classCallCheck(this, ejProgressBar); - var _this59 = _possibleConstructorReturn(this, _WidgetBase59.call(this)); + var _this49 = _possibleConstructorReturn(this, _WidgetBase43.call(this)); - _this59.element = element; - return _this59; + _this49.element = element; + return _this49; } - return ejSplitButton; -}(WidgetBase)) || _class88) || _class88) || _class88); -var Sheet = exports.Sheet = (_dec247 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec248 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sheet'), _dec249 = generateBindables('sheets', ['border', 'border', 'border', 'border', 'cellTypes', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'frozenRows', 'frozenColumns', 'headerStyles', 'hideColumns', 'hideRows', 'mergeCells', 'primaryKey', 'query', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rowCount', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'showGridlines', 'showHeader', 'showHeadings', 'sheetName', 'startCell']), _dec247(_class89 = _dec248(_class89 = _dec249(_class89 = function Sheet() { - _classCallCheck(this, Sheet); -}) || _class89) || _class89) || _class89); -var ejSpreadsheet = exports.ejSpreadsheet = (_dec250 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'spreadsheet'), _dec251 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec252 = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClear', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowOverflow', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowSparkline', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'enableTouch', 'exportSettings', 'formatSettings', 'importSettings', 'isImport', 'isReadOnly', 'locale', 'nameManager', 'pictureSettings', 'printSettings', 'ribbonSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showPager', 'showRibbon', 'undoRedoStep', 'userName']), _dec253 = (0, _aureliaDependencyInjection.inject)(Element), _dec254 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'sheet'), _dec250(_class90 = _dec251(_class90 = _dec252(_class90 = _dec253(_class90 = (_class91 = function (_WidgetBase60) { - _inherits(ejSpreadsheet, _WidgetBase60); + return ejProgressBar; +}(WidgetBase)) || _class66) || _class66) || _class66); +var Item = exports.Item = (_dec183 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec184 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'item'), _dec185 = generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items']), _dec186 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec183(_class67 = _dec184(_class67 = _dec185(_class67 = (_class68 = function () { + function Item() { + _classCallCheck(this, Item); - function ejSpreadsheet(element) { - _classCallCheck(this, ejSpreadsheet); + _initDefineProp(this, 'template', _descriptor8, this); + } - var _this60 = _possibleConstructorReturn(this, _WidgetBase60.call(this)); + Item.prototype.setTemplates = function setTemplates() { + if (this.template[0]) { + var util = new Util(); + this[util.getBindablePropertyName('template')] = this.template[0].template; + } + }; - _initDefineProp(_this60, 'sheets', _descriptor11, _this60); + return Item; +}(), (_descriptor8 = _applyDecoratedDescriptor(_class68.prototype, 'template', [_dec186], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class68)) || _class67) || _class67) || _class67); +var ejRadialMenu = exports.ejRadialMenu = (_dec187 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-menu'), _dec188 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec189 = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec190 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec191 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'item'), _dec187(_class70 = _dec188(_class70 = _dec189(_class70 = _dec190(_class70 = (_class71 = function (_WidgetBase44) { + _inherits(ejRadialMenu, _WidgetBase44); - _this60.element = element; - _this60.hasChildProperty = true; - _this60.childPropertyName = 'sheets'; - return _this60; + function ejRadialMenu(element, templateEngine) { + _classCallCheck(this, ejRadialMenu); + + var _this50 = _possibleConstructorReturn(this, _WidgetBase44.call(this)); + + _initDefineProp(_this50, 'items', _descriptor9, _this50); + + _this50.element = element; + _this50.hasChildProperty = true; + _this50.childPropertyName = 'items'; + _this50.templateProcessor = new TemplateProcessor(_this50, templateEngine); + _this50.templateProcessor.initTemplate(); + return _this50; } - return ejSpreadsheet; -}(WidgetBase), (_descriptor11 = _applyDecoratedDescriptor(_class91.prototype, 'sheets', [_dec254], { + return ejRadialMenu; +}(WidgetBase), (_descriptor9 = _applyDecoratedDescriptor(_class71.prototype, 'items', [_dec191], { enumerable: true, initializer: function initializer() { return []; } -})), _class91)) || _class90) || _class90) || _class90) || _class90); -var ejSymbolPalette = exports.ejSymbolPalette = (_dec255 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'symbol-palette'), _dec256 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec257 = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec258 = (0, _aureliaDependencyInjection.inject)(Element), _dec255(_class93 = _dec256(_class93 = _dec257(_class93 = _dec258(_class93 = function (_WidgetBase61) { - _inherits(ejSymbolPalette, _WidgetBase61); +})), _class71)) || _class70) || _class70) || _class70) || _class70); +var ejRadialSlider = exports.ejRadialSlider = (_dec192 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-slider'), _dec193 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec194 = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']), _dec195 = (0, _aureliaDependencyInjection.inject)(Element), _dec192(_class73 = _dec193(_class73 = _dec194(_class73 = _dec195(_class73 = function (_WidgetBase45) { + _inherits(ejRadialSlider, _WidgetBase45); - function ejSymbolPalette(element) { - _classCallCheck(this, ejSymbolPalette); + function ejRadialSlider(element) { + _classCallCheck(this, ejRadialSlider); - var _this61 = _possibleConstructorReturn(this, _WidgetBase61.call(this)); + var _this51 = _possibleConstructorReturn(this, _WidgetBase45.call(this)); - _this61.element = element; - return _this61; + _this51.element = element; + return _this51; } - return ejSymbolPalette; -}(WidgetBase)) || _class93) || _class93) || _class93) || _class93); -var ejSunburstChart = exports.ejSunburstChart = (_dec259 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sunburst-chart'), _dec260 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec261 = generateBindables('ejSunburstChart', ['background', 'valueMemberPath', 'border', 'segmentBorder', 'dataSource', 'palette', 'parentNode', 'xName', 'yName', 'isResponsive', 'size', 'visible', 'tooltip', 'points', 'startAngle', 'endAngle', 'radius', 'innerRadius', 'dataLabelSettings', 'title', 'highlightSettings', 'selectionSettings', 'levels', 'legend', 'theme', 'margin', 'enableAnimation', 'opacity', 'zoomSettings', 'animationType']), _dec262 = (0, _aureliaDependencyInjection.inject)(Element), _dec263 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'sunburst-levels'), _dec259(_class94 = _dec260(_class94 = _dec261(_class94 = _dec262(_class94 = (_class95 = function (_WidgetBase62) { - _inherits(ejSunburstChart, _WidgetBase62); + return ejRadialSlider; +}(WidgetBase)) || _class73) || _class73) || _class73) || _class73); +var ejRadioButton = exports.ejRadioButton = (_dec196 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'radio-button'), _dec197 = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': ['enableRtl'] }), _dec198 = (0, _aureliaDependencyInjection.inject)(Element), _dec196(_class74 = _dec197(_class74 = _dec198(_class74 = function (_WidgetBase46) { + _inherits(ejRadioButton, _WidgetBase46); - function ejSunburstChart(element) { - _classCallCheck(this, ejSunburstChart); + function ejRadioButton(element) { + _classCallCheck(this, ejRadioButton); - var _this62 = _possibleConstructorReturn(this, _WidgetBase62.call(this)); + var _this52 = _possibleConstructorReturn(this, _WidgetBase46.call(this)); - _initDefineProp(_this62, 'levels', _descriptor12, _this62); + _this52.element = element; + return _this52; + } - _this62.element = element; - _this62.hasChildProperty = true; - _this62.childPropertyName = 'levels'; - return _this62; + return ejRadioButton; +}(WidgetBase)) || _class74) || _class74) || _class74); +var ejRangeNavigator = exports.ejRangeNavigator = (_dec199 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'range-navigator'), _dec200 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec201 = generateBindables('ejRangeNavigator', ['allowSnapping', 'allowNextValue', 'border', 'dataSource', 'series', 'seriesSettings', 'enableDeferredUpdate', 'enableScrollbar', 'enableAutoResizing', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': ['enableRtl'] }), _dec202 = (0, _aureliaDependencyInjection.inject)(Element), _dec203 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'range-series'), _dec199(_class75 = _dec200(_class75 = _dec201(_class75 = _dec202(_class75 = (_class76 = function (_WidgetBase47) { + _inherits(ejRangeNavigator, _WidgetBase47); + + function ejRangeNavigator(element) { + _classCallCheck(this, ejRangeNavigator); + + var _this53 = _possibleConstructorReturn(this, _WidgetBase47.call(this)); + + _initDefineProp(_this53, 'series', _descriptor10, _this53); + + _this53.element = element; + _this53.hasChildProperty = true; + _this53.childPropertyName = 'series'; + return _this53; } - return ejSunburstChart; -}(WidgetBase), (_descriptor12 = _applyDecoratedDescriptor(_class95.prototype, 'levels', [_dec263], { + return ejRangeNavigator; +}(WidgetBase), (_descriptor10 = _applyDecoratedDescriptor(_class76.prototype, 'series', [_dec203], { enumerable: true, initializer: function initializer() { return []; } -})), _class95)) || _class94) || _class94) || _class94) || _class94); -var SunburstLevels = exports.SunburstLevels = (_dec264 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec265 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sunburst-levels'), _dec266 = generateBindables('levels', ['groupMemberPath']), _dec264(_class97 = _dec265(_class97 = _dec266(_class97 = function SunburstLevels() { - _classCallCheck(this, SunburstLevels); -}) || _class97) || _class97) || _class97); -var ejTab = exports.ejTab = (_dec267 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tab'), _dec268 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec269 = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': ['enableRtl'] }), _dec270 = (0, _aureliaDependencyInjection.inject)(Element), _dec267(_class98 = _dec268(_class98 = _dec269(_class98 = _dec270(_class98 = function (_WidgetBase63) { - _inherits(ejTab, _WidgetBase63); +})), _class76)) || _class75) || _class75) || _class75) || _class75); +var RangeSeries = exports.RangeSeries = (_dec204 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec205 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'range-series'), _dec206 = generateBindables('series', ['xName', 'yName', 'dataSource', 'type', 'enableAnimation', 'fill']), _dec204(_class78 = _dec205(_class78 = _dec206(_class78 = function RangeSeries() { + _classCallCheck(this, RangeSeries); +}) || _class78) || _class78) || _class78); +var ejRating = exports.ejRating = (_dec207 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rating'), _dec208 = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'htmlAttributes', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec209 = (0, _aureliaDependencyInjection.inject)(Element), _dec207(_class79 = _dec208(_class79 = _dec209(_class79 = function (_WidgetBase48) { + _inherits(ejRating, _WidgetBase48); - function ejTab(element) { - _classCallCheck(this, ejTab); + function ejRating(element) { + _classCallCheck(this, ejRating); - var _this63 = _possibleConstructorReturn(this, _WidgetBase63.call(this)); + var _this54 = _possibleConstructorReturn(this, _WidgetBase48.call(this)); - _this63.element = element; - return _this63; + _this54.element = element; + return _this54; } - return ejTab; -}(WidgetBase)) || _class98) || _class98) || _class98) || _class98); -var ejTagCloud = exports.ejTagCloud = (_dec271 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tag-cloud'), _dec272 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec273 = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'htmlAttributes', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': ['enableRtl'] }), _dec274 = (0, _aureliaDependencyInjection.inject)(Element), _dec271(_class99 = _dec272(_class99 = _dec273(_class99 = _dec274(_class99 = function (_WidgetBase64) { - _inherits(ejTagCloud, _WidgetBase64); + return ejRating; +}(WidgetBase)) || _class79) || _class79) || _class79); +var ejRibbon = exports.ejRibbon = (_dec210 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'ribbon'), _dec211 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec212 = generateBindables('ejRibbon', ['allowResizing', 'isResponsive', 'buttonDefaults', 'showQAT', 'cssClass', 'collapsePinSettings', 'enableOnDemand', 'collapsible', 'enableRTL', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec213 = (0, _aureliaDependencyInjection.inject)(Element), _dec210(_class80 = _dec211(_class80 = _dec212(_class80 = _dec213(_class80 = function (_WidgetBase49) { + _inherits(ejRibbon, _WidgetBase49); - function ejTagCloud(element) { - _classCallCheck(this, ejTagCloud); + function ejRibbon(element) { + _classCallCheck(this, ejRibbon); - var _this64 = _possibleConstructorReturn(this, _WidgetBase64.call(this)); + var _this55 = _possibleConstructorReturn(this, _WidgetBase49.call(this)); - _this64.element = element; - return _this64; + _this55.element = element; + return _this55; } - return ejTagCloud; -}(WidgetBase)) || _class99) || _class99) || _class99) || _class99); -var ejTile = exports.ejTile = (_dec275 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tile'), _dec276 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec277 = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'locale', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec278 = (0, _aureliaDependencyInjection.inject)(Element), _dec275(_class100 = _dec276(_class100 = _dec277(_class100 = _dec278(_class100 = function (_WidgetBase65) { - _inherits(ejTile, _WidgetBase65); + return ejRibbon; +}(WidgetBase)) || _class80) || _class80) || _class80) || _class80); +var ejRotator = exports.ejRotator = (_dec214 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rotator'), _dec215 = generateBindables('ejRotator', ['allowKeyboardNavigation', 'animationSpeed', 'animationType', 'circularMode', 'cssClass', 'dataSource', 'delay', 'displayItemsCount', 'enableAutoPlay', 'enabled', 'enableRTL', 'fields', 'frameSpace', 'isResponsive', 'navigateSteps', 'orientation', 'pagerPosition', 'query', 'showCaption', 'showNavigateButton', 'showPager', 'showPlayButton', 'showThumbnail', 'slideHeight', 'slideWidth', 'startIndex', 'stopOnHover', 'template', 'templateId', 'thumbnailSourceID'], [], { 'enableRTL': ['enableRtl'], 'thumbnailSourceID': ['thumbnailSourceId'] }), _dec216 = (0, _aureliaDependencyInjection.inject)(Element), _dec214(_class81 = _dec215(_class81 = _dec216(_class81 = function (_WidgetBase50) { + _inherits(ejRotator, _WidgetBase50); - function ejTile(element) { - _classCallCheck(this, ejTile); + function ejRotator(element) { + _classCallCheck(this, ejRotator); - var _this65 = _possibleConstructorReturn(this, _WidgetBase65.call(this)); + var _this56 = _possibleConstructorReturn(this, _WidgetBase50.call(this)); - _this65.element = element; - return _this65; + _this56.element = element; + return _this56; } - return ejTile; -}(WidgetBase)) || _class100) || _class100) || _class100) || _class100); -var ejTimePicker = exports.ejTimePicker = (_dec279 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'time-picker'), _dec280 = generateBindables('ejTimePicker', ['cssClass', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'validationMessages', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec281 = (0, _aureliaDependencyInjection.inject)(Element), _dec279(_class101 = _dec280(_class101 = _dec281(_class101 = function (_WidgetBase66) { - _inherits(ejTimePicker, _WidgetBase66); + return ejRotator; +}(WidgetBase)) || _class81) || _class81) || _class81); +var ejRte = exports.ejRte = (_dec217 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rte'), _dec218 = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'pasteCleanupSettings', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'exportToPdfSettings', 'exportToWordSettings', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'importSettings', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showRoundedCorner', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'toolbarOverflowMode', 'tooltipSettings', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec219 = (0, _aureliaDependencyInjection.inject)(Element), _dec217(_class82 = _dec218(_class82 = _dec219(_class82 = function (_WidgetBase51) { + _inherits(ejRte, _WidgetBase51); - function ejTimePicker(element) { - _classCallCheck(this, ejTimePicker); + function ejRte(element) { + _classCallCheck(this, ejRte); - var _this66 = _possibleConstructorReturn(this, _WidgetBase66.call(this)); + var _this57 = _possibleConstructorReturn(this, _WidgetBase51.call(this)); - _this66.isEditor = true; - _this66.element = element; - return _this66; + _this57.element = element; + return _this57; } - return ejTimePicker; -}(WidgetBase)) || _class101) || _class101) || _class101); -var ejToggleButton = exports.ejToggleButton = (_dec282 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'toggle-button'), _dec283 = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec284 = (0, _aureliaDependencyInjection.inject)(Element), _dec282(_class102 = _dec283(_class102 = _dec284(_class102 = function (_WidgetBase67) { - _inherits(ejToggleButton, _WidgetBase67); + return ejRte; +}(WidgetBase)) || _class82) || _class82) || _class82); +var ejSchedule = exports.ejSchedule = (_dec220 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule'), _dec221 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec222 = generateBindables('ejSchedule', ['allowDragAndDrop', 'allowInline', 'allowDelete', 'allowKeyboardNavigation', 'appointmentSettings', 'appointmentTemplateId', 'cssClass', 'categorizeSettings', 'cellHeight', 'cellWidth', 'contextMenuSettings', 'currentDate', 'currentView', 'dateFormat', 'showAppointmentNavigator', 'enableAppointmentResize', 'enableLoadOnDemand', 'enablePersistence', 'enableRTL', 'endHour', 'group', 'height', 'workHours', 'isDST', 'isResponsive', 'locale', 'maxDate', 'minDate', 'orientation', 'prioritySettings', 'readOnly', 'reminderSettings', 'renderDates', 'resourceHeaderTemplateId', 'resources', 'showAllDayRow', 'showWeekend', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', 'showTimeZoneFields', 'showQuickWindow', 'startHour', 'timeMode', 'timeZone', 'timeZoneCollection', 'views', 'width', 'enableRecurrenceValidation', 'agendaViewSettings', 'firstDayOfWeek', 'workWeek', 'tooltipSettings', 'timeScale', 'showDeleteConfirmationDialog', 'allDayCellsTemplateId', 'workCellsTemplateId', 'dateHeaderTemplateId', 'showOverflowButton', 'appointmentDragArea', 'showNextPrevMonth', 'blockoutSettings'], ['currentView', 'currentDate'], { 'enableRTL': ['enableRtl'] }), _dec223 = (0, _aureliaDependencyInjection.inject)(Element), _dec224 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'schedule-resource'), _dec220(_class83 = _dec221(_class83 = _dec222(_class83 = _dec223(_class83 = (_class84 = function (_WidgetBase52) { + _inherits(ejSchedule, _WidgetBase52); - function ejToggleButton(element) { - _classCallCheck(this, ejToggleButton); + function ejSchedule(element) { + _classCallCheck(this, ejSchedule); - var _this67 = _possibleConstructorReturn(this, _WidgetBase67.call(this)); + var _this58 = _possibleConstructorReturn(this, _WidgetBase52.call(this)); - _this67.element = element; - return _this67; + _initDefineProp(_this58, 'resources', _descriptor11, _this58); + + _this58.element = element; + _this58.hasChildProperty = true; + _this58.childPropertyName = 'resources'; + return _this58; } - return ejToggleButton; -}(WidgetBase)) || _class102) || _class102) || _class102); -var ejToolbar = exports.ejToolbar = (_dec285 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'toolbar'), _dec286 = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'disabledItemIndices', 'enabled', 'enabledItemIndices', 'enableRTL', 'enableSeparator', 'fields', 'height', 'htmlAttributes', 'hide', 'isResponsive', 'Items', 'orientation', 'query', 'responsiveType', 'showRoundedCorner', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec287 = (0, _aureliaDependencyInjection.inject)(Element), _dec285(_class103 = _dec286(_class103 = _dec287(_class103 = function (_WidgetBase68) { - _inherits(ejToolbar, _WidgetBase68); + return ejSchedule; +}(WidgetBase), (_descriptor11 = _applyDecoratedDescriptor(_class84.prototype, 'resources', [_dec224], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class84)) || _class83) || _class83) || _class83) || _class83); +var ScheduleResource = exports.ScheduleResource = (_dec225 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec226 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule-resource'), _dec227 = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings']), _dec225(_class86 = _dec226(_class86 = _dec227(_class86 = function ScheduleResource() { + _classCallCheck(this, ScheduleResource); +}) || _class86) || _class86) || _class86); +var ejScroller = exports.ejScroller = (_dec228 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'scroller'), _dec229 = generateBindables('ejScroller', ['animationSpeed', 'autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': ['enableRtl'] }), _dec230 = (0, _aureliaDependencyInjection.inject)(Element), _dec228(_class87 = _dec229(_class87 = _dec230(_class87 = function (_WidgetBase53) { + _inherits(ejScroller, _WidgetBase53); - function ejToolbar(element) { - _classCallCheck(this, ejToolbar); + function ejScroller(element) { + _classCallCheck(this, ejScroller); - var _this68 = _possibleConstructorReturn(this, _WidgetBase68.call(this)); + var _this59 = _possibleConstructorReturn(this, _WidgetBase53.call(this)); - _this68.element = element; - return _this68; + _this59.element = element; + return _this59; } - return ejToolbar; -}(WidgetBase)) || _class103) || _class103) || _class103); -var ejTooltip = exports.ejTooltip = (_dec288 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'tooltip'), _dec289 = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'tip', 'title', 'trigger', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec290 = (0, _aureliaDependencyInjection.inject)(Element), _dec288(_class104 = _dec289(_class104 = _dec290(_class104 = function (_WidgetBase69) { - _inherits(ejTooltip, _WidgetBase69); + return ejScroller; +}(WidgetBase)) || _class87) || _class87) || _class87); +var ejSignature = exports.ejSignature = (_dec231 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'signature'), _dec232 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec233 = generateBindables('ejSignature', ['backgroundColor', 'backgroundImage', 'enabled', 'height', 'isResponsive', 'saveImageFormat', 'saveWithBackground', 'showRoundedCorner', 'strokeColor', 'strokeWidth', 'width']), _dec234 = (0, _aureliaDependencyInjection.inject)(Element), _dec231(_class88 = _dec232(_class88 = _dec233(_class88 = _dec234(_class88 = function (_WidgetBase54) { + _inherits(ejSignature, _WidgetBase54); - function ejTooltip(element) { - _classCallCheck(this, ejTooltip); + function ejSignature(element) { + _classCallCheck(this, ejSignature); - var _this69 = _possibleConstructorReturn(this, _WidgetBase69.call(this)); + var _this60 = _possibleConstructorReturn(this, _WidgetBase54.call(this)); - _this69.element = element; - return _this69; + _this60.element = element; + return _this60; } - return ejTooltip; -}(WidgetBase)) || _class104) || _class104) || _class104); -var ejTreeGrid = exports.ejTreeGrid = (_dec291 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-grid'), _dec292 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec293 = generateBindables('ejTreeGrid', ['allowColumnReordering', 'allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowPaging', 'allowSearching', 'allowSelection', 'allowSorting', 'allowTextWrap', 'altRowTemplateID', 'cellTooltipTemplate', 'childMapping', 'collapsibleTotalSummary', 'columnDialogFields', 'columnResizeSettings', 'columns', 'commonWidth', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'detailsRowHeight', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableLoadOnDemand', 'enableResize', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'headerTextOverflow', 'idMapping', 'isResponsive', 'locale', 'pageSettings', 'parentIdMapping', 'parseRowTemplate', 'query', 'rowHeight', 'rowTemplateID', 'searchSettings', 'selectedCellIndexes', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnOptions', 'showDetailsRow', 'showDetailsRowInfoColumn', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showStackedHeader', 'showSummaryRow', 'showTotalSummary', 'sizeSettings', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'toolbarSettings', 'totalSummaryHeight', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes', 'pageSettings.currentPage'], { 'altRowTemplateID': ['altRowTemplateId'], 'rowTemplateID': ['rowTemplateId'] }, ['dataSource']), _dec294 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec295 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'tree-grid-column'), _dec291(_class105 = _dec292(_class105 = _dec293(_class105 = _dec294(_class105 = (_class106 = function (_WidgetBase70) { - _inherits(ejTreeGrid, _WidgetBase70); - - function ejTreeGrid(element, templateEngine) { - _classCallCheck(this, ejTreeGrid); + return ejSignature; +}(WidgetBase)) || _class88) || _class88) || _class88) || _class88); +var ejSlider = exports.ejSlider = (_dec235 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'slider'), _dec236 = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showButtons', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec237 = (0, _aureliaDependencyInjection.inject)(Element), _dec235(_class89 = _dec236(_class89 = _dec237(_class89 = function (_WidgetBase55) { + _inherits(ejSlider, _WidgetBase55); - var _this70 = _possibleConstructorReturn(this, _WidgetBase70.call(this)); + function ejSlider(element) { + _classCallCheck(this, ejSlider); - _initDefineProp(_this70, 'columns', _descriptor13, _this70); + var _this61 = _possibleConstructorReturn(this, _WidgetBase55.call(this)); - _this70.element = element; - _this70.hasChildProperty = true; - _this70.childPropertyName = 'columns'; - _this70.templateProcessor = new TemplateProcessor(_this70, templateEngine); - _this70.templateProcessor.initTemplate(); - return _this70; + _this61.element = element; + return _this61; } - return ejTreeGrid; -}(WidgetBase), (_descriptor13 = _applyDecoratedDescriptor(_class106.prototype, 'columns', [_dec295], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class106)) || _class105) || _class105) || _class105) || _class105); -var TreeGridColumn = exports.TreeGridColumn = (_dec296 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec297 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-grid-column'), _dec298 = generateBindables('columns', ['allowCellSelection', 'allowEditing', 'allowFiltering', 'allowFilteringBlankContent', 'allowFreezing', 'allowSorting', 'angularTemplate', 'clipMode', 'commands', 'commands', 'commands', 'displayAsCheckbox', 'dropdownData', 'editParams', 'editTemplate', 'editType', 'field', 'filterEditType', 'filterType', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isTemplateColumn', 'priority', 'showCheckbox', 'showInColumnChooser', 'template', 'templateID', 'textAlign', 'tooltip', 'validationRules', 'visible', 'width'], [], { 'headerTemplateID': ['headerTemplateId', 'headerTemplateID'], 'templateID': ['templateId', 'templateID'] }), _dec299 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec296(_class108 = _dec297(_class108 = _dec298(_class108 = (_class109 = function () { - function TreeGridColumn() { - _classCallCheck(this, TreeGridColumn); + return ejSlider; +}(WidgetBase)) || _class89) || _class89) || _class89); +var ejSparkline = exports.ejSparkline = (_dec238 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sparkline'), _dec239 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec240 = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'border', 'width', 'opacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'rangeBandSettings', 'locale', 'palette', 'isResponsive', 'enableCanvasRendering', 'enableGroupSeparator', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'axisLineSettings']), _dec241 = (0, _aureliaDependencyInjection.inject)(Element), _dec238(_class90 = _dec239(_class90 = _dec240(_class90 = _dec241(_class90 = function (_WidgetBase56) { + _inherits(ejSparkline, _WidgetBase56); - _initDefineProp(this, 'angularTemplate', _descriptor14, this); - } + function ejSparkline(element) { + _classCallCheck(this, ejSparkline); - TreeGridColumn.prototype.setTemplates = function setTemplates() { - if (this.angularTemplate[0]) { - var util = new Util(); - this[util.getBindablePropertyName('angularTemplate')] = this.angularTemplate[0].template; - } - }; + var _this62 = _possibleConstructorReturn(this, _WidgetBase56.call(this)); - return TreeGridColumn; -}(), (_descriptor14 = _applyDecoratedDescriptor(_class109.prototype, 'angularTemplate', [_dec299], { - enumerable: true, - initializer: function initializer() { - return []; + _this62.element = element; + return _this62; } -})), _class109)) || _class108) || _class108) || _class108); -var Level = exports.Level = (_dec300 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec301 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'level'), _dec302 = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'textOverflow', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec300(_class111 = _dec301(_class111 = _dec302(_class111 = function Level() { - _classCallCheck(this, Level); -}) || _class111) || _class111) || _class111); -var ejTreeMap = exports.ejTreeMap = (_dec303 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-map'), _dec304 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec305 = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'colorPath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'isHierarchicalDatasource', 'header', 'enableDrillDown', 'drillDownValue', 'drillDownLevel', 'isResponsive', 'enableResize', 'draggingOnSelection', 'draggingGroupOnSelection', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'enableGroupSeparator', 'locale', 'leafItemSettings', 'rangeColorMapping', 'selectionMode', 'groupSelectionMode', 'showLegend', 'enableGradient', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'], {}, ['dataSource']), _dec306 = (0, _aureliaDependencyInjection.inject)(Element), _dec307 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'level'), _dec303(_class112 = _dec304(_class112 = _dec305(_class112 = _dec306(_class112 = (_class113 = function (_WidgetBase71) { - _inherits(ejTreeMap, _WidgetBase71); - function ejTreeMap(element) { - _classCallCheck(this, ejTreeMap); + return ejSparkline; +}(WidgetBase)) || _class90) || _class90) || _class90) || _class90); +var ejSpellCheck = exports.ejSpellCheck = (_dec242 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'spell-check'), _dec243 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec244 = generateBindables('ejSpellCheck', ['dictionarySettings', 'misspellWordCss', 'locale', 'maxSuggestionCount', 'ignoreWords', 'contextMenuSettings', 'ignoreSettings', 'isResponsive', 'enableValidateOnType', 'controlsToValidate', 'enableAsync', 'ajaxRequestType', 'ajaxDataType']), _dec245 = (0, _aureliaDependencyInjection.inject)(Element), _dec242(_class91 = _dec243(_class91 = _dec244(_class91 = _dec245(_class91 = function (_WidgetBase57) { + _inherits(ejSpellCheck, _WidgetBase57); - var _this71 = _possibleConstructorReturn(this, _WidgetBase71.call(this)); + function ejSpellCheck(element) { + _classCallCheck(this, ejSpellCheck); - _initDefineProp(_this71, 'levels', _descriptor15, _this71); + var _this63 = _possibleConstructorReturn(this, _WidgetBase57.call(this)); - _this71.element = element; - _this71.hasChildProperty = true; - _this71.childPropertyName = 'levels'; - return _this71; + _this63.element = element; + return _this63; } - return ejTreeMap; -}(WidgetBase), (_descriptor15 = _applyDecoratedDescriptor(_class113.prototype, 'levels', [_dec307], { - enumerable: true, - initializer: function initializer() { - return []; - } -})), _class113)) || _class112) || _class112) || _class112) || _class112); -var ejTreeView = exports.ejTreeView = (_dec308 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'tree-view'), _dec309 = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'allowMultiSelection', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'fullRowSelect', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'selectedNodes', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec310 = (0, _aureliaDependencyInjection.inject)(Element), _dec308(_class115 = _dec309(_class115 = _dec310(_class115 = function (_WidgetBase72) { - _inherits(ejTreeView, _WidgetBase72); + return ejSpellCheck; +}(WidgetBase)) || _class91) || _class91) || _class91) || _class91); +var ejSplitButton = exports.ejSplitButton = (_dec246 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'split-button'), _dec247 = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec248 = (0, _aureliaDependencyInjection.inject)(Element), _dec246(_class92 = _dec247(_class92 = _dec248(_class92 = function (_WidgetBase58) { + _inherits(ejSplitButton, _WidgetBase58); - function ejTreeView(element) { - _classCallCheck(this, ejTreeView); + function ejSplitButton(element) { + _classCallCheck(this, ejSplitButton); - var _this72 = _possibleConstructorReturn(this, _WidgetBase72.call(this)); + var _this64 = _possibleConstructorReturn(this, _WidgetBase58.call(this)); - _this72.element = element; - return _this72; + _this64.element = element; + return _this64; } - return ejTreeView; -}(WidgetBase)) || _class115) || _class115) || _class115); -var ejUploadbox = exports.ejUploadbox = (_dec311 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'uploadbox'), _dec312 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec313 = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'htmlAttributes', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'showRoundedCorner', 'uploadName', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec314 = (0, _aureliaDependencyInjection.inject)(Element), _dec311(_class116 = _dec312(_class116 = _dec313(_class116 = _dec314(_class116 = function (_WidgetBase73) { - _inherits(ejUploadbox, _WidgetBase73); + return ejSplitButton; +}(WidgetBase)) || _class92) || _class92) || _class92); +var ejSplitter = exports.ejSplitter = (_dec249 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'splitter'), _dec250 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec251 = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec252 = (0, _aureliaDependencyInjection.inject)(Element), _dec249(_class93 = _dec250(_class93 = _dec251(_class93 = _dec252(_class93 = function (_WidgetBase59) { + _inherits(ejSplitter, _WidgetBase59); - function ejUploadbox(element) { - _classCallCheck(this, ejUploadbox); + function ejSplitter(element) { + _classCallCheck(this, ejSplitter); - var _this73 = _possibleConstructorReturn(this, _WidgetBase73.call(this)); + var _this65 = _possibleConstructorReturn(this, _WidgetBase59.call(this)); - _this73.element = element; - return _this73; + _this65.element = element; + return _this65; } - return ejUploadbox; -}(WidgetBase)) || _class116) || _class116) || _class116) || _class116); -var ejWaitingPopup = exports.ejWaitingPopup = (_dec315 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'waiting-popup'), _dec316 = generateBindables('ejWaitingPopup', ['cssClass', 'htmlAttributes', 'showImage', 'showOnInit', 'target', 'appendTo', 'template', 'text']), _dec317 = (0, _aureliaDependencyInjection.inject)(Element), _dec315(_class117 = _dec316(_class117 = _dec317(_class117 = function (_WidgetBase74) { - _inherits(ejWaitingPopup, _WidgetBase74); + return ejSplitter; +}(WidgetBase)) || _class93) || _class93) || _class93) || _class93); +var Sheet = exports.Sheet = (_dec253 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec254 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sheet'), _dec255 = generateBindables('sheets', ['border', 'border', 'border', 'border', 'cellTypes', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'cFormatRule', 'colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'frozenRows', 'frozenColumns', 'headerStyles', 'hideColumns', 'hideRows', 'mergeCells', 'primaryKey', 'query', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rangeSettings', 'rowCount', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'rows', 'showGridlines', 'showHeader', 'showHeadings', 'sheetName', 'startCell']), _dec253(_class94 = _dec254(_class94 = _dec255(_class94 = function Sheet() { + _classCallCheck(this, Sheet); +}) || _class94) || _class94) || _class94); +var ejSpreadsheet = exports.ejSpreadsheet = (_dec256 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'spreadsheet'), _dec257 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec258 = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClear', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowOverflow', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowSparkline', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'enableTouch', 'exportSettings', 'formatSettings', 'importSettings', 'isImport', 'isReadOnly', 'locale', 'nameManager', 'pictureSettings', 'printSettings', 'ribbonSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showPager', 'showRibbon', 'undoRedoStep', 'userName']), _dec259 = (0, _aureliaDependencyInjection.inject)(Element), _dec260 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'sheet'), _dec256(_class95 = _dec257(_class95 = _dec258(_class95 = _dec259(_class95 = (_class96 = function (_WidgetBase60) { + _inherits(ejSpreadsheet, _WidgetBase60); - function ejWaitingPopup(element) { - _classCallCheck(this, ejWaitingPopup); + function ejSpreadsheet(element) { + _classCallCheck(this, ejSpreadsheet); - var _this74 = _possibleConstructorReturn(this, _WidgetBase74.call(this)); + var _this66 = _possibleConstructorReturn(this, _WidgetBase60.call(this)); - _this74.element = element; - return _this74; + _initDefineProp(_this66, 'sheets', _descriptor12, _this66); + + _this66.element = element; + _this66.hasChildProperty = true; + _this66.childPropertyName = 'sheets'; + return _this66; } - return ejWaitingPopup; -}(WidgetBase)) || _class117) || _class117) || _class117); -exports.customAttribute = _aureliaTemplating.customAttribute; -exports.bindable = _aureliaTemplating.bindable; -exports.inject = _aureliaDependencyInjection.inject; -exports.inlineView = _aureliaTemplating.inlineView; -exports.customElement = _aureliaTemplating.customElement; -exports.children = _aureliaTemplating.children; -exports.TemplatingEngine = _aureliaTemplating.TemplatingEngine; -var constants = exports.constants = { - eventPrefix: 'e-on-', - bindablePrefix: 'e-', - attributePrefix: 'ej-', - elementPrefix: 'ej-', - aureliaTemplateString: '' -}; + return ejSpreadsheet; +}(WidgetBase), (_descriptor12 = _applyDecoratedDescriptor(_class96.prototype, 'sheets', [_dec260], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class96)) || _class95) || _class95) || _class95) || _class95); +var ejSunburstChart = exports.ejSunburstChart = (_dec261 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sunburst-chart'), _dec262 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec263 = generateBindables('ejSunburstChart', ['background', 'valueMemberPath', 'border', 'segmentBorder', 'dataSource', 'palette', 'parentNode', 'xName', 'yName', 'isResponsive', 'size', 'visible', 'tooltip', 'points', 'startAngle', 'endAngle', 'radius', 'innerRadius', 'dataLabelSettings', 'title', 'highlightSettings', 'selectionSettings', 'levels', 'legend', 'theme', 'margin', 'enableAnimation', 'opacity', 'zoomSettings', 'animationType']), _dec264 = (0, _aureliaDependencyInjection.inject)(Element), _dec265 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'sunburst-levels'), _dec261(_class98 = _dec262(_class98 = _dec263(_class98 = _dec264(_class98 = (_class99 = function (_WidgetBase61) { + _inherits(ejSunburstChart, _WidgetBase61); -function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties, observerCollection) { - return function (target, key, descriptor) { - var behaviorResource = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, _aureliaTemplating.HtmlBehaviorResource, target); - var container = _aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container(); - var util = container.get(Util); - var bindingInstance = container.get(_aureliaBinding.BindingEngine); - inputs.push('options'); - inputs.push('widget'); - var len = inputs.length; - if (observerCollection) { - target.prototype.arrayObserver = []; - observerCollection.forEach(function (element) { - target.prototype.arrayObserver.push(util.getBindablePropertyName(element)); - }); - target.prototype.bindingInstance = bindingInstance; - } - target.prototype.controlName = controlName; - target.prototype.twoWays = twoWayProperties ? twoWayProperties : []; - target.prototype.abbrevProperties = abbrevProperties ? abbrevProperties : []; - if (len) { - target.prototype.controlProperties = inputs; - for (var i = 0; i < len; i++) { - var option = inputs[i]; - if (abbrevProperties && option in abbrevProperties) { - option = abbrevProperties[option]; - option.forEach(function (prop) { - registerProp(util, prop, target, behaviorResource, descriptor); - }); - } else { - registerProp(util, option, target, behaviorResource, descriptor); - } - } - } - }; -} + function ejSunburstChart(element) { + _classCallCheck(this, ejSunburstChart); -function registerProp(util, option, target, behaviorResource, descriptor) { - var nameOrConfigOrTarget = { - name: util.getBindablePropertyName(option) - }; + var _this67 = _possibleConstructorReturn(this, _WidgetBase61.call(this)); - if (option === 'widget') { - nameOrConfigOrTarget.defaultBindingMode = _aureliaBinding.bindingMode.twoWay; + _initDefineProp(_this67, 'levels', _descriptor13, _this67); + + _this67.element = element; + _this67.hasChildProperty = true; + _this67.childPropertyName = 'levels'; + return _this67; } - var prop = new _aureliaTemplating.BindableProperty(nameOrConfigOrTarget); - prop.registerWith(target, behaviorResource, descriptor); -} + return ejSunburstChart; +}(WidgetBase), (_descriptor13 = _applyDecoratedDescriptor(_class99.prototype, 'levels', [_dec265], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class99)) || _class98) || _class98) || _class98) || _class98); +var SunburstLevels = exports.SunburstLevels = (_dec266 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec267 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sunburst-levels'), _dec268 = generateBindables('levels', ['groupMemberPath']), _dec266(_class101 = _dec267(_class101 = _dec268(_class101 = function SunburstLevels() { + _classCallCheck(this, SunburstLevels); +}) || _class101) || _class101) || _class101); +var ejSymbolPalette = exports.ejSymbolPalette = (_dec269 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'symbol-palette'), _dec270 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec271 = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec272 = (0, _aureliaDependencyInjection.inject)(Element), _dec269(_class102 = _dec270(_class102 = _dec271(_class102 = _dec272(_class102 = function (_WidgetBase62) { + _inherits(ejSymbolPalette, _WidgetBase62); -function delayed() { - return function (target, key, descriptor) { - var taskQueue = (_aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container()).get(_aureliaTaskQueue.TaskQueue); - var ptr = descriptor.value; + function ejSymbolPalette(element) { + _classCallCheck(this, ejSymbolPalette); - descriptor.value = function () { - var _this75 = this; + var _this68 = _possibleConstructorReturn(this, _WidgetBase62.call(this)); - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } + _this68.element = element; + return _this68; + } - if (this.childPropertyName) { - taskQueue.queueTask(function () { - return ptr.apply(_this75, args); - }); - } else { - ptr.apply(this, args); - } - }; + return ejSymbolPalette; +}(WidgetBase)) || _class102) || _class102) || _class102) || _class102); +var ejTab = exports.ejTab = (_dec273 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tab'), _dec274 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec275 = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': ['enableRtl'] }), _dec276 = (0, _aureliaDependencyInjection.inject)(Element), _dec273(_class103 = _dec274(_class103 = _dec275(_class103 = _dec276(_class103 = function (_WidgetBase63) { + _inherits(ejTab, _WidgetBase63); - return descriptor; - }; -} + function ejTab(element) { + _classCallCheck(this, ejTab); -function getEventOption(element) { - var name = void 0; - var attr = void 0; - var attributes = element.attributes; - var option = {}; - var container = _aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container(); - var util = container.get(Util); + var _this69 = _possibleConstructorReturn(this, _WidgetBase63.call(this)); - var _loop = function _loop(i, len) { - attr = attributes[i]; - name = attr.name; - if (!name.startsWith(constants.eventPrefix)) { - return 'continue'; - } - var actualEventName = name.split('.')[0]; - var eventName = util._unhyphenate(actualEventName.split(constants.eventPrefix)[1]); - option[eventName] = function (e) { - return fireEvent(element, actualEventName, e); - }; - }; + _this69.element = element; + return _this69; + } - for (var i = 0, len = attributes.length; i < len; i++) { - var _ret = _loop(i, len); + return ejTab; +}(WidgetBase)) || _class103) || _class103) || _class103) || _class103); +var ejTagCloud = exports.ejTagCloud = (_dec277 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tag-cloud'), _dec278 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec279 = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'htmlAttributes', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': ['enableRtl'] }), _dec280 = (0, _aureliaDependencyInjection.inject)(Element), _dec277(_class104 = _dec278(_class104 = _dec279(_class104 = _dec280(_class104 = function (_WidgetBase64) { + _inherits(ejTagCloud, _WidgetBase64); - if (_ret === 'continue') continue; + function ejTagCloud(element) { + _classCallCheck(this, ejTagCloud); + + var _this70 = _possibleConstructorReturn(this, _WidgetBase64.call(this)); + + _this70.element = element; + return _this70; } - return option; -} -function fireEvent(element, name) { - var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - var event = new CustomEvent(name, { - detail: data, - bubbles: true - }); - element.dispatchEvent(event); - return event; -} + return ejTagCloud; +}(WidgetBase)) || _class104) || _class104) || _class104) || _class104); +var ejTile = exports.ejTile = (_dec281 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tile'), _dec282 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec283 = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'locale', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec284 = (0, _aureliaDependencyInjection.inject)(Element), _dec281(_class105 = _dec282(_class105 = _dec283(_class105 = _dec284(_class105 = function (_WidgetBase65) { + _inherits(ejTile, _WidgetBase65); -var TemplateProcessor = exports.TemplateProcessor = (_dec318 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, Util), _dec318(_class118 = function () { - function TemplateProcessor(context, templateEngine) { - _classCallCheck(this, TemplateProcessor); + function ejTile(element) { + _classCallCheck(this, ejTile); - this.context = context; - this.templatingEngine = templateEngine; - this.util = new Util(); + var _this71 = _possibleConstructorReturn(this, _WidgetBase65.call(this)); + + _this71.element = element; + return _this71; } - TemplateProcessor.prototype.initTemplate = function initTemplate() { - var proxy = this; - ej.template.render = function (self, selector, data, index) { - return proxy.renderStringTemplate(self, selector, data, index); - }; - }; + return ejTile; +}(WidgetBase)) || _class105) || _class105) || _class105) || _class105); +var ejTimePicker = exports.ejTimePicker = (_dec285 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'time-picker'), _dec286 = generateBindables('ejTimePicker', ['cssClass', 'disableTimeRanges', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'validationMessages', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': ['enableRtl'] }), _dec287 = (0, _aureliaDependencyInjection.inject)(Element), _dec285(_class106 = _dec286(_class106 = _dec287(_class106 = function (_WidgetBase66) { + _inherits(ejTimePicker, _WidgetBase66); - TemplateProcessor.prototype.initWidgetDependancies = function initWidgetDependancies() { - if (this.context.widget.aureliaTemplate) { - this.compileTemplate(this.context.widget.element); - } - var proxy = this.context; - var element = this.context.widget.element; - element.on(this.context.widget.pluginName + 'refresh', function () { - if (proxy.widget.aureliaTemplate) { - proxy.templateProcessor.compileTemplate(element); - } - }); - }; + function ejTimePicker(element) { + _classCallCheck(this, ejTimePicker); - TemplateProcessor.prototype.renderStringTemplate = function renderStringTemplate(self, selector, data, index) { - var templateObject = self.aureliaTemplate; - if (!templateObject || !templateObject[selector]) { - templateObject = templateObject || {}; - templateObject[selector] = { key: ej.getGuid('aurtmpl'), itemData: [], views: [] }; - self.aureliaTemplate = templateObject; - } - var scope = templateObject[selector]; - if (this.util.hasValue(index)) { - scope.itemData[index] = data; - } else { - scope.itemData = [data]; - } - var actElement = $(selector).html(); - var tempElement = "
" + actElement + '
'; - return tempElement; - }; + var _this72 = _possibleConstructorReturn(this, _WidgetBase66.call(this)); - TemplateProcessor.prototype.compileTemplate = function compileTemplate(element) { - var templates = $(element).find('.ej-aurelia-template'); - var templateObject = this.context.widget.aureliaTemplate; - for (var template in templateObject) { - var tmplElement = templates.filter('.' + templateObject[template].key); - if (tmplElement.length) { - for (var i = 0; i < tmplElement.length; i++) { - var dataIndex = parseInt($(tmplElement[i]).attr('ej-prop')); - var view = this.templatingEngine.enhance(tmplElement[i]); - view.bind(templateObject[template].itemData[dataIndex], this.context.parentCtx); - templateObject[template].views[dataIndex] = view; - } - } else { - this.unbindViews(templateObject[template]); - delete templateObject[template]; - } - } - }; + _this72.isEditor = true; + _this72.element = element; + return _this72; + } - TemplateProcessor.prototype.clearTempalte = function clearTempalte() { - var templateObject = this.context.widget.aureliaTemplate; - if (templateObject && Object.keys(templateObject).length) { - for (var t in templateObject) { - this.unbindViews(templateObject[t]); - delete templateObject[t]; - } - } - }; + return ejTimePicker; +}(WidgetBase)) || _class106) || _class106) || _class106); +var ejToggleButton = exports.ejToggleButton = (_dec288 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'toggle-button'), _dec289 = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec290 = (0, _aureliaDependencyInjection.inject)(Element), _dec288(_class107 = _dec289(_class107 = _dec290(_class107 = function (_WidgetBase67) { + _inherits(ejToggleButton, _WidgetBase67); - TemplateProcessor.prototype.unbindViews = function unbindViews(obj) { - for (var i = 0; i < obj.views.length; i++) { - var view = obj.views[i]; - view.unbind(); - } - }; + function ejToggleButton(element) { + _classCallCheck(this, ejToggleButton); - return TemplateProcessor; -}()) || _class118); -var Template = exports.Template = (_dec319 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'template'), _dec320 = (0, _aureliaTemplating.noView)(), _dec321 = (0, _aureliaTemplating.processContent)(function (compiler, resources, element, instruction) { - var html = element.innerHTML; - if (html !== '') { - instruction.template = html; + var _this73 = _possibleConstructorReturn(this, _WidgetBase67.call(this)); + + _this73.element = element; + return _this73; } - element.innerHTML = ''; -}), _dec322 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec319(_class119 = _dec320(_class119 = _dec321(_class119 = _dec322(_class119 = (_class120 = function Template(target) { - _classCallCheck(this, Template); - _initDefineProp(this, 'template', _descriptor16, this); + return ejToggleButton; +}(WidgetBase)) || _class107) || _class107) || _class107); +var ejToolbar = exports.ejToolbar = (_dec291 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'toolbar'), _dec292 = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'disabledItemIndices', 'enabled', 'enabledItemIndices', 'enableRTL', 'enableSeparator', 'fields', 'height', 'htmlAttributes', 'hide', 'isResponsive', 'Items', 'orientation', 'query', 'responsiveType', 'showRoundedCorner', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec293 = (0, _aureliaDependencyInjection.inject)(Element), _dec291(_class108 = _dec292(_class108 = _dec293(_class108 = function (_WidgetBase68) { + _inherits(ejToolbar, _WidgetBase68); - this.template = target.elementInstruction.template; -}, (_descriptor16 = _applyDecoratedDescriptor(_class120.prototype, 'template', [_aureliaTemplating.bindable], { - enumerable: true, - initializer: null -})), _class120)) || _class119) || _class119) || _class119) || _class119); + function ejToolbar(element) { + _classCallCheck(this, ejToolbar); -var Util = exports.Util = function () { - function Util() { - _classCallCheck(this, Util); + var _this74 = _possibleConstructorReturn(this, _WidgetBase68.call(this)); + + _this74.element = element; + return _this74; } - Util.prototype.getBindablePropertyName = function getBindablePropertyName(propertyName) { - var name = '' + constants.bindablePrefix + propertyName; - return this._unhyphenate(name); - }; - - Util.prototype._unhyphenate = function _unhyphenate(name) { - return name.replace(/-([a-z])/g, function (g) { - return g[1].toUpperCase(); - }); - }; - - Util.prototype.getOptions = function getOptions(model, properties) { - var _this76 = this; - - var bindableproperites = {}; - var value = void 0; - for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { - var _ref; - - if (_isArray) { - if (_i >= _iterator.length) break; - _ref = _iterator[_i++]; - } else { - _i = _iterator.next(); - if (_i.done) break; - _ref = _i.value; - } - - var prop = _ref; + return ejToolbar; +}(WidgetBase)) || _class108) || _class108) || _class108); +var ejTooltip = exports.ejTooltip = (_dec294 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'tooltip'), _dec295 = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'tip', 'title', 'trigger', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec296 = (0, _aureliaDependencyInjection.inject)(Element), _dec294(_class109 = _dec295(_class109 = _dec296(_class109 = function (_WidgetBase69) { + _inherits(ejTooltip, _WidgetBase69); - if (model.abbrevProperties && prop in model.abbrevProperties && model.abbrevProperties.hasOwnProperty(prop)) { - model.abbrevProperties[prop].some(function (property) { - value = model[_this76.getBindablePropertyName(property)]; - return _this76.hasValue(value); - }); - } else { - value = model[this.getBindablePropertyName(prop)]; - } - if (this.hasValue(value)) { - if (typeof value === 'string') { - value = this.processData(value); - } - bindableproperites[prop] = value; - } - } - return bindableproperites; - }; + function ejTooltip(element) { + _classCallCheck(this, ejTooltip); - Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { - var _this77 = this; + var _this75 = _possibleConstructorReturn(this, _WidgetBase69.call(this)); - var property = void 0; + _this75.element = element; + return _this75; + } - var _loop2 = function _loop2() { - if (_isArray2) { - if (_i2 >= _iterator2.length) return 'break'; - _ref2 = _iterator2[_i2++]; - } else { - _i2 = _iterator2.next(); - if (_i2.done) return 'break'; - _ref2 = _i2.value; - } + return ejTooltip; +}(WidgetBase)) || _class109) || _class109) || _class109); +var ejTreeGrid = exports.ejTreeGrid = (_dec297 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-grid'), _dec298 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec299 = generateBindables('ejTreeGrid', ['allowColumnReordering', 'allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowPaging', 'allowSearching', 'allowSelection', 'allowSorting', 'allowTextWrap', 'altRowTemplateID', 'cellTooltipTemplate', 'childMapping', 'collapsibleTotalSummary', 'columnDialogFields', 'columnResizeSettings', 'columns', 'commonWidth', 'contextMenuSettings', 'cssClass', 'dataSource', 'detailsTemplate', 'detailsRowHeight', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableLoadOnDemand', 'enableResize', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'headerTextOverflow', 'idMapping', 'isResponsive', 'locale', 'pageSettings', 'parentIdMapping', 'parseRowTemplate', 'query', 'rowHeight', 'rowTemplateID', 'searchSettings', 'selectedCellIndexes', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnOptions', 'showDetailsRow', 'showDetailsRowInfoColumn', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showStackedHeader', 'showSummaryRow', 'showTotalSummary', 'sizeSettings', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'toolbarSettings', 'totalSummaryHeight', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes', 'pageSettings.currentPage'], { 'altRowTemplateID': ['altRowTemplateId'], 'rowTemplateID': ['rowTemplateId'] }, ['dataSource']), _dec300 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec301 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'tree-grid-column'), _dec297(_class110 = _dec298(_class110 = _dec299(_class110 = _dec300(_class110 = (_class111 = function (_WidgetBase70) { + _inherits(ejTreeGrid, _WidgetBase70); - var prop = _ref2; + function ejTreeGrid(element, templateEngine) { + _classCallCheck(this, ejTreeGrid); - if (options.abbrevProperties && prop in options.abbrevProperties && options.abbrevProperties.hasOwnProperty(prop)) { - options.abbrevProperties[prop].some(function (props) { - property = propertyName === _this77.getBindablePropertyName(props) ? prop : undefined; - return property; - }); - if (property) return 'break'; - } else if (propertyName === _this77.getBindablePropertyName(prop)) { - property = prop; - return 'break'; - } - }; + var _this76 = _possibleConstructorReturn(this, _WidgetBase70.call(this)); - for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { - var _ref2; + _initDefineProp(_this76, 'columns', _descriptor14, _this76); - var _ret2 = _loop2(); + _this76.element = element; + _this76.hasChildProperty = true; + _this76.childPropertyName = 'columns'; + _this76.templateProcessor = new TemplateProcessor(_this76, templateEngine); + _this76.templateProcessor.initTemplate(); + return _this76; + } - if (_ret2 === 'break') break; - } - return property; - }; + return ejTreeGrid; +}(WidgetBase), (_descriptor14 = _applyDecoratedDescriptor(_class111.prototype, 'columns', [_dec301], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class111)) || _class110) || _class110) || _class110) || _class110); +var TreeGridColumn = exports.TreeGridColumn = (_dec302 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec303 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-grid-column'), _dec304 = generateBindables('columns', ['allowCellSelection', 'allowEditing', 'allowFiltering', 'allowFilteringBlankContent', 'allowFreezing', 'allowSorting', 'angularTemplate', 'clipMode', 'commands', 'commands', 'commands', 'displayAsCheckbox', 'dropdownData', 'editParams', 'editTemplate', 'editType', 'field', 'filterEditType', 'filterType', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'headerTooltip', 'isFrozen', 'isTemplateColumn', 'priority', 'showCheckbox', 'showInColumnChooser', 'template', 'templateID', 'textAlign', 'tooltip', 'validationRules', 'visible', 'width'], [], { 'headerTemplateID': ['headerTemplateId', 'headerTemplateID'], 'templateID': ['templateId', 'templateID'] }), _dec305 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec302(_class113 = _dec303(_class113 = _dec304(_class113 = (_class114 = function () { + function TreeGridColumn() { + _classCallCheck(this, TreeGridColumn); - Util.prototype.hasValue = function hasValue(prop) { - return typeof prop !== 'undefined' && prop !== null; - }; + _initDefineProp(this, 'angularTemplate', _descriptor15, this); + } - Util.prototype.processData = function processData(value) { - if (value === 'true') { - return true; - } else if (value === 'false') { - return false; - } else if (+value + '' === value) { - return +value; + TreeGridColumn.prototype.setTemplates = function setTemplates() { + if (this.angularTemplate[0]) { + var util = new Util(); + this[util.getBindablePropertyName('angularTemplate')] = this.angularTemplate[0].template; } - return value; }; - return Util; -}(); - -var firstValue = {}; -var WidgetBase = exports.WidgetBase = (_dec323 = delayed(), (_class122 = function () { - function WidgetBase() { - _classCallCheck(this, WidgetBase); + return TreeGridColumn; +}(), (_descriptor15 = _applyDecoratedDescriptor(_class114.prototype, 'angularTemplate', [_dec305], { + enumerable: true, + initializer: function initializer() { + return []; } +})), _class114)) || _class113) || _class113) || _class113); +var Level = exports.Level = (_dec306 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec307 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'level'), _dec308 = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'textOverflow', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec306(_class116 = _dec307(_class116 = _dec308(_class116 = function Level() { + _classCallCheck(this, Level); +}) || _class116) || _class116) || _class116); +var ejTreeMap = exports.ejTreeMap = (_dec309 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-map'), _dec310 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec311 = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'colorPath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'isHierarchicalDatasource', 'header', 'enableDrillDown', 'drillDownValue', 'drillDownLevel', 'isResponsive', 'enableResize', 'draggingOnSelection', 'draggingGroupOnSelection', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'enableGroupSeparator', 'locale', 'leafItemSettings', 'rangeColorMapping', 'selectionMode', 'groupSelectionMode', 'showLegend', 'enableGradient', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'], {}, ['dataSource']), _dec312 = (0, _aureliaDependencyInjection.inject)(Element), _dec313 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'level'), _dec309(_class117 = _dec310(_class117 = _dec311(_class117 = _dec312(_class117 = (_class118 = function (_WidgetBase71) { + _inherits(ejTreeMap, _WidgetBase71); - WidgetBase.prototype.createWidget = function createWidget(option) { - var _this78 = this; + function ejTreeMap(element) { + _classCallCheck(this, ejTreeMap); - this.allOption = this.getWidgetOptions(option.element); - if (!this.ejOptions && !this.isEditor) { - this.createTwoWays(); - } - this.eWidget = this.widget = jQuery($(option.element))[this.controlName](this.allOption).data(this.controlName); - if (this.templateProcessor) { - this.templateProcessor.initWidgetDependancies(); - } - if (this.isEditor) { - this.widget.model._change = function (evt) { - if ('eValue' in _this78) { - _this78[_this78.util.getBindablePropertyName('value')] = evt.value; - } - }; - } - }; + var _this77 = _possibleConstructorReturn(this, _WidgetBase71.call(this)); - WidgetBase.prototype.bind = function bind(ctx, overrideCtx) { - this.parentCtx = overrideCtx; - if (this.widget && this.widget.element && this.isEditor) { - this.widget.option('value', this.eValue === undefined ? null : this.eValue); - } - }; + _initDefineProp(_this77, 'levels', _descriptor16, _this77); - WidgetBase.prototype.createTwoWays = function createTwoWays() { - var model = this.allOption; - var twoWays = this.twoWays; - var len = twoWays.length; - for (var i = 0; i < len; i++) { - var _prop = twoWays[i]; - ej.createObject(_prop, this.addTwoways(_prop), model); - } - }; + _this77.element = element; + _this77.hasChildProperty = true; + _this77.childPropertyName = 'levels'; + return _this77; + } - WidgetBase.prototype.addTwoways = function addTwoways(prop) { - var model = this; - var value = firstValue; - return function (newVal, isApp) { - if (value === firstValue) { - var viewModelProp = model.util.getBindablePropertyName(prop); - value = model[viewModelProp]; - if (value === undefined) { - value = this.defaults[prop]; - } - return value; - } - if (newVal === undefined) { - return value; - } - if (value === newVal) { - return null; - } - value = newVal; - if (!isApp && model.util.hasValue(newVal)) { - var _viewModelProp = model.util.getBindablePropertyName(prop); - model[_viewModelProp] = newVal; - } - return null; - }; - }; + return ejTreeMap; +}(WidgetBase), (_descriptor16 = _applyDecoratedDescriptor(_class118.prototype, 'levels', [_dec313], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class118)) || _class117) || _class117) || _class117) || _class117); +var ejTreeView = exports.ejTreeView = (_dec314 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'tree-view'), _dec315 = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'allowMultiSelection', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'fullRowSelect', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'selectedNodes', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec316 = (0, _aureliaDependencyInjection.inject)(Element), _dec314(_class120 = _dec315(_class120 = _dec316(_class120 = function (_WidgetBase72) { + _inherits(ejTreeView, _WidgetBase72); - WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { - var propOptions = void 0; - if (this.ejOptions) { - propOptions = this.ejOptions; - } else { - propOptions = this.util.getOptions(this, this.controlProperties); - } - var eventOption = getEventOption(element); - if (this.hasChildProperty) { - this.getChildProperties(propOptions); - } - return Object.assign({}, propOptions, eventOption); - }; + function ejTreeView(element) { + _classCallCheck(this, ejTreeView); - WidgetBase.prototype.getChildProperties = function getChildProperties(options) { - var PropertyName = this.childPropertyName; - var childCollection = this[PropertyName]; - var len = childCollection.length; - if (len) { - options[PropertyName] = []; - var childProperties = childCollection[0].controlProperties; - for (var i = 0; i < len; i++) { - options[PropertyName].push(this.util.getOptions(childCollection[i], childProperties)); - } - } - }; + var _this78 = _possibleConstructorReturn(this, _WidgetBase72.call(this)); - WidgetBase.prototype.attached = function attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(function (template) { - return template.setTemplates(); - }); - } - this.util = new Util(); - this.createWidget({ element: this.element }); - }; + _this78.element = element; + return _this78; + } - WidgetBase.prototype.unsubscribe = function unsubscribe() { - if (this.subscription) { - this.subscription.dispose(); - this.subscription = null; - } - }; + return ejTreeView; +}(WidgetBase)) || _class120) || _class120) || _class120); +var ejUploadbox = exports.ejUploadbox = (_dec317 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'uploadbox'), _dec318 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec319 = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'htmlAttributes', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'showRoundedCorner', 'uploadName', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec320 = (0, _aureliaDependencyInjection.inject)(Element), _dec317(_class121 = _dec318(_class121 = _dec319(_class121 = _dec320(_class121 = function (_WidgetBase73) { + _inherits(ejUploadbox, _WidgetBase73); - WidgetBase.prototype.unbind = function unbind() { - this.unsubscribe(); - }; + function ejUploadbox(element) { + _classCallCheck(this, ejUploadbox); - WidgetBase.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) { - var _this79 = this; + var _this79 = _possibleConstructorReturn(this, _WidgetBase73.call(this)); - if (this.widget) { - var modelValue = void 0; - var _prop2 = this.util.getControlPropertyName(this, property); - this.unsubscribe(); - if (this.arrayObserver) { - this.arrayObserver.forEach(function (arrayProp) { - if (_this79[arrayProp] instanceof Array) { - _this79.subscription = _this79.bindingInstance.collectionObserver(_this79[arrayProp]).subscribe(function (e) { - _this79.update(e); - }); - } - }); - } - if (_prop2) { - if (_prop2 === 'widget') { - return; - } else if (_prop2 !== 'options') { - modelValue = this.widget.model[_prop2]; - var isTwoway = typeof modelValue === 'function'; - if (isTwoway) { - modelValue = modelValue(); - } - if (modelValue !== newValue) { - if (isTwoway) { - newValue = this.addTwoways(_prop2); - } - this.widget.option(_prop2, newValue); - } - } else { - this.widget.option(newValue); - } - } - } - }; + _this79.element = element; + return _this79; + } - WidgetBase.prototype.update = function update(e) { - var _this80 = this; + return ejUploadbox; +}(WidgetBase)) || _class121) || _class121) || _class121) || _class121); +var ejWaitingPopup = exports.ejWaitingPopup = (_dec321 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'waiting-popup'), _dec322 = generateBindables('ejWaitingPopup', ['cssClass', 'htmlAttributes', 'showImage', 'showOnInit', 'target', 'appendTo', 'template', 'text']), _dec323 = (0, _aureliaDependencyInjection.inject)(Element), _dec321(_class122 = _dec322(_class122 = _dec323(_class122 = function (_WidgetBase74) { + _inherits(ejWaitingPopup, _WidgetBase74); - var modelValue = void 0; - var newVal = void 0; - if (e.length) { - this.arrayObserver.forEach(function (arrayProp) { - if (_this80[arrayProp] instanceof Array) { - var _prop3 = _this80.util.getControlPropertyName(_this80, arrayProp); - modelValue = _this80.widget.model[_prop3]; - if (typeof modelValue === 'function') { - modelValue = modelValue(); - newVal = modelValue; - newVal = _this80.addTwoways(_prop3); - _this80.widget.option(_prop3, newVal); - } else { - _this80.widget.option(_prop3, modelValue); - } - } - }); - } - }; + function ejWaitingPopup(element) { + _classCallCheck(this, ejWaitingPopup); - WidgetBase.prototype.detached = function detached() { - if (this.templateProcessor) { - this.templateProcessor.clearTempalte(); - } - if (this.widget) { - this.widget.destroy(); - } - }; + var _this80 = _possibleConstructorReturn(this, _WidgetBase74.call(this)); - return WidgetBase; -}(), (_applyDecoratedDescriptor(_class122.prototype, 'attached', [_dec323], Object.getOwnPropertyDescriptor(_class122.prototype, 'attached'), _class122.prototype)), _class122)); \ No newline at end of file + _this80.element = element; + return _this80; + } + + return ejWaitingPopup; +}(WidgetBase)) || _class122) || _class122) || _class122); \ No newline at end of file diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 58aabc1a..2251fef8 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,18 @@ +### 18.0.2 (2022-01-31) + + +#### Bug Fixes + +* **jsondata:** fixed some encodings ([6d9410e2](https://github.com/aurelia-ui-toolkits/aurelia-syncfusion-bridge.git/commit/6d9410e2ff6b794bf7562818115261804419a497)) + + +#### Features + +* **all:** + * updated to aurelia dependencies to 1.0.0 ([3943227a](https://github.com/aurelia-ui-toolkits/aurelia-syncfusion-bridge.git/commit/3943227a26bc9e47ae3f80070477494a25da64dc)) + * initial version ([f55a0a5d](https://github.com/aurelia-ui-toolkits/aurelia-syncfusion-bridge.git/commit/f55a0a5d5fd3f3a5e3375eb005b549cf90c3750b)) + + ### 18.0.1 (2021-12-17) diff --git a/package-lock.json b/package-lock.json index 469ff4f7..2b058367 100644 --- a/package-lock.json +++ b/package-lock.json @@ -479,7 +479,7 @@ "regenerator": "0.8.40", "regexpu": "1.3.0", "repeating": "1.1.3", - "resolve": "1.20.0", + "resolve": "1.22.0", "shebang-regex": "1.0.0", "slash": "1.0.0", "source-map": "0.5.7", @@ -3174,7 +3174,7 @@ "commander": "2.20.3", "detective": "4.7.1", "glob": "5.0.15", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "iconv-lite": "0.4.24", "mkdirp": "0.5.5", "private": "0.1.8", @@ -5029,7 +5029,7 @@ "dev": true, "requires": { "circular-json": "0.3.3", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "rimraf": "2.6.3", "write": "0.2.1" }, @@ -5069,9 +5069,9 @@ } }, "follow-redirects": { - "version": "1.14.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", - "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==", + "version": "1.14.7", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", + "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==", "dev": true }, "for-in": { @@ -5174,7 +5174,7 @@ "integrity": "sha1-muH92UiXeY7at20JGM9C0MMYT6k=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "jsonfile": "2.4.0", "klaw": "1.3.1", "path-is-absolute": "1.0.1", @@ -5210,7 +5210,7 @@ "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "inherits": "2.0.4", "mkdirp": "0.5.5", "rimraf": "2.7.1" @@ -5514,9 +5514,9 @@ } }, "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", "dev": true }, "gulp": { @@ -5852,7 +5852,7 @@ "css": "2.2.4", "debug-fabulous": "0.0.4", "detect-newline": "2.1.0", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "source-map": "0.6.1", "strip-bom": "2.0.0", "through2": "2.0.5", @@ -6048,7 +6048,7 @@ "dev": true, "requires": { "convert-source-map": "1.8.0", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "strip-bom": "2.0.0", "through2": "2.0.5", "vinyl": "1.2.0" @@ -6165,7 +6165,7 @@ "requires": { "duplexify": "3.7.1", "glob-stream": "5.3.5", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "gulp-sourcemaps": "1.6.0", "is-valid-glob": "0.3.0", "lazystream": "1.0.1", @@ -6247,7 +6247,7 @@ "minimist": "1.2.5", "neo-async": "2.6.2", "source-map": "0.6.1", - "uglify-js": "3.14.5", + "uglify-js": "3.15.0", "wordwrap": "1.0.0" }, "dependencies": { @@ -6475,7 +6475,7 @@ "dev": true, "requires": { "eventemitter3": "4.0.7", - "follow-redirects": "1.14.6", + "follow-redirects": "1.14.7", "requires-port": "1.0.0" } }, @@ -6487,7 +6487,7 @@ "requires": { "assert-plus": "0.2.0", "jsprim": "1.4.2", - "sshpk": "1.16.1" + "sshpk": "1.17.0" } }, "iconv-lite": { @@ -6633,9 +6633,9 @@ "dev": true }, "is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", "dev": true, "requires": { "has": "1.0.3" @@ -7214,7 +7214,7 @@ "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "dev": true, "requires": { - "graceful-fs": "4.2.8" + "graceful-fs": "4.2.9" } }, "jsonify": { @@ -7342,7 +7342,7 @@ "dev": true, "requires": { "expand-tilde": "1.2.2", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "mkdirp": "0.5.5", "netrc": "0.1.4", "request": "2.79.0", @@ -7375,7 +7375,7 @@ "graceful-fs": "3.0.12", "mkdirp": "0.5.5", "request": "2.58.0", - "resolve": "1.20.0", + "resolve": "1.22.0", "rmdir": "1.1.0", "rsvp": "3.6.2", "semver": "5.7.1", @@ -7570,7 +7570,7 @@ "integrity": "sha1-1TFmA1qHzc5YXWK6o5dWhUaZbXA=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "rimraf": "2.7.1", "rsvp": "3.6.2", "semver": "4.3.6" @@ -7621,7 +7621,7 @@ "dom-serialize": "2.2.1", "expand-braces": "0.1.2", "glob": "7.2.0", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "http-proxy": "1.18.1", "isbinaryfile": "3.0.3", "lodash": "3.10.1", @@ -7776,7 +7776,7 @@ "integrity": "sha512-zorxyAakYZuBcHRJE+vbrK2o2JXLFWK8VVjiT/6P+ltLBUGUvqTEkUiQ119MGdOrK7mrmxXHZF1/pfT6GgIZ6g==", "dev": true, "requires": { - "graceful-fs": "4.2.8" + "graceful-fs": "4.2.9" } }, "kind-of": { @@ -7794,7 +7794,7 @@ "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", "dev": true, "requires": { - "graceful-fs": "4.2.8" + "graceful-fs": "4.2.9" } }, "lazy-cache": { @@ -7866,7 +7866,7 @@ "is-plain-object": "2.0.4", "object.map": "1.0.1", "rechoir": "0.6.2", - "resolve": "1.20.0" + "resolve": "1.22.0" } }, "limiter": { @@ -7881,7 +7881,7 @@ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "parse-json": "2.2.0", "pify": "2.3.0", "pinkie-promise": "2.0.1", @@ -8941,7 +8941,7 @@ "dev": true, "requires": { "hosted-git-info": "2.8.9", - "resolve": "1.20.0", + "resolve": "1.22.0", "semver": "5.7.1", "validate-npm-package-license": "3.0.4" } @@ -9261,7 +9261,7 @@ "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "mkdirp": "0.5.5", "object-assign": "4.1.1" } @@ -9400,7 +9400,7 @@ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "pify": "2.3.0", "pinkie-promise": "2.0.1" } @@ -9657,7 +9657,7 @@ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "micromatch": "3.1.10", "readable-stream": "2.3.7" }, @@ -9975,7 +9975,7 @@ "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", "dev": true, "requires": { - "resolve": "1.20.0" + "resolve": "1.22.0" } }, "regenerate": { @@ -10164,7 +10164,7 @@ "json-stringify-safe": "5.0.1", "mime-types": "2.1.34", "oauth-sign": "0.8.2", - "qs": "6.3.2", + "qs": "6.3.3", "stringstream": "0.0.6", "tough-cookie": "2.3.4", "tunnel-agent": "0.4.3", @@ -10172,9 +10172,9 @@ }, "dependencies": { "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=", + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.3.tgz", + "integrity": "sha512-f8CQ/sKJBr9vfNJBdGiPzTSPUufuWyvOFkCYJKN9voqPWuBuhdlSZM78dOHKigtZ0BwuktYGrRFW2DXXc/f2Fg==", "dev": true } } @@ -10210,13 +10210,14 @@ "dev": true }, "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", "dev": true, "requires": { - "is-core-module": "2.8.0", - "path-parse": "1.0.7" + "is-core-module": "2.8.1", + "path-parse": "1.0.7", + "supports-preserve-symlinks-flag": "1.0.0" } }, "resolve-dir": { @@ -10950,9 +10951,9 @@ "dev": true }, "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", "dev": true, "requires": { "asn1": "0.2.6", @@ -11157,6 +11158,12 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, "symbol-observable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", @@ -11582,7 +11589,7 @@ "integrity": "sha1-X9b4BJ3JdsoZ6yNV1lgXPKvM4FY=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "jsonfile": "2.4.0", "rimraf": "2.7.1" } @@ -11664,9 +11671,9 @@ "dev": true }, "uglify-js": { - "version": "3.14.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.5.tgz", - "integrity": "sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.0.tgz", + "integrity": "sha512-x+xdeDWq7FiORDvyIJ0q/waWd4PhjBNOm5dQUOq2AKC0IEjxOS66Ha9tctiVDGcRQuh69K7fgU5oRuTK4cysSg==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index 70d1491c..5106c3e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-syncfusion-bridge", - "version": "18.0.1", + "version": "18.0.2", "registry": "github", "description": "A set of Syncfusion wrappers for Aurelia allowing developers to easily use Syncfusion components in their Aurelia application", "keywords": [ diff --git a/sample/package-lock.json b/sample/package-lock.json index 6939b68a..755320fe 100644 --- a/sample/package-lock.json +++ b/sample/package-lock.json @@ -218,7 +218,7 @@ "regenerator": "0.8.40", "regexpu": "1.3.0", "repeating": "1.1.3", - "resolve": "1.20.0", + "resolve": "1.22.0", "shebang-regex": "1.0.0", "slash": "1.0.0", "source-map": "0.5.7", @@ -622,7 +622,7 @@ "commander": "2.20.3", "detective": "4.7.1", "glob": "5.0.15", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "iconv-lite": "0.4.24", "mkdirp": "0.5.5", "private": "0.1.8", @@ -1247,7 +1247,7 @@ "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "inherits": "2.0.4", "mkdirp": "0.5.5", "rimraf": "2.7.1" @@ -1353,9 +1353,9 @@ "dev": true }, "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", "dev": true }, "har-schema": { @@ -1469,7 +1469,7 @@ "requires": { "assert-plus": "1.0.0", "jsprim": "1.4.2", - "sshpk": "1.16.1" + "sshpk": "1.17.0" } }, "iconv-lite": { @@ -1541,9 +1541,9 @@ "dev": true }, "is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", "dev": true, "requires": { "has": "1.0.3" @@ -1809,7 +1809,7 @@ "dev": true, "requires": { "expand-tilde": "1.2.2", - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "mkdirp": "0.5.5", "netrc": "0.1.4", "request": "2.88.2", @@ -1831,7 +1831,7 @@ "graceful-fs": "3.0.12", "mkdirp": "0.5.5", "request": "2.58.0", - "resolve": "1.20.0", + "resolve": "1.22.0", "rmdir": "1.1.0", "rsvp": "3.6.2", "semver": "5.7.1", @@ -2011,7 +2011,7 @@ "integrity": "sha1-1TFmA1qHzc5YXWK6o5dWhUaZbXA=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "rimraf": "2.7.1", "rsvp": "3.6.2", "semver": "4.3.6" @@ -2084,7 +2084,7 @@ "is-plain-object": "2.0.4", "object.map": "1.0.1", "rechoir": "0.6.2", - "resolve": "1.20.0" + "resolve": "1.22.0" } }, "lodash": { @@ -2552,7 +2552,7 @@ "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", "dev": true, "requires": { - "graceful-fs": "4.2.8", + "graceful-fs": "4.2.9", "mkdirp": "0.5.5", "object-assign": "4.1.1" } @@ -2662,9 +2662,9 @@ "dev": true }, "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", "dev": true }, "readable-stream": { @@ -2705,7 +2705,7 @@ "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", "dev": true, "requires": { - "resolve": "1.20.0" + "resolve": "1.22.0" } }, "regenerate": { @@ -2816,7 +2816,7 @@ "mime-types": "2.1.34", "oauth-sign": "0.9.0", "performance-now": "2.1.0", - "qs": "6.5.2", + "qs": "6.5.3", "safe-buffer": "5.1.2", "tough-cookie": "2.5.0", "tunnel-agent": "0.6.0", @@ -2824,13 +2824,14 @@ } }, "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", "dev": true, "requires": { - "is-core-module": "2.8.0", - "path-parse": "1.0.7" + "is-core-module": "2.8.1", + "path-parse": "1.0.7", + "supports-preserve-symlinks-flag": "1.0.0" } }, "resolve-dir": { @@ -3164,9 +3165,9 @@ } }, "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", "dev": true, "requires": { "asn1": "0.2.6", @@ -3246,6 +3247,12 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, "systemjs": { "version": "0.19.6", "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-0.19.6.tgz", diff --git a/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.css b/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.css index f9f5d73a..7d9be791 100644 --- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.min.css b/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.min.css index 3439a94d..6874fb26 100644 --- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/bootstrap-theme/ej.theme.css b/vendors/Content/ej/web/bootstrap-theme/ej.theme.css index 4294d199..619b9be5 100644 --- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.css +++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/bootstrap-theme/ej.theme.min.css b/vendors/Content/ej/web/bootstrap-theme/ej.theme.min.css index f4d35f9d..f15a97e7 100644 --- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.min.css +++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/default-theme/ej.theme.compatibility.css b/vendors/Content/ej/web/default-theme/ej.theme.compatibility.css index 9c2d4d58..72a81bd5 100644 --- a/vendors/Content/ej/web/default-theme/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/default-theme/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/default-theme/ej.theme.compatibility.min.css b/vendors/Content/ej/web/default-theme/ej.theme.compatibility.min.css index 5a8e6775..89bdb8c7 100644 --- a/vendors/Content/ej/web/default-theme/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/default-theme/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/default-theme/ej.theme.css b/vendors/Content/ej/web/default-theme/ej.theme.css index 417fc9a5..6e62dc7d 100644 --- a/vendors/Content/ej/web/default-theme/ej.theme.css +++ b/vendors/Content/ej/web/default-theme/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/default-theme/ej.theme.min.css b/vendors/Content/ej/web/default-theme/ej.theme.min.css index aad71c32..8a1ec2ea 100644 --- a/vendors/Content/ej/web/default-theme/ej.theme.min.css +++ b/vendors/Content/ej/web/default-theme/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.bootstrap.compatibility.min.css b/vendors/Content/ej/web/ej.widgets.core.bootstrap.compatibility.min.css index 8f03f6b5..8a144ac6 100644 --- a/vendors/Content/ej/web/ej.widgets.core.bootstrap.compatibility.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.bootstrap.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.bootstrap.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.bootstrap.min.css b/vendors/Content/ej/web/ej.widgets.core.bootstrap.min.css index 348702e0..04862e24 100644 --- a/vendors/Content/ej/web/ej.widgets.core.bootstrap.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.bootstrap.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.bootstrap.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.compatibility.min.css b/vendors/Content/ej/web/ej.widgets.core.compatibility.min.css index 2589aadc..83fb615d 100644 --- a/vendors/Content/ej/web/ej.widgets.core.compatibility.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.material.compatibility.min.css b/vendors/Content/ej/web/ej.widgets.core.material.compatibility.min.css index 0ae0f12c..d4b23214 100644 --- a/vendors/Content/ej/web/ej.widgets.core.material.compatibility.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.material.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.material.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.material.min.css b/vendors/Content/ej/web/ej.widgets.core.material.min.css index 6e15bc9a..b8e25ede 100644 --- a/vendors/Content/ej/web/ej.widgets.core.material.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.material.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.material.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.min.css b/vendors/Content/ej/web/ej.widgets.core.min.css index 3476b347..dfc76049 100644 --- a/vendors/Content/ej/web/ej.widgets.core.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.office-365.compatibility.min.css b/vendors/Content/ej/web/ej.widgets.core.office-365.compatibility.min.css index 4b85a666..bfb17562 100644 --- a/vendors/Content/ej/web/ej.widgets.core.office-365.compatibility.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.office-365.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.office-365.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/ej.widgets.core.office-365.min.css b/vendors/Content/ej/web/ej.widgets.core.office-365.min.css index e65b6449..37c0fe03 100644 --- a/vendors/Content/ej/web/ej.widgets.core.office-365.min.css +++ b/vendors/Content/ej/web/ej.widgets.core.office-365.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.widgets.core.office-365.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.css b/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.css index f654b790..8a211e39 100644 --- a/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.min.css b/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.min.css index 676b9899..1cfb68a6 100644 --- a/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/flat-azure-dark/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-azure-dark/ej.theme.css b/vendors/Content/ej/web/flat-azure-dark/ej.theme.css index 35f23ec6..2688bff0 100644 --- a/vendors/Content/ej/web/flat-azure-dark/ej.theme.css +++ b/vendors/Content/ej/web/flat-azure-dark/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-azure-dark/ej.theme.min.css b/vendors/Content/ej/web/flat-azure-dark/ej.theme.min.css index 6a5954aa..ad50ee79 100644 --- a/vendors/Content/ej/web/flat-azure-dark/ej.theme.min.css +++ b/vendors/Content/ej/web/flat-azure-dark/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.css b/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.css index 738b294e..c40fb81b 100644 --- a/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.min.css b/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.min.css index c7dae19c..0282a0a6 100644 --- a/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/flat-lime-dark/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime-dark/ej.theme.css b/vendors/Content/ej/web/flat-lime-dark/ej.theme.css index cd1106c1..dd122081 100644 --- a/vendors/Content/ej/web/flat-lime-dark/ej.theme.css +++ b/vendors/Content/ej/web/flat-lime-dark/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime-dark/ej.theme.min.css b/vendors/Content/ej/web/flat-lime-dark/ej.theme.min.css index afaf6243..733d576a 100644 --- a/vendors/Content/ej/web/flat-lime-dark/ej.theme.min.css +++ b/vendors/Content/ej/web/flat-lime-dark/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.css b/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.css index cb39e160..15b0c4a4 100644 --- a/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.min.css b/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.min.css index ad495e7d..e1af0b11 100644 --- a/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime/ej.theme.css b/vendors/Content/ej/web/flat-lime/ej.theme.css index 09e75a05..b40a8f75 100644 --- a/vendors/Content/ej/web/flat-lime/ej.theme.css +++ b/vendors/Content/ej/web/flat-lime/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-lime/ej.theme.min.css b/vendors/Content/ej/web/flat-lime/ej.theme.min.css index 71dc4b10..5ad7574c 100644 --- a/vendors/Content/ej/web/flat-lime/ej.theme.min.css +++ b/vendors/Content/ej/web/flat-lime/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.css b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.css index 0474f070..3f5fb09b 100644 --- a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.min.css b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.min.css index 491a99a6..1e88e6f4 100644 --- a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.css b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.css index b073fa24..6af231c0 100644 --- a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.css +++ b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.min.css b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.min.css index e4feef25..3489b085 100644 --- a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.min.css +++ b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.css b/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.css index 5260f1b3..d230f0f4 100644 --- a/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.min.css b/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.min.css index 94fbe08c..010d026f 100644 --- a/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron/ej.theme.css b/vendors/Content/ej/web/flat-saffron/ej.theme.css index e4a55205..78002280 100644 --- a/vendors/Content/ej/web/flat-saffron/ej.theme.css +++ b/vendors/Content/ej/web/flat-saffron/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/flat-saffron/ej.theme.min.css b/vendors/Content/ej/web/flat-saffron/ej.theme.min.css index 1502e295..0a4cf698 100644 --- a/vendors/Content/ej/web/flat-saffron/ej.theme.min.css +++ b/vendors/Content/ej/web/flat-saffron/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.css b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.css index cd35e541..08db2d2e 100644 --- a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.min.css b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.min.css index 0c22c1e7..b0e6d147 100644 --- a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.css b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.css index 965b46a9..60955de4 100644 --- a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.css +++ b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.min.css b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.min.css index b72a5f49..e03cad91 100644 --- a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.min.css +++ b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.css b/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.css index 3d134534..76508f6a 100644 --- a/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.min.css b/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.min.css index b517894e..ad0c2a8b 100644 --- a/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure/ej.theme.css b/vendors/Content/ej/web/gradient-azure/ej.theme.css index df76ca2d..fa73d863 100644 --- a/vendors/Content/ej/web/gradient-azure/ej.theme.css +++ b/vendors/Content/ej/web/gradient-azure/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-azure/ej.theme.min.css b/vendors/Content/ej/web/gradient-azure/ej.theme.min.css index da6760f7..31f03bb5 100644 --- a/vendors/Content/ej/web/gradient-azure/ej.theme.min.css +++ b/vendors/Content/ej/web/gradient-azure/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.css b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.css index e0a68421..c6501d3f 100644 --- a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.min.css b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.min.css index 1da4b3d3..096b9f8d 100644 --- a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.css b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.css index 24ad5fde..37f843bc 100644 --- a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.css +++ b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.min.css b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.min.css index f1fbc31f..3d8ecfa8 100644 --- a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.min.css +++ b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.css b/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.css index 51c322a1..d84a6895 100644 --- a/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.min.css b/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.min.css index f708c15e..d4f343cb 100644 --- a/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime/ej.theme.css b/vendors/Content/ej/web/gradient-lime/ej.theme.css index 678f6404..82eee9bc 100644 --- a/vendors/Content/ej/web/gradient-lime/ej.theme.css +++ b/vendors/Content/ej/web/gradient-lime/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-lime/ej.theme.min.css b/vendors/Content/ej/web/gradient-lime/ej.theme.min.css index 6534a2ff..e9ef7b26 100644 --- a/vendors/Content/ej/web/gradient-lime/ej.theme.min.css +++ b/vendors/Content/ej/web/gradient-lime/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.css b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.css index f2fc9222..4c1e54fc 100644 --- a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.min.css b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.min.css index 8d520f81..f0ef31e0 100644 --- a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.css b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.css index 1a541dea..7d8c65d5 100644 --- a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.css +++ b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.min.css b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.min.css index d62fabb6..9bae139e 100644 --- a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.min.css +++ b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.css b/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.css index f73bf2eb..c6e681dc 100644 --- a/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.min.css b/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.min.css index a604d59a..520165e8 100644 --- a/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron/ej.theme.css b/vendors/Content/ej/web/gradient-saffron/ej.theme.css index cd07cb4f..f8d35a3b 100644 --- a/vendors/Content/ej/web/gradient-saffron/ej.theme.css +++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/gradient-saffron/ej.theme.min.css b/vendors/Content/ej/web/gradient-saffron/ej.theme.min.css index 585b2c2f..a3704ecd 100644 --- a/vendors/Content/ej/web/gradient-saffron/ej.theme.min.css +++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.css b/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.css index 6b01c780..6b623957 100644 --- a/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.min.css b/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.min.css index 4c3bb959..740566d2 100644 --- a/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/high-contrast-01/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-01/ej.theme.css b/vendors/Content/ej/web/high-contrast-01/ej.theme.css index f24adaf5..97037d7c 100644 --- a/vendors/Content/ej/web/high-contrast-01/ej.theme.css +++ b/vendors/Content/ej/web/high-contrast-01/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-01/ej.theme.min.css b/vendors/Content/ej/web/high-contrast-01/ej.theme.min.css index 11937caf..50bc02d6 100644 --- a/vendors/Content/ej/web/high-contrast-01/ej.theme.min.css +++ b/vendors/Content/ej/web/high-contrast-01/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.css b/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.css index 5bc18f78..61f10ed8 100644 --- a/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.min.css b/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.min.css index a23f5e3f..fa6d278d 100644 --- a/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/high-contrast-02/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-02/ej.theme.css b/vendors/Content/ej/web/high-contrast-02/ej.theme.css index bb0dc3c3..9cda6360 100644 --- a/vendors/Content/ej/web/high-contrast-02/ej.theme.css +++ b/vendors/Content/ej/web/high-contrast-02/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/high-contrast-02/ej.theme.min.css b/vendors/Content/ej/web/high-contrast-02/ej.theme.min.css index 8e29d84a..33df01fd 100644 --- a/vendors/Content/ej/web/high-contrast-02/ej.theme.min.css +++ b/vendors/Content/ej/web/high-contrast-02/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/material/ej.theme.compatibility.css b/vendors/Content/ej/web/material/ej.theme.compatibility.css index b194088f..2bb3cdb3 100644 --- a/vendors/Content/ej/web/material/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/material/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/material/ej.theme.compatibility.min.css b/vendors/Content/ej/web/material/ej.theme.compatibility.min.css index 4ff7a68f..674b2cb6 100644 --- a/vendors/Content/ej/web/material/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/material/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/material/ej.theme.css b/vendors/Content/ej/web/material/ej.theme.css index 54c9db61..71662ad6 100644 --- a/vendors/Content/ej/web/material/ej.theme.css +++ b/vendors/Content/ej/web/material/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/material/ej.theme.min.css b/vendors/Content/ej/web/material/ej.theme.min.css index 2d422bf8..0286dd36 100644 --- a/vendors/Content/ej/web/material/ej.theme.min.css +++ b/vendors/Content/ej/web/material/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/office-365/ej.theme.compatibility.css b/vendors/Content/ej/web/office-365/ej.theme.compatibility.css index 961eddd5..e49b4dd7 100644 --- a/vendors/Content/ej/web/office-365/ej.theme.compatibility.css +++ b/vendors/Content/ej/web/office-365/ej.theme.compatibility.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/office-365/ej.theme.compatibility.min.css b/vendors/Content/ej/web/office-365/ej.theme.compatibility.min.css index 57182c7a..f33cb3ed 100644 --- a/vendors/Content/ej/web/office-365/ej.theme.compatibility.min.css +++ b/vendors/Content/ej/web/office-365/ej.theme.compatibility.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.compatibility.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/office-365/ej.theme.css b/vendors/Content/ej/web/office-365/ej.theme.css index be55b747..9b19e013 100644 --- a/vendors/Content/ej/web/office-365/ej.theme.css +++ b/vendors/Content/ej/web/office-365/ej.theme.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/Content/ej/web/office-365/ej.theme.min.css b/vendors/Content/ej/web/office-365/ej.theme.min.css index f0a05121..12d4eee5 100644 --- a/vendors/Content/ej/web/office-365/ej.theme.min.css +++ b/vendors/Content/ej/web/office-365/ej.theme.min.css @@ -1,8 +1,8 @@ @charset "UTF-8"; /*! * filename: ej.theme.min.css -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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 diff --git a/vendors/scripts/ej/aurelia/amd/aurelia-syncfusion-bridge.d.ts b/vendors/scripts/ej/aurelia/amd/aurelia-syncfusion-bridge.d.ts index 54c5682e..a68540da 100644 --- a/vendors/scripts/ej/aurelia/amd/aurelia-syncfusion-bridge.d.ts +++ b/vendors/scripts/ej/aurelia/amd/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -154,10 +154,10 @@ declare module 'aurelia-syncfusion-bridge' { export class Series { } - export class ejCircularGauge extends WidgetBase { + export class ejCheckBox extends WidgetBase { constructor(element?: any); } - export class ejCheckBox extends WidgetBase { + export class ejCircularGauge extends WidgetBase { constructor(element?: any); } export class ejColorPicker extends WidgetBase { @@ -259,19 +259,19 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDigitalGauge extends WidgetBase { constructor(element?: any); } - export class ejDigitalGauge extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDropDownList extends WidgetBase { constructor(element?: any); } - export class ejFileExplorer extends WidgetBase { + export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGantt extends WidgetBase { + export class ejFileExplorer extends WidgetBase { constructor(element?: any); } export class Column { @@ -332,10 +332,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPager extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPdfViewer extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } export class ejPivotChart extends WidgetBase { @@ -364,10 +364,10 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } - export class ejRadioButton extends WidgetBase { + export class ejRadialSlider extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejRadioButton extends WidgetBase { constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { @@ -411,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -424,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); + } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { - } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -463,9 +463,6 @@ declare module 'aurelia-syncfusion-bridge' { angularTemplate: any; setTemplates(): any; } - export class ejTreeView extends WidgetBase { - constructor(element?: any); - } export class Level { } @@ -473,6 +470,9 @@ declare module 'aurelia-syncfusion-bridge' { levels: any; constructor(element?: any); } + export class ejTreeView extends WidgetBase { + constructor(element?: any); + } export class ejUploadbox extends WidgetBase { constructor(element?: any); } diff --git a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts index b3cfd5ba..af133a82 100644 --- a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts +++ b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts @@ -127,10 +127,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -150,10 +150,10 @@ declare module 'aurelia-syncfusion-bridge' { export class Series { } - export class ejCircularGauge extends WidgetBase { + export class ejCheckBox extends WidgetBase { constructor(element?: any); } - export class ejCheckBox extends WidgetBase { + export class ejCircularGauge extends WidgetBase { constructor(element?: any); } export class ejColorPicker extends WidgetBase { @@ -255,19 +255,19 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDigitalGauge extends WidgetBase { constructor(element?: any); } - export class ejDigitalGauge extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDropDownList extends WidgetBase { constructor(element?: any); } - export class ejFileExplorer extends WidgetBase { + export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGantt extends WidgetBase { + export class ejFileExplorer extends WidgetBase { constructor(element?: any); } export class Column { @@ -328,10 +328,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPager extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPdfViewer extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } export class ejPivotChart extends WidgetBase { @@ -360,10 +360,10 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } - export class ejRadioButton extends WidgetBase { + export class ejRadialSlider extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejRadioButton extends WidgetBase { constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { @@ -407,10 +407,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -420,15 +420,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); + } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { - } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -459,9 +459,6 @@ declare module 'aurelia-syncfusion-bridge' { angularTemplate: any; setTemplates(): any; } - export class ejTreeView extends WidgetBase { - constructor(element?: any); - } export class Level { } @@ -469,6 +466,9 @@ declare module 'aurelia-syncfusion-bridge' { levels: any; constructor(element?: any); } + export class ejTreeView extends WidgetBase { + constructor(element?: any); + } export class ejUploadbox extends WidgetBase { constructor(element?: any); } diff --git a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js index 1fde7b85..cc5048ec 100644 --- a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js +++ b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js @@ -445,11 +445,10 @@ export class ejAccordion extends WidgetBase { } -@customElement(`${constants.elementPrefix}barcode`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']) +@customAttribute(`${constants.attributePrefix}autocomplete`) + @generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'ignoreAccent', 'locale', 'minCharacter', 'multiColumnSettings', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejBarcode extends WidgetBase { +export class ejAutocomplete extends WidgetBase { constructor(element) { super(); this.element = element; @@ -457,10 +456,11 @@ export class ejBarcode extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}autocomplete`) - @generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'ignoreAccent', 'locale', 'minCharacter', 'multiColumnSettings', 'multiSelectMode', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}barcode`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']) @inject(Element) -export class ejAutocomplete extends WidgetBase { +export class ejBarcode extends WidgetBase { constructor(element) { super(); this.element = element; @@ -527,11 +527,10 @@ export class Series { } -@customElement(`${constants.elementPrefix}circular-gauge`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'rangeZOrder', 'enableAnimation', 'enableGroupSeparator', 'enableResize', 'exportSettings', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'locale', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'legend', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']) +@customAttribute(`${constants.attributePrefix}check-box`) + @generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked', 'checkState'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejCircularGauge extends WidgetBase { +export class ejCheckBox extends WidgetBase { constructor(element) { super(); this.element = element; @@ -539,10 +538,11 @@ export class ejCircularGauge extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}check-box`) - @generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked', 'checkState'], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}circular-gauge`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'rangeZOrder', 'enableAnimation', 'enableGroupSeparator', 'enableResize', 'exportSettings', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'locale', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'legend', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']) @inject(Element) -export class ejCheckBox extends WidgetBase { +export class ejCircularGauge extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1107,11 +1107,11 @@ export class ejDiagram extends WidgetBase { } -@customElement(`${constants.elementPrefix}dialog`) +@customElement(`${constants.elementPrefix}digital-gauge`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejDialog', ['actionButtons', 'ajaxSettings', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'backgroundScroll', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'htmlAttributes', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex', 'showFooter', 'footerTemplateId'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']) @inject(Element) -export class ejDialog extends WidgetBase { +export class ejDigitalGauge extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1119,11 +1119,11 @@ export class ejDialog extends WidgetBase { } -@customElement(`${constants.elementPrefix}digital-gauge`) +@customElement(`${constants.elementPrefix}dialog`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']) +@generateBindables('ejDialog', ['actionButtons', 'ajaxSettings', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'backgroundScroll', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'htmlAttributes', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex', 'showFooter', 'footerTemplateId'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejDigitalGauge extends WidgetBase { +export class ejDialog extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1143,11 +1143,11 @@ export class ejDropDownList extends WidgetBase { } -@customElement(`${constants.elementPrefix}file-explorer`) +@customElement(`${constants.elementPrefix}gantt`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowDragAndDrop', 'allowKeyboardNavigation', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'enablePersistence', 'enableResize', 'enableRTL', 'enableThumbnailCompress', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'rootFolderName', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'virtualItemCount', 'width'], [], {'enableRTL': ['enableRtl']}) +@generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowDragAndDrop', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowMultipleExporting', 'allowSelection', 'allowSorting', 'allowUnscheduledTask', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'cellTooltipTemplate', 'childMapping', 'columnDialogFields', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'dayWorkingTime', 'dragTooltip', 'durationMapping', 'durationUnit', 'durationUnitMapping', 'editDialogFields', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enablePredecessorValidation', 'enableProgressBarResizing', 'enableResize', 'enableSerialNumber', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'enableWBS', 'enableWBSPredecessor', 'endDateMapping', 'expandStateMapping', 'filterSettings', 'groupCollection', 'groupIdMapping', 'groupNameMapping', 'highlightNonWorkingTime', 'highlightWeekends', 'holidays', 'includeWeekend', 'isResponsive', 'leftTaskLabelMapping', 'leftTaskLabelTemplate', 'locale', 'milestoneMapping', 'milestoneTemplate', 'nonWorkingBackground', 'notesMapping', 'parentProgressbarBackground', 'parentTaskIdMapping', 'parentTaskbarBackground', 'parentTaskbarTemplate', 'predecessorMapping', 'predecessorTooltipTemplate', 'progressMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'query', 'readOnly', 'renderBaseline', 'resourceCollectionMapping', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resourceUnitMapping', 'resources', 'rightTaskLabelMapping', 'rightTaskLabelTemplate', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedCellIndexes', 'selectedRowIndex', 'selectionType', 'selectionMode', 'showColumnChooser', 'showColumnOptions', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'splitterSettings', 'startDateMapping', 'stripLines', 'taskCollectionMapping', 'taskIdMapping', 'taskNameMapping', 'taskSchedulingMode', 'taskSchedulingModeMapping', 'taskType', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarHeight', 'taskbarTemplate', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'toolbarSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'weekendBackground', 'workMapping', 'workUnit', 'workWeek', 'workingTimeScale'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes'], {}, ['dataSource']) @inject(Element) -export class ejFileExplorer extends WidgetBase { +export class ejGantt extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1155,11 +1155,11 @@ export class ejFileExplorer extends WidgetBase { } -@customElement(`${constants.elementPrefix}gantt`) +@customElement(`${constants.elementPrefix}file-explorer`) @inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowDragAndDrop', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowMultipleExporting', 'allowSelection', 'allowSorting', 'allowUnscheduledTask', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'cellTooltipTemplate', 'childMapping', 'columnDialogFields', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'dayWorkingTime', 'dragTooltip', 'durationMapping', 'durationUnit', 'durationUnitMapping', 'editDialogFields', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enablePredecessorValidation', 'enableProgressBarResizing', 'enableResize', 'enableSerialNumber', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'enableWBS', 'enableWBSPredecessor', 'endDateMapping', 'expandStateMapping', 'filterSettings', 'groupCollection', 'groupIdMapping', 'groupNameMapping', 'highlightNonWorkingTime', 'highlightWeekends', 'holidays', 'includeWeekend', 'isResponsive', 'leftTaskLabelMapping', 'leftTaskLabelTemplate', 'locale', 'milestoneMapping', 'milestoneTemplate', 'nonWorkingBackground', 'notesMapping', 'parentProgressbarBackground', 'parentTaskIdMapping', 'parentTaskbarBackground', 'parentTaskbarTemplate', 'predecessorMapping', 'predecessorTooltipTemplate', 'progressMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'query', 'readOnly', 'renderBaseline', 'resourceCollectionMapping', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resourceUnitMapping', 'resources', 'rightTaskLabelMapping', 'rightTaskLabelTemplate', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedCellIndexes', 'selectedRowIndex', 'selectionType', 'selectionMode', 'showColumnChooser', 'showColumnOptions', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'splitterSettings', 'startDateMapping', 'stripLines', 'taskCollectionMapping', 'taskIdMapping', 'taskNameMapping', 'taskSchedulingMode', 'taskSchedulingModeMapping', 'taskType', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarHeight', 'taskbarTemplate', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'toolbarSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'weekendBackground', 'workMapping', 'workUnit', 'workWeek', 'workingTimeScale'], ['dataSource', 'selectedRowIndex', 'selectedCellIndexes'], {}, ['dataSource']) +@generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowDragAndDrop', 'allowKeyboardNavigation', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'enablePersistence', 'enableResize', 'enableRTL', 'enableThumbnailCompress', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'rootFolderName', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'virtualItemCount', 'width'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejGantt extends WidgetBase { +export class ejFileExplorer extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1389,25 +1389,25 @@ export class ejPager extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}percentage-textbox`) - @generateBindables('ejPercentageTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}pdf-viewer`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'serverActionSettings', 'serviceUrl', 'documentPath', 'enableTextMarkupAnnotations', 'enableHighlightAnnotation', 'enableUnderlineAnnotation', 'enableStrikethroughAnnotation', 'enableSignature', 'strikethroughSettings', 'underlineSettings', 'highlightSettings', 'signatureSettings', 'textSelectionContextMenu', 'annotationContextMenu', 'annotationType', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService', 'interactionMode', 'bufferingMode', 'hyperlinkOpenState', 'enableHyperlink', 'enableTextSelection', 'isResponsive', 'isDocumentEdited', 'allowClientBuffering', 'fileName']) @inject(Element) -export class ejPercentageTextbox extends WidgetBase { +export class ejPdfViewer extends WidgetBase { constructor(element) { super(); - this.isEditor = true; this.element = element; } } -@customElement(`${constants.elementPrefix}pdf-viewer`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'serverActionSettings', 'serviceUrl', 'documentPath', 'enableTextMarkupAnnotations', 'enableHighlightAnnotation', 'enableUnderlineAnnotation', 'enableStrikethroughAnnotation', 'enableSignature', 'strikethroughSettings', 'underlineSettings', 'highlightSettings', 'signatureSettings', 'textSelectionContextMenu', 'annotationContextMenu', 'annotationType', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService', 'interactionMode', 'bufferingMode', 'hyperlinkOpenState', 'enableHyperlink', 'enableTextSelection', 'isResponsive', 'isDocumentEdited', 'allowClientBuffering', 'fileName']) +@customAttribute(`${constants.attributePrefix}percentage-textbox`) + @generateBindables('ejPercentageTextbox', ['currencySymbol', 'cssClass', 'decimalPlaces', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'groupSize', 'groupSeparator', 'height', 'htmlAttributes', 'incrementStep', 'locale', 'maxValue', 'minValue', 'name', 'negativePattern', 'positivePattern', 'readOnly', 'showRoundedCorner', 'showSpinButton', 'validateOnType', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejPdfViewer extends WidgetBase { +export class ejPercentageTextbox extends WidgetBase { constructor(element) { super(); + this.isEditor = true; this.element = element; } } @@ -1517,10 +1517,11 @@ export class ejRadialMenu extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}radio-button`) -@generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], {'enableRTL': ['enableRtl']}) +@customElement(`${constants.elementPrefix}radial-slider`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']) @inject(Element) -export class ejRadioButton extends WidgetBase { +export class ejRadialSlider extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1528,11 +1529,10 @@ export class ejRadioButton extends WidgetBase { } -@customElement(`${constants.elementPrefix}radial-slider`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']) +@customAttribute(`${constants.attributePrefix}radio-button`) +@generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejRadialSlider extends WidgetBase { +export class ejRadioButton extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1691,10 +1691,11 @@ export class ejSpellCheck extends WidgetBase { } -@customAttribute(`${constants.attributePrefix}split-button`) -@generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) +@customElement(`${constants.elementPrefix}splitter`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], {'enableRTL': ['enableRtl']}) @inject(Element) -export class ejSplitButton extends WidgetBase { +export class ejSplitter extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1702,11 +1703,10 @@ export class ejSplitButton extends WidgetBase { } -@customElement(`${constants.elementPrefix}splitter`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], {'enableRTL': ['enableRtl']}) +@customAttribute(`${constants.attributePrefix}split-button`) +@generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], {'enableRTL': ['enableRtl'], 'targetID': ['targetId']}) @inject(Element) -export class ejSplitter extends WidgetBase { +export class ejSplitButton extends WidgetBase { constructor(element) { super(); this.element = element; @@ -1738,6 +1738,18 @@ export class ejSpreadsheet extends WidgetBase { } +@customElement(`${constants.elementPrefix}symbol-palette`) +@inlineView(`${constants.aureliaTemplateString}`) +@generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']) +@inject(Element) +export class ejSymbolPalette extends WidgetBase { + constructor(element) { + super(); + this.element = element; + } +} + + @customElement(`${constants.elementPrefix}sunburst-chart`) @inlineView(`${constants.aureliaTemplateString}`) @generateBindables('ejSunburstChart', ['background', 'valueMemberPath', 'border', 'segmentBorder', 'dataSource', 'palette', 'parentNode', 'xName', 'yName', 'isResponsive', 'size', 'visible', 'tooltip', 'points', 'startAngle', 'endAngle', 'radius', 'innerRadius', 'dataLabelSettings', 'title', 'highlightSettings', 'selectionSettings', 'levels', 'legend', 'theme', 'margin', 'enableAnimation', 'opacity', 'zoomSettings', 'animationType']) @@ -1762,18 +1774,6 @@ export class SunburstLevels { } -@customElement(`${constants.elementPrefix}symbol-palette`) -@inlineView(`${constants.aureliaTemplateString}`) -@generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']) -@inject(Element) -export class ejSymbolPalette extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } -} - - @customElement(`${constants.elementPrefix}tab`) @inlineView(`${constants.aureliaTemplateString}`) @generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], {'enableRTL': ['enableRtl']}) @@ -1888,17 +1888,6 @@ export class TreeGridColumn { } -@customAttribute(`${constants.attributePrefix}tree-view`) -@generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'allowMultiSelection', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'fullRowSelect', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'selectedNodes', 'showCheckbox', 'sortSettings', 'template', 'width'], [], {'enableRTL': ['enableRtl']}) -@inject(Element) -export class ejTreeView extends WidgetBase { - constructor(element) { - super(); - this.element = element; - } -} - - @inlineView(`${constants.aureliaTemplateString}`) @customElement(`${constants.elementPrefix}level`) @@ -1923,6 +1912,17 @@ export class ejTreeMap extends WidgetBase { } +@customAttribute(`${constants.attributePrefix}tree-view`) +@generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'allowMultiSelection', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'fullRowSelect', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'selectedNodes', 'showCheckbox', 'sortSettings', 'template', 'width'], [], {'enableRTL': ['enableRtl']}) +@inject(Element) +export class ejTreeView extends WidgetBase { + constructor(element) { + super(); + this.element = element; + } +} + + @customElement(`${constants.elementPrefix}uploadbox`) @inlineView(`${constants.aureliaTemplateString}`) @generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'htmlAttributes', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'showRoundedCorner', 'uploadName', 'width'], [], {'enableRTL': ['enableRtl']}) diff --git a/vendors/scripts/ej/aurelia/commonjs/aurelia-syncfusion-bridge.d.ts b/vendors/scripts/ej/aurelia/commonjs/aurelia-syncfusion-bridge.d.ts index 54c5682e..a68540da 100644 --- a/vendors/scripts/ej/aurelia/commonjs/aurelia-syncfusion-bridge.d.ts +++ b/vendors/scripts/ej/aurelia/commonjs/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -154,10 +154,10 @@ declare module 'aurelia-syncfusion-bridge' { export class Series { } - export class ejCircularGauge extends WidgetBase { + export class ejCheckBox extends WidgetBase { constructor(element?: any); } - export class ejCheckBox extends WidgetBase { + export class ejCircularGauge extends WidgetBase { constructor(element?: any); } export class ejColorPicker extends WidgetBase { @@ -259,19 +259,19 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDigitalGauge extends WidgetBase { constructor(element?: any); } - export class ejDigitalGauge extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDropDownList extends WidgetBase { constructor(element?: any); } - export class ejFileExplorer extends WidgetBase { + export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGantt extends WidgetBase { + export class ejFileExplorer extends WidgetBase { constructor(element?: any); } export class Column { @@ -332,10 +332,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPager extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPdfViewer extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } export class ejPivotChart extends WidgetBase { @@ -364,10 +364,10 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } - export class ejRadioButton extends WidgetBase { + export class ejRadialSlider extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejRadioButton extends WidgetBase { constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { @@ -411,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -424,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); + } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { - } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -463,9 +463,6 @@ declare module 'aurelia-syncfusion-bridge' { angularTemplate: any; setTemplates(): any; } - export class ejTreeView extends WidgetBase { - constructor(element?: any); - } export class Level { } @@ -473,6 +470,9 @@ declare module 'aurelia-syncfusion-bridge' { levels: any; constructor(element?: any); } + export class ejTreeView extends WidgetBase { + constructor(element?: any); + } export class ejUploadbox extends WidgetBase { constructor(element?: any); } diff --git a/vendors/scripts/ej/aurelia/es6/aurelia-syncfusion-bridge.d.ts b/vendors/scripts/ej/aurelia/es6/aurelia-syncfusion-bridge.d.ts index 54c5682e..a68540da 100644 --- a/vendors/scripts/ej/aurelia/es6/aurelia-syncfusion-bridge.d.ts +++ b/vendors/scripts/ej/aurelia/es6/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -154,10 +154,10 @@ declare module 'aurelia-syncfusion-bridge' { export class Series { } - export class ejCircularGauge extends WidgetBase { + export class ejCheckBox extends WidgetBase { constructor(element?: any); } - export class ejCheckBox extends WidgetBase { + export class ejCircularGauge extends WidgetBase { constructor(element?: any); } export class ejColorPicker extends WidgetBase { @@ -259,19 +259,19 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDigitalGauge extends WidgetBase { constructor(element?: any); } - export class ejDigitalGauge extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDropDownList extends WidgetBase { constructor(element?: any); } - export class ejFileExplorer extends WidgetBase { + export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGantt extends WidgetBase { + export class ejFileExplorer extends WidgetBase { constructor(element?: any); } export class Column { @@ -332,10 +332,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPager extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPdfViewer extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } export class ejPivotChart extends WidgetBase { @@ -364,10 +364,10 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } - export class ejRadioButton extends WidgetBase { + export class ejRadialSlider extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejRadioButton extends WidgetBase { constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { @@ -411,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -424,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); + } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { - } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -463,9 +463,6 @@ declare module 'aurelia-syncfusion-bridge' { angularTemplate: any; setTemplates(): any; } - export class ejTreeView extends WidgetBase { - constructor(element?: any); - } export class Level { } @@ -473,6 +470,9 @@ declare module 'aurelia-syncfusion-bridge' { levels: any; constructor(element?: any); } + export class ejTreeView extends WidgetBase { + constructor(element?: any); + } export class ejUploadbox extends WidgetBase { constructor(element?: any); } diff --git a/vendors/scripts/ej/aurelia/system/aurelia-syncfusion-bridge.d.ts b/vendors/scripts/ej/aurelia/system/aurelia-syncfusion-bridge.d.ts index 54c5682e..a68540da 100644 --- a/vendors/scripts/ej/aurelia/system/aurelia-syncfusion-bridge.d.ts +++ b/vendors/scripts/ej/aurelia/system/aurelia-syncfusion-bridge.d.ts @@ -131,10 +131,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejAccordion extends WidgetBase { constructor(element?: any); } - export class ejBarcode extends WidgetBase { + export class ejAutocomplete extends WidgetBase { constructor(element?: any); } - export class ejAutocomplete extends WidgetBase { + export class ejBarcode extends WidgetBase { constructor(element?: any); } export class ejBulletGraph extends WidgetBase { @@ -154,10 +154,10 @@ declare module 'aurelia-syncfusion-bridge' { export class Series { } - export class ejCircularGauge extends WidgetBase { + export class ejCheckBox extends WidgetBase { constructor(element?: any); } - export class ejCheckBox extends WidgetBase { + export class ejCircularGauge extends WidgetBase { constructor(element?: any); } export class ejColorPicker extends WidgetBase { @@ -259,19 +259,19 @@ declare module 'aurelia-syncfusion-bridge' { export class ejDiagram extends WidgetBase { constructor(element?: any); } - export class ejDialog extends WidgetBase { + export class ejDigitalGauge extends WidgetBase { constructor(element?: any); } - export class ejDigitalGauge extends WidgetBase { + export class ejDialog extends WidgetBase { constructor(element?: any); } export class ejDropDownList extends WidgetBase { constructor(element?: any); } - export class ejFileExplorer extends WidgetBase { + export class ejGantt extends WidgetBase { constructor(element?: any); } - export class ejGantt extends WidgetBase { + export class ejFileExplorer extends WidgetBase { constructor(element?: any); } export class Column { @@ -332,10 +332,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejPager extends WidgetBase { constructor(element?: any); } - export class ejPercentageTextbox extends WidgetBase { + export class ejPdfViewer extends WidgetBase { constructor(element?: any); } - export class ejPdfViewer extends WidgetBase { + export class ejPercentageTextbox extends WidgetBase { constructor(element?: any); } export class ejPivotChart extends WidgetBase { @@ -364,10 +364,10 @@ declare module 'aurelia-syncfusion-bridge' { items: any; constructor(element?: any, templateEngine?: any); } - export class ejRadioButton extends WidgetBase { + export class ejRadialSlider extends WidgetBase { constructor(element?: any); } - export class ejRadialSlider extends WidgetBase { + export class ejRadioButton extends WidgetBase { constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { @@ -411,10 +411,10 @@ declare module 'aurelia-syncfusion-bridge' { export class ejSpellCheck extends WidgetBase { constructor(element?: any); } - export class ejSplitButton extends WidgetBase { + export class ejSplitter extends WidgetBase { constructor(element?: any); } - export class ejSplitter extends WidgetBase { + export class ejSplitButton extends WidgetBase { constructor(element?: any); } export class Sheet { @@ -424,15 +424,15 @@ declare module 'aurelia-syncfusion-bridge' { sheets: any; constructor(element?: any); } + export class ejSymbolPalette extends WidgetBase { + constructor(element?: any); + } export class ejSunburstChart extends WidgetBase { levels: any; constructor(element?: any); } export class SunburstLevels { - } - export class ejSymbolPalette extends WidgetBase { - constructor(element?: any); } export class ejTab extends WidgetBase { constructor(element?: any); @@ -463,9 +463,6 @@ declare module 'aurelia-syncfusion-bridge' { angularTemplate: any; setTemplates(): any; } - export class ejTreeView extends WidgetBase { - constructor(element?: any); - } export class Level { } @@ -473,6 +470,9 @@ declare module 'aurelia-syncfusion-bridge' { levels: any; constructor(element?: any); } + export class ejTreeView extends WidgetBase { + constructor(element?: any); + } export class ejUploadbox extends WidgetBase { constructor(element?: any); } diff --git a/vendors/scripts/ej/common/ej.core.min.js b/vendors/scripts/ej/common/ej.core.min.js index 1b54a285..4a138f4f 100644 --- a/vendors/scripts/ej/common/ej.core.min.js +++ b/vendors/scripts/ej/common/ej.core.min.js @@ -1,10 +1,10 @@ /*! * filename: ej.core.min.js -* version : 19.4.0.38 -* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. +* version : 19.4.0.48 +* Copyright Syncfusion Inc. 2001 - 2022. 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"],n):n()})(function(){window.ej=window.Syncfusion=window.Syncfusion||{},function(n,t,i){"use strict";var e,u,f,o;t.version="19.4.0.38";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");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("<\/head>"+u+f[0].innerHTML+"<\/body><\/html>")):(u="",r.document.write(""),e.each(function(t,i){i.tagName=="LINK"&&n(i).attr("href",i.href);u+=i.outerHTML}),r.document.writeln(u+"<\/head>"),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||"")},_preventDefaultException:function(n,t){if(n)for(var i in t)if(t[i].test(n[i]))return!0;return!1},getMaxZindex:function(){var t=1;return t=Math.max.apply(null,n.map(n("body *"),function(t){if(n(t).css("position")=="absolute"||n(t).css("position")=="fixed")return parseInt(n(t).css("z-index"))||1})),(t==i||t==null)&&(t=1),t},blockDefaultActions:function(n){n.cancelBubble=!0;n.returnValue=!1;n.preventDefault&&n.preventDefault();n.stopPropagation&&n.stopPropagation()},getDimension:function(t,i){var e,u=n(t).parents().andSelf().filter(":hidden"),r,f;return u&&(r={visibility:"hidden",display:"block"},f=[],u.each(function(){var t={};for(var n in r)t[n]=this.style[n],this.style[n]=r[n];f.push(t)}),e=/(outer)/g.test(i)?n(t)[i](!0):n(t)[i](),u.each(function(n){var i=f[n];for(var t in r)this.style[t]=i[t]})),e},transitionEndEvent:function(){return{"":"transitionend",webkit:"webkitTransitionEnd",Moz:"transitionend",O:"otransitionend",ms:"MSTransitionEnd"}[t.userAgent()]},animationEndEvent:function(){return{"":"animationend",webkit:"webkitAnimationEnd",Moz:"animationend",O:"webkitAnimationEnd",ms:"animationend"}[t.userAgent()]},startEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchstart":"mousedown"},endEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchend":"mouseup"},moveEvent:function(){return t.isTouchDevice()||n.support.hasPointer?n.support.hasPointer&&!t.isMobile()?"ejtouchmove":"touchmove":"mousemove"},cancelEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchcancel":"mousecancel"},tapEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"tap":"click"},tapHoldEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"taphold":"click"},isDevice:function(){return t.getBooleanVal(n("head"),"data-ej-forceset",!1)?t.getBooleanVal(n("head"),"data-ej-device",this._device()):this._device()},isPortrait:function(){var n=document.documentElement;return n&&n.clientWidth/n.clientHeight<1.1},isLowerResolution:function(){return window.innerWidth<=640&&t.isPortrait()&&t.isDevice()||window.innerWidth<=800&&!t.isDevice()||window.innerWidth<=800&&!t.isPortrait()&&t.isWindows()&&t.isDevice()||t.isMobile()},isIOSWebView:function(){return/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent)},isAndroidWebView:function(){return!(typeof Android=="undefined")},isWindowsWebView:function(){return location.href.indexOf("x-wmapp")!=-1},_device:function(){return/Android|BlackBerry|iPhone|iPad|iPod|IEMobile|kindle|windows\sce|palm|smartphone|iemobile|mobile|pad|xoom|sch-i800|playbook/i.test(navigator.userAgent.toLowerCase())},isMobile:function(){return/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(navigator.userAgent.toLowerCase())&&/mobile/i.test(navigator.userAgent.toLowerCase())||t.getBooleanVal(n("head"),"data-ej-mobile",!1)===!0},isTablet:function(){return/ipad|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase())||t.getBooleanVal(n("head"),"data-ej-tablet",!1)===!0||!t.isMobile()&&t.isDevice()},isTouchDevice:function(){return("ontouchstart"in window||window.navigator.msPointerEnabled&&t.isMobile())&&this.isDevice()},getClearString:function(t){return n.trim(t.replace(/\s+/g," ").replace(/(\r\n|\n|\r)/gm,"").replace(new RegExp(">[\n\t ]+<","g"),"><"))},getBooleanVal:function(t,i,r){var u=n(t).attr(i);return u!=null?u.toLowerCase()=="true":r},_getSkewClass:function(n,t,i){var h=n.width(),c=n.height(),f=n.offset().left,e=n.offset().left+h,o=n.offset().top,s=n.offset().top+c,r=h*.3,u=c*.3;return te-r&&ie-r&&i>s-u?"e-m-skew-bottomright":ts-u?"e-m-skew-bottomleft":t>f+r&&ie-r?"e-m-skew-right":i>s-u?"e-m-skew-bottom":"e-m-skew-center"},_removeSkewClass:function(t){n(t).removeClass("e-m-skew-top e-m-skew-bottom e-m-skew-left e-m-skew-right e-m-skew-topleft e-m-skew-topright e-m-skew-bottomleft e-m-skew-bottomright e-m-skew-center e-skew-top e-skew-bottom e-skew-left e-skew-right e-skew-topleft e-skew-topright e-skew-bottomleft e-skew-bottomright e-skew-center")},_getObjectKeys:function(n){var t,i=[];if(n=Object.prototype.toString.call(n)===Object.prototype.toString()?n:{},!Object.keys){for(t in n)n.hasOwnProperty(t)&&i.push(t);return i}if(Object.keys)return Object.keys(n)},_touchStartPoints:function(n,t){if(n){var i=n.touches?n.touches[0]:n;t._distX=0;t._distY=0;t._moved=!1;t._pointX=i.pageX;t._pointY=i.pageY}},_isTouchMoved:function(n,t){if(n){var i=n.touches?n.touches[0]:n,f=i.pageX-t._pointX,e=i.pageY-t._pointY,o=Date.now(),r,u;return t._pointX=i.pageX,t._pointY=i.pageY,t._distX+=f,t._distY+=e,r=Math.abs(t._distX),u=Math.abs(t._distY),!(r<5&&u<5)}},listenEvents:function(n,i,r,u,f,e){for(var o=0;o0)return e=i.parents(),f=n("body").children(),!t.isNullOrUndefined(i)&&i.length>0&&f.splice(f.index(r),1),n(f).each(function(n,t){e.push(t)}),u=Math.max.apply(u,n.map(e,function(t){if(n(t).css("position")!="static")return parseInt(n(t).css("z-index"))||1})),!u||u<1e4?u=1e4:u+=1,u},isValidAttr:function(t,i){var t=n(t)[0],r;return typeof t[i]!="undefined"?!0:(r=!1,n.each(t,function(n){if(n.toLowerCase()==i.toLowerCase())return r=!0,!1}),r)}};n.extend(t,t.util);t.widgetBase={droppables:{"default":[]},resizables:{"default":[]},_renderEjTemplate:function(i,r,u,f,e){var o=null;if((typeof i=="object"||i.startsWith("#")||i.startsWith("."))&&(o=n(i).attr("type")),o){if(o=o.toLowerCase(),t.template[o])return t.template[o](this,i,r,u,f)}else if(!t.isNullOrUndefined(e))return t.template["text/x-"+e](this,i,r,u,f);return t.template.render(this,i,r,u,f)},destroy:function(){var u,r,f,i;if(!this._trigger("destroy")){this.model.enablePersistence&&(this.persistState(),n(window).off("unload",this._persistHandler));try{this._destroy()}catch(e){}for(u=this.element.data("ejWidgets")||[],i=0;i-1,c){n.fn.off.apply(t,u?[i,r,f[3]]:[i,r]);e.splice(o,1);break}return this},_trigger:function(i,r){var f=null,e,u,o={},s;return(n.extend(o,r),i in this.model&&(f=this.model[i]),f&&(typeof f=="string"&&(f=t.util.getObject(f,window)),n.isFunction(f)&&(u=t.event(i,this.model,r),e=f.call(this,u),r&&n.extend(r,u),u.cancel||!t.isNullOrUndefined(e))))?e===!1||u.cancel:(s=Boolean(r),r=r||{},r.originalEventType=i,r.type=this.pluginName+i,u=n.Event(r.type,t.event(r.type,this.model,r)),this.element&&this.element.trigger(u),s&&n.extend(r,u),t.isOnWebForms&&u.cancel==!1&&this.model.serverEvents&&this.model.serverEvents.length&&t.raiseWebFormsServerEvents(i,r,o),u.cancel)},setModel:function(t,i){var r,f,o,u;if(!this._trigger("modelChange",{changes:t})){for(r in t){if(!i){if(this.model[r]===t[r]){delete t[r];continue}if(n.isPlainObject(t[r])&&(e(this.model[r],t[r]),n.isEmptyObject(t[r]))){delete t[r];continue}}if(this.dataTypes&&(f=this._isValidModelValue(r,this.dataTypes,t),f!==!0))throw"setModel - Invalid input for property :"+r+" - "+f;this.model.notifyOnEachPropertyChanges&&this.model[r]!==t[r]&&(o={oldValue:this.model[r],newValue:t[r]},t[r]=this._trigger(r+"Change",o)?this.model[r]:o.newValue)}n.isEmptyObject(t)||(this._setFirst?(u=t.dataSource,u&&delete t.dataSource,n.extend(!0,this.model,t),u&&(this.model.dataSource=u instanceof Array?u.slice():u,t.dataSource=this.model.dataSource),this._setModel&&this._setModel(t)):this._setModel&&this._setModel(t)===!1||n.extend(!0,this.model,t),"enablePersistence"in t&&this._setState(t.enablePersistence))}},option:function(r,u,f){if(!r)return this.model;if(n.isPlainObject(r))return this.setModel(r,f);if(typeof r=="string"){r=r.replace(/^model\./,"");var e=t.getObject(r,this.model);if(u===i&&!f)return e;if(r==="enablePersistence")return this._setState(u);if(f&&u===t.extensions.modelGUID)return this._setModel(t.createObject(r,t.getObject(r,this.model),{}));if(f||t.getObject(r,this.model)!==u)return this.setModel(t.createObject(r,u,{}),f)}return i},_isValidModelValue:function(n,t,i){var r=t[n],u=i[n],f,e,o;if(!r)return!0;if(typeof r=="string"){if(r=="enum"&&(i[n]=u?u.toString().toLowerCase():u,r="string"),r==="array"){if(Object.prototype.toString.call(u)==="[object Array]")return!0}else if(r==="data"||r==="parent"||typeof u===r)return!0;return"Expected type - "+r}if(u instanceof Array){for(e=0;e=0){delete u[r];return}t.push(n);for(var f in n)n.hasOwnProperty(f)&&i(n[f],f,n);t.pop();return}}var t=[];return i(n,"obj",null),n},stringify:function(n,i){for(var f,u=this.observables,r=0;r"),u=t.preferredCulture(u)?u:"en-US",f=i,l=i.split("{0:"),a=i.split("}"),h=l[0],c=a[1],typeof r=="string"&&n.isNumeric(r)&&(r=Number(r)),i.indexOf("{0:")!=-1)return v=new RegExp("\\{0(:([^\\}]+))?\\}","gm"),s=v.exec(i),s!=null&&r!=null?h!=null&&c!=null?h+t.format(r,s[2],u)+c:t.format(r,s[2],u):r!=null?r:"";if(f.startsWith("{")&&!f.startsWith("{0:")){var o=f.split(""),r=(r||"")+"",p=r.split(""),w=/[0aA\*CN<>\?]/gm;for(e=0,y=0;e0&&n.isPlainObject(p)&&(r=t.copyObject({},p)),!b){h.prototype._requiresID!==!0||n(this[y]).attr("id")||s.attr("id",c("ejControl_"));r&&typeof r!="object"?o(f+": methods/properties can be accessed only after plugin creation"):(h.prototype.defaults&&!t.isNullOrUndefined(t.setCulture)&&"locale"in h.prototype.defaults&&f!="ejChart"&&(!r||"locale"in r?t.isNullOrUndefined(r)&&(r={},r.locale=t.setCulture().name):r.locale=t.setCulture().name),new h(s,r));continue}if(r)if(u=[].slice.call(arguments,1),this.length>0&&u[0]&&p==="option"&&n.isPlainObject(u[0])&&(u[0]=t.copyObject({},u[0])),n.isPlainObject(r))l.setModel(r);else if((r.indexOf("_")===0||t.isNullOrUndefined(a=t.getObject(r,l)))&&r.indexOf("model.")!==0)o(e+": function/property - "+r+" does not exist");else{if(!a||!n.isFunction(a)){if(arguments.length==1)return a;l.option(r,arguments[1]);continue}if(w=a.apply(l,u),w!==i)return w}}return f.indexOf("ejm")!=-1&&t.widget.registerInstance(s,f,e,h.prototype),this};t.widget.register(f,e,h.prototype);t.loadLocale(f)};t.loadLocale=function(i){for(var f=t.locales,r=0,u=f.length;r1?t[1]:i},set:function(n,t,i){typeof t=="object"&&(t=JSON.stringify(t));t=escape(t)+(i==null?"":"; expires="+i.toUTCString());document.cookie=n+"="+t}};u={getActionFromCode:function(n,t,i,r,f){var s,o,e;i=i||!1;r=r||!1;f=f||!1;for(s in n)if(s!=="focus")for(o=u.getKeyObject(n[s]),e=0;e9&&window.navigator.msPointerEnabled,i.pointerEnabled=window.navigator.pointerEnabled,i};t.eventType={mouseDown:"mousedown touchstart",mouseMove:"mousemove touchmove",mouseUp:"mouseup touchend",mouseLeave:"mouseleave touchcancel",click:"click touchend"};t.event=function(t,i,r){return n.extend(r||{},{type:t,model:i,cancel:!1})};t.proxy=function(n,t,i){return!n||typeof n!="function"?null:"on"in n&&t?i?n.on(t,i):n.on(t):function(){var r=i?[i]:[];return r.push.apply(r,arguments),n.apply(t||this,r)}};t.hasStyle=function(n){var r=document.documentElement.style,i,t;if(n in r)return!0;for(i=["ms","Moz","Webkit","O","Khtml"],n=n[0].toUpperCase()+n.slice(1),t=0;t",i,"<\/div>"].join(""));var e={prop:f,index:u};return n(i).render(r,e)};t.isPlainObject=function(n){if(!n||t.DataManager!==i&&n instanceof t.DataManager||typeof n!="object"||n.nodeType||jQuery.isWindow(n))return!1;try{if(n.constructor&&!n.constructor.prototype.hasOwnProperty("isPrototypeOf"))return!1}catch(f){return!1}var r,u=t.support.isOwnLast;for(r in n)if(u)break;return r===i||n.hasOwnProperty(r)};f=!1;t.util.valueFunction=function(n){return function(r,u){var e=t.getObject(n,this.model);if(f===!1&&(f=t.getObject("observables.getValue",t.widget)),r===i)return t.isNullOrUndefined(f)?typeof e=="function"?e.call(this):e:f(e,u);typeof e=="function"?(this["ob.values"][n]=r,e.call(this,r)):t.createObject(n,r,this.model)}};t.util.getVal=function(n){return typeof n=="function"?n():n};t.support={isOwnLast:function(){var n=function(){this.a=1},t;n.prototype.b=1;for(t in new n)return t==="b"}(),outerHTML:function(){return document.createElement("div").outerHTML!==i}()};o=t.throwError=function(n){try{throw new Error(n);}catch(t){throw t.message+"\n"+t.stack;}};t.getRandomValue=function(n,r){var u,f;return n===i||r===i?t.throwError("Min and Max values are required for generating a random number"):("crypto"in window&&"getRandomValues"in crypto?(f=new Uint16Array(1),window.crypto.getRandomValues(f),u=f[0]%(r-n)+n):u=Math.random()*(r-n)+n,u|0)};t.extensions={};t.extensions.modelGUID="{0B1051BA-1CCB-42C2-A3B5-635389B92A50}"}(window.jQuery,window.Syncfusion),function(){$.fn.addEleAttrs=function(n){var t=$(this);$.each(n,function(n,i){i&&i.specified&&t.attr(i.name,i.value)})};$.fn.removeEleAttrs=function(n){return this.each(function(){var t=$(this),i=$(this.attributes).clone();$.each(i,function(i,r){r&&r.specified&&n.test(r.name)&&t.removeAttr(r.name)})})};$.fn.attrNotStartsWith=function(n){var u=this,r=[],i,t;for(this.each(function(){i=$(this.attributes).clone()}),t=0;t");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("<\/head>"+u+f[0].innerHTML+"<\/body><\/html>")):(u="",r.document.write(""),e.each(function(t,i){i.tagName=="LINK"&&n(i).attr("href",i.href);u+=i.outerHTML}),r.document.writeln(u+"<\/head>"),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||"")},_preventDefaultException:function(n,t){if(n)for(var i in t)if(t[i].test(n[i]))return!0;return!1},getMaxZindex:function(){var t=1;return t=Math.max.apply(null,n.map(n("body *"),function(t){if(n(t).css("position")=="absolute"||n(t).css("position")=="fixed")return parseInt(n(t).css("z-index"))||1})),(t==i||t==null)&&(t=1),t},blockDefaultActions:function(n){n.cancelBubble=!0;n.returnValue=!1;n.preventDefault&&n.preventDefault();n.stopPropagation&&n.stopPropagation()},getDimension:function(t,i){var e,u=n(t).parents().andSelf().filter(":hidden"),r,f;return u&&(r={visibility:"hidden",display:"block"},f=[],u.each(function(){var t={};for(var n in r)t[n]=this.style[n],this.style[n]=r[n];f.push(t)}),e=/(outer)/g.test(i)?n(t)[i](!0):n(t)[i](),u.each(function(n){var i=f[n];for(var t in r)this.style[t]=i[t]})),e},transitionEndEvent:function(){return{"":"transitionend",webkit:"webkitTransitionEnd",Moz:"transitionend",O:"otransitionend",ms:"MSTransitionEnd"}[t.userAgent()]},animationEndEvent:function(){return{"":"animationend",webkit:"webkitAnimationEnd",Moz:"animationend",O:"webkitAnimationEnd",ms:"animationend"}[t.userAgent()]},startEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchstart":"mousedown"},endEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchend":"mouseup"},moveEvent:function(){return t.isTouchDevice()||n.support.hasPointer?n.support.hasPointer&&!t.isMobile()?"ejtouchmove":"touchmove":"mousemove"},cancelEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchcancel":"mousecancel"},tapEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"tap":"click"},tapHoldEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"taphold":"click"},isDevice:function(){return t.getBooleanVal(n("head"),"data-ej-forceset",!1)?t.getBooleanVal(n("head"),"data-ej-device",this._device()):this._device()},isPortrait:function(){var n=document.documentElement;return n&&n.clientWidth/n.clientHeight<1.1},isLowerResolution:function(){return window.innerWidth<=640&&t.isPortrait()&&t.isDevice()||window.innerWidth<=800&&!t.isDevice()||window.innerWidth<=800&&!t.isPortrait()&&t.isWindows()&&t.isDevice()||t.isMobile()},isIOSWebView:function(){return/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent)},isAndroidWebView:function(){return!(typeof Android=="undefined")},isWindowsWebView:function(){return location.href.indexOf("x-wmapp")!=-1},_device:function(){return/Android|BlackBerry|iPhone|iPad|iPod|IEMobile|kindle|windows\sce|palm|smartphone|iemobile|mobile|pad|xoom|sch-i800|playbook/i.test(navigator.userAgent.toLowerCase())},isMobile:function(){return/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(navigator.userAgent.toLowerCase())&&/mobile/i.test(navigator.userAgent.toLowerCase())||t.getBooleanVal(n("head"),"data-ej-mobile",!1)===!0},isTablet:function(){return/ipad|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase())||t.getBooleanVal(n("head"),"data-ej-tablet",!1)===!0||!t.isMobile()&&t.isDevice()},isTouchDevice:function(){return("ontouchstart"in window||window.navigator.msPointerEnabled&&t.isMobile())&&this.isDevice()},getClearString:function(t){return n.trim(t.replace(/\s+/g," ").replace(/(\r\n|\n|\r)/gm,"").replace(new RegExp(">[\n\t ]+<","g"),"><"))},getBooleanVal:function(t,i,r){var u=n(t).attr(i);return u!=null?u.toLowerCase()=="true":r},_getSkewClass:function(n,t,i){var h=n.width(),c=n.height(),f=n.offset().left,e=n.offset().left+h,o=n.offset().top,s=n.offset().top+c,r=h*.3,u=c*.3;return te-r&&ie-r&&i>s-u?"e-m-skew-bottomright":ts-u?"e-m-skew-bottomleft":t>f+r&&ie-r?"e-m-skew-right":i>s-u?"e-m-skew-bottom":"e-m-skew-center"},_removeSkewClass:function(t){n(t).removeClass("e-m-skew-top e-m-skew-bottom e-m-skew-left e-m-skew-right e-m-skew-topleft e-m-skew-topright e-m-skew-bottomleft e-m-skew-bottomright e-m-skew-center e-skew-top e-skew-bottom e-skew-left e-skew-right e-skew-topleft e-skew-topright e-skew-bottomleft e-skew-bottomright e-skew-center")},_getObjectKeys:function(n){var t,i=[];if(n=Object.prototype.toString.call(n)===Object.prototype.toString()?n:{},!Object.keys){for(t in n)n.hasOwnProperty(t)&&i.push(t);return i}if(Object.keys)return Object.keys(n)},_touchStartPoints:function(n,t){if(n){var i=n.touches?n.touches[0]:n;t._distX=0;t._distY=0;t._moved=!1;t._pointX=i.pageX;t._pointY=i.pageY}},_isTouchMoved:function(n,t){if(n){var i=n.touches?n.touches[0]:n,f=i.pageX-t._pointX,e=i.pageY-t._pointY,o=Date.now(),r,u;return t._pointX=i.pageX,t._pointY=i.pageY,t._distX+=f,t._distY+=e,r=Math.abs(t._distX),u=Math.abs(t._distY),!(r<5&&u<5)}},listenEvents:function(n,i,r,u,f,e){for(var o=0;o0)return e=i.parents(),f=n("body").children(),!t.isNullOrUndefined(i)&&i.length>0&&f.splice(f.index(r),1),n(f).each(function(n,t){e.push(t)}),u=Math.max.apply(u,n.map(e,function(t){if(n(t).css("position")!="static")return parseInt(n(t).css("z-index"))||1})),!u||u<1e4?u=1e4:u+=1,u},isValidAttr:function(t,i){var t=n(t)[0],r;return typeof t[i]!="undefined"?!0:(r=!1,n.each(t,function(n){if(n.toLowerCase()==i.toLowerCase())return r=!0,!1}),r)}};n.extend(t,t.util);t.widgetBase={droppables:{"default":[]},resizables:{"default":[]},_renderEjTemplate:function(i,r,u,f,e){var o=null;if((typeof i=="object"||i.startsWith("#")||i.startsWith("."))&&(o=n(i).attr("type")),o){if(o=o.toLowerCase(),t.template[o])return t.template[o](this,i,r,u,f)}else if(!t.isNullOrUndefined(e))return t.template["text/x-"+e](this,i,r,u,f);return t.template.render(this,i,r,u,f)},destroy:function(){var u,r,f,i;if(!this._trigger("destroy")){this.model.enablePersistence&&(this.persistState(),n(window).off("unload",this._persistHandler));try{this._destroy()}catch(e){}for(u=this.element.data("ejWidgets")||[],i=0;i-1,c){n.fn.off.apply(t,u?[i,r,f[3]]:[i,r]);e.splice(o,1);break}return this},_trigger:function(i,r){var f=null,e,u,o={},s;return(n.extend(o,r),i in this.model&&(f=this.model[i]),f&&(typeof f=="string"&&(f=t.util.getObject(f,window)),n.isFunction(f)&&(u=t.event(i,this.model,r),e=f.call(this,u),r&&n.extend(r,u),u.cancel||!t.isNullOrUndefined(e))))?e===!1||u.cancel:(s=Boolean(r),r=r||{},r.originalEventType=i,r.type=this.pluginName+i,u=n.Event(r.type,t.event(r.type,this.model,r)),this.element&&this.element.trigger(u),s&&n.extend(r,u),t.isOnWebForms&&u.cancel==!1&&this.model.serverEvents&&this.model.serverEvents.length&&t.raiseWebFormsServerEvents(i,r,o),u.cancel)},setModel:function(t,i){var r,f,o,u;if(!this._trigger("modelChange",{changes:t})){for(r in t){if(!i){if(this.model[r]===t[r]){delete t[r];continue}if(n.isPlainObject(t[r])&&(e(this.model[r],t[r]),n.isEmptyObject(t[r]))){delete t[r];continue}}if(this.dataTypes&&(f=this._isValidModelValue(r,this.dataTypes,t),f!==!0))throw"setModel - Invalid input for property :"+r+" - "+f;this.model.notifyOnEachPropertyChanges&&this.model[r]!==t[r]&&(o={oldValue:this.model[r],newValue:t[r]},t[r]=this._trigger(r+"Change",o)?this.model[r]:o.newValue)}n.isEmptyObject(t)||(this._setFirst?(u=t.dataSource,u&&delete t.dataSource,n.extend(!0,this.model,t),u&&(this.model.dataSource=u instanceof Array?u.slice():u,t.dataSource=this.model.dataSource),this._setModel&&this._setModel(t)):this._setModel&&this._setModel(t)===!1||n.extend(!0,this.model,t),"enablePersistence"in t&&this._setState(t.enablePersistence))}},option:function(r,u,f){if(!r)return this.model;if(n.isPlainObject(r))return this.setModel(r,f);if(typeof r=="string"){r=r.replace(/^model\./,"");var e=t.getObject(r,this.model);if(u===i&&!f)return e;if(r==="enablePersistence")return this._setState(u);if(f&&u===t.extensions.modelGUID)return this._setModel(t.createObject(r,t.getObject(r,this.model),{}));if(f||t.getObject(r,this.model)!==u)return this.setModel(t.createObject(r,u,{}),f)}return i},_isValidModelValue:function(n,t,i){var r=t[n],u=i[n],f,e,o;if(!r)return!0;if(typeof r=="string"){if(r=="enum"&&(i[n]=u?u.toString().toLowerCase():u,r="string"),r==="array"){if(Object.prototype.toString.call(u)==="[object Array]")return!0}else if(r==="data"||r==="parent"||typeof u===r)return!0;return"Expected type - "+r}if(u instanceof Array){for(e=0;e=0){delete u[r];return}t.push(n);for(var f in n)n.hasOwnProperty(f)&&i(n[f],f,n);t.pop();return}}var t=[];return i(n,"obj",null),n},stringify:function(n,i){for(var f,u=this.observables,r=0;r"),u=t.preferredCulture(u)?u:"en-US",f=i,l=i.split("{0:"),a=i.split("}"),h=l[0],c=a[1],typeof r=="string"&&n.isNumeric(r)&&(r=Number(r)),i.indexOf("{0:")!=-1)return v=new RegExp("\\{0(:([^\\}]+))?\\}","gm"),s=v.exec(i),s!=null&&r!=null?h!=null&&c!=null?h+t.format(r,s[2],u)+c:t.format(r,s[2],u):r!=null?r:"";if(f.startsWith("{")&&!f.startsWith("{0:")){var o=f.split(""),r=(r||"")+"",p=r.split(""),w=/[0aA\*CN<>\?]/gm;for(e=0,y=0;e0&&n.isPlainObject(p)&&(r=t.copyObject({},p)),!b){h.prototype._requiresID!==!0||n(this[y]).attr("id")||s.attr("id",c("ejControl_"));r&&typeof r!="object"?o(f+": methods/properties can be accessed only after plugin creation"):(h.prototype.defaults&&!t.isNullOrUndefined(t.setCulture)&&"locale"in h.prototype.defaults&&f!="ejChart"&&(!r||"locale"in r?t.isNullOrUndefined(r)&&(r={},r.locale=t.setCulture().name):r.locale=t.setCulture().name),new h(s,r));continue}if(r)if(u=[].slice.call(arguments,1),this.length>0&&u[0]&&p==="option"&&n.isPlainObject(u[0])&&(u[0]=t.copyObject({},u[0])),n.isPlainObject(r))l.setModel(r);else if((r.indexOf("_")===0||t.isNullOrUndefined(a=t.getObject(r,l)))&&r.indexOf("model.")!==0)o(e+": function/property - "+r+" does not exist");else{if(!a||!n.isFunction(a)){if(arguments.length==1)return a;l.option(r,arguments[1]);continue}if(w=a.apply(l,u),w!==i)return w}}return f.indexOf("ejm")!=-1&&t.widget.registerInstance(s,f,e,h.prototype),this};t.widget.register(f,e,h.prototype);t.loadLocale(f)};t.loadLocale=function(i){for(var f=t.locales,r=0,u=f.length;r1?t[1]:i},set:function(n,t,i){typeof t=="object"&&(t=JSON.stringify(t));t=escape(t)+(i==null?"":"; expires="+i.toUTCString());document.cookie=n+"="+t}};u={getActionFromCode:function(n,t,i,r,f){var s,o,e;i=i||!1;r=r||!1;f=f||!1;for(s in n)if(s!=="focus")for(o=u.getKeyObject(n[s]),e=0;e9&&window.navigator.msPointerEnabled,i.pointerEnabled=window.navigator.pointerEnabled,i};t.eventType={mouseDown:"mousedown touchstart",mouseMove:"mousemove touchmove",mouseUp:"mouseup touchend",mouseLeave:"mouseleave touchcancel",click:"click touchend"};t.event=function(t,i,r){return n.extend(r||{},{type:t,model:i,cancel:!1})};t.proxy=function(n,t,i){return!n||typeof n!="function"?null:"on"in n&&t?i?n.on(t,i):n.on(t):function(){var r=i?[i]:[];return r.push.apply(r,arguments),n.apply(t||this,r)}};t.hasStyle=function(n){var r=document.documentElement.style,i,t;if(n in r)return!0;for(i=["ms","Moz","Webkit","O","Khtml"],n=n[0].toUpperCase()+n.slice(1),t=0;t",i,"<\/div>"].join(""));var e={prop:f,index:u};return n(i).render(r,e)};t.isPlainObject=function(n){if(!n||t.DataManager!==i&&n instanceof t.DataManager||typeof n!="object"||n.nodeType||jQuery.isWindow(n))return!1;try{if(n.constructor&&!n.constructor.prototype.hasOwnProperty("isPrototypeOf"))return!1}catch(f){return!1}var r,u=t.support.isOwnLast;for(r in n)if(u)break;return r===i||n.hasOwnProperty(r)};f=!1;t.util.valueFunction=function(n){return function(r,u){var e=t.getObject(n,this.model);if(f===!1&&(f=t.getObject("observables.getValue",t.widget)),r===i)return t.isNullOrUndefined(f)?typeof e=="function"?e.call(this):e:f(e,u);typeof e=="function"?(this["ob.values"][n]=r,e.call(this,r)):t.createObject(n,r,this.model)}};t.util.getVal=function(n){return typeof n=="function"?n():n};t.support={isOwnLast:function(){var n=function(){this.a=1},t;n.prototype.b=1;for(t in new n)return t==="b"}(),outerHTML:function(){return document.createElement("div").outerHTML!==i}()};o=t.throwError=function(n){try{throw new Error(n);}catch(t){throw t.message+"\n"+t.stack;}};t.getRandomValue=function(n,r){var u,f;return n===i||r===i?t.throwError("Min and Max values are required for generating a random number"):("crypto"in window&&"getRandomValues"in crypto?(f=new Uint16Array(1),window.crypto.getRandomValues(f),u=f[0]%(r-n)+n):u=Math.random()*(r-n)+n,u|0)};t.extensions={};t.extensions.modelGUID="{0B1051BA-1CCB-42C2-A3B5-635389B92A50}"}(window.jQuery,window.Syncfusion),function(){$.fn.addEleAttrs=function(n){var t=$(this);$.each(n,function(n,i){i&&i.specified&&t.attr(i.name,i.value)})};$.fn.removeEleAttrs=function(n){return this.each(function(){var t=$(this),i=$(this.attributes).clone();$.each(i,function(i,r){r&&r.specified&&n.test(r.name)&&t.removeAttr(r.name)})})};$.fn.attrNotStartsWith=function(n){var u=this,r=[],i,t;for(this.each(function(){i=$(this.attributes).clone()}),t=0;t");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("<\/head>"+u+f[0].innerHTML+"<\/body><\/html>")):(u="",r.document.write(""),e.each(function(t,i){i.tagName=="LINK"&&n(i).attr("href",i.href);u+=i.outerHTML}),r.document.writeln(u+"<\/head>"),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||"")},_preventDefaultException:function(n,t){if(n)for(var i in t)if(t[i].test(n[i]))return!0;return!1},getMaxZindex:function(){var t=1;return t=Math.max.apply(null,n.map(n("body *"),function(t){if(n(t).css("position")=="absolute"||n(t).css("position")=="fixed")return parseInt(n(t).css("z-index"))||1})),(t==i||t==null)&&(t=1),t},blockDefaultActions:function(n){n.cancelBubble=!0;n.returnValue=!1;n.preventDefault&&n.preventDefault();n.stopPropagation&&n.stopPropagation()},getDimension:function(t,i){var e,u=n(t).parents().andSelf().filter(":hidden"),r,f;return u&&(r={visibility:"hidden",display:"block"},f=[],u.each(function(){var t={};for(var n in r)t[n]=this.style[n],this.style[n]=r[n];f.push(t)}),e=/(outer)/g.test(i)?n(t)[i](!0):n(t)[i](),u.each(function(n){var i=f[n];for(var t in r)this.style[t]=i[t]})),e},transitionEndEvent:function(){return{"":"transitionend",webkit:"webkitTransitionEnd",Moz:"transitionend",O:"otransitionend",ms:"MSTransitionEnd"}[t.userAgent()]},animationEndEvent:function(){return{"":"animationend",webkit:"webkitAnimationEnd",Moz:"animationend",O:"webkitAnimationEnd",ms:"animationend"}[t.userAgent()]},startEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchstart":"mousedown"},endEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchend":"mouseup"},moveEvent:function(){return t.isTouchDevice()||n.support.hasPointer?n.support.hasPointer&&!t.isMobile()?"ejtouchmove":"touchmove":"mousemove"},cancelEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"touchcancel":"mousecancel"},tapEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"tap":"click"},tapHoldEvent:function(){return t.isTouchDevice()||n.support.hasPointer?"taphold":"click"},isDevice:function(){return t.getBooleanVal(n("head"),"data-ej-forceset",!1)?t.getBooleanVal(n("head"),"data-ej-device",this._device()):this._device()},isPortrait:function(){var n=document.documentElement;return n&&n.clientWidth/n.clientHeight<1.1},isLowerResolution:function(){return window.innerWidth<=640&&t.isPortrait()&&t.isDevice()||window.innerWidth<=800&&!t.isDevice()||window.innerWidth<=800&&!t.isPortrait()&&t.isWindows()&&t.isDevice()||t.isMobile()},isIOSWebView:function(){return/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent)},isAndroidWebView:function(){return!(typeof Android=="undefined")},isWindowsWebView:function(){return location.href.indexOf("x-wmapp")!=-1},_device:function(){return/Android|BlackBerry|iPhone|iPad|iPod|IEMobile|kindle|windows\sce|palm|smartphone|iemobile|mobile|pad|xoom|sch-i800|playbook/i.test(navigator.userAgent.toLowerCase())},isMobile:function(){return/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(navigator.userAgent.toLowerCase())&&/mobile/i.test(navigator.userAgent.toLowerCase())||t.getBooleanVal(n("head"),"data-ej-mobile",!1)===!0},isTablet:function(){return/ipad|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase())||t.getBooleanVal(n("head"),"data-ej-tablet",!1)===!0||!t.isMobile()&&t.isDevice()},isTouchDevice:function(){return("ontouchstart"in window||window.navigator.msPointerEnabled&&t.isMobile())&&this.isDevice()},getClearString:function(t){return n.trim(t.replace(/\s+/g," ").replace(/(\r\n|\n|\r)/gm,"").replace(new RegExp(">[\n\t ]+<","g"),"><"))},getBooleanVal:function(t,i,r){var u=n(t).attr(i);return u!=null?u.toLowerCase()=="true":r},_getSkewClass:function(n,t,i){var h=n.width(),c=n.height(),f=n.offset().left,e=n.offset().left+h,o=n.offset().top,s=n.offset().top+c,r=h*.3,u=c*.3;return te-r&&ie-r&&i>s-u?"e-m-skew-bottomright":ts-u?"e-m-skew-bottomleft":t>f+r&&ie-r?"e-m-skew-right":i>s-u?"e-m-skew-bottom":"e-m-skew-center"},_removeSkewClass:function(t){n(t).removeClass("e-m-skew-top e-m-skew-bottom e-m-skew-left e-m-skew-right e-m-skew-topleft e-m-skew-topright e-m-skew-bottomleft e-m-skew-bottomright e-m-skew-center e-skew-top e-skew-bottom e-skew-left e-skew-right e-skew-topleft e-skew-topright e-skew-bottomleft e-skew-bottomright e-skew-center")},_getObjectKeys:function(n){var t,i=[];if(n=Object.prototype.toString.call(n)===Object.prototype.toString()?n:{},!Object.keys){for(t in n)n.hasOwnProperty(t)&&i.push(t);return i}if(Object.keys)return Object.keys(n)},_touchStartPoints:function(n,t){if(n){var i=n.touches?n.touches[0]:n;t._distX=0;t._distY=0;t._moved=!1;t._pointX=i.pageX;t._pointY=i.pageY}},_isTouchMoved:function(n,t){if(n){var i=n.touches?n.touches[0]:n,f=i.pageX-t._pointX,e=i.pageY-t._pointY,o=Date.now(),r,u;return t._pointX=i.pageX,t._pointY=i.pageY,t._distX+=f,t._distY+=e,r=Math.abs(t._distX),u=Math.abs(t._distY),!(r<5&&u<5)}},listenEvents:function(n,i,r,u,f,e){for(var o=0;o0)return e=i.parents(),f=n("body").children(),!t.isNullOrUndefined(i)&&i.length>0&&f.splice(f.index(r),1),n(f).each(function(n,t){e.push(t)}),u=Math.max.apply(u,n.map(e,function(t){if(n(t).css("position")!="static")return parseInt(n(t).css("z-index"))||1})),!u||u<1e4?u=1e4:u+=1,u},isValidAttr:function(t,i){var t=n(t)[0],r;return typeof t[i]!="undefined"?!0:(r=!1,n.each(t,function(n){if(n.toLowerCase()==i.toLowerCase())return r=!0,!1}),r)}};n.extend(t,t.util);t.widgetBase={droppables:{"default":[]},resizables:{"default":[]},_renderEjTemplate:function(i,r,u,f,e){var o=null;if((typeof i=="object"||i.startsWith("#")||i.startsWith("."))&&(o=n(i).attr("type")),o){if(o=o.toLowerCase(),t.template[o])return t.template[o](this,i,r,u,f)}else if(!t.isNullOrUndefined(e))return t.template["text/x-"+e](this,i,r,u,f);return t.template.render(this,i,r,u,f)},destroy:function(){var u,r,f,i;if(!this._trigger("destroy")){this.model.enablePersistence&&(this.persistState(),n(window).off("unload",this._persistHandler));try{this._destroy()}catch(e){}for(u=this.element.data("ejWidgets")||[],i=0;i-1,c){n.fn.off.apply(t,u?[i,r,f[3]]:[i,r]);e.splice(o,1);break}return this},_trigger:function(i,r){var f=null,e,u,o={},s;return(n.extend(o,r),i in this.model&&(f=this.model[i]),f&&(typeof f=="string"&&(f=t.util.getObject(f,window)),n.isFunction(f)&&(u=t.event(i,this.model,r),e=f.call(this,u),r&&n.extend(r,u),u.cancel||!t.isNullOrUndefined(e))))?e===!1||u.cancel:(s=Boolean(r),r=r||{},r.originalEventType=i,r.type=this.pluginName+i,u=n.Event(r.type,t.event(r.type,this.model,r)),this.element&&this.element.trigger(u),s&&n.extend(r,u),t.isOnWebForms&&u.cancel==!1&&this.model.serverEvents&&this.model.serverEvents.length&&t.raiseWebFormsServerEvents(i,r,o),u.cancel)},setModel:function(t,i){var r,f,o,u;if(!this._trigger("modelChange",{changes:t})){for(r in t){if(!i){if(this.model[r]===t[r]){delete t[r];continue}if(n.isPlainObject(t[r])&&(e(this.model[r],t[r]),n.isEmptyObject(t[r]))){delete t[r];continue}}if(this.dataTypes&&(f=this._isValidModelValue(r,this.dataTypes,t),f!==!0))throw"setModel - Invalid input for property :"+r+" - "+f;this.model.notifyOnEachPropertyChanges&&this.model[r]!==t[r]&&(o={oldValue:this.model[r],newValue:t[r]},t[r]=this._trigger(r+"Change",o)?this.model[r]:o.newValue)}n.isEmptyObject(t)||(this._setFirst?(u=t.dataSource,u&&delete t.dataSource,n.extend(!0,this.model,t),u&&(this.model.dataSource=u instanceof Array?u.slice():u,t.dataSource=this.model.dataSource),this._setModel&&this._setModel(t)):this._setModel&&this._setModel(t)===!1||n.extend(!0,this.model,t),"enablePersistence"in t&&this._setState(t.enablePersistence))}},option:function(r,u,f){if(!r)return this.model;if(n.isPlainObject(r))return this.setModel(r,f);if(typeof r=="string"){r=r.replace(/^model\./,"");var e=t.getObject(r,this.model);if(u===i&&!f)return e;if(r==="enablePersistence")return this._setState(u);if(f&&u===t.extensions.modelGUID)return this._setModel(t.createObject(r,t.getObject(r,this.model),{}));if(f||t.getObject(r,this.model)!==u)return this.setModel(t.createObject(r,u,{}),f)}return i},_isValidModelValue:function(n,t,i){var r=t[n],u=i[n],f,e,o;if(!r)return!0;if(typeof r=="string"){if(r=="enum"&&(i[n]=u?u.toString().toLowerCase():u,r="string"),r==="array"){if(Object.prototype.toString.call(u)==="[object Array]")return!0}else if(r==="data"||r==="parent"||typeof u===r)return!0;return"Expected type - "+r}if(u instanceof Array){for(e=0;e=0){delete u[r];return}t.push(n);for(var f in n)n.hasOwnProperty(f)&&i(n[f],f,n);t.pop();return}}var t=[];return i(n,"obj",null),n},stringify:function(n,i){for(var f,u=this.observables,r=0;r"),u=t.preferredCulture(u)?u:"en-US",f=i,l=i.split("{0:"),a=i.split("}"),h=l[0],c=a[1],typeof r=="string"&&n.isNumeric(r)&&(r=Number(r)),i.indexOf("{0:")!=-1)return v=new RegExp("\\{0(:([^\\}]+))?\\}","gm"),s=v.exec(i),s!=null&&r!=null?h!=null&&c!=null?h+t.format(r,s[2],u)+c:t.format(r,s[2],u):r!=null?r:"";if(f.startsWith("{")&&!f.startsWith("{0:")){var o=f.split(""),r=(r||"")+"",p=r.split(""),w=/[0aA\*CN<>\?]/gm;for(e=0,y=0;e0&&n.isPlainObject(p)&&(r=t.copyObject({},p)),!b){h.prototype._requiresID!==!0||n(this[y]).attr("id")||s.attr("id",c("ejControl_"));r&&typeof r!="object"?o(f+": methods/properties can be accessed only after plugin creation"):(h.prototype.defaults&&!t.isNullOrUndefined(t.setCulture)&&"locale"in h.prototype.defaults&&f!="ejChart"&&(!r||"locale"in r?t.isNullOrUndefined(r)&&(r={},r.locale=t.setCulture().name):r.locale=t.setCulture().name),new h(s,r));continue}if(r)if(u=[].slice.call(arguments,1),this.length>0&&u[0]&&p==="option"&&n.isPlainObject(u[0])&&(u[0]=t.copyObject({},u[0])),n.isPlainObject(r))l.setModel(r);else if((r.indexOf("_")===0||t.isNullOrUndefined(a=t.getObject(r,l)))&&r.indexOf("model.")!==0)o(e+": function/property - "+r+" does not exist");else{if(!a||!n.isFunction(a)){if(arguments.length==1)return a;l.option(r,arguments[1]);continue}if(w=a.apply(l,u),w!==i)return w}}return f.indexOf("ejm")!=-1&&t.widget.registerInstance(s,f,e,h.prototype),this};t.widget.register(f,e,h.prototype);t.loadLocale(f)};t.loadLocale=function(i){for(var f=t.locales,r=0,u=f.length;r1?t[1]:i},set:function(n,t,i){typeof t=="object"&&(t=JSON.stringify(t));t=escape(t)+(i==null?"":"; expires="+i.toUTCString());document.cookie=n+"="+t}};u={getActionFromCode:function(n,t,i,r,f){var s,o,e;i=i||!1;r=r||!1;f=f||!1;for(s in n)if(s!=="focus")for(o=u.getKeyObject(n[s]),e=0;e9&&window.navigator.msPointerEnabled,i.pointerEnabled=window.navigator.pointerEnabled,i};t.eventType={mouseDown:"mousedown touchstart",mouseMove:"mousemove touchmove",mouseUp:"mouseup touchend",mouseLeave:"mouseleave touchcancel",click:"click touchend"};t.event=function(t,i,r){return n.extend(r||{},{type:t,model:i,cancel:!1})};t.proxy=function(n,t,i){return!n||typeof n!="function"?null:"on"in n&&t?i?n.on(t,i):n.on(t):function(){var r=i?[i]:[];return r.push.apply(r,arguments),n.apply(t||this,r)}};t.hasStyle=function(n){var r=document.documentElement.style,i,t;if(n in r)return!0;for(i=["ms","Moz","Webkit","O","Khtml"],n=n[0].toUpperCase()+n.slice(1),t=0;t",i,"<\/div>"].join(""));var e={prop:f,index:u};return n(i).render(r,e)};t.isPlainObject=function(n){if(!n||t.DataManager!==i&&n instanceof t.DataManager||typeof n!="object"||n.nodeType||jQuery.isWindow(n))return!1;try{if(n.constructor&&!n.constructor.prototype.hasOwnProperty("isPrototypeOf"))return!1}catch(f){return!1}var r,u=t.support.isOwnLast;for(r in n)if(u)break;return r===i||n.hasOwnProperty(r)};f=!1;t.util.valueFunction=function(n){return function(r,u){var e=t.getObject(n,this.model);if(f===!1&&(f=t.getObject("observables.getValue",t.widget)),r===i)return t.isNullOrUndefined(f)?typeof e=="function"?e.call(this):e:f(e,u);typeof e=="function"?(this["ob.values"][n]=r,e.call(this,r)):t.createObject(n,r,this.model)}};t.util.getVal=function(n){return typeof n=="function"?n():n};t.support={isOwnLast:function(){var n=function(){this.a=1},t;n.prototype.b=1;for(t in new n)return t==="b"}(),outerHTML:function(){return document.createElement("div").outerHTML!==i}()};o=t.throwError=function(n){try{throw new Error(n);}catch(t){throw t.message+"\n"+t.stack;}};t.getRandomValue=function(n,r){var u,f;return n===i||r===i?t.throwError("Min and Max values are required for generating a random number"):("crypto"in window&&"getRandomValues"in crypto?(f=new Uint16Array(1),window.crypto.getRandomValues(f),u=f[0]%(r-n)+n):u=Math.random()*(r-n)+n,u|0)};t.extensions={};t.extensions.modelGUID="{0B1051BA-1CCB-42C2-A3B5-635389B92A50}"}(window.jQuery,window.Syncfusion),function(){$.fn.addEleAttrs=function(n){var t=$(this);$.each(n,function(n,i){i&&i.specified&&t.attr(i.name,i.value)})};$.fn.removeEleAttrs=function(n){return this.each(function(){var t=$(this),i=$(this.attributes).clone();$.each(i,function(i,r){r&&r.specified&&n.test(r.name)&&t.removeAttr(r.name)})})};$.fn.attrNotStartsWith=function(n){var u=this,r=[],i,t;for(this.each(function(){i=$(this.attributes).clone()}),t=0;t