diff --git a/dist/amd/aurelia-syncfusion-bridge.d.ts b/dist/amd/aurelia-syncfusion-bridge.d.ts
index c40e7f9e..4678f777 100644
--- a/dist/amd/aurelia-syncfusion-bridge.d.ts
+++ b/dist/amd/aurelia-syncfusion-bridge.d.ts
@@ -163,84 +163,6 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejColorPicker 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 ejComboBox extends WidgetBase {
constructor(element?: any);
}
@@ -417,6 +339,84 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejSplitter 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 Sheet {
}
diff --git a/dist/aurelia-syncfusion-bridge.d.ts b/dist/aurelia-syncfusion-bridge.d.ts
index 497acd76..94e0fe85 100644
--- a/dist/aurelia-syncfusion-bridge.d.ts
+++ b/dist/aurelia-syncfusion-bridge.d.ts
@@ -159,84 +159,6 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejColorPicker 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 ejComboBox extends WidgetBase {
constructor(element?: any);
}
@@ -413,6 +335,84 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejSplitter 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 Sheet {
}
diff --git a/dist/aurelia-syncfusion-bridge.js b/dist/aurelia-syncfusion-bridge.js
index 5a28d889..34fb0b4f 100644
--- a/dist/aurelia-syncfusion-bridge.js
+++ b/dist/aurelia-syncfusion-bridge.js
@@ -561,557 +561,305 @@ export class ejColorPicker extends WidgetBase {
}
-export {customAttribute, bindable, inject, inlineView, customElement, children, TemplatingEngine};
+@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;
+ }
+}
-export const constants = {
- eventPrefix: 'e-on-',
- bindablePrefix: 'e-',
- attributePrefix: 'ej-',
- elementPrefix: 'ej-',
- aureliaTemplateString: ''
-};
-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);
- }
- }
- }
- };
+@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 ejCurrencyTextbox extends WidgetBase {
+ constructor(element) {
+ super();
+ this.isEditor = true;
+ this.element = element;
+ }
}
-function registerProp(util, option, target, behaviorResource, descriptor) {
- let nameOrConfigOrTarget = {
- name: util.getBindablePropertyName(option)
- };
- if (option === 'widget') {
- nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay;
+@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;
}
-
- 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;
- };
+@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;
+ }
}
-/**
-* 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
+
+@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;
}
- 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();
+@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;
}
+}
- 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}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;
}
+}
- 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}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;
}
+}
- 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];
- }
- }
- }
- unbindViews(obj) {
- for (let i = 0; i < obj.views.length; i++) {
- let view = obj.views[i];
- view.unbind();
- }
+@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;
}
-
}
-@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;
- }
+@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;
+ }
}
-export class Util {
- getBindablePropertyName(propertyName: string): string {
- let name = `${constants.bindablePrefix}${propertyName}`;
- return this._unhyphenate(name);
+@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;
}
+}
- _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;
- }
+@inlineView(`${constants.aureliaTemplateString}`)
+@customElement(`${constants.elementPrefix}column`)
- 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;
- }
+@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;
}
- return property;
}
+}
- hasValue(prop) {
- return typeof (prop) !== 'undefined' && prop !== null;
- }
- processData(value) {
- if (value === 'true') {
- return true;
- } else if (value === 'false') {
- return false;
- } else if (+value + '' === value) {
- return +value;
- }
- return value;
+@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();
}
}
-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}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;
}
+}
- 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);
+@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;
}
+}
- 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 });
+@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;
}
+}
- unsubscribe() {
- if (this.subscription) {
- this.subscription.dispose();
- this.subscription = null;
- }
- }
- unbind() {
- this.unsubscribe();
+@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';
}
+}
-/**
- * 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);
- }
- }
- });
- }
- }
+@inlineView(`${constants.aureliaTemplateString}`)
+@customElement(`${constants.elementPrefix}kanban-column`)
- detached() {
- if (this.templateProcessor) {
- this.templateProcessor.clearTempalte();
- }
- if (this.widget) {
- this.widget.destroy();
- }
- }
+@generateBindables('columns', ['headerText', 'totalCount', 'totalCount', 'key', 'allowDrop', 'allowDrag', 'isCollapsed', 'constraints', 'constraints', 'constraints', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])
+
+export class KanbanColumn {
}
-@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'])
+
+@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 ejComboBox extends WidgetBase {
+export class ejLinearGauge extends WidgetBase {
constructor(element) {
super();
- this.isEditor = true;
this.element = element;
}
}
-@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}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 ejCurrencyTextbox extends WidgetBase {
+export class ejListBox extends WidgetBase {
constructor(element) {
super();
- this.isEditor = true;
this.element = element;
}
}
-@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']})
+@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 ejDatePicker extends WidgetBase {
+export class ejListView extends WidgetBase {
constructor(element) {
super();
- this.isEditor = true;
this.element = element;
}
}
-@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;
- }
+@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 {
}
-@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']})
+@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 ejDateTimePicker extends WidgetBase {
+export class ejMap extends WidgetBase {
+ @children(`${constants.elementPrefix}layer`) layers = [];
constructor(element) {
super();
- this.isEditor = true;
this.element = element;
+ this.hasChildProperty = true;
+ this.childPropertyName = 'layers';
}
}
-@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'])
+@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 ejDiagram extends WidgetBase {
+export class ejMaskEdit extends WidgetBase {
constructor(element) {
super();
+ this.isEditor = true;
this.element = element;
}
}
-@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']})
+@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 ejDialog extends WidgetBase {
+export class ejMenu extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1119,11 +867,11 @@ export class ejDialog extends WidgetBase {
}
-@customElement(`${constants.elementPrefix}digital-gauge`)
+@customElement(`${constants.elementPrefix}navigation-drawer`)
@inlineView(`${constants.aureliaTemplateString}`)
-@generateBindables('ejDigitalGauge', ['exportSettings', 'frame', 'height', 'isResponsive', 'enableResize', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])
+@generateBindables('ejNavigationDrawer', ['ajaxSettings', 'contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width', 'isPaneOpen'])
@inject(Element)
-export class ejDigitalGauge extends WidgetBase {
+export class ejNavigationDrawer extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1131,10 +879,10 @@ export class ejDigitalGauge extends WidgetBase {
}
-@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']})
+@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 ejDropDownList extends WidgetBase {
+export class ejNumericTextbox extends WidgetBase {
constructor(element) {
super();
this.isEditor = true;
@@ -1143,11 +891,11 @@ export class ejDropDownList extends WidgetBase {
}
-@customElement(`${constants.elementPrefix}file-explorer`)
+@customElement(`${constants.elementPrefix}overview`)
@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('ejOverview', ['sourceID', 'height', 'width'], [], {'sourceID': ['sourceId']})
@inject(Element)
-export class ejFileExplorer extends WidgetBase {
+export class ejOverview extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1155,11 +903,11 @@ export class ejFileExplorer extends WidgetBase {
}
-@customElement(`${constants.elementPrefix}gantt`)
+@customElement(`${constants.elementPrefix}pager`)
@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('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 ejGantt extends WidgetBase {
+export class ejPager extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1167,55 +915,35 @@ export class ejGantt extends WidgetBase {
}
+@customElement(`${constants.elementPrefix}pdf-viewer`)
@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;
- }
- }
-}
-
-
-@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) {
+@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 ejPdfViewer extends WidgetBase {
+ constructor(element) {
super();
this.element = element;
- this.hasChildProperty = true;
- this.childPropertyName = 'columns';
- this.templateProcessor = new TemplateProcessor(this, templateEngine);
- this.templateProcessor.initTemplate();
}
}
-@customAttribute(`${constants.attributePrefix}group-button`)
-@generateBindables('ejGroupButton', ['cssClass', 'dataSource', 'enableRTL', 'enabled', 'fields', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'query', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], {'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 ejGroupButton extends WidgetBase {
+export class ejPercentageTextbox extends WidgetBase {
constructor(element) {
super();
+ this.isEditor = true;
this.element = element;
}
}
-@customElement(`${constants.elementPrefix}heat-map`)
+@customElement(`${constants.elementPrefix}pivot-chart`)
@inlineView(`${constants.aureliaTemplateString}`)
-@generateBindables('ejHeatMap', ['width', 'height', 'id', 'showTooltip', 'tooltipSettings', 'itemsSource', 'heatMapCell', 'isResponsive', 'enableVirtualization', 'defaultColumnStyle', 'legendCollection', 'itemsMapping', 'colorMappingCollection'])
+@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 ejHeatMap extends WidgetBase {
+export class ejPivotChart extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1223,11 +951,11 @@ export class ejHeatMap extends WidgetBase {
}
-@customElement(`${constants.elementPrefix}heat-map-legend`)
+@customElement(`${constants.elementPrefix}pivot-gauge`)
@inlineView(`${constants.aureliaTemplateString}`)
-@generateBindables('ejHeatMapLegend', ['width', 'height', 'isResponsive', 'showLabel', 'colorMappingCollection', 'orientation', 'legendMode'])
+@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 ejHeatMapLegend extends WidgetBase {
+export class ejPivotGauge extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1235,35 +963,23 @@ export class ejHeatMapLegend extends WidgetBase {
}
-@customElement(`${constants.elementPrefix}kanban`)
+@customElement(`${constants.elementPrefix}pivot-grid`)
@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'])
+@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 ejKanban extends WidgetBase {
- @children(`${constants.elementPrefix}kanban-column`) columns = [];
+export class ejPivotGrid extends WidgetBase {
constructor(element) {
super();
this.element = element;
- this.hasChildProperty = true;
- this.childPropertyName = 'columns';
}
}
+@customElement(`${constants.elementPrefix}pivot-schema-designer`)
@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'])
+@generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'enableRTL', 'olap', 'enableDragDrop', 'height', 'locale', 'pivotControl', 'serviceMethods', 'url', 'width', 'layout'], [], {'enableRTL': ['enableRtl']})
@inject(Element)
-export class ejLinearGauge extends WidgetBase {
+export class ejPivotSchemaDesigner extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1271,10 +987,11 @@ export class ejLinearGauge extends WidgetBase {
}
-@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']})
+@customElement(`${constants.elementPrefix}pivot-tree-map`)
+@inlineView(`${constants.aureliaTemplateString}`)
+@generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials'])
@inject(Element)
-export class ejListBox extends WidgetBase {
+export class ejPivotTreeMap extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1282,11 +999,10 @@ export class ejListBox extends WidgetBase {
}
-@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'])
+@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 ejListView extends WidgetBase {
+export class ejProgressBar extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1295,199 +1011,9 @@ export class ejListView extends WidgetBase {
@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}item`)
-
-@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';
- }
-}
-
-
-@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;
- }
-}
-
-
-@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;
- }
-}
-
-
-@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;
- }
-}
-
-
-@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;
- }
-}
-
-
-@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;
- }
-}
-
-
-@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']})
-@inject(Element)
-export class ejPager extends WidgetBase {
- constructor(element) {
- super();
- 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'])
-@inject(Element)
-export class ejPdfViewer extends WidgetBase {
- constructor(element) {
- super();
- 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']})
-@inject(Element)
-export class ejPercentageTextbox 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']})
-@inject(Element)
-export class ejPivotChart extends WidgetBase {
- constructor(element) {
- super();
- this.element = element;
- }
-}
-
-
-@customElement(`${constants.elementPrefix}pivot-gauge`)
-@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']})
-@inject(Element)
-export class ejPivotGauge extends WidgetBase {
- constructor(element) {
- super();
- this.element = element;
- }
-}
-
-
-@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 ejPivotGrid extends WidgetBase {
- constructor(element) {
- super();
- this.element = element;
- }
-}
-
-
-@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 ejPivotSchemaDesigner extends WidgetBase {
- constructor(element) {
- super();
- this.element = element;
- }
-}
-
-
-@customElement(`${constants.elementPrefix}pivot-tree-map`)
-@inlineView(`${constants.aureliaTemplateString}`)
-@generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials'])
-@inject(Element)
-export class ejPivotTreeMap extends WidgetBase {
- constructor(element) {
- super();
- this.element = element;
- }
-}
-
-
-@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 ejProgressBar extends WidgetBase {
- constructor(element) {
- super();
- this.element = element;
- }
-}
-
-
-@inlineView(`${constants.aureliaTemplateString}`)
-@customElement(`${constants.elementPrefix}item`)
-
-@generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items'])
+@generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items'])
export class Item {
@children(`${constants.elementPrefix}template`) template = [];
@@ -1714,6 +1240,480 @@ export class ejSplitter extends WidgetBase {
}
+export {customAttribute, bindable, inject, inlineView, customElement, children, TemplatingEngine};
+
+export const constants = {
+ eventPrefix: 'e-on-',
+ bindablePrefix: 'e-',
+ attributePrefix: 'ej-',
+ elementPrefix: 'ej-',
+ aureliaTemplateString: ''
+};
+
+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)
+ };
+
+ if (option === 'widget') {
+ nameOrConfigOrTarget.defaultBindingMode = bindingMode.twoWay;
+ }
+
+ 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
+ }
+ 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();
+ }
+
+ 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);
+ }
+ });
+ }
+
+ 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];
+ }
+ }
+ }
+
+ 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];
+ }
+ }
+ }
+
+ unbindViews(obj) {
+ for (let i = 0; i < obj.views.length; i++) {
+ let view = obj.views[i];
+ view.unbind();
+ }
+ }
+
+}
+
+@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;
+ }
+
+}
+
+export class Util {
+
+ getBindablePropertyName(propertyName: string): string {
+ let name = `${constants.bindablePrefix}${propertyName}`;
+ return this._unhyphenate(name);
+ }
+
+ _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;
+ }
+
+ 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;
+ }
+
+ processData(value) {
+ if (value === 'true') {
+ return true;
+ } else if (value === 'false') {
+ return false;
+ } else if (+value + '' === value) {
+ return +value;
+ }
+ return value;
+ }
+}
+
+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));
+ }
+ }
+
+ 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();
+ }
+
+/**
+ * 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();
+ }
+ }
+}
+
@inlineView(`${constants.aureliaTemplateString}`)
@customElement(`${constants.elementPrefix}sheet`)
diff --git a/dist/commonjs/aurelia-syncfusion-bridge.d.ts b/dist/commonjs/aurelia-syncfusion-bridge.d.ts
index c40e7f9e..4678f777 100644
--- a/dist/commonjs/aurelia-syncfusion-bridge.d.ts
+++ b/dist/commonjs/aurelia-syncfusion-bridge.d.ts
@@ -163,84 +163,6 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejColorPicker 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 ejComboBox extends WidgetBase {
constructor(element?: any);
}
@@ -417,6 +339,84 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejSplitter 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 Sheet {
}
diff --git a/dist/dev/aurelia-syncfusion-bridge.d.ts b/dist/dev/aurelia-syncfusion-bridge.d.ts
index c40e7f9e..4678f777 100644
--- a/dist/dev/aurelia-syncfusion-bridge.d.ts
+++ b/dist/dev/aurelia-syncfusion-bridge.d.ts
@@ -163,84 +163,6 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejColorPicker 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 ejComboBox extends WidgetBase {
constructor(element?: any);
}
@@ -417,6 +339,84 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejSplitter 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 Sheet {
}
diff --git a/dist/es6/aurelia-syncfusion-bridge.d.ts b/dist/es6/aurelia-syncfusion-bridge.d.ts
index c40e7f9e..4678f777 100644
--- a/dist/es6/aurelia-syncfusion-bridge.d.ts
+++ b/dist/es6/aurelia-syncfusion-bridge.d.ts
@@ -163,84 +163,6 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejColorPicker 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 ejComboBox extends WidgetBase {
constructor(element?: any);
}
@@ -417,6 +339,84 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejSplitter 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 Sheet {
}
diff --git a/dist/system/aurelia-syncfusion-bridge.d.ts b/dist/system/aurelia-syncfusion-bridge.d.ts
index c40e7f9e..4678f777 100644
--- a/dist/system/aurelia-syncfusion-bridge.d.ts
+++ b/dist/system/aurelia-syncfusion-bridge.d.ts
@@ -163,84 +163,6 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejColorPicker 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 ejComboBox extends WidgetBase {
constructor(element?: any);
}
@@ -417,6 +339,84 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejSplitter 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 Sheet {
}
diff --git a/dist/temp/aurelia-syncfusion-bridge.js b/dist/temp/aurelia-syncfusion-bridge.js
index 196bb33b..825d2812 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.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.ejComboBox = 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.ejColorPicker = exports.ejCircularGauge = exports.ejCheckBox = exports.Series = exports.ejChart = exports.ejButton = exports.QualitativeRange = exports.ejBulletGraph = exports.ejBarcode = exports.ejAutocomplete = 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.WidgetBase = exports.Util = exports.Template = exports.TemplateProcessor = exports.constants = exports.TemplatingEngine = exports.children = exports.customElement = exports.inlineView = exports.inject = exports.bindable = exports.customAttribute = 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.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, _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, _class17, _dec42, _dec43, _dec44, _dec45, _class18, _desc3, _value3, _class19, _descriptor3, _dec46, _desc4, _value4, _class21, _dec47, _dec48, _dec49, _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;
+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, _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, _dec82, _class28, _desc3, _value3, _class29, _descriptor3, _dec83, _dec84, _dec85, _dec86, _dec87, _class31, _desc4, _value4, _class32, _descriptor4, _dec88, _dec89, _dec90, _class34, _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, _class55, _dec154, _dec155, _dec156, _dec157, _class56, _dec158, _dec159, _dec160, _dec161, _class57, _dec162, _dec163, _dec164, _dec165, _class58, _dec166, _dec167, _dec168, _dec169, _class59, _dec170, _dec171, _dec172, _dec173, _class60, _dec174, _dec175, _dec176, _class61, _dec177, _dec178, _dec179, _dec180, _class62, _desc7, _value7, _class63, _descriptor7, _dec181, _dec182, _dec183, _dec184, _dec185, _class65, _desc8, _value8, _class66, _descriptor8, _dec186, _dec187, _dec188, _dec189, _class68, _dec190, _dec191, _dec192, _class69, _dec193, _dec194, _dec195, _dec196, _dec197, _class70, _desc9, _value9, _class71, _descriptor9, _dec198, _dec199, _dec200, _class73, _dec201, _dec202, _dec203, _class74, _dec204, _dec205, _dec206, _dec207, _class75, _dec208, _dec209, _dec210, _class76, _dec211, _dec212, _dec213, _class77, _dec214, _dec215, _dec216, _dec217, _dec218, _class78, _desc10, _value10, _class79, _descriptor10, _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, _class87, _dec243, _dec244, _dec245, _dec246, _class88, _dec247, _class89, _dec248, _dec249, _dec250, _dec251, _class90, _desc11, _value11, _class91, _descriptor11, _dec252, _desc12, _value12, _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;
@@ -644,701 +644,171 @@ var ejColorPicker = exports.ejColorPicker = (_dec38 = (0, _aureliaTemplating.cus
return ejColorPicker;
}(WidgetBase)) || _class16) || _class16) || _class16);
-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: ''
-};
+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 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 ejComboBox(element) {
+ _classCallCheck(this, ejComboBox);
-function registerProp(util, option, target, behaviorResource, descriptor) {
- var nameOrConfigOrTarget = {
- name: util.getBindablePropertyName(option)
- };
+ var _this10 = _possibleConstructorReturn(this, _WidgetBase10.call(this));
- if (option === 'widget') {
- nameOrConfigOrTarget.defaultBindingMode = _aureliaBinding.bindingMode.twoWay;
+ _this10.isEditor = true;
+ _this10.element = element;
+ return _this10;
}
- var prop = new _aureliaTemplating.BindableProperty(nameOrConfigOrTarget);
- prop.registerWith(target, behaviorResource, descriptor);
-}
+ 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);
-function delayed() {
- return function (target, key, descriptor) {
- var taskQueue = (_aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container()).get(_aureliaTaskQueue.TaskQueue);
- var ptr = descriptor.value;
+ function ejCurrencyTextbox(element) {
+ _classCallCheck(this, ejCurrencyTextbox);
- descriptor.value = function () {
- var _this10 = this;
+ var _this11 = _possibleConstructorReturn(this, _WidgetBase11.call(this));
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
+ _this11.isEditor = true;
+ _this11.element = element;
+ return _this11;
+ }
- if (this.childPropertyName) {
- taskQueue.queueTask(function () {
- return ptr.apply(_this10, args);
- });
- } else {
- ptr.apply(this, args);
- }
- };
+ 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);
- return descriptor;
- };
-}
+ function ejDatePicker(element) {
+ _classCallCheck(this, ejDatePicker);
-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 _this12 = _possibleConstructorReturn(this, _WidgetBase12.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);
- };
- };
+ _this12.isEditor = true;
+ _this12.element = element;
+ return _this12;
+ }
- for (var i = 0, len = attributes.length; i < len; i++) {
- var _ret = _loop(i, len);
+ 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);
- if (_ret === 'continue') continue;
+ function ejDateRangePicker(element) {
+ _classCallCheck(this, ejDateRangePicker);
+
+ var _this13 = _possibleConstructorReturn(this, _WidgetBase13.call(this));
+
+ _this13.isEditor = true;
+ _this13.element = element;
+ return _this13;
}
- 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 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);
-var TemplateProcessor = exports.TemplateProcessor = (_dec41 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, Util), _dec41(_class17 = function () {
- function TemplateProcessor(context, templateEngine) {
- _classCallCheck(this, TemplateProcessor);
+ function ejDateTimePicker(element) {
+ _classCallCheck(this, ejDateTimePicker);
- this.context = context;
- this.templatingEngine = templateEngine;
- this.util = new Util();
+ var _this14 = _possibleConstructorReturn(this, _WidgetBase14.call(this));
+
+ _this14.isEditor = true;
+ _this14.element = element;
+ return _this14;
}
- TemplateProcessor.prototype.initTemplate = function initTemplate() {
- var proxy = this;
- ej.template.render = function (self, selector, data, index) {
- return proxy.renderStringTemplate(self, selector, data, index);
- };
- };
+ return ejDateTimePicker;
+}(WidgetBase)) || _class21) || _class21) || _class21);
+var ejDiagram = exports.ejDiagram = (_dec56 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'diagram'), _dec57 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec58 = 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']), _dec59 = (0, _aureliaDependencyInjection.inject)(Element), _dec56(_class22 = _dec57(_class22 = _dec58(_class22 = _dec59(_class22 = function (_WidgetBase15) {
+ _inherits(ejDiagram, _WidgetBase15);
- 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 ejDiagram(element) {
+ _classCallCheck(this, ejDiagram);
- 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 _this15 = _possibleConstructorReturn(this, _WidgetBase15.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];
- }
- }
- };
+ _this15.element = element;
+ return _this15;
+ }
- 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 ejDiagram;
+}(WidgetBase)) || _class22) || _class22) || _class22) || _class22);
+var ejDialog = exports.ejDialog = (_dec60 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'dialog'), _dec61 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec62 = 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'] }), _dec63 = (0, _aureliaDependencyInjection.inject)(Element), _dec60(_class23 = _dec61(_class23 = _dec62(_class23 = _dec63(_class23 = function (_WidgetBase16) {
+ _inherits(ejDialog, _WidgetBase16);
- TemplateProcessor.prototype.unbindViews = function unbindViews(obj) {
- for (var i = 0; i < obj.views.length; i++) {
- var view = obj.views[i];
- view.unbind();
- }
- };
+ function ejDialog(element) {
+ _classCallCheck(this, ejDialog);
- return TemplateProcessor;
-}()) || _class17);
-var Template = exports.Template = (_dec42 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'template'), _dec43 = (0, _aureliaTemplating.noView)(), _dec44 = (0, _aureliaTemplating.processContent)(function (compiler, resources, element, instruction) {
- var html = element.innerHTML;
- if (html !== '') {
- instruction.template = html;
+ var _this16 = _possibleConstructorReturn(this, _WidgetBase16.call(this));
+
+ _this16.element = element;
+ return _this16;
}
- element.innerHTML = '';
-}), _dec45 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec42(_class18 = _dec43(_class18 = _dec44(_class18 = _dec45(_class18 = (_class19 = function Template(target) {
- _classCallCheck(this, Template);
- _initDefineProp(this, 'template', _descriptor3, this);
+ return ejDialog;
+}(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);
- this.template = target.elementInstruction.template;
-}, (_descriptor3 = _applyDecoratedDescriptor(_class19.prototype, 'template', [_aureliaTemplating.bindable], {
- enumerable: true,
- initializer: null
-})), _class19)) || _class18) || _class18) || _class18) || _class18);
+ function ejDigitalGauge(element) {
+ _classCallCheck(this, ejDigitalGauge);
-var Util = exports.Util = function () {
- function Util() {
- _classCallCheck(this, Util);
- }
+ var _this17 = _possibleConstructorReturn(this, _WidgetBase17.call(this));
- Util.prototype.getBindablePropertyName = function getBindablePropertyName(propertyName) {
- var name = '' + constants.bindablePrefix + propertyName;
- return this._unhyphenate(name);
- };
+ _this17.element = element;
+ return _this17;
+ }
- Util.prototype._unhyphenate = function _unhyphenate(name) {
- return name.replace(/-([a-z])/g, function (g) {
- return g[1].toUpperCase();
- });
- };
+ 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);
- Util.prototype.getOptions = function getOptions(model, properties) {
- var _this11 = this;
+ function ejDropDownList(element) {
+ _classCallCheck(this, ejDropDownList);
- var bindableproperites = {};
- var value = void 0;
- for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
- var _ref;
+ var _this18 = _possibleConstructorReturn(this, _WidgetBase18.call(this));
- if (_isArray) {
- if (_i >= _iterator.length) break;
- _ref = _iterator[_i++];
- } else {
- _i = _iterator.next();
- if (_i.done) break;
- _ref = _i.value;
- }
-
- var prop = _ref;
-
- if (model.abbrevProperties && prop in model.abbrevProperties && model.abbrevProperties.hasOwnProperty(prop)) {
- model.abbrevProperties[prop].some(function (property) {
- value = model[_this11.getBindablePropertyName(property)];
- return _this11.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;
- };
-
- Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) {
- var _this12 = this;
-
- var property = void 0;
-
- 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 prop = _ref2;
-
- if (options.abbrevProperties && prop in options.abbrevProperties && options.abbrevProperties.hasOwnProperty(prop)) {
- options.abbrevProperties[prop].some(function (props) {
- property = propertyName === _this12.getBindablePropertyName(props) ? prop : undefined;
- return property;
- });
- if (property) return 'break';
- } else if (propertyName === _this12.getBindablePropertyName(prop)) {
- property = prop;
- return 'break';
- }
- };
-
- for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
- var _ref2;
-
- var _ret2 = _loop2();
-
- if (_ret2 === 'break') break;
- }
- return property;
- };
-
- Util.prototype.hasValue = function hasValue(prop) {
- return typeof prop !== 'undefined' && prop !== null;
- };
-
- 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;
- };
-
- return Util;
-}();
-
-var firstValue = {};
-var WidgetBase = exports.WidgetBase = (_dec46 = delayed(), (_class21 = function () {
- function WidgetBase() {
- _classCallCheck(this, WidgetBase);
- }
-
- WidgetBase.prototype.createWidget = function createWidget(option) {
- var _this13 = this;
-
- 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 _this13) {
- _this13[_this13.util.getBindablePropertyName('value')] = evt.value;
- }
- };
- }
- };
-
- 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);
- }
- };
-
- 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);
- }
- };
-
- 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;
- };
- };
-
- 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);
- };
-
- 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));
- }
- }
- };
-
- 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 });
- };
-
- WidgetBase.prototype.unsubscribe = function unsubscribe() {
- if (this.subscription) {
- this.subscription.dispose();
- this.subscription = null;
- }
- };
-
- WidgetBase.prototype.unbind = function unbind() {
- this.unsubscribe();
- };
-
- WidgetBase.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) {
- var _this14 = 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 (_this14[arrayProp] instanceof Array) {
- _this14.subscription = _this14.bindingInstance.collectionObserver(_this14[arrayProp]).subscribe(function (e) {
- _this14.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);
- }
- }
- }
- };
-
- WidgetBase.prototype.update = function update(e) {
- var _this15 = this;
-
- var modelValue = void 0;
- var newVal = void 0;
- if (e.length) {
- this.arrayObserver.forEach(function (arrayProp) {
- if (_this15[arrayProp] instanceof Array) {
- var _prop3 = _this15.util.getControlPropertyName(_this15, arrayProp);
- modelValue = _this15.widget.model[_prop3];
- if (typeof modelValue === 'function') {
- modelValue = modelValue();
- newVal = modelValue;
- newVal = _this15.addTwoways(_prop3);
- _this15.widget.option(_prop3, newVal);
- } else {
- _this15.widget.option(_prop3, modelValue);
- }
- }
- });
- }
- };
-
- WidgetBase.prototype.detached = function detached() {
- if (this.templateProcessor) {
- this.templateProcessor.clearTempalte();
- }
- if (this.widget) {
- this.widget.destroy();
- }
- };
-
- return WidgetBase;
-}(), (_applyDecoratedDescriptor(_class21.prototype, 'attached', [_dec46], Object.getOwnPropertyDescriptor(_class21.prototype, 'attached'), _class21.prototype)), _class21));
-var ejComboBox = exports.ejComboBox = (_dec47 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'combo-box'), _dec48 = 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']), _dec49 = (0, _aureliaDependencyInjection.inject)(Element), _dec47(_class22 = _dec48(_class22 = _dec49(_class22 = function (_WidgetBase10) {
- _inherits(ejComboBox, _WidgetBase10);
-
- function ejComboBox(element) {
- _classCallCheck(this, ejComboBox);
-
- var _this16 = _possibleConstructorReturn(this, _WidgetBase10.call(this));
-
- _this16.isEditor = true;
- _this16.element = element;
- return _this16;
- }
-
- return ejComboBox;
-}(WidgetBase)) || _class22) || _class22) || _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 ejCurrencyTextbox(element) {
- _classCallCheck(this, ejCurrencyTextbox);
-
- var _this17 = _possibleConstructorReturn(this, _WidgetBase11.call(this));
-
- _this17.isEditor = true;
- _this17.element = element;
- return _this17;
- }
-
- 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 ejDatePicker(element) {
- _classCallCheck(this, ejDatePicker);
-
- var _this18 = _possibleConstructorReturn(this, _WidgetBase12.call(this));
-
- _this18.isEditor = true;
- _this18.element = element;
- return _this18;
- }
-
- 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);
-
- function ejDateRangePicker(element) {
- _classCallCheck(this, ejDateRangePicker);
-
- var _this19 = _possibleConstructorReturn(this, _WidgetBase13.call(this));
-
- _this19.isEditor = true;
- _this19.element = element;
- return _this19;
- }
-
- 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 ejDateTimePicker(element) {
- _classCallCheck(this, ejDateTimePicker);
-
- var _this20 = _possibleConstructorReturn(this, _WidgetBase14.call(this));
-
- _this20.isEditor = true;
- _this20.element = element;
- return _this20;
- }
-
- 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 ejDiagram(element) {
- _classCallCheck(this, ejDiagram);
-
- var _this21 = _possibleConstructorReturn(this, _WidgetBase15.call(this));
-
- _this21.element = element;
- return _this21;
- }
-
- 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 ejDialog(element) {
- _classCallCheck(this, ejDialog);
-
- var _this22 = _possibleConstructorReturn(this, _WidgetBase16.call(this));
-
- _this22.element = element;
- return _this22;
- }
-
- 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 ejDigitalGauge(element) {
- _classCallCheck(this, ejDigitalGauge);
-
- var _this23 = _possibleConstructorReturn(this, _WidgetBase17.call(this));
-
- _this23.element = element;
- return _this23;
- }
-
- 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 ejDropDownList(element) {
- _classCallCheck(this, ejDropDownList);
-
- var _this24 = _possibleConstructorReturn(this, _WidgetBase18.call(this));
-
- _this24.isEditor = true;
- _this24.element = element;
- return _this24;
+ _this18.isEditor = true;
+ _this18.element = element;
+ return _this18;
}
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) {
+}(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);
function ejFileExplorer(element) {
_classCallCheck(this, ejFileExplorer);
- var _this25 = _possibleConstructorReturn(this, _WidgetBase19.call(this));
+ var _this19 = _possibleConstructorReturn(this, _WidgetBase19.call(this));
- _this25.element = element;
- return _this25;
+ _this19.element = element;
+ return _this19;
}
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) {
+}(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);
function ejGantt(element) {
_classCallCheck(this, ejGantt);
- var _this26 = _possibleConstructorReturn(this, _WidgetBase20.call(this));
+ var _this20 = _possibleConstructorReturn(this, _WidgetBase20.call(this));
- _this26.element = element;
- return _this26;
+ _this20.element = element;
+ return _this20;
}
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 () {
+}(WidgetBase)) || _class27) || _class27) || _class27) || _class27);
+var Column = exports.Column = (_dec79 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec80 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'column'), _dec81 = 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'] }), _dec82 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec79(_class28 = _dec80(_class28 = _dec81(_class28 = (_class29 = function () {
function Column() {
_classCallCheck(this, Column);
- _initDefineProp(this, 'template', _descriptor4, this);
+ _initDefineProp(this, 'template', _descriptor3, this);
}
Column.prototype.setTemplates = function setTemplates() {
@@ -1349,652 +819,1182 @@ var Column = exports.Column = (_dec85 = (0, _aureliaTemplating.inlineView)('' +
};
return Column;
-}(), (_descriptor4 = _applyDecoratedDescriptor(_class34.prototype, 'template', [_dec88], {
+}(), (_descriptor3 = _applyDecoratedDescriptor(_class29.prototype, 'template', [_dec82], {
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) {
+})), _class29)) || _class28) || _class28) || _class28);
+var ejGrid = exports.ejGrid = (_dec83 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'grid'), _dec84 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec85 = 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']), _dec86 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec87 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'column'), _dec83(_class31 = _dec84(_class31 = _dec85(_class31 = _dec86(_class31 = (_class32 = function (_WidgetBase21) {
_inherits(ejGrid, _WidgetBase21);
function ejGrid(element, templateEngine) {
_classCallCheck(this, ejGrid);
- var _this27 = _possibleConstructorReturn(this, _WidgetBase21.call(this));
+ var _this21 = _possibleConstructorReturn(this, _WidgetBase21.call(this));
- _initDefineProp(_this27, 'columns', _descriptor5, _this27);
+ _initDefineProp(_this21, 'columns', _descriptor4, _this21);
- _this27.element = element;
- _this27.hasChildProperty = true;
- _this27.childPropertyName = 'columns';
- _this27.templateProcessor = new TemplateProcessor(_this27, templateEngine);
- _this27.templateProcessor.initTemplate();
- return _this27;
+ _this21.element = element;
+ _this21.hasChildProperty = true;
+ _this21.childPropertyName = 'columns';
+ _this21.templateProcessor = new TemplateProcessor(_this21, templateEngine);
+ _this21.templateProcessor.initTemplate();
+ return _this21;
}
return ejGrid;
-}(WidgetBase), (_descriptor5 = _applyDecoratedDescriptor(_class37.prototype, 'columns', [_dec93], {
+}(WidgetBase), (_descriptor4 = _applyDecoratedDescriptor(_class32.prototype, 'columns', [_dec87], {
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) {
+})), _class32)) || _class31) || _class31) || _class31) || _class31);
+var ejGroupButton = exports.ejGroupButton = (_dec88 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'group-button'), _dec89 = generateBindables('ejGroupButton', ['cssClass', 'dataSource', 'enableRTL', 'enabled', 'fields', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'query', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec90 = (0, _aureliaDependencyInjection.inject)(Element), _dec88(_class34 = _dec89(_class34 = _dec90(_class34 = function (_WidgetBase22) {
_inherits(ejGroupButton, _WidgetBase22);
function ejGroupButton(element) {
_classCallCheck(this, ejGroupButton);
- var _this28 = _possibleConstructorReturn(this, _WidgetBase22.call(this));
+ var _this22 = _possibleConstructorReturn(this, _WidgetBase22.call(this));
- _this28.element = element;
- return _this28;
+ _this22.element = element;
+ return _this22;
}
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) {
+}(WidgetBase)) || _class34) || _class34) || _class34);
+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 _this29 = _possibleConstructorReturn(this, _WidgetBase23.call(this));
+ var _this23 = _possibleConstructorReturn(this, _WidgetBase23.call(this));
- _this29.element = element;
- return _this29;
+ _this23.element = element;
+ return _this23;
}
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) {
+}(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);
function ejHeatMapLegend(element) {
_classCallCheck(this, ejHeatMapLegend);
- var _this30 = _possibleConstructorReturn(this, _WidgetBase24.call(this));
+ var _this24 = _possibleConstructorReturn(this, _WidgetBase24.call(this));
- _this30.element = element;
- return _this30;
+ _this24.element = element;
+ return _this24;
}
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) {
+}(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);
function ejKanban(element) {
_classCallCheck(this, ejKanban);
- var _this31 = _possibleConstructorReturn(this, _WidgetBase25.call(this));
+ var _this25 = _possibleConstructorReturn(this, _WidgetBase25.call(this));
- _initDefineProp(_this31, 'columns', _descriptor6, _this31);
+ _initDefineProp(_this25, 'columns', _descriptor5, _this25);
- _this31.element = element;
- _this31.hasChildProperty = true;
- _this31.childPropertyName = 'columns';
- return _this31;
+ _this25.element = element;
+ _this25.hasChildProperty = true;
+ _this25.childPropertyName = 'columns';
+ return _this25;
}
return ejKanban;
-}(WidgetBase), (_descriptor6 = _applyDecoratedDescriptor(_class43.prototype, 'columns', [_dec109], {
+}(WidgetBase), (_descriptor5 = _applyDecoratedDescriptor(_class38.prototype, 'columns', [_dec103], {
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() {
+})), _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);
-}) || _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) {
+}) || _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);
function ejLinearGauge(element) {
_classCallCheck(this, ejLinearGauge);
- var _this32 = _possibleConstructorReturn(this, _WidgetBase26.call(this));
+ var _this26 = _possibleConstructorReturn(this, _WidgetBase26.call(this));
- _this32.element = element;
- return _this32;
+ _this26.element = element;
+ return _this26;
}
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) {
+}(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);
function ejListBox(element) {
_classCallCheck(this, ejListBox);
- var _this33 = _possibleConstructorReturn(this, _WidgetBase27.call(this));
+ var _this27 = _possibleConstructorReturn(this, _WidgetBase27.call(this));
- _this33.element = element;
- return _this33;
+ _this27.element = element;
+ return _this27;
}
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) {
+}(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);
function ejListView(element) {
_classCallCheck(this, ejListView);
- var _this34 = _possibleConstructorReturn(this, _WidgetBase28.call(this));
+ var _this28 = _possibleConstructorReturn(this, _WidgetBase28.call(this));
- _this34.element = element;
- return _this34;
+ _this28.element = element;
+ return _this28;
}
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() {
+}(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);
-}) || _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) {
+}) || _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);
- var _this35 = _possibleConstructorReturn(this, _WidgetBase29.call(this));
+ var _this29 = _possibleConstructorReturn(this, _WidgetBase29.call(this));
+
+ _initDefineProp(_this29, 'layers', _descriptor6, _this29);
+
+ _this29.element = element;
+ _this29.hasChildProperty = true;
+ _this29.childPropertyName = 'layers';
+ return _this29;
+ }
+
+ 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);
+
+ function ejMaskEdit(element) {
+ _classCallCheck(this, ejMaskEdit);
+
+ var _this30 = _possibleConstructorReturn(this, _WidgetBase30.call(this));
+
+ _this30.isEditor = true;
+ _this30.element = element;
+ return _this30;
+ }
+
+ 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);
+
+ function ejMenu(element) {
+ _classCallCheck(this, ejMenu);
+
+ var _this31 = _possibleConstructorReturn(this, _WidgetBase31.call(this));
+
+ _this31.element = element;
+ return _this31;
+ }
+
+ 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);
+
+ function ejNavigationDrawer(element) {
+ _classCallCheck(this, ejNavigationDrawer);
+
+ var _this32 = _possibleConstructorReturn(this, _WidgetBase32.call(this));
+
+ _this32.element = element;
+ return _this32;
+ }
+
+ 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);
+
+ function ejNumericTextbox(element) {
+ _classCallCheck(this, ejNumericTextbox);
+
+ var _this33 = _possibleConstructorReturn(this, _WidgetBase33.call(this));
+
+ _this33.isEditor = true;
+ _this33.element = element;
+ return _this33;
+ }
+
+ 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);
+
+ function ejOverview(element) {
+ _classCallCheck(this, ejOverview);
+
+ var _this34 = _possibleConstructorReturn(this, _WidgetBase34.call(this));
+
+ _this34.element = element;
+ return _this34;
+ }
+
+ 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);
+
+ function ejPager(element) {
+ _classCallCheck(this, ejPager);
+
+ var _this35 = _possibleConstructorReturn(this, _WidgetBase35.call(this));
+
+ _this35.element = element;
+ return _this35;
+ }
+
+ 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);
+
+ function ejPdfViewer(element) {
+ _classCallCheck(this, ejPdfViewer);
+
+ var _this36 = _possibleConstructorReturn(this, _WidgetBase36.call(this));
+
+ _this36.element = element;
+ return _this36;
+ }
+
+ return ejPdfViewer;
+}(WidgetBase)) || _class54) || _class54) || _class54) || _class54);
+var ejPercentageTextbox = exports.ejPercentageTextbox = (_dec151 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'percentage-textbox'), _dec152 = 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'] }), _dec153 = (0, _aureliaDependencyInjection.inject)(Element), _dec151(_class55 = _dec152(_class55 = _dec153(_class55 = function (_WidgetBase37) {
+ _inherits(ejPercentageTextbox, _WidgetBase37);
+
+ function ejPercentageTextbox(element) {
+ _classCallCheck(this, ejPercentageTextbox);
+
+ var _this37 = _possibleConstructorReturn(this, _WidgetBase37.call(this));
+
+ _this37.isEditor = true;
+ _this37.element = element;
+ return _this37;
+ }
+
+ return ejPercentageTextbox;
+}(WidgetBase)) || _class55) || _class55) || _class55);
+var ejPivotChart = exports.ejPivotChart = (_dec154 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-chart'), _dec155 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec156 = 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'] }), _dec157 = (0, _aureliaDependencyInjection.inject)(Element), _dec154(_class56 = _dec155(_class56 = _dec156(_class56 = _dec157(_class56 = function (_WidgetBase38) {
+ _inherits(ejPivotChart, _WidgetBase38);
+
+ function ejPivotChart(element) {
+ _classCallCheck(this, ejPivotChart);
+
+ var _this38 = _possibleConstructorReturn(this, _WidgetBase38.call(this));
+
+ _this38.element = element;
+ return _this38;
+ }
+
+ return ejPivotChart;
+}(WidgetBase)) || _class56) || _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);
+
+ function ejPivotGauge(element) {
+ _classCallCheck(this, ejPivotGauge);
+
+ var _this39 = _possibleConstructorReturn(this, _WidgetBase39.call(this));
+
+ _this39.element = element;
+ return _this39;
+ }
+
+ 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);
+
+ function ejPivotGrid(element) {
+ _classCallCheck(this, ejPivotGrid);
+
+ var _this40 = _possibleConstructorReturn(this, _WidgetBase40.call(this));
+
+ _this40.element = element;
+ return _this40;
+ }
+
+ 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);
+
+ var _this41 = _possibleConstructorReturn(this, _WidgetBase41.call(this));
+
+ _this41.element = element;
+ return _this41;
+ }
+
+ return ejPivotSchemaDesigner;
+}(WidgetBase)) || _class59) || _class59) || _class59) || _class59);
+var ejPivotTreeMap = exports.ejPivotTreeMap = (_dec170 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-tree-map'), _dec171 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec172 = generateBindables('ejPivotTreeMap', ['cssClass', 'dataSource', 'customObject', 'isResponsive', 'locale', 'operationalMode', 'serviceMethodSettings', 'url', 'enableXHRCredentials']), _dec173 = (0, _aureliaDependencyInjection.inject)(Element), _dec170(_class60 = _dec171(_class60 = _dec172(_class60 = _dec173(_class60 = function (_WidgetBase42) {
+ _inherits(ejPivotTreeMap, _WidgetBase42);
+
+ function ejPivotTreeMap(element) {
+ _classCallCheck(this, ejPivotTreeMap);
+
+ var _this42 = _possibleConstructorReturn(this, _WidgetBase42.call(this));
+
+ _this42.element = element;
+ return _this42;
+ }
+
+ return ejPivotTreeMap;
+}(WidgetBase)) || _class60) || _class60) || _class60) || _class60);
+var ejProgressBar = exports.ejProgressBar = (_dec174 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'progress-bar'), _dec175 = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec176 = (0, _aureliaDependencyInjection.inject)(Element), _dec174(_class61 = _dec175(_class61 = _dec176(_class61 = function (_WidgetBase43) {
+ _inherits(ejProgressBar, _WidgetBase43);
+
+ function ejProgressBar(element) {
+ _classCallCheck(this, ejProgressBar);
+
+ var _this43 = _possibleConstructorReturn(this, _WidgetBase43.call(this));
+
+ _this43.element = element;
+ return _this43;
+ }
+
+ return ejProgressBar;
+}(WidgetBase)) || _class61) || _class61) || _class61);
+var Item = exports.Item = (_dec177 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec178 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'item'), _dec179 = generateBindables('items', ['imageUrl', 'prependTo', 'text', 'enabled', 'click', 'badge', 'badge', 'badge', 'type', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'sliderSettings', 'items']), _dec180 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec177(_class62 = _dec178(_class62 = _dec179(_class62 = (_class63 = function () {
+ function Item() {
+ _classCallCheck(this, Item);
+
+ _initDefineProp(this, 'template', _descriptor7, this);
+ }
+
+ Item.prototype.setTemplates = function setTemplates() {
+ if (this.template[0]) {
+ var util = new Util();
+ this[util.getBindablePropertyName('template')] = this.template[0].template;
+ }
+ };
+
+ return Item;
+}(), (_descriptor7 = _applyDecoratedDescriptor(_class63.prototype, 'template', [_dec180], {
+ enumerable: true,
+ initializer: function initializer() {
+ return [];
+ }
+})), _class63)) || _class62) || _class62) || _class62);
+var ejRadialMenu = exports.ejRadialMenu = (_dec181 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-menu'), _dec182 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec183 = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec184 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec185 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'item'), _dec181(_class65 = _dec182(_class65 = _dec183(_class65 = _dec184(_class65 = (_class66 = function (_WidgetBase44) {
+ _inherits(ejRadialMenu, _WidgetBase44);
+
+ function ejRadialMenu(element, templateEngine) {
+ _classCallCheck(this, ejRadialMenu);
+
+ var _this44 = _possibleConstructorReturn(this, _WidgetBase44.call(this));
- _initDefineProp(_this35, 'layers', _descriptor7, _this35);
+ _initDefineProp(_this44, 'items', _descriptor8, _this44);
- _this35.element = element;
- _this35.hasChildProperty = true;
- _this35.childPropertyName = 'layers';
- return _this35;
+ _this44.element = element;
+ _this44.hasChildProperty = true;
+ _this44.childPropertyName = 'items';
+ _this44.templateProcessor = new TemplateProcessor(_this44, templateEngine);
+ _this44.templateProcessor.initTemplate();
+ return _this44;
}
- return ejMap;
-}(WidgetBase), (_descriptor7 = _applyDecoratedDescriptor(_class51.prototype, 'layers', [_dec131], {
+ return ejRadialMenu;
+}(WidgetBase), (_descriptor8 = _applyDecoratedDescriptor(_class66.prototype, 'items', [_dec185], {
enumerable: true,
initializer: function initializer() {
return [];
}
-})), _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);
+})), _class66)) || _class65) || _class65) || _class65) || _class65);
+var ejRadialSlider = exports.ejRadialSlider = (_dec186 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-slider'), _dec187 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec188 = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'labelSpace', 'locale', 'radius', 'showInnerCircle', 'startAngle', 'strokeWidth', 'ticks', 'value'], ['value', 'ticks']), _dec189 = (0, _aureliaDependencyInjection.inject)(Element), _dec186(_class68 = _dec187(_class68 = _dec188(_class68 = _dec189(_class68 = function (_WidgetBase45) {
+ _inherits(ejRadialSlider, _WidgetBase45);
- function ejMaskEdit(element) {
- _classCallCheck(this, ejMaskEdit);
+ function ejRadialSlider(element) {
+ _classCallCheck(this, ejRadialSlider);
- var _this36 = _possibleConstructorReturn(this, _WidgetBase30.call(this));
+ var _this45 = _possibleConstructorReturn(this, _WidgetBase45.call(this));
- _this36.isEditor = true;
- _this36.element = element;
- return _this36;
+ _this45.element = element;
+ return _this45;
}
- 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);
+ return ejRadialSlider;
+}(WidgetBase)) || _class68) || _class68) || _class68) || _class68);
+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);
- function ejMenu(element) {
- _classCallCheck(this, ejMenu);
+ function ejRadioButton(element) {
+ _classCallCheck(this, ejRadioButton);
- var _this37 = _possibleConstructorReturn(this, _WidgetBase31.call(this));
+ var _this46 = _possibleConstructorReturn(this, _WidgetBase46.call(this));
- _this37.element = element;
- return _this37;
+ _this46.element = element;
+ return _this46;
}
- 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);
+ 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 ejNavigationDrawer(element) {
- _classCallCheck(this, ejNavigationDrawer);
+ function ejRangeNavigator(element) {
+ _classCallCheck(this, ejRangeNavigator);
- var _this38 = _possibleConstructorReturn(this, _WidgetBase32.call(this));
+ var _this47 = _possibleConstructorReturn(this, _WidgetBase47.call(this));
- _this38.element = element;
- return _this38;
+ _initDefineProp(_this47, 'series', _descriptor9, _this47);
+
+ _this47.element = element;
+ _this47.hasChildProperty = true;
+ _this47.childPropertyName = 'series';
+ return _this47;
}
- 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);
+ 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 ejRating = exports.ejRating = (_dec201 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rating'), _dec202 = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'htmlAttributes', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec203 = (0, _aureliaDependencyInjection.inject)(Element), _dec201(_class74 = _dec202(_class74 = _dec203(_class74 = function (_WidgetBase48) {
+ _inherits(ejRating, _WidgetBase48);
- function ejNumericTextbox(element) {
- _classCallCheck(this, ejNumericTextbox);
+ function ejRating(element) {
+ _classCallCheck(this, ejRating);
- var _this39 = _possibleConstructorReturn(this, _WidgetBase33.call(this));
+ var _this48 = _possibleConstructorReturn(this, _WidgetBase48.call(this));
- _this39.isEditor = true;
- _this39.element = element;
- return _this39;
+ _this48.element = element;
+ return _this48;
}
- 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);
+ return ejRating;
+}(WidgetBase)) || _class74) || _class74) || _class74);
+var ejRibbon = exports.ejRibbon = (_dec204 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'ribbon'), _dec205 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec206 = generateBindables('ejRibbon', ['allowResizing', 'isResponsive', 'buttonDefaults', 'showQAT', 'cssClass', 'collapsePinSettings', 'enableOnDemand', 'collapsible', 'enableRTL', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec207 = (0, _aureliaDependencyInjection.inject)(Element), _dec204(_class75 = _dec205(_class75 = _dec206(_class75 = _dec207(_class75 = function (_WidgetBase49) {
+ _inherits(ejRibbon, _WidgetBase49);
- function ejOverview(element) {
- _classCallCheck(this, ejOverview);
+ function ejRibbon(element) {
+ _classCallCheck(this, ejRibbon);
- var _this40 = _possibleConstructorReturn(this, _WidgetBase34.call(this));
+ var _this49 = _possibleConstructorReturn(this, _WidgetBase49.call(this));
- _this40.element = element;
- return _this40;
+ _this49.element = element;
+ return _this49;
}
- 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);
+ return ejRibbon;
+}(WidgetBase)) || _class75) || _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);
- function ejPager(element) {
- _classCallCheck(this, ejPager);
+ function ejRotator(element) {
+ _classCallCheck(this, ejRotator);
- var _this41 = _possibleConstructorReturn(this, _WidgetBase35.call(this));
+ var _this50 = _possibleConstructorReturn(this, _WidgetBase50.call(this));
- _this41.element = element;
- return _this41;
+ _this50.element = element;
+ return _this50;
}
- 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);
+ return ejRotator;
+}(WidgetBase)) || _class76) || _class76) || _class76);
+var ejRte = exports.ejRte = (_dec211 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rte'), _dec212 = 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'] }), _dec213 = (0, _aureliaDependencyInjection.inject)(Element), _dec211(_class77 = _dec212(_class77 = _dec213(_class77 = function (_WidgetBase51) {
+ _inherits(ejRte, _WidgetBase51);
- function ejPdfViewer(element) {
- _classCallCheck(this, ejPdfViewer);
+ function ejRte(element) {
+ _classCallCheck(this, ejRte);
- var _this42 = _possibleConstructorReturn(this, _WidgetBase36.call(this));
+ var _this51 = _possibleConstructorReturn(this, _WidgetBase51.call(this));
- _this42.element = element;
- return _this42;
+ _this51.element = element;
+ return _this51;
}
- 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);
+ return ejRte;
+}(WidgetBase)) || _class77) || _class77) || _class77);
+var ejSchedule = exports.ejSchedule = (_dec214 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule'), _dec215 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec216 = 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'] }), _dec217 = (0, _aureliaDependencyInjection.inject)(Element), _dec218 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'schedule-resource'), _dec214(_class78 = _dec215(_class78 = _dec216(_class78 = _dec217(_class78 = (_class79 = function (_WidgetBase52) {
+ _inherits(ejSchedule, _WidgetBase52);
- function ejPercentageTextbox(element) {
- _classCallCheck(this, ejPercentageTextbox);
+ function ejSchedule(element) {
+ _classCallCheck(this, ejSchedule);
- var _this43 = _possibleConstructorReturn(this, _WidgetBase37.call(this));
+ var _this52 = _possibleConstructorReturn(this, _WidgetBase52.call(this));
- _this43.isEditor = true;
- _this43.element = element;
- return _this43;
+ _initDefineProp(_this52, 'resources', _descriptor10, _this52);
+
+ _this52.element = element;
+ _this52.hasChildProperty = true;
+ _this52.childPropertyName = 'resources';
+ return _this52;
}
- 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);
+ return ejSchedule;
+}(WidgetBase), (_descriptor10 = _applyDecoratedDescriptor(_class79.prototype, 'resources', [_dec218], {
+ enumerable: true,
+ initializer: function initializer() {
+ return [];
+ }
+})), _class79)) || _class78) || _class78) || _class78) || _class78);
+var ScheduleResource = exports.ScheduleResource = (_dec219 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec220 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule-resource'), _dec221 = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings', 'resourceSettings']), _dec219(_class81 = _dec220(_class81 = _dec221(_class81 = function ScheduleResource() {
+ _classCallCheck(this, ScheduleResource);
+}) || _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);
- function ejPivotChart(element) {
- _classCallCheck(this, ejPivotChart);
+ function ejScroller(element) {
+ _classCallCheck(this, ejScroller);
- var _this44 = _possibleConstructorReturn(this, _WidgetBase38.call(this));
+ var _this53 = _possibleConstructorReturn(this, _WidgetBase53.call(this));
- _this44.element = element;
- return _this44;
+ _this53.element = element;
+ return _this53;
}
- 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);
+ 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);
- function ejPivotGauge(element) {
- _classCallCheck(this, ejPivotGauge);
+ function ejSignature(element) {
+ _classCallCheck(this, ejSignature);
- var _this45 = _possibleConstructorReturn(this, _WidgetBase39.call(this));
+ var _this54 = _possibleConstructorReturn(this, _WidgetBase54.call(this));
- _this45.element = element;
- return _this45;
+ _this54.element = element;
+ return _this54;
}
- 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);
+ 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);
- function ejPivotGrid(element) {
- _classCallCheck(this, ejPivotGrid);
+ function ejSlider(element) {
+ _classCallCheck(this, ejSlider);
- var _this46 = _possibleConstructorReturn(this, _WidgetBase40.call(this));
+ var _this55 = _possibleConstructorReturn(this, _WidgetBase55.call(this));
- _this46.element = element;
- return _this46;
+ _this55.element = element;
+ return _this55;
}
- 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);
+ 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);
- function ejPivotSchemaDesigner(element) {
- _classCallCheck(this, ejPivotSchemaDesigner);
+ function ejSparkline(element) {
+ _classCallCheck(this, ejSparkline);
- var _this47 = _possibleConstructorReturn(this, _WidgetBase41.call(this));
+ var _this56 = _possibleConstructorReturn(this, _WidgetBase56.call(this));
- _this47.element = element;
- return _this47;
+ _this56.element = element;
+ return _this56;
}
- 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);
+ 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);
- function ejPivotTreeMap(element) {
- _classCallCheck(this, ejPivotTreeMap);
+ function ejSpellCheck(element) {
+ _classCallCheck(this, ejSpellCheck);
- var _this48 = _possibleConstructorReturn(this, _WidgetBase42.call(this));
+ var _this57 = _possibleConstructorReturn(this, _WidgetBase57.call(this));
- _this48.element = element;
- return _this48;
+ _this57.element = element;
+ return _this57;
}
- 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);
+ return ejSpellCheck;
+}(WidgetBase)) || _class86) || _class86) || _class86) || _class86);
+var ejSplitButton = exports.ejSplitButton = (_dec240 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'split-button'), _dec241 = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'target', 'text', 'width'], [], { 'enableRTL': ['enableRtl'], 'targetID': ['targetId'] }), _dec242 = (0, _aureliaDependencyInjection.inject)(Element), _dec240(_class87 = _dec241(_class87 = _dec242(_class87 = function (_WidgetBase58) {
+ _inherits(ejSplitButton, _WidgetBase58);
- function ejProgressBar(element) {
- _classCallCheck(this, ejProgressBar);
+ function ejSplitButton(element) {
+ _classCallCheck(this, ejSplitButton);
- var _this49 = _possibleConstructorReturn(this, _WidgetBase43.call(this));
+ var _this58 = _possibleConstructorReturn(this, _WidgetBase58.call(this));
- _this49.element = element;
- return _this49;
+ _this58.element = element;
+ return _this58;
}
- 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);
+ return ejSplitButton;
+}(WidgetBase)) || _class87) || _class87) || _class87);
+var ejSplitter = exports.ejSplitter = (_dec243 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'splitter'), _dec244 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec245 = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'expanderTemplate', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': ['enableRtl'] }), _dec246 = (0, _aureliaDependencyInjection.inject)(Element), _dec243(_class88 = _dec244(_class88 = _dec245(_class88 = _dec246(_class88 = function (_WidgetBase59) {
+ _inherits(ejSplitter, _WidgetBase59);
+
+ function ejSplitter(element) {
+ _classCallCheck(this, ejSplitter);
- _initDefineProp(this, 'template', _descriptor8, this);
+ var _this59 = _possibleConstructorReturn(this, _WidgetBase59.call(this));
+
+ _this59.element = element;
+ return _this59;
}
- Item.prototype.setTemplates = function setTemplates() {
- if (this.template[0]) {
- var util = new Util();
- this[util.getBindablePropertyName('template')] = this.template[0].template;
+ return ejSplitter;
+}(WidgetBase)) || _class88) || _class88) || _class88) || _class88);
+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 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);
+ }
+ }
}
};
+}
- 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);
-
- 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;
- }
+function registerProp(util, option, target, behaviorResource, descriptor) {
+ var nameOrConfigOrTarget = {
+ name: util.getBindablePropertyName(option)
+ };
- return ejRadialMenu;
-}(WidgetBase), (_descriptor9 = _applyDecoratedDescriptor(_class71.prototype, 'items', [_dec191], {
- enumerable: true,
- initializer: function initializer() {
- return [];
+ if (option === 'widget') {
+ nameOrConfigOrTarget.defaultBindingMode = _aureliaBinding.bindingMode.twoWay;
}
-})), _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 ejRadialSlider(element) {
- _classCallCheck(this, ejRadialSlider);
+ var prop = new _aureliaTemplating.BindableProperty(nameOrConfigOrTarget);
+ prop.registerWith(target, behaviorResource, descriptor);
+}
- var _this51 = _possibleConstructorReturn(this, _WidgetBase45.call(this));
+function delayed() {
+ return function (target, key, descriptor) {
+ var taskQueue = (_aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container()).get(_aureliaTaskQueue.TaskQueue);
+ var ptr = descriptor.value;
- _this51.element = element;
- return _this51;
- }
+ descriptor.value = function () {
+ var _this60 = this;
- 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);
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- function ejRadioButton(element) {
- _classCallCheck(this, ejRadioButton);
+ if (this.childPropertyName) {
+ taskQueue.queueTask(function () {
+ return ptr.apply(_this60, args);
+ });
+ } else {
+ ptr.apply(this, args);
+ }
+ };
- var _this52 = _possibleConstructorReturn(this, _WidgetBase46.call(this));
+ return descriptor;
+ };
+}
- _this52.element = element;
- return _this52;
- }
+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);
- 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);
+ 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);
+ };
+ };
- function ejRangeNavigator(element) {
- _classCallCheck(this, ejRangeNavigator);
+ for (var i = 0, len = attributes.length; i < len; i++) {
+ var _ret = _loop(i, len);
- var _this53 = _possibleConstructorReturn(this, _WidgetBase47.call(this));
+ if (_ret === 'continue') continue;
+ }
+ return option;
+}
+function fireEvent(element, name) {
+ var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
- _initDefineProp(_this53, 'series', _descriptor10, _this53);
+ var event = new CustomEvent(name, {
+ detail: data,
+ bubbles: true
+ });
+ element.dispatchEvent(event);
+ return event;
+}
- _this53.element = element;
- _this53.hasChildProperty = true;
- _this53.childPropertyName = 'series';
- return _this53;
- }
+var TemplateProcessor = exports.TemplateProcessor = (_dec247 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, Util), _dec247(_class89 = function () {
+ function TemplateProcessor(context, templateEngine) {
+ _classCallCheck(this, TemplateProcessor);
- return ejRangeNavigator;
-}(WidgetBase), (_descriptor10 = _applyDecoratedDescriptor(_class76.prototype, 'series', [_dec203], {
- enumerable: true,
- initializer: function initializer() {
- return [];
+ this.context = context;
+ this.templatingEngine = templateEngine;
+ this.util = new Util();
}
-})), _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 ejRating(element) {
- _classCallCheck(this, ejRating);
+ TemplateProcessor.prototype.initTemplate = function initTemplate() {
+ var proxy = this;
+ ej.template.render = function (self, selector, data, index) {
+ return proxy.renderStringTemplate(self, selector, data, index);
+ };
+ };
- var _this54 = _possibleConstructorReturn(this, _WidgetBase48.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);
+ }
+ });
+ };
- _this54.element = element;
- return _this54;
- }
+ 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 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);
+ 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 ejRibbon(element) {
- _classCallCheck(this, ejRibbon);
+ 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 _this55 = _possibleConstructorReturn(this, _WidgetBase49.call(this));
+ TemplateProcessor.prototype.unbindViews = function unbindViews(obj) {
+ for (var i = 0; i < obj.views.length; i++) {
+ var view = obj.views[i];
+ view.unbind();
+ }
+ };
- _this55.element = element;
- return _this55;
+ return TemplateProcessor;
+}()) || _class89);
+var Template = exports.Template = (_dec248 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'template'), _dec249 = (0, _aureliaTemplating.noView)(), _dec250 = (0, _aureliaTemplating.processContent)(function (compiler, resources, element, instruction) {
+ var html = element.innerHTML;
+ if (html !== '') {
+ instruction.template = html;
}
+ element.innerHTML = '';
+}), _dec251 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec248(_class90 = _dec249(_class90 = _dec250(_class90 = _dec251(_class90 = (_class91 = function Template(target) {
+ _classCallCheck(this, Template);
- 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 ejRotator(element) {
- _classCallCheck(this, ejRotator);
+ _initDefineProp(this, 'template', _descriptor11, this);
- var _this56 = _possibleConstructorReturn(this, _WidgetBase50.call(this));
+ this.template = target.elementInstruction.template;
+}, (_descriptor11 = _applyDecoratedDescriptor(_class91.prototype, 'template', [_aureliaTemplating.bindable], {
+ enumerable: true,
+ initializer: null
+})), _class91)) || _class90) || _class90) || _class90) || _class90);
- _this56.element = element;
- return _this56;
+var Util = exports.Util = function () {
+ function Util() {
+ _classCallCheck(this, Util);
}
- 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 ejRte(element) {
- _classCallCheck(this, ejRte);
-
- var _this57 = _possibleConstructorReturn(this, _WidgetBase51.call(this));
+ Util.prototype.getBindablePropertyName = function getBindablePropertyName(propertyName) {
+ var name = '' + constants.bindablePrefix + propertyName;
+ return this._unhyphenate(name);
+ };
- _this57.element = element;
- return _this57;
- }
+ Util.prototype._unhyphenate = function _unhyphenate(name) {
+ return name.replace(/-([a-z])/g, function (g) {
+ return g[1].toUpperCase();
+ });
+ };
- 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);
+ Util.prototype.getOptions = function getOptions(model, properties) {
+ var _this61 = this;
- function ejSchedule(element) {
- _classCallCheck(this, ejSchedule);
+ var bindableproperites = {};
+ var value = void 0;
+ for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
+ var _ref;
- var _this58 = _possibleConstructorReturn(this, _WidgetBase52.call(this));
+ if (_isArray) {
+ if (_i >= _iterator.length) break;
+ _ref = _iterator[_i++];
+ } else {
+ _i = _iterator.next();
+ if (_i.done) break;
+ _ref = _i.value;
+ }
- _initDefineProp(_this58, 'resources', _descriptor11, _this58);
+ var prop = _ref;
- _this58.element = element;
- _this58.hasChildProperty = true;
- _this58.childPropertyName = 'resources';
- return _this58;
- }
+ if (model.abbrevProperties && prop in model.abbrevProperties && model.abbrevProperties.hasOwnProperty(prop)) {
+ model.abbrevProperties[prop].some(function (property) {
+ value = model[_this61.getBindablePropertyName(property)];
+ return _this61.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;
+ };
- 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);
+ Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) {
+ var _this62 = this;
- function ejScroller(element) {
- _classCallCheck(this, ejScroller);
+ var property = void 0;
- var _this59 = _possibleConstructorReturn(this, _WidgetBase53.call(this));
+ 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;
+ }
- _this59.element = element;
- return _this59;
- }
+ var prop = _ref2;
- 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);
+ if (options.abbrevProperties && prop in options.abbrevProperties && options.abbrevProperties.hasOwnProperty(prop)) {
+ options.abbrevProperties[prop].some(function (props) {
+ property = propertyName === _this62.getBindablePropertyName(props) ? prop : undefined;
+ return property;
+ });
+ if (property) return 'break';
+ } else if (propertyName === _this62.getBindablePropertyName(prop)) {
+ property = prop;
+ return 'break';
+ }
+ };
- function ejSignature(element) {
- _classCallCheck(this, ejSignature);
+ for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
+ var _ref2;
- var _this60 = _possibleConstructorReturn(this, _WidgetBase54.call(this));
+ var _ret2 = _loop2();
- _this60.element = element;
- return _this60;
- }
+ if (_ret2 === 'break') break;
+ }
+ return property;
+ };
- 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);
+ Util.prototype.hasValue = function hasValue(prop) {
+ return typeof prop !== 'undefined' && prop !== null;
+ };
- function ejSlider(element) {
- _classCallCheck(this, ejSlider);
+ 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;
+ };
- var _this61 = _possibleConstructorReturn(this, _WidgetBase55.call(this));
+ return Util;
+}();
- _this61.element = element;
- return _this61;
+var firstValue = {};
+var WidgetBase = exports.WidgetBase = (_dec252 = delayed(), (_class93 = function () {
+ function WidgetBase() {
+ _classCallCheck(this, WidgetBase);
}
- 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);
-
- function ejSparkline(element) {
- _classCallCheck(this, ejSparkline);
+ WidgetBase.prototype.createWidget = function createWidget(option) {
+ var _this63 = this;
- var _this62 = _possibleConstructorReturn(this, _WidgetBase56.call(this));
+ 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 _this63) {
+ _this63[_this63.util.getBindablePropertyName('value')] = evt.value;
+ }
+ };
+ }
+ };
- _this62.element = element;
- return _this62;
- }
+ 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);
+ }
+ };
- 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);
+ 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);
+ }
+ };
- function ejSpellCheck(element) {
- _classCallCheck(this, ejSpellCheck);
+ 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;
+ };
+ };
- var _this63 = _possibleConstructorReturn(this, _WidgetBase57.call(this));
+ 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);
+ };
- _this63.element = element;
- return _this63;
- }
+ 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));
+ }
+ }
+ };
- 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);
+ 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 });
+ };
- function ejSplitButton(element) {
- _classCallCheck(this, ejSplitButton);
+ WidgetBase.prototype.unsubscribe = function unsubscribe() {
+ if (this.subscription) {
+ this.subscription.dispose();
+ this.subscription = null;
+ }
+ };
- var _this64 = _possibleConstructorReturn(this, _WidgetBase58.call(this));
+ WidgetBase.prototype.unbind = function unbind() {
+ this.unsubscribe();
+ };
- _this64.element = element;
- return _this64;
- }
+ WidgetBase.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) {
+ var _this64 = this;
- 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);
+ 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 (_this64[arrayProp] instanceof Array) {
+ _this64.subscription = _this64.bindingInstance.collectionObserver(_this64[arrayProp]).subscribe(function (e) {
+ _this64.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 ejSplitter(element) {
- _classCallCheck(this, ejSplitter);
+ WidgetBase.prototype.update = function update(e) {
+ var _this65 = this;
- var _this65 = _possibleConstructorReturn(this, _WidgetBase59.call(this));
+ var modelValue = void 0;
+ var newVal = void 0;
+ if (e.length) {
+ this.arrayObserver.forEach(function (arrayProp) {
+ if (_this65[arrayProp] instanceof Array) {
+ var _prop3 = _this65.util.getControlPropertyName(_this65, arrayProp);
+ modelValue = _this65.widget.model[_prop3];
+ if (typeof modelValue === 'function') {
+ modelValue = modelValue();
+ newVal = modelValue;
+ newVal = _this65.addTwoways(_prop3);
+ _this65.widget.option(_prop3, newVal);
+ } else {
+ _this65.widget.option(_prop3, modelValue);
+ }
+ }
+ });
+ }
+ };
- _this65.element = element;
- return _this65;
- }
+ WidgetBase.prototype.detached = function detached() {
+ if (this.templateProcessor) {
+ this.templateProcessor.clearTempalte();
+ }
+ if (this.widget) {
+ this.widget.destroy();
+ }
+ };
- return ejSplitter;
-}(WidgetBase)) || _class93) || _class93) || _class93) || _class93);
+ return WidgetBase;
+}(), (_applyDecoratedDescriptor(_class93.prototype, 'attached', [_dec252], Object.getOwnPropertyDescriptor(_class93.prototype, 'attached'), _class93.prototype)), _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);
diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md
index b3ac2cd1..a4ea5865 100644
--- a/doc/CHANGELOG.md
+++ b/doc/CHANGELOG.md
@@ -1,3 +1,18 @@
+### 17.0.2 (2021-11-12)
+
+
+#### 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))
+
+
### 17.0.1 (2021-09-30)
diff --git a/package-lock.json b/package-lock.json
index 4186f79f..fb5bfe94 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26,7 +26,7 @@
"integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
"dev": true,
"requires": {
- "mime-types": "2.1.32",
+ "mime-types": "2.1.34",
"negotiator": "0.6.2"
}
},
@@ -208,9 +208,9 @@
"dev": true
},
"asn1": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
- "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
+ "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
"dev": true,
"requires": {
"safer-buffer": "2.1.2"
@@ -2837,7 +2837,7 @@
"dev": true,
"requires": {
"async-each-series": "0.1.1",
- "browser-sync-client": "2.27.5",
+ "browser-sync-client": "2.27.7",
"browser-sync-ui": "0.5.19",
"bs-recipes": "1.3.4",
"chokidar": "1.4.1",
@@ -2861,14 +2861,14 @@
"serve-index": "1.9.1",
"serve-static": "1.14.1",
"socket.io": "1.4.5",
- "ua-parser-js": "0.7.28",
+ "ua-parser-js": "0.7.31",
"ucfirst": "1.0.0"
}
},
"browser-sync-client": {
- "version": "2.27.5",
- "resolved": "https://registry.npmjs.org/browser-sync-client/-/browser-sync-client-2.27.5.tgz",
- "integrity": "sha512-l2jtf60/exv0fQiZkhi3z8RgexYYLGS7DVDnyepkrp+oFAPlKW69daL6NrVSgrwu6lzSTCCTAiPXnUSrQ57e/Q==",
+ "version": "2.27.7",
+ "resolved": "https://registry.npmjs.org/browser-sync-client/-/browser-sync-client-2.27.7.tgz",
+ "integrity": "sha512-wKg9UP9a4sCIkBBAXUdbkdWFJzfSAQizGh+nC19W9y9zOo9s5jqeYRFUUbs7x5WKhjtspT+xetVp9AtBJ6BmWg==",
"dev": true,
"requires": {
"etag": "1.8.1",
@@ -4230,7 +4230,7 @@
"globals": "8.18.0",
"handlebars": "4.7.7",
"inquirer": "0.11.4",
- "is-my-json-valid": "2.20.5",
+ "is-my-json-valid": "2.20.6",
"is-resolvable": "1.1.0",
"js-yaml": "3.4.5",
"json-stable-stringify": "1.0.1",
@@ -4346,13 +4346,13 @@
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
"dev": true,
"requires": {
- "estraverse": "5.2.0"
+ "estraverse": "5.3.0"
},
"dependencies": {
"estraverse": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz",
- "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
"dev": true
}
}
@@ -5075,9 +5075,9 @@
}
},
"follow-redirects": {
- "version": "1.14.4",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz",
- "integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==",
+ "version": "1.14.5",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz",
+ "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==",
"dev": true
},
"for-in": {
@@ -5109,7 +5109,7 @@
"requires": {
"asynckit": "0.4.0",
"combined-stream": "1.0.8",
- "mime-types": "2.1.32"
+ "mime-types": "2.1.34"
}
},
"formidable": {
@@ -6174,7 +6174,7 @@
"graceful-fs": "4.2.8",
"gulp-sourcemaps": "1.6.0",
"is-valid-glob": "0.3.0",
- "lazystream": "1.0.0",
+ "lazystream": "1.0.1",
"lodash.isequal": "4.5.0",
"merge-stream": "1.0.1",
"mkdirp": "0.5.5",
@@ -6253,7 +6253,7 @@
"minimist": "1.2.5",
"neo-async": "2.6.2",
"source-map": "0.6.1",
- "uglify-js": "3.14.2",
+ "uglify-js": "3.14.3",
"wordwrap": "1.0.0"
},
"dependencies": {
@@ -6279,7 +6279,7 @@
"requires": {
"chalk": "1.1.3",
"commander": "2.20.3",
- "is-my-json-valid": "2.20.5",
+ "is-my-json-valid": "2.20.6",
"pinkie-promise": "2.0.1"
}
},
@@ -6481,7 +6481,7 @@
"dev": true,
"requires": {
"eventemitter3": "4.0.7",
- "follow-redirects": "1.14.4",
+ "follow-redirects": "1.14.5",
"requires-port": "1.0.0"
}
},
@@ -6639,9 +6639,9 @@
"dev": true
},
"is-core-module": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz",
- "integrity": "sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==",
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz",
+ "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==",
"dev": true,
"requires": {
"has": "1.0.3"
@@ -6742,15 +6742,15 @@
"dev": true
},
"is-my-json-valid": {
- "version": "2.20.5",
- "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.5.tgz",
- "integrity": "sha512-VTPuvvGQtxvCeghwspQu1rBgjYUT6FGxPlvFKbYuFtgc4ADsX3U5ihZOYN0qyU6u+d4X9xXb0IT5O6QpXKt87A==",
+ "version": "2.20.6",
+ "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.6.tgz",
+ "integrity": "sha512-1JQwulVNjx8UqkPE/bqDaxtH4PXCe/2VRh/y3p99heOV87HG4Id5/VfDswd+YiAfHcRTfDlWgISycnHuhZq1aw==",
"dev": true,
"requires": {
"generate-function": "2.3.1",
"generate-object-property": "1.2.0",
"is-my-ip-valid": "1.0.0",
- "jsonpointer": "4.1.0",
+ "jsonpointer": "5.0.0",
"xtend": "4.0.2"
}
},
@@ -7230,9 +7230,9 @@
"dev": true
},
"jsonpointer": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz",
- "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.0.tgz",
+ "integrity": "sha512-PNYZIdMjVIvVgDSYKTT63Y+KZ6IZvGRNNWcxwD+GNnUz1MKPfv30J8ueCjdwcN0nDx2SlshgyB7Oy0epAzVRRg==",
"dev": true
},
"jspm": {
@@ -7437,16 +7437,16 @@
"requires": {
"async": "2.6.3",
"combined-stream": "1.0.8",
- "mime-types": "2.1.32"
+ "mime-types": "2.1.34"
},
"dependencies": {
"mime-types": {
- "version": "2.1.32",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz",
- "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==",
+ "version": "2.1.34",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
+ "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"dev": true,
"requires": {
- "mime-db": "1.49.0"
+ "mime-db": "1.51.0"
}
}
}
@@ -7469,7 +7469,7 @@
"bluebird": "2.11.0",
"chalk": "1.1.3",
"commander": "2.20.3",
- "is-my-json-valid": "2.20.5"
+ "is-my-json-valid": "2.20.6"
}
},
"hawk": {
@@ -7816,9 +7816,9 @@
"dev": true
},
"lazystream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz",
- "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz",
+ "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==",
"dev": true,
"requires": {
"readable-stream": "2.3.7"
@@ -8659,18 +8659,18 @@
"dev": true
},
"mime-db": {
- "version": "1.49.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz",
- "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==",
+ "version": "1.51.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",
+ "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
"dev": true
},
"mime-types": {
- "version": "2.1.32",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz",
- "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==",
+ "version": "2.1.34",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
+ "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"dev": true,
"requires": {
- "mime-db": "1.49.0"
+ "mime-db": "1.51.0"
}
},
"minimatch": {
@@ -10174,7 +10174,7 @@
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
- "mime-types": "2.1.32",
+ "mime-types": "2.1.34",
"oauth-sign": "0.8.2",
"qs": "6.3.2",
"stringstream": "0.0.6",
@@ -10227,7 +10227,7 @@
"integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
"dev": true,
"requires": {
- "is-core-module": "2.7.0",
+ "is-core-module": "2.8.0",
"path-parse": "1.0.7"
}
},
@@ -10463,7 +10463,7 @@
"debug": "2.6.9",
"escape-html": "1.0.3",
"http-errors": "1.6.3",
- "mime-types": "2.1.32",
+ "mime-types": "2.1.34",
"parseurl": "1.3.3"
}
},
@@ -10967,7 +10967,7 @@
"integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
"dev": true,
"requires": {
- "asn1": "0.2.4",
+ "asn1": "0.2.6",
"assert-plus": "1.0.0",
"bcrypt-pbkdf": "1.0.2",
"dashdash": "1.14.1",
@@ -11555,7 +11555,7 @@
"dev": true,
"requires": {
"media-typer": "0.3.0",
- "mime-types": "2.1.32"
+ "mime-types": "2.1.34"
}
},
"typedarray": {
@@ -11664,9 +11664,9 @@
"dev": true
},
"ua-parser-js": {
- "version": "0.7.28",
- "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
- "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==",
+ "version": "0.7.31",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz",
+ "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==",
"dev": true
},
"ucfirst": {
@@ -11676,9 +11676,9 @@
"dev": true
},
"uglify-js": {
- "version": "3.14.2",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz",
- "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==",
+ "version": "3.14.3",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.3.tgz",
+ "integrity": "sha512-mic3aOdiq01DuSVx0TseaEzMIVqebMZ0Z3vaeDhFEh9bsc24hV1TFvN74reA2vs08D0ZWfNjAcJ3UbVLaBss+g==",
"dev": true,
"optional": true
},
diff --git a/package.json b/package.json
index d3335641..879d7803 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "aurelia-syncfusion-bridge",
- "version": "17.0.1",
+ "version": "17.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 4fa2ec85..94a576fa 100644
--- a/sample/package-lock.json
+++ b/sample/package-lock.json
@@ -101,9 +101,9 @@
"dev": true
},
"asn1": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
- "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
+ "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
"dev": true,
"requires": {
"safer-buffer": "2.1.2"
@@ -1217,7 +1217,7 @@
"requires": {
"asynckit": "0.4.0",
"combined-stream": "1.0.8",
- "mime-types": "2.1.32"
+ "mime-types": "2.1.34"
}
},
"fragment-cache": {
@@ -1541,9 +1541,9 @@
"dev": true
},
"is-core-module": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz",
- "integrity": "sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==",
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz",
+ "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==",
"dev": true,
"requires": {
"has": "1.0.3"
@@ -1620,15 +1620,15 @@
"dev": true
},
"is-my-json-valid": {
- "version": "2.20.5",
- "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.5.tgz",
- "integrity": "sha512-VTPuvvGQtxvCeghwspQu1rBgjYUT6FGxPlvFKbYuFtgc4ADsX3U5ihZOYN0qyU6u+d4X9xXb0IT5O6QpXKt87A==",
+ "version": "2.20.6",
+ "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.6.tgz",
+ "integrity": "sha512-1JQwulVNjx8UqkPE/bqDaxtH4PXCe/2VRh/y3p99heOV87HG4Id5/VfDswd+YiAfHcRTfDlWgISycnHuhZq1aw==",
"dev": true,
"requires": {
"generate-function": "2.3.1",
"generate-object-property": "1.2.0",
"is-my-ip-valid": "1.0.0",
- "jsonpointer": "4.1.0",
+ "jsonpointer": "5.0.0",
"xtend": "4.0.2"
}
},
@@ -1753,9 +1753,9 @@
"dev": true
},
"jsonpointer": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.1.0.tgz",
- "integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.0.tgz",
+ "integrity": "sha512-PNYZIdMjVIvVgDSYKTT63Y+KZ6IZvGRNNWcxwD+GNnUz1MKPfv30J8ueCjdwcN0nDx2SlshgyB7Oy0epAzVRRg==",
"dev": true
},
"jspm": {
@@ -1878,16 +1878,16 @@
"requires": {
"async": "2.6.3",
"combined-stream": "1.0.8",
- "mime-types": "2.1.32"
+ "mime-types": "2.1.34"
},
"dependencies": {
"mime-types": {
- "version": "2.1.32",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz",
- "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==",
+ "version": "2.1.34",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
+ "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"dev": true,
"requires": {
- "mime-db": "1.49.0"
+ "mime-db": "1.51.0"
}
}
}
@@ -1910,7 +1910,7 @@
"bluebird": "2.11.0",
"chalk": "1.1.3",
"commander": "2.20.3",
- "is-my-json-valid": "2.20.5"
+ "is-my-json-valid": "2.20.6"
}
},
"http-signature": {
@@ -2301,18 +2301,18 @@
}
},
"mime-db": {
- "version": "1.49.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz",
- "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==",
+ "version": "1.51.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",
+ "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
"dev": true
},
"mime-types": {
- "version": "2.1.32",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz",
- "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==",
+ "version": "2.1.34",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
+ "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"dev": true,
"requires": {
- "mime-db": "1.49.0"
+ "mime-db": "1.51.0"
}
},
"minimatch": {
@@ -2813,7 +2813,7 @@
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
- "mime-types": "2.1.32",
+ "mime-types": "2.1.34",
"oauth-sign": "0.9.0",
"performance-now": "2.1.0",
"qs": "6.5.2",
@@ -2829,7 +2829,7 @@
"integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
"dev": true,
"requires": {
- "is-core-module": "2.7.0",
+ "is-core-module": "2.8.0",
"path-parse": "1.0.7"
}
},
@@ -3169,7 +3169,7 @@
"integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
"dev": true,
"requires": {
- "asn1": "0.2.4",
+ "asn1": "0.2.6",
"assert-plus": "1.0.0",
"bcrypt-pbkdf": "1.0.2",
"dashdash": "1.14.1",
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 12ea8305..07aaff63 100644
--- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 9028e029..07e9e6ee 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/bootstrap-theme/ej.theme.css b/vendors/Content/ej/web/bootstrap-theme/ej.theme.css
index 357dc43a..2a11d9b9 100644
--- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.css
+++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 ee6420c8..2e7da2e0 100644
--- a/vendors/Content/ej/web/bootstrap-theme/ej.theme.min.css
+++ b/vendors/Content/ej/web/bootstrap-theme/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 6a24e2fa..2d4be42c 100644
--- a/vendors/Content/ej/web/default-theme/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/default-theme/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 8978359c..921e4df1 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/default-theme/ej.theme.css b/vendors/Content/ej/web/default-theme/ej.theme.css
index 1fb7554f..8f0aaa59 100644
--- a/vendors/Content/ej/web/default-theme/ej.theme.css
+++ b/vendors/Content/ej/web/default-theme/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 3c8ba098..eb5188ef 100644
--- a/vendors/Content/ej/web/default-theme/ej.theme.min.css
+++ b/vendors/Content/ej/web/default-theme/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 4905b9a2..cbafcce6 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.bootstrap.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 fb32af3b..d489f493 100644
--- a/vendors/Content/ej/web/ej.widgets.core.bootstrap.min.css
+++ b/vendors/Content/ej/web/ej.widgets.core.bootstrap.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.bootstrap.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 0e0d7465..62847a76 100644
--- a/vendors/Content/ej/web/ej.widgets.core.compatibility.min.css
+++ b/vendors/Content/ej/web/ej.widgets.core.compatibility.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 2d409952..b20900a6 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.material.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 207f4af2..9120e7f5 100644
--- a/vendors/Content/ej/web/ej.widgets.core.material.min.css
+++ b/vendors/Content/ej/web/ej.widgets.core.material.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.material.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/ej.widgets.core.min.css b/vendors/Content/ej/web/ej.widgets.core.min.css
index 9ffdc8c1..9cb370db 100644
--- a/vendors/Content/ej/web/ej.widgets.core.min.css
+++ b/vendors/Content/ej/web/ej.widgets.core.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 7539c0be..ba86cb2f 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.office-365.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 dde000bb..8e43caa8 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.widgets.core.office-365.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 fa20a422..07e0544e 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 bcf298c4..a4e9421f 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 7ebbaf32..bb6f9d05 100644
--- a/vendors/Content/ej/web/flat-azure-dark/ej.theme.css
+++ b/vendors/Content/ej/web/flat-azure-dark/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 baceeb79..63d1d4bf 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 5eac4e55..179efd4d 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 1b376f4d..f715a980 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 6fa75425..c1c36b28 100644
--- a/vendors/Content/ej/web/flat-lime-dark/ej.theme.css
+++ b/vendors/Content/ej/web/flat-lime-dark/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 f691baa5..78631500 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 03d2505c..9b0ababa 100644
--- a/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/flat-lime/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 65b50f6f..b0c2bf09 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/flat-lime/ej.theme.css b/vendors/Content/ej/web/flat-lime/ej.theme.css
index 35af653b..25fc5dca 100644
--- a/vendors/Content/ej/web/flat-lime/ej.theme.css
+++ b/vendors/Content/ej/web/flat-lime/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 e3a44eeb..c321fc26 100644
--- a/vendors/Content/ej/web/flat-lime/ej.theme.min.css
+++ b/vendors/Content/ej/web/flat-lime/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 5bf66dfd..47a0a1d0 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 1426a373..97349026 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 7e7621b7..c8824205 100644
--- a/vendors/Content/ej/web/flat-saffron-dark/ej.theme.css
+++ b/vendors/Content/ej/web/flat-saffron-dark/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 bff5323e..63216ec0 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 59f06c7f..2c474fc2 100644
--- a/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/flat-saffron/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 300d62a8..8a740dbf 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/flat-saffron/ej.theme.css b/vendors/Content/ej/web/flat-saffron/ej.theme.css
index e57190a7..55bc1e1c 100644
--- a/vendors/Content/ej/web/flat-saffron/ej.theme.css
+++ b/vendors/Content/ej/web/flat-saffron/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 5b4d6904..15c91179 100644
--- a/vendors/Content/ej/web/flat-saffron/ej.theme.min.css
+++ b/vendors/Content/ej/web/flat-saffron/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 407bdf25..350de8e8 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 7c426783..babc35f8 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 235ce8c1..ff7ef20c 100644
--- a/vendors/Content/ej/web/gradient-azure-dark/ej.theme.css
+++ b/vendors/Content/ej/web/gradient-azure-dark/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 91bf7758..11339493 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 946bcc6e..85615ee7 100644
--- a/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/gradient-azure/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 49a53f88..a7d665eb 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/gradient-azure/ej.theme.css b/vendors/Content/ej/web/gradient-azure/ej.theme.css
index 0c6d2328..1a0e2b67 100644
--- a/vendors/Content/ej/web/gradient-azure/ej.theme.css
+++ b/vendors/Content/ej/web/gradient-azure/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 32a519fd..d8281396 100644
--- a/vendors/Content/ej/web/gradient-azure/ej.theme.min.css
+++ b/vendors/Content/ej/web/gradient-azure/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 50039913..c2f370b7 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 9122389e..cc073f64 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 d594af0e..b890922b 100644
--- a/vendors/Content/ej/web/gradient-lime-dark/ej.theme.css
+++ b/vendors/Content/ej/web/gradient-lime-dark/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 02f2ce80..80b3875e 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 96e27710..805af192 100644
--- a/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/gradient-lime/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 85822c1d..91d432d9 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/gradient-lime/ej.theme.css b/vendors/Content/ej/web/gradient-lime/ej.theme.css
index 7293f5ed..8f3336e2 100644
--- a/vendors/Content/ej/web/gradient-lime/ej.theme.css
+++ b/vendors/Content/ej/web/gradient-lime/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 49d3887a..248899fa 100644
--- a/vendors/Content/ej/web/gradient-lime/ej.theme.min.css
+++ b/vendors/Content/ej/web/gradient-lime/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 2189f3b6..c26beaeb 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 ccade5f4..67d0c31d 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 db0179aa..ac2b04d3 100644
--- a/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.css
+++ b/vendors/Content/ej/web/gradient-saffron-dark/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 381ce69d..b4e46edc 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 b9b0ccd2..52cb9207 100644
--- a/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 6d7d6161..1d5d8385 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/gradient-saffron/ej.theme.css b/vendors/Content/ej/web/gradient-saffron/ej.theme.css
index 31401078..7b020e86 100644
--- a/vendors/Content/ej/web/gradient-saffron/ej.theme.css
+++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 b116d33c..664974f6 100644
--- a/vendors/Content/ej/web/gradient-saffron/ej.theme.min.css
+++ b/vendors/Content/ej/web/gradient-saffron/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 37540046..00779959 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 f1f4bd76..9a527c68 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 7aa02701..6b420f30 100644
--- a/vendors/Content/ej/web/high-contrast-01/ej.theme.css
+++ b/vendors/Content/ej/web/high-contrast-01/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 4150709e..ea59aeba 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 fce4d7bb..c3a35e29 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 4ba38967..b5726386 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 03f5370c..0f669be3 100644
--- a/vendors/Content/ej/web/high-contrast-02/ej.theme.css
+++ b/vendors/Content/ej/web/high-contrast-02/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 5519f740..b05da204 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/material/ej.theme.compatibility.css b/vendors/Content/ej/web/material/ej.theme.compatibility.css
index f60053ea..743abc64 100644
--- a/vendors/Content/ej/web/material/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/material/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 8f0d0d36..1a7aa252 100644
--- a/vendors/Content/ej/web/material/ej.theme.compatibility.min.css
+++ b/vendors/Content/ej/web/material/ej.theme.compatibility.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/material/ej.theme.css b/vendors/Content/ej/web/material/ej.theme.css
index 7e6b50de..c2dcae8e 100644
--- a/vendors/Content/ej/web/material/ej.theme.css
+++ b/vendors/Content/ej/web/material/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/material/ej.theme.min.css b/vendors/Content/ej/web/material/ej.theme.min.css
index 7306e1b9..060622e8 100644
--- a/vendors/Content/ej/web/material/ej.theme.min.css
+++ b/vendors/Content/ej/web/material/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 7fd5d3cc..43ae90ac 100644
--- a/vendors/Content/ej/web/office-365/ej.theme.compatibility.css
+++ b/vendors/Content/ej/web/office-365/ej.theme.compatibility.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 dfe010a0..938c89bc 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,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.compatibility.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
diff --git a/vendors/Content/ej/web/office-365/ej.theme.css b/vendors/Content/ej/web/office-365/ej.theme.css
index e6f20990..cce3e258 100644
--- a/vendors/Content/ej/web/office-365/ej.theme.css
+++ b/vendors/Content/ej/web/office-365/ej.theme.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 5cbae244..2b4380bc 100644
--- a/vendors/Content/ej/web/office-365/ej.theme.min.css
+++ b/vendors/Content/ej/web/office-365/ej.theme.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*!
* filename: ej.theme.min.css
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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
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 bdd869b6..b1be3739 100644
--- a/vendors/scripts/ej/aurelia/amd/aurelia-syncfusion-bridge.d.ts
+++ b/vendors/scripts/ej/aurelia/amd/aurelia-syncfusion-bridge.d.ts
@@ -274,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;
@@ -285,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);
}
@@ -301,6 +301,9 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejLinearGauge extends WidgetBase {
constructor(element?: any);
}
+ export class ejListBox extends WidgetBase {
+ constructor(element?: any);
+ }
export class ejListView extends WidgetBase {
constructor(element?: any);
}
@@ -311,10 +314,10 @@ declare module 'aurelia-syncfusion-bridge' {
layers: any;
constructor(element?: any);
}
- export class ejMenu extends WidgetBase {
+ export class ejMaskEdit extends WidgetBase {
constructor(element?: any);
}
- export class ejMaskEdit extends WidgetBase {
+ export class ejMenu extends WidgetBase {
constructor(element?: any);
}
export class ejNavigationDrawer extends WidgetBase {
@@ -361,24 +364,21 @@ declare module 'aurelia-syncfusion-bridge' {
items: any;
constructor(element?: any, templateEngine?: any);
}
- export class ejListBox extends WidgetBase {
- constructor(element?: any);
- }
export class ejRadialSlider extends WidgetBase {
constructor(element?: any);
}
export class ejRadioButton extends WidgetBase {
constructor(element?: any);
}
- export class ejRating extends WidgetBase {
- constructor(element?: any);
- }
export class ejRangeNavigator extends WidgetBase {
series: any;
constructor(element?: any);
}
export class RangeSeries {
+ }
+ export class ejRating extends WidgetBase {
+ constructor(element?: any);
}
export class ejRibbon extends WidgetBase {
constructor(element?: any);
@@ -399,10 +399,10 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejScroller extends WidgetBase {
constructor(element?: any);
}
- export class ejSlider extends WidgetBase {
+ export class ejSignature extends WidgetBase {
constructor(element?: any);
}
- export class ejSignature extends WidgetBase {
+ export class ejSlider extends WidgetBase {
constructor(element?: any);
}
export class ejSparkline extends WidgetBase {
diff --git a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts
index 395aa107..d2c07311 100644
--- a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts
+++ b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.d.ts
@@ -270,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;
@@ -281,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);
}
@@ -297,6 +297,9 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejLinearGauge extends WidgetBase {
constructor(element?: any);
}
+ export class ejListBox extends WidgetBase {
+ constructor(element?: any);
+ }
export class ejListView extends WidgetBase {
constructor(element?: any);
}
@@ -307,10 +310,10 @@ declare module 'aurelia-syncfusion-bridge' {
layers: any;
constructor(element?: any);
}
- export class ejMenu extends WidgetBase {
+ export class ejMaskEdit extends WidgetBase {
constructor(element?: any);
}
- export class ejMaskEdit extends WidgetBase {
+ export class ejMenu extends WidgetBase {
constructor(element?: any);
}
export class ejNavigationDrawer extends WidgetBase {
@@ -357,24 +360,21 @@ declare module 'aurelia-syncfusion-bridge' {
items: any;
constructor(element?: any, templateEngine?: any);
}
- export class ejListBox extends WidgetBase {
- constructor(element?: any);
- }
export class ejRadialSlider extends WidgetBase {
constructor(element?: any);
}
export class ejRadioButton extends WidgetBase {
constructor(element?: any);
}
- export class ejRating extends WidgetBase {
- constructor(element?: any);
- }
export class ejRangeNavigator extends WidgetBase {
series: any;
constructor(element?: any);
}
export class RangeSeries {
+ }
+ export class ejRating extends WidgetBase {
+ constructor(element?: any);
}
export class ejRibbon extends WidgetBase {
constructor(element?: any);
@@ -395,10 +395,10 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejScroller extends WidgetBase {
constructor(element?: any);
}
- export class ejSlider extends WidgetBase {
+ export class ejSignature extends WidgetBase {
constructor(element?: any);
}
- export class ejSignature extends WidgetBase {
+ export class ejSlider extends WidgetBase {
constructor(element?: any);
}
export class ejSparkline extends WidgetBase {
diff --git a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js
index a299aa2e..ec33b8a7 100644
--- a/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js
+++ b/vendors/scripts/ej/aurelia/aurelia-syncfusion-bridge.js
@@ -1167,17 +1167,6 @@ export class ejGantt extends WidgetBase {
}
-@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;
- }
-}
-
-
@inlineView(`${constants.aureliaTemplateString}`)
@customElement(`${constants.elementPrefix}column`)
@@ -1211,6 +1200,17 @@ export class ejGrid extends WidgetBase {
}
+@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;
+ }
+}
+
+
@customElement(`${constants.elementPrefix}heat-map`)
@inlineView(`${constants.aureliaTemplateString}`)
@generateBindables('ejHeatMap', ['width', 'height', 'id', 'showTooltip', 'tooltipSettings', 'itemsSource', 'heatMapCell', 'isResponsive', 'enableVirtualization', 'defaultColumnStyle', 'legendCollection', 'itemsMapping', 'colorMappingCollection'])
@@ -1271,6 +1271,17 @@ export class ejLinearGauge extends WidgetBase {
}
+@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'])
@@ -1307,24 +1318,24 @@ export class ejMap extends WidgetBase {
}
-@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']})
+@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 ejMenu extends WidgetBase {
+export class ejMaskEdit extends WidgetBase {
constructor(element) {
super();
+ this.isEditor = true;
this.element = element;
}
}
-@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'])
+@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 ejMaskEdit extends WidgetBase {
+export class ejMenu extends WidgetBase {
constructor(element) {
super();
- this.isEditor = true;
this.element = element;
}
}
@@ -1506,17 +1517,6 @@ export class ejRadialMenu extends WidgetBase {
}
-@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}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'])
@@ -1540,17 +1540,6 @@ export class ejRadioButton extends WidgetBase {
}
-@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}range-navigator`)
@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']})
@@ -1575,6 +1564,17 @@ export class RangeSeries {
}
+@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('ejRibbon', ['allowResizing', 'isResponsive', 'buttonDefaults', 'showQAT', 'cssClass', 'collapsePinSettings', 'enableOnDemand', 'collapsible', 'enableRTL', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'], [], {'enableRTL': ['enableRtl']})
@@ -1644,10 +1644,11 @@ export class ejScroller 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']})
+@customElement(`${constants.elementPrefix}signature`)
+@inlineView(`${constants.aureliaTemplateString}`)
+@generateBindables('ejSignature', ['backgroundColor', 'backgroundImage', 'enabled', 'height', 'isResponsive', 'saveImageFormat', 'saveWithBackground', 'showRoundedCorner', 'strokeColor', 'strokeWidth', 'width'])
@inject(Element)
-export class ejSlider extends WidgetBase {
+export class ejSignature extends WidgetBase {
constructor(element) {
super();
this.element = element;
@@ -1655,11 +1656,10 @@ export class ejSlider extends WidgetBase {
}
-@customElement(`${constants.elementPrefix}signature`)
-@inlineView(`${constants.aureliaTemplateString}`)
-@generateBindables('ejSignature', ['backgroundColor', 'backgroundImage', 'enabled', 'height', 'isResponsive', 'saveImageFormat', 'saveWithBackground', 'showRoundedCorner', 'strokeColor', 'strokeWidth', 'width'])
+@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 ejSignature extends WidgetBase {
+export class ejSlider extends WidgetBase {
constructor(element) {
super();
this.element = element;
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 bdd869b6..b1be3739 100644
--- a/vendors/scripts/ej/aurelia/commonjs/aurelia-syncfusion-bridge.d.ts
+++ b/vendors/scripts/ej/aurelia/commonjs/aurelia-syncfusion-bridge.d.ts
@@ -274,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;
@@ -285,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);
}
@@ -301,6 +301,9 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejLinearGauge extends WidgetBase {
constructor(element?: any);
}
+ export class ejListBox extends WidgetBase {
+ constructor(element?: any);
+ }
export class ejListView extends WidgetBase {
constructor(element?: any);
}
@@ -311,10 +314,10 @@ declare module 'aurelia-syncfusion-bridge' {
layers: any;
constructor(element?: any);
}
- export class ejMenu extends WidgetBase {
+ export class ejMaskEdit extends WidgetBase {
constructor(element?: any);
}
- export class ejMaskEdit extends WidgetBase {
+ export class ejMenu extends WidgetBase {
constructor(element?: any);
}
export class ejNavigationDrawer extends WidgetBase {
@@ -361,24 +364,21 @@ declare module 'aurelia-syncfusion-bridge' {
items: any;
constructor(element?: any, templateEngine?: any);
}
- export class ejListBox extends WidgetBase {
- constructor(element?: any);
- }
export class ejRadialSlider extends WidgetBase {
constructor(element?: any);
}
export class ejRadioButton extends WidgetBase {
constructor(element?: any);
}
- export class ejRating extends WidgetBase {
- constructor(element?: any);
- }
export class ejRangeNavigator extends WidgetBase {
series: any;
constructor(element?: any);
}
export class RangeSeries {
+ }
+ export class ejRating extends WidgetBase {
+ constructor(element?: any);
}
export class ejRibbon extends WidgetBase {
constructor(element?: any);
@@ -399,10 +399,10 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejScroller extends WidgetBase {
constructor(element?: any);
}
- export class ejSlider extends WidgetBase {
+ export class ejSignature extends WidgetBase {
constructor(element?: any);
}
- export class ejSignature extends WidgetBase {
+ export class ejSlider extends WidgetBase {
constructor(element?: any);
}
export class ejSparkline extends WidgetBase {
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 bdd869b6..b1be3739 100644
--- a/vendors/scripts/ej/aurelia/es6/aurelia-syncfusion-bridge.d.ts
+++ b/vendors/scripts/ej/aurelia/es6/aurelia-syncfusion-bridge.d.ts
@@ -274,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;
@@ -285,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);
}
@@ -301,6 +301,9 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejLinearGauge extends WidgetBase {
constructor(element?: any);
}
+ export class ejListBox extends WidgetBase {
+ constructor(element?: any);
+ }
export class ejListView extends WidgetBase {
constructor(element?: any);
}
@@ -311,10 +314,10 @@ declare module 'aurelia-syncfusion-bridge' {
layers: any;
constructor(element?: any);
}
- export class ejMenu extends WidgetBase {
+ export class ejMaskEdit extends WidgetBase {
constructor(element?: any);
}
- export class ejMaskEdit extends WidgetBase {
+ export class ejMenu extends WidgetBase {
constructor(element?: any);
}
export class ejNavigationDrawer extends WidgetBase {
@@ -361,24 +364,21 @@ declare module 'aurelia-syncfusion-bridge' {
items: any;
constructor(element?: any, templateEngine?: any);
}
- export class ejListBox extends WidgetBase {
- constructor(element?: any);
- }
export class ejRadialSlider extends WidgetBase {
constructor(element?: any);
}
export class ejRadioButton extends WidgetBase {
constructor(element?: any);
}
- export class ejRating extends WidgetBase {
- constructor(element?: any);
- }
export class ejRangeNavigator extends WidgetBase {
series: any;
constructor(element?: any);
}
export class RangeSeries {
+ }
+ export class ejRating extends WidgetBase {
+ constructor(element?: any);
}
export class ejRibbon extends WidgetBase {
constructor(element?: any);
@@ -399,10 +399,10 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejScroller extends WidgetBase {
constructor(element?: any);
}
- export class ejSlider extends WidgetBase {
+ export class ejSignature extends WidgetBase {
constructor(element?: any);
}
- export class ejSignature extends WidgetBase {
+ export class ejSlider extends WidgetBase {
constructor(element?: any);
}
export class ejSparkline extends WidgetBase {
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 bdd869b6..b1be3739 100644
--- a/vendors/scripts/ej/aurelia/system/aurelia-syncfusion-bridge.d.ts
+++ b/vendors/scripts/ej/aurelia/system/aurelia-syncfusion-bridge.d.ts
@@ -274,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;
@@ -285,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);
}
@@ -301,6 +301,9 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejLinearGauge extends WidgetBase {
constructor(element?: any);
}
+ export class ejListBox extends WidgetBase {
+ constructor(element?: any);
+ }
export class ejListView extends WidgetBase {
constructor(element?: any);
}
@@ -311,10 +314,10 @@ declare module 'aurelia-syncfusion-bridge' {
layers: any;
constructor(element?: any);
}
- export class ejMenu extends WidgetBase {
+ export class ejMaskEdit extends WidgetBase {
constructor(element?: any);
}
- export class ejMaskEdit extends WidgetBase {
+ export class ejMenu extends WidgetBase {
constructor(element?: any);
}
export class ejNavigationDrawer extends WidgetBase {
@@ -361,24 +364,21 @@ declare module 'aurelia-syncfusion-bridge' {
items: any;
constructor(element?: any, templateEngine?: any);
}
- export class ejListBox extends WidgetBase {
- constructor(element?: any);
- }
export class ejRadialSlider extends WidgetBase {
constructor(element?: any);
}
export class ejRadioButton extends WidgetBase {
constructor(element?: any);
}
- export class ejRating extends WidgetBase {
- constructor(element?: any);
- }
export class ejRangeNavigator extends WidgetBase {
series: any;
constructor(element?: any);
}
export class RangeSeries {
+ }
+ export class ejRating extends WidgetBase {
+ constructor(element?: any);
}
export class ejRibbon extends WidgetBase {
constructor(element?: any);
@@ -399,10 +399,10 @@ declare module 'aurelia-syncfusion-bridge' {
export class ejScroller extends WidgetBase {
constructor(element?: any);
}
- export class ejSlider extends WidgetBase {
+ export class ejSignature extends WidgetBase {
constructor(element?: any);
}
- export class ejSignature extends WidgetBase {
+ export class ejSlider extends WidgetBase {
constructor(element?: any);
}
export class ejSparkline extends WidgetBase {
diff --git a/vendors/scripts/ej/common/ej.core.min.js b/vendors/scripts/ej/common/ej.core.min.js
index dc313fbc..eeb4a669 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.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. 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.3.0.43";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;t0&&e<595?u=e:e>595&&(u=595);n(r.svgObject).width(u);r.model.height?f=parseInt(r.model.height):o>0?f=o:n(r.svgObject).css("display","block");n(r.svgObject).height(f);r.svgObject.setAttribute("width",u);r.svgObject.setAttribute("height",f)},_renderBulletElements:function(){var f=this.model.width?this.model.width:595,e=this.model.height?this.model.height:90,i;this.svgObject.setAttribute("viewBox","0 0 "+f+" "+e);this.svgObject.setAttribute("preserveAspectRatio","xMinYMin");this.svgWidth=n(this.svgObject).width();this.svgHeight=n(this.svgObject).height();var r=this.svgRenderer.createGroup({id:this.svgObject.id+"_captionGroup"}),t=this.svgRenderer.createGroup({id:this.svgObject.id+"_scaleGroup"}),u=this.svgRenderer.createGroup({id:this.svgObject.id+"_outerWrap"});this._initializeValues();i=this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/this._scale.interval);this._drawCaption();this._drawIndicator();this._drawCaptionGroup(r);this._scaleGroup=t;this._drawScale(r,t);this._drawQualitativeRanges(t);this._drawMajorTicks(i,t);this._drawMinorTicks(i,t);this._drawLabels(i,t);this._bindData();n(t).appendTo(u);n(r).appendTo(u);this._changeOrientation(t);n(u).appendTo(this.svgObject);n(this.svgObject).appendTo(this.element);this._bindHighlightRemoving()},_bindHighlightRemoving:function(){var i=this.model.browserInfo.isMSPointerEnabled,t,r=this.model.browserInfo.pointerEnabled;t=i?r?"pointerout":"MSPointerOut":"touchout mouseout";this._on(n("[id*="+this.svgObject.id+"_FeatureMeasure_]"),t,function(t){this.isTouch(t)||n(t.target).attr("opacity",1)})},_drawCaptionGroup:function(n){var u=this.model.captionSettings,f=u.subTitle,r=this._indicator?this._indicator.settings:u.indicator,c,b,k,l,a,v;u._location=f._location=r._location=c;var y=u.textPosition.toLowerCase()!="float"&&u.text!="",p=f.textPosition.toLowerCase()!="float"&&f.text!="",w=r.visible&&r.textPosition.toLowerCase()!="float";if(y||p||w){b=t.EjSvgRender.utils._measureText(u.text,null,u.font);k=t.EjSvgRender.utils._measureText(f.text,null,f.font);r.visible&&(l=this._indicator.bounds,v={width:r.symbol.size.width+l.width+r.textSpacing,height:Math.max(r.symbol.size.height,l.height)},a={x:0,y:0,width:v.width,height:v.height,padding:r.padding,anchor:r.textAnchor.toLowerCase(),alignment:r.textAlignment.toLowerCase()});var d={x:0,y:0,width:b.width,height:parseFloat(u.font.size),padding:u.padding,anchor:u.textAnchor.toLowerCase(),alignment:u.textAlignment.toLowerCase()},g={x:0,y:0,width:k.width,height:parseFloat(f.font.size),padding:f.padding,anchor:f.textAnchor.toLowerCase(),alignment:f.textAlignment.toLowerCase()},tt={x:this._scale.location.x,y:this._scale.location.y,width:this.model.quantitativeScaleLength,height:this.model.qualitativeRangeSize},nt=[y?u:null,p?f:null,w?r:null];this._positionTextGroup(nt,[d,g,a],tt);this._locateTextGroup(nt,[d,g,a])}var e=u._location==i?u.location:u._location,o=f._location==i?f.location:f._location,s=r._location==i?r.location:r._location;if(u.displayText=u.text,u.enableTrim==!0&&(e.x=e.x<0?0:e.x,e.y=e.y<0?0:e.y,u.displayText=this._displayText(u,e)),f.text!=""&&(f.displayText=f.text,u.enableTrim==!0&&(o.x=o.x<0?0:o.x,o.y=o.y<0?0:o.y,f.displayText=this._displayText(f,o))),r.visible){r.displayText=r.text;this.model.captionSettings.enableTrim==!0&&(s.x=s.x<0?0:s.x,s.y=s.y<0?0:s.y);var c=r._location?r._location:r.location,h={x:c.x+r.symbol.size.width/2,y:c.y-r.symbol.size.height/2,width:r.symbol.size.width,height:r.symbol.size.height},it=this._indicatorTextOptions(r,h,this._indicator.bounds,this.svgObject.id+"_Indicator"),rt=this._indicatorSymbolOptions(n,r);this._drawBulletSymbol(this._indicator.settings.symbol.shape,h,rt,n);this.model.captionSettings.enableTrim==!0&&(r.displayText=this._displayText(r,h))}u.displayText=u.textPosition.toLowerCase()!="float"?this._captionOverlap(this.model.captionSettings):u.displayText;this.svgRenderer.drawText(this._textOptions(u,this.svgObject.id+"_Caption"),u.displayText,n);f.text!=""&&(f.displayText=f.textPosition.toLowerCase()!="float"?this._subOverlap(this.model.captionSettings.subTitle):f.displayText,this.svgRenderer.drawText(this._textOptions(f,this.svgObject.id+"_SubTitle"),f.displayText,n));r.visible&&(r.displayText=r.textPosition.toLowerCase()!="float"?this._indOverlap(r,h):r.displayText,this.svgRenderer.drawText(it,r.displayText,n))},_captionOverlap:function(n){var t,i;return i=!0,n.textPosition==n.subTitle.textPosition&&n.textAlignment==n.subTitle.textAlignment&&n.textAngle>0&&n.textAngle<120?t=n.subTitle._location.y-n._location.y:n.textPosition==n.indicator.textPosition&&n.textAlignment==n.indicator.textAlignment&&n.textAngle>0&&n.textAngle<120?t=n.indicator._location.y-n._location.y:n.textPosition==n.subTitle.textPosition&&n._location.y0&&n.textAngle<180?t=n.subTitle._location.y-n._location.y:n.textPosition==n.subTitle.textPosition&&n._location.y>n.subTitle._location.y&&n.textAngle>190&&n.textAngle<360?t=n._location.y-n.subTitle._location.y:n.textPosition==n.indicator.textPosition&&n._location.y0&&n.textAngle<180?t=n.indicator._location.y-n._location.y:n.textPosition==n.indicator.textPosition&&n._location.y>n.indicator._location.y&&n.textAngle>190&&n.textAngle<360&&(t=n._location.y-n.indicator._location.y),this._trim(n.displayText,n,t,i)},_indOverlap:function(n,t){var u,f,i,r;return f=!0,i=this.model.captionSettings.subTitle,r=this.model.captionSettings,n.textPosition==i.textPosition&&n.textAlignment==i.textAlignment&&n.textAngle>190&&n.textAngle<360?u=t.y-i._location.y:n.textPosition==r.textPosition&&n.textAlignment==r.textAlignment&&n.textAngle>190&&n.textAngle<360?u=t.y-r._location.y:n.textPosition==i.textPosition&&n._location.y0&&n.textAngle<180?u=i._location.y-n._location.y:n.textPosition==i.textPosition&&n._location.y>i._location.y&&n.textAngle>190&&n.textAngle<360?u=n._location.y-i._location.y:n.textPosition==r.textPosition&&n._location.y0&&n.textAngle<180?u=r._location.y-n._location.y:n.textPosition==r.textPosition&&n._location.y>r._location.y&&n.textAngle>190&&n.textAngle<360&&(u=n._location.y-r._location.y),this._trim(n.displayText,n,u,f)},_subOverlap:function(n){var r,u,t,i;return u=!0,t=this.model.captionSettings.indicator,i=this.model.captionSettings,n.textPosition==t.textPosition&&n.textAlignment==t.textAlignment&&n.textAngle>0&&n.textAngle<180?r=t._location.y-n._location.y:n.textPosition==i.textPosition&&n.textAlignment==i.textAlignment&&n.textAngle>190&&n.textAngle<360?r=n._location.y-i._location.y:n.textPosition==t.textPosition&&n._location.y0&&n.textAngle<180?r=t._location.y-n._location.y:n.textPosition==t.textPosition&&n._location.y>t._location.y&&n.textAngle>190&&n.textAngle<360?r=n._location.y-t._location.y:n.textPosition==i.textPosition&&n._location.y0&&n.textAngle<180?r=i._location.y-n._location.y:n.textPosition==i.textPosition&&n._location.y>i._location.y&&n.textAngle>190&&n.textAngle<360&&(r=n._location.y-i._location.y),this._trim(n.displayText,n,r,u)},rotatedLabel:function(n,i,r,u){var f={"font-size":n.size,transform:"rotate("+r+",0,0)","font-family":n.fontFamily,"font-style":n.fontStyle,rotateAngle:"rotate("+r+"deg)","text-anchor":"middle"},e=i.svgRenderer.createText(f,u);return Math.ceil(t.EjSvgRender.utils._measureBounds(e,i).width)},calcGap:function(n,t,i,r,u,f,e){var o;return n>=0&&n<=90?r+t.y>=e&&n>0?(o=e-t.y,u=!0):r+t.y<=e&&i+t.x>=f&&n>0?o=f-t.x:r+t.y<=e&&n>0?(o=e-t.y,u=!0):o=f-t.x:n>90&&n<180?r+t.y>=e?(o=e-t.y,u=!0):r+t.y<=e&&i+t.x>=f?o=t.x:i+t.x<=f?o=t.x:(o=e-t.y,u=!0):n>=180&&n<270?t.x-i>=0?(o=t.y,u=!0):t.y-r<=0&&t.x-i<=0?o=t.x:t.y-r<=0?(o=e-t.y,u=!0):o=t.x:i+t.x<=f?(o=t.y,u=!0):t.y-r>=0&&i+t.x>=f?o=f-t.x:i+t.x>=f?o=f-t.x:(o=t.y,u=!0),{trimSize:o,rotate:u}},_scaleLoc:function(){var o=this._scale,u=o.labelSettings.offset,i=o.majorTickSettings.size,n,e,s=this._scale.labelSettings,h=t.EjSvgRender.utils._measureText(s.labelPrefix+o.maximum+s.labelSuffix,null,s),f=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?h.height:h.width,r,c;n=o.location.y;r=this.model.qualitativeRangeSize;c=this._tickPosition+this._tickPlacement+this._labelPosition+this._labelPlacement;this._tickPosition=="center"&&(i=i>r&&(i-r)/2);switch(c){case"faroutsidebelowoutside":e=n+f+r+u+(i>u&&i-u);break;case"faroutsidebelowinside":e=n+i+r;n=n-(u+f>r&&u+f-r);break;case"faroutsideaboveoutside":e=n+i+r;n=n-(u+f);break;case"faroutsideaboveinside":e=n+i+r+(u+f>r+i?u+f-(r+i):0);break;case"farinsidebelowoutside":e=n+f+r+u;n=n-(i>r&&i-r);break;case"farinsidebelowinside":e=n+r;n=n-(i>r&&i-r)-(u+f>r+i&&u+f-i);break;case"farinsideaboveoutside":e=n+r;n=n-(u+f)-(i>u+f+r&&i-(u+f+r));break;case"farinsideaboveinside":e=n+r+(u+f>r&&f+u-r);n=n-(i>r&&i-r);break;case"nearoutsidebelowoutside":e=n+r+u+f;n=n-i;break;case"nearoutsidebelowinside":e=n+r;n=n-i-(u+f>r+i&&u+f-(r+i));break;case"nearoutsideaboveoutside":e=n+r;n=n-i-(ir&&u+f-r);n=n-i;break;case"nearinsidebelowoutside":e=n+r+(i>u+f+r?i-r:u+f);break;case"nearinsidebelowinside":e=n+r+(i>r&&i-r);n=n-(u+f>r&&u+f-r);break;case"nearinsideaboveoutside":e=n+(i>r?i:r);n=n-u-f;break;case"nearinsideaboveinside":e=n+r+(i>f+u?i-r:f+u-r);break;case"centeroutsidebelowoutside":e=n+r+(i>u+f?i:u+f);n=n-i;break;case"centeroutsidebelowinside":e=n+r+i;n=n-i-(u+f>r+i&&u+f-(r+i));break;case"centeroutsideaboveoutside":e=n+r+i;n=n-i-(ir+i?u+f-r-i:i);n=n-i;break;case"centerinsidebelowoutside":e=n+r+(i>u+f?i:u+f);n=n-i;break;case"centerinsidebelowinside":e=n+r+i;n=n-(u+f-r>i?u+f-r:i);break;case"centerinsideaboveoutside":e=n+r+i;n=n-i-(if+u?i:f+u-r);n=n-i}return{x:o.location.x,y:n,height:e}},_displayText:function(i,r){var f=n.extend(!0,r),e=i.textAngle%360,y=i.text,w=i.font,a=this._scale,p=this._scale.labelSettings,b=t.EjSvgRender.utils._measureText(p.labelPrefix+a.minimum+p.labelSuffix,null,p).width,k=t.EjSvgRender.utils._measureText(y,null,w).width,d=t.EjSvgRender.utils.rotatedLabel(i,this,e,i.text),v=this.rotatedLabel(w,this,e,i.text),o,s=this.svgHeight,h=this.svgWidth,l=!1,u=this._scaleLoc(),c,g;return i.textSpacing&&(k=k+i.textSpacing,v=v+i.textSpacing),this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?(f.x<=u.x&&u.y<=f.y&&f.y<=u.height?h=a.location.x-b/2:f.x<=u.x&&f.y<=u.y&&e<90?s=u.y:f.x>=u.x&&f.x<=u.x+this.model.quantitativeScaleLength&&f.y<=u.y?s=u.y:f.y<=u.y&&f.x>=u.x+this.model.quantitativeScaleLength&&e>=90?s=u.y:f.x>=u.x+this.model.quantitativeScaleLength&&u.y<=f.y&&f.y<=u.height&&e<270?(h=h-(u.x+this.model.quantitativeScaleLength),f.x=f.x-(u.x+this.model.quantitativeScaleLength)):f.x<=u.x&&f.y>=u.height&&e>270?f.y=f.y-u.height:f.x>=u.x&&f.x<=u.x+this.model.quantitativeScaleLength&&f.y>=u.height?f.y=f.y-u.height:f.x>=u.x+this.model.quantitativeScaleLength&&f.y>=u.height&&e>=180&&e<270&&(f.y=f.y-u.height),o=this.calcGap(e,f,v,d,l,h,s),l=o.rotate,o=o.trimSize):(c=u.height-u.y,u.y=this.svgHeight-a.location.y-this.model.quantitativeScaleLength,u.height=u.y+this.model.quantitativeScaleLength,f.x<=u.x&&u.y<=f.y&&f.y<=u.height?h=a.location.x-b/2:f.x<=u.x&&f.y<=u.y&&e<90?s=u.y:f.x>=u.x&&f.x<=u.x+c&&f.y<=u.y?s=u.y:f.y<=u.y&&f.x>=u.x+c&&e>=90?s=u.y:f.x>=u.x+c&&u.y<=f.y&&f.y<=u.height&&e<=260?(h=h-(u.x+c),f.x=f.x-(u.x+c)):f.x<=u.x&&f.y>=u.height&&e>=280?f.y=f.y-u.height:f.x>=u.x&&f.x<=u.x+c&&f.y>=u.height?f.y=f.y-u.height:f.x>=u.x+c&&f.y>=u.height&&e>=180&&e<=260&&(f.y=f.y-u.height),o=this.calcGap(e,f,v,d,l,h,s),l=o.rotate,o=o.trimSize),g=y,this._trim(y,i,o,l)},_trim:function(n,i,r,u){var f=n,h=this.rotatedLabel(i.font,this,i.textAngle,n),s=t.EjSvgRender.utils._measureText(n,null,i.font).width,o,e,c;if(i.textSpacing&&(s=s+i.textSpacing,h=h+i.textSpacing),s>r&&n!=""){for(e=1;e<=n.toString().length;e++)if(n=f.toString().substring(0,e)+"... ",o=u==!0?t.EjSvgRender.utils.rotatedLabel(i,this,i.textAngle,n):t.EjSvgRender.utils._measureText(n,null,i.font).width,i.textSpacing&&(o=o+i.textSpacing),o>=r){n=n.toString().substring(0,e-1)+"... ";f=n;break}c=f.toString(0,n.toString.lenght-4);c!=f&&(f=n)}return f},_getVerticalScaleLocation:function(n){return{x:this._scale.location.y,y:this.svgHeight-this._scale.location.x-n}},_horizontalTextPositioning:function(n,i,r,u,f){var h=n.textPosition.toLowerCase(),e=i.alignment,r=this._scaleLoc(),o=this._scale.labelSettings,s=t.EjSvgRender.utils._measureText(o.labelPrefix+this._scale.maximum+o.labelSuffix,null,o).width;switch(h){case"left":i.x=r.x-i.width-i.padding-s/2;i.y=r.y+(e=="center"?u.height/2+i.height/3:e=="far"?u.height:i.height);f[0].push(i);break;case"right":i.x=r.x+u.width+i.padding+s/2;i.y=r.y+(e=="center"?u.height/2+i.height/3:e=="far"?u.height:i.height);f[1].push(i);break;case"top":i.x=e=="center"?u.x+u.width/2-i.width/2:e=="near"?u.x:u.x+u.width-i.width;i.y=r.y-i.padding;f[2].push(i);break;case"bottom":i.x=e=="center"?u.x+u.width/2-i.width/2:e=="near"?u.x:u.x+u.width-i.width;i.y=r.height+i.height/2+i.padding;f[3].push(i)}},_VerticalTextPositioning:function(n,t,i,r,u){var o=n.textPosition.toLowerCase(),f=t.alignment,e=this._scaleLoc();switch(o){case"left":t.x=e.y-t.width-t.padding;t.y=i.y+(f=="center"?r.height/2+t.height/3:f=="far"?r.height:t.height);this._tickPosition=="near"&&this._tickPlacement=="inside"&&this._labelPosition=="above"&&this._labelPlacement=="inside"&&(t.x+=this._scale.majorTickSettings.size);u[0].push(t);break;case"right":t.x=e.height+t.padding;t.y=i.y+(f=="center"?r.height/2+t.height/3:f=="far"?r.height:t.height);u[1].push(t);break;case"top":t.x=r.x-t.width/2+(f=="center"?r.width/2:f=="far"&&r.width);t.y=r.y-t.padding;u[2].push(t);break;case"bottom":t.x=r.x-t.width/2+(f=="center"?r.width/2:f=="far"&&r.width);t.y=r.y+r.height+t.height+t.padding-t.height/3+this._scale.labelSettings.size/2;u[3].push(t)}},_positionTextGroup:function(n,t,i){for(var f=[[],[],[],[]],e=this._orientation=="horizontal",u=e?this._scaleLocation:this._getVerticalScaleLocation(i.width),o=e?i:{x:u.x,y:u.y,width:i.height,height:i.width},r=0;r=0;i--)if(this._isOverlapping(t[r],t[i])){switch(u){case 0:case 1:t[i].y>t[r].y?t[i].y=t[r].y+t[i].height+(t[i].padding>1?t[i].padding:1):t[r].y=t[i].y+t[r].height+(t[r].padding>1?t[r].padding:1);break;case 2:t[i].y=t[r].y-t[r].height-(t[i].padding>1?t[i].padding:1);break;default:t[r].y=t[i].y+t[i].height+(t[i].padding>1?t[i].padding:1)}f=!0;break}else f=!1;while(f)}this._applyLeftRightAnchor([n[0],n[1]]);this._applyTopBottomAnchor([n[2],n[3]])},_locateTextGroup:function(n,t){for(var i=0;i1){for(i=0,t=0;t1){for(i=0,t=0;t1){for(i=0,t=0;tt.x+t.width||n.y-n.height>t.y||n.y0&&r.select(u);this.model.fields.dataSource.dataSource.url.match(n.tableName+"$")||t.isNullOrUndefined(n.tableName)||r.from(n.tableName)}else r=n.query;return r},_drawCaption:function(){if(this.model.drawCaption){var t={font:this.model.captionSettings.font,location:this.model.captionSettings.location,subTitle:this.model.captionSettings.subTitle,text:this.model.captionSettings.text,textAngle:this.model.captionSettings.textAngle};this._trigger("drawCaption",t);this.model.captionSettings=n.extend(this.model.captionSettings,t)}},_drawBulletSymbol:function(n,i,r,u){var e="M "+(i.x-i.width/2+i.width)+" "+(i.y+i.height/4)+" L "+(i.x-i.width/2+i.width)+" "+(i.y+-i.height/4)+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+-i.height/4)+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x-i.width/2)+" "+i.y+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+i.height/4)+" L "+(i.x-i.width/2+i.width)+" "+(i.y+i.height/4),o,l,a,v,s,y,p,f,d,g,h;switch(n.toLowerCase()){case"circle":o=Math.min(i.height,i.width)/2;r.cx=i.x;r.cy=i.y;r.r=o;this.svgRenderer.drawCircle(r,u);break;case"leftarrow":r.d=e;this.svgRenderer.drawPath(r,u);break;case"rightarrow":r.d=e;r.transform="rotate(180,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"uparrow":r.d=e;r.transform="rotate(90,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"downarrow":r.d=e;r.transform="rotate(-90,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"cross":l="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+i.width/2)+" "+i.y+" M "+i.x+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2);r.d=l;r.stroke=r.stroke?r.stroke:r.fill;this.svgRenderer.drawPath(r,u);break;case"horizontalline":a="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+i.width/2)+" "+i.y;r.d=a;r.stroke=r.stroke?r.stroke:r.fill;this.svgRenderer.drawPath(r,u);break;case"verticalline":v="M "+i.x+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2);r.d=v;r.stroke=r.stroke?r.stroke:r.fill;this.svgRenderer.drawPath(r,u);break;case"triangle":s="M "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" Z";r.d=s;this.svgRenderer.drawPath(r,u);break;case"invertedtriangle":s="M "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" Z";r.d=s;r.transform="rotate(180,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"hexagon":y="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+-i.width/4)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/4)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+i.y+" L "+(i.x+i.width/4)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/4)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=y;this.svgRenderer.drawPath(r,u);break;case"wedge":p="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/4)+" "+i.y+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=p;this.svgRenderer.drawPath(r,u);break;case"pentagon":var o=Math.sqrt(i.height*i.height+i.width*i.width)/2,c=t.EjSvgRender.utils._getStringBuilder();for(f=0;f<=5;f++){var nt=f*72,w=Math.PI/180*nt,b=o*Math.cos(w),k=o*Math.sin(w);f==0?c.append("M "+(i.x+b)+" "+(i.y+k)+" "):c.append("L "+(i.x+b)+" "+(i.y+k)+" ")}r.d=c.toString();this.svgRenderer.drawPath(r,u);break;case"star":d="M "+(i.x+i.width/3)+" "+(i.y+-i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/6)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/6)+" L "+(i.x+-i.width/3)+" "+(i.y+-i.height/2)+" L "+i.x+" "+(i.y+i.height/2)+" L "+(i.x+i.width/3)+" "+(i.y+-i.height/2);r.d=d;this.svgRenderer.drawPath(r,u);break;case"rectangle":g="M "+(i.x+-i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+-i.height/2);r.d=g;this.svgRenderer.drawPath(r,u);break;case"trapezoid":h="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+-i.width/2)+" "+(i.y+-i.height/4)+" L "+(i.x+-i.width/2+i.width)+" "+(i.y+-i.height/2)+" L "+(i.x+-i.width/2+i.width)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/4)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=h;this.svgRenderer.drawPath(r,u);break;case"diamond":h="M "+(i.x+-i.width/2)+" "+i.y+" L "+i.x+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+i.y+" L "+i.x+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=h;this.svgRenderer.drawPath(r,u);break;case"ellipse":r.cx=i.x;r.cy=i.y;r.rx=i.width/2;r.ry=i.height/2;this.svgRenderer.drawEllipse(r,u);break;case"image":r.x=i.x-i.width/2;r.y=i.y-i.height/2;r.width=i.width;r.height=i.height;r.href=this.model.captionSettings.indicator.symbol.imageURL;r.visibility="visible";this.svgRenderer.drawImage(r,u)}},_drawIndicator:function(){var i,r,u;this.model.captionSettings.indicator.visible&&(i=this.model.captionSettings.indicator,r=n.extend({},{indicatorSettings:this.model.captionSettings.indicator}),this.model.drawIndicator&&(this._trigger("drawIndicator",r),r.cancel==!1&&(i=r.indicatorSettings,this.model.captionSettings.indicator=i)),u=t.EjSvgRender.utils._measureText(i.text,null,i.font),this._indicator={bounds:u,settings:i})},_indicatorTextOptions:function(n,t,i,r){var u=n._location?n._location:n.location;return{"class":r,x:u.x+t.width+n.textSpacing,y:u.y-t.height/2+parseFloat(n.font.size)/3,fill:n.font.color,"font-size":n.font.size,"font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,"text-anchor":"start",opacity:n.font.opacity,transform:"rotate("+n.textAngle+","+t.x+","+t.y+")"}},_indicatorSymbolOptions:function(n,t){return{id:n.id+"_indicatorSymbol",stroke:t.symbol.border.color,fill:t.symbol.color,"stroke-width":t.symbol.border.width,opacity:t.symbol.opacity}},_textOptions:function(n,t){var i=n._location?n._location:n.location;return{"class":t,x:i.x,y:i.y,fill:n.font.color,"font-size":n.font.size,"font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,"text-anchor":"start",opacity:n.font.opacity,cursor:"default",transform:"rotate("+n.textAngle+","+i.x+","+i.y+")"}},_drawScale:function(n,i){var r=this._scale._location?this._scale._location:this._scale.location,u,f,e;u=this._tickPosition==t.datavisualization.BulletGraph.TickPosition.Far||this._tickPosition==t.datavisualization.BulletGraph.TickPosition.Center?this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below?r.y:r.y+this._scale.labelSettings.offset+this._scale.labelSettings.size:this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below?r.y+this._scale.majorTickSettings.size:r.y+this._scale.labelSettings.offset+this._scale.labelSettings.size+this._scale.majorTickSettings.size;f=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward?r.x:this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?r.x-this._scale.labelSettings.offset:r.x;e={id:this.svgObject.id+"_SvgScale",x:f,y:u,width:this.model.quantitativeScaleLength,height:this.model.qualitativeRangeSize,fill:"transparent","stroke-width":0};this.svgRenderer.drawRect(e,i)},_drawMajorTicks:function(n,i){var r,l,tt=0,a=this._scale.location,b=this._tickPlacement=="inside",s=this._scale.location.x,k=this.model.quantitativeScaleLength,it=this._scale.labelSettings.offset,d=this.model.qualitativeRangeSize,u=this._scale.majorTickSettings.width,v=this._scale.majorTickSettings.size,f=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,o=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,rt=this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below,e,y,p,w,nt;r=o?f?s+u/2:s+k+u/2:f?s+k-u/2:s+u/2;l=this._tickPosition=="far"?a.y+d+(b?-v:0):this._tickPosition=="near"?a.y+(b?0:-v):a.y+d/2-v/2;var h=this._scale.minimum,c=this._scale.maximum,g=this._scale.interval;for(e=h;e<=c;e+=g)tt++,e>=c&&(f&&!o?r+=u:r-=u),!f&&o&&(r=e>=c?r+u:e==h?r-u:r),this.model.applyRangeStrokeToTicks&&(y=this._bindingRangeStrokes(r-u/2)),p=this._majorTickLines(this._scale,r,l,y),!f&&o&&e==h&&(r=r+u),this.model.drawTicks&&(w={majorTickSettings:this._scale.majorTickSettings,minorTickSettings:this._scale.minorTickSettings,minorTicksPerInterval:this._scale.minorTicksPerInterval,maximum:c,minimum:h,interval:g},this._trigger("drawTicks",w),p=this._majorTickLines(w,r,l,y)),nt=this.svgRenderer.createLine(p),r=!o&&f||o&&!f?r-n:r+n,i.appendChild(nt)},_majorTickLines:function(n,t,i,r){return{x1:t,y1:i,x2:t,y2:i+n.majorTickSettings.size,"stroke-width":n.majorTickSettings.width,stroke:this.model.applyRangeStrokeToTicks&&r?r:n.majorTickSettings.stroke}},_forwardStrokeBinding:function(n){if(n>=this._scale.location.x&&n<=this._rangeCollection[0]+this._scale.location.x)return this.model.qualitativeRanges[0].rangeStroke;for(var t=0;t<=this._rangeCollection.length-1;t++)if(n>=this._rangeCollection[t]+this._scale.location.x&&n<=this._rangeCollection[t+1]+this._scale.location.x)return this.model.qualitativeRanges[t+1].rangeStroke},_backwardStrokeBinding:function(t){var i,r;if(t>=this._rangeCollection[this._rangeCollection.length-1])return this.model.qualitativeRanges[0].rangeStroke;for(i=0;i<=this._rangeCollection.length-1;i++)if(t>=this._rangeCollection[i]&&t=this._scale.location.x&&n<=this._rangeCollection[0]+this._scale.location.x)return this.model.qualitativeRanges[0].rangeStroke}else return this.model.orientation==t.datavisualization.BulletGraph.Orientation.Horizontal&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward||this.model.orientation==t.datavisualization.BulletGraph.Orientation.Vertical&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Backward?this._forwardStrokeBinding(n):this._backwardStrokeBinding(n)},_drawMinorTicks:function(i,r){var h,c,s,p,u,tt=0,e=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,f=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,it=this._tickPlacement=="inside",o=this._scale.location.x,rt=this.model.qualitativeRangeSize,st=this._scale.labelSettings.offset,ht=this._scale.majorTickSettings.size,l=this._scale.minorTickSettings.size,ut=this._scale.minorTickSettings.width,b=this.model.quantitativeScaleLength,g,k,nt,w,d,v,y;h=e?f?o:o+b:f?o+b-ut/2:o;switch(this._tickPosition){case"far":s=this._scale.location.y+rt;p=s+(it?-l:l);break;case"near":s=this._scale.location.y+(it?l:-l);p=this._scale.location.y;break;default:s=this._scale.location.y+rt/2-l/2;p=s+l}var ft=this._scale.maximum,et=this._scale.minimum,ot=this._scale.interval,a=this._scale.minorTicksPerInterval;for(g=et;g<=ft;g+=ot){for(c=i/a,k=1;k<=a;k++)tt++,u=!f&&e||f&&!e?h-c+c/(a+1):h+c-c/(a+1),!e&&f&&tt>=(ft-et)*a&&(u+=ut/2),this.model.applyRangeStrokeToTicks&&(nt=this._bindingRangeStrokes(u)),w=this._minorTickLines(this._scale,u,s,p,nt),this.model.drawTicks&&(d={majorTickSettings:this._scale.majorTickSettings,minorTickSettings:this._scale.minorTickSettings,minorTicksPerInterval:this._scale.minorTicksPerInterval,maximum:this._scale.maximum,minimum:this._scale.minimum,interval:this._scale.interval},this._trigger("drawTicks",d),this._scale=n.extend(this._scale,d),w=this._minorTickLines(d,u,s,p,nt)),!e&&f?(v=b+o+1,u<=v&&u>=o+1&&(y=this.svgRenderer.createLine(w),r.appendChild(y))):e&&!f?(v=o+1,u>=v&&(y=this.svgRenderer.createLine(w),r.appendChild(y))):(v=b+o+1,u<=v&&(y=this.svgRenderer.createLine(w),r.appendChild(y))),c=i/a*(k+1);h=!e&&f||e&&!f?h-i:h+i}},_minorTickLines:function(n,t,i,r,u){return{x1:t,y1:i,x2:t,y2:r,"stroke-width":n.minorTickSettings.width,stroke:this.model.applyRangeStrokeToTicks&&u?u:n.minorTickSettings.stroke}},_drawLabels:function(n,i){var o,a,it=this.model.locale,et=it&&this.model.enableGroupSeparator,g,b,rt=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,c=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,k=this._scale.location.x,f=this._scale.labelSettings.offset,ut=this.model.quantitativeScaleLength,ct=this._scale.majorTickSettings.width,v,l,e,w,nt,h,tt;o=rt?c?k:k+ut:c?k+ut:k;var ft=this._tickPosition+this._labelPlacement,s=this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below,lt=this._scale.location.y,d=this.model.qualitativeRangeSize,u=this._scale.labelSettings.size,at=this._scale.majorTickSettings.size;switch(ft){case"faroutside":case"centeroutside":a=s?this._scale.location.y+d+f+u:this._scale.location.y-f;break;case"farinside":case"centerinside":a=s?this._scale.location.y+d-f:this._scale.location.y+f+(c?u:0);break;case"nearoutside":a=s?this._scale.location.y+d+f+u:this._scale.location.y-f;break;case"nearinside":a=s?this._scale.location.y+d-f:this._scale.location.y+f+u}var ot=this._scale.minimum,st=this._scale.maximum,ht=this._scale.interval,vt=this._labelPlacement=="inside";for(l=ot;l<=st;l+=ht){var r=a,y=o,p=this._scale.labelSettings.font;if(p.size=u,e={width:0,height:0},c)b="rotate(0,"+y+","+r+")";else{w=this._scale.labelSettings.labelPrefix+l+this._scale.labelSettings.labelSuffix;switch(ft){case"faroutside":case"centeroutside":s?r-=u:(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width);break;case"farinside":case"centerinside":s&&(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width);break;case"nearoutside":s?r-=u:(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width);break;case"nearinside":s?(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width):r-=u}y-=u/3;b="rotate(90,"+y+","+r+")"}this.model.applyRangeStrokeToLabels&&(nt=this._bindingRangeStrokes(o));h=this._labelOptions(this.model.quantitativeScaleSettings.labelSettings,y,r,b,nt);this.model.drawLabels&&(tt={font:this._scale.labelSettings.font,labelPrefix:this._scale.labelSettings.labelPrefix,labelSuffix:this._scale.labelSettings.labelSuffix,offset:f,size:u,stroke:this._scale.labelSettings.stroke},this._trigger("drawLabels",tt),h=this._labelOptions(tt,y,r,b,nt));o=rt?c?o+n:o-n:c?o-n:o+n;g=et?l.toLocaleString(it):l;v=g;t.util.isNullOrUndefined(h.labelPrefix)||(v=h.labelPrefix+g);t.util.isNullOrUndefined(h.labelSuffix)||(v=v+h.labelSuffix);this.svgRenderer.drawText(h,v,i)}},_labelOptions:function(n,i,r,u,f){var e={x:i,y:r,"text-anchor":this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?"middle":"start",fill:this.model.applyRangeStrokeToLabels&&f?f:n.stroke,"font-size":n.size+"px","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,opacity:n.font.opacity,transform:u};return n.labelPrefix!=""&&(e.labelPrefix=n.labelPrefix),n.labelSuffix!=""&&(e.labelSuffix=n.labelSuffix),e},_drawQualitativeRanges:function(n){var c=this._scale.location.x,y=this._scale.location.y,e,a=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,o=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,p=this._scale.labelSettings.offset,s,h,f,v;this._rangeCollection=[];var w=this._tickPosition+this._labelPlacement,b=this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below,k=this.model.qualitativeRangeSize,l=this._scale.location.x,r=this._scale.minimum,i=this._scale.maximum,u=this.model.quantitativeScaleLength;for(s=this.model.qualitativeRanges.length-1;s>=0;s--)h={object:this,rangeIndex:s,rangeOptions:this.model.qualitativeRanges[s],rangeEndValue:this.model.qualitativeRanges[s].rangeEnd},this.model.drawQualitativeRanges&&this._trigger("drawQualitativeRanges",h),f=h.rangeEndValue,f=f>i?i:f,a?(c=o?l:l+(u-u/((i-r)/(i-r-(i-f)))),e=o?u/((i-r)/(i-r-(i-f))):u/((i-r)/(i-r-(i-f)))):(c=o?l+(u-u/((i-r)/(i-r-(i-f)))):l,e=o?u/((i-r)/(i-r-(i-f))):u/((i-r)/(i-r-(i-f)))),v={x:c,y:y,height:this.model.qualitativeRangeSize,width:e>0?e=o){var u,h,r,f=this._scale.location.x,e=this.model.quantitativeScaleLength,s=this._scale.maximum-this._scale.minimum,c=this._scale.maximum-n,l=this._flowDirection.toLowerCase()+this._orientation.toLowerCase();i=i==null?"":i;a=this._scale.labelSettings.font;a.size=this._scale.labelSettings.size;v=t.EjSvgRender.utils._measureText(i.toString(),null,a).width;switch(l){case"forwardhorizontal":case"backwardvertical":u=f+(o>0?0:e/s*Math.abs(o));r=e/(s/(o>0?s-c:n));n<0&&(r=Math.abs(r),u-=r);r=u+r0?e/(s/(s-c)):e/(s/n);n<0&&(r=Math.abs(r),u-=r);u0)for(n=this._dataCount-1;n>=0;n--)o=v?this.model.fields.dataSource[n][this.model.fields.featureMeasures]:t.isNullOrUndefined(this._scale.featureMeasures[n].value)?w:this._scale.featureMeasures[n].value,r=v?this.model.fields.dataSource[n][this.model.fields.category]:this._scale.featureMeasures[n].category,h=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*e/2-this._scale.featuredMeasureSettings.width/2,f=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*e/2+this._scale.featuredMeasureSettings.width/2-1,i=this._calculateFeatureMeasureBounds(o,r),i&&(c=this._featureBar(this._scale,i.pointX,h,i.Width,n),this.model.drawFeatureMeasureBar&&(u={featuredMeasureSettings:this._scale.featuredMeasureSettings},this._trigger("drawFeatureMeasureBar",u),c=this._featureBar(u,i.pointX,h,i.Width,n)),this.svgRenderer.drawRect(c,this._scaleGroup),s=p?"rotate(90,"+i.lPointX+","+(f-4)+")":"rotate(0,"+i.lPointX+","+f+")",l=this._drawcategory(this.model.quantitativeScaleSettings.labelSettings,i.lPointX,f,s),this.model.drawCategory&&(u={size:this.model.quantitativeScaleSettings.labelSettings.size,stroke:this.model.quantitativeScaleSettings.labelSettings.stroke,font:this.model.quantitativeScaleSettings.labelSettings.font,categoryValue:r},this._trigger("drawCategory",u),l=this._drawcategory(u,i.lPointX,f,s),r=u.categoryValue),t.isNullOrUndefined(r)||this.svgRenderer.drawText(l,y?r.toLocaleString(a):r,this._scaleGroup),e+=2,this.value(o))},_drawcategory:function(n,t,i,r){return{x:t,y:i+this._scale.featuredMeasureSettings.width/2,"text-anchor":"middle",fill:n.stroke,"font-size":n.size+"px","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,opacity:n.font.opacity,transform:r}},_featureBar:function(n,t,i,r,u){return{"class":this.svgObject.id+"_FeatureMeasure",id:this.svgObject.id+"_FeatureMeasure_"+u,x:t,y:i,height:n.featuredMeasureSettings.width,width:r,fill:n.featuredMeasureSettings.stroke}},_drawComparativeMeasureSymbol:function(){var r=1,n,u,f,e,c=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,h=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,l=typeof this.model.comparativeMeasureValue=="function"?this._comparativeMeasureValue():this.model.comparativeMeasureValue,i,o,s;if(this._dataCount>0)for(i=this._dataCount-1;i>=0;i--)n=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?this.model.fields.dataSource[i][this.model.fields.comparativeMeasure]:t.isNullOrUndefined(this._scale.featureMeasures[i].comparativeMeasureValue)?l:this._scale.featureMeasures[i].comparativeMeasureValue,n>=this._scale.minimum&&n<=this._scale.maximum&&(u=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*r/2-this._scale.featuredMeasureSettings.width/2-this._scale.featuredMeasureSettings.width,f=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*r/2-this._scale.featuredMeasureSettings.width/2+2*this._scale.featuredMeasureSettings.width,e=c?h?this._scale.location.x+this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n))):this._scale.location.x+(this.model.quantitativeScaleLength-this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n)))):h?this._scale.location.x+(this.model.quantitativeScaleLength-this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n)))):this._scale.location.x+this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n))),o=this._compareMeasure(this._scale,e,u,f,i,n),this.model.drawComparativeMeasureSymbol&&(s={comparativeMeasureSettings:this._scale.comparativeMeasureSettings},this._trigger("drawComparativeMeasureSymbol",s),o=this._compareMeasure(s,e,u,f,i,n)),this.svgRenderer.drawLine(o,this._scaleGroup),r+=2,this.comparativeMeasureValue(n))},_compareMeasure:function(n,t,i,r,u,f){return{"class":this.svgObject.id+"_ComparativeMeasure",id:this.svgObject.id+"_ComparativeMeasure_"+u,x1:f==this._scale.maximum?t-n.comparativeMeasureSettings.width/2:f==this._scale.minimum?t+n.comparativeMeasureSettings.width/2:t,y1:i,x2:f==this._scale.maximum?t-n.comparativeMeasureSettings.width/2:f==this._scale.minimum?t+n.comparativeMeasureSettings.width/2:t,y2:r,"stroke-width":n.comparativeMeasureSettings.width,stroke:n.comparativeMeasureSettings.stroke}},_setTheme:function(n,i){var u=[],e,r,f;this._scale=this.model.quantitativeScaleSettings;for(e in n)u.push(e);for(r=0;r=0;t--)r=i[t],this._animateFeatureBar(r)},_doLineAnimation:function(){for(var r,i=n("."+this.svgObject.id+"_ComparativeMeasure"),u=2e3/i.length,t=i.length-1;t>=0;t--)r=i[t],n(r).attr("transform","scale(0)"),this._doLineSymbol(r,u,t)},_animateFeatureBar:function(i){var r=i.getBBox(),u,f,e;this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Backward||this._orientation==t.datavisualization.BulletGraph.Orientation.Vertical&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward?(u=r.x+r.width,f=r.y+r.height):(u=r.x,f=r.y);n(i).animate({scale:1},{duration:1e3,step:function(t){e=t;n(i).attr("transform","translate("+u+" "+f+") scale("+t+",1) translate("+-u+" "+-f+")")}})},_doLineSymbol:function(t,i,r){var o=parseInt(r*i),u=t.getBBox(),f=u.x+u.width/2,e=u.y+u.height/2;n(t).delay(o).animate({scale:1},{duration:200,step:function(i){n(t).attr("transform","translate("+f+" "+e+") scale("+i+") translate("+-f+" "+-e+")")}})},bindEvents:function(){var u=t.EjSvgRender.utils.browserInfo(),i=u.isMSPointerEnabled,r=u.pointerEnabled,f=i?r?"pointerdown":"MSPointerDown":"touchstart mousedown",e=i?r?"pointerup":"MSPointerUp":"touchend mouseup",o=i?r?"pointermove":"MSPointerMove":"touchmove mousemove",s=i?r?"pointerleave":"MSPointerOut":"touchleave mouseleave";this.model.browserInfo=u;this._on(n(this.svgObject),o,this._bulletMouseMove);this._on(n(this.svgObject),s,this._bulletMouseLeave);this._on(n(this.svgObject),f,this._bulletMouseDown);this._on(n(this.svgObject),e,this._bulletMouseUp);this._on(n(this.svgObject),"contextmenu",this._bulletRightClick);this._on(n(this.svgObject),"click",this._bulletClick);(this.model.enableResizing||this.model.isResponsive)&&(t.isTouchDevice()?this._on(n(window),"orientationchange",this._bulletResize):this._on(n(window),"resize",this._bulletResize))},_unwireEvents:function(){this._off(n(this.svgObject),"contextmenu",this._bulletRightClick);this._off(n(this.svgObject),"click",this._bulletClick)},isDevice:function(){return/mobile|tablet|android|kindle/i.test(navigator.userAgent.toLowerCase())},_bulletResize:function(){var i=this,f=this.model.height,r=this.model.width,e=n(i.svgObject),f=90,r=t.isTouchDevice()?250:595,u=n(i.element).width(),o;i.model.width?r=parseInt(i.model.width):u>0&&u<595?r=u:u>595&&(r=595);i.model.height&&(f=parseInt(i.model.height));o=n(i.element).height()>f?f:n(i.element).height();this.resizeTO&&clearTimeout(this.resizeTO);this.resizeTO=setTimeout(function(){r-1?!0:!1},_bulletMouseMove:function(t){var i,r;i=n(t.target).attr("id");r=n(t.target).attr("class");this.isTouch(t)||(n("#tooltip").remove(),n(".tooltipDiv"+this._id).remove(),this._elementTooltip(t,r,i),this._displayTooltip(t,r,i))},_bulletMouseDown:function(i){if(this.isTouch(i)){n("#tooltip").remove();n(".tooltipDiv"+this._id).remove();var r=n(i.target).attr("id"),u=n(i.target).attr("class");this._elementTooltip(i,u,r);this._displayTooltip(i,u,r)}t.isTouchDevice()&&this.model.rightClick!=""&&(this._longPressTimer=new Date)},_bulletMouseUp:function(i){if(this.isTouch(i)){var r=this,u;window.clearTimeout(r.model.timer);n(".tooltipDiv"+this._id).length==1&&(u=n(".tooltipDiv"+this._id));u&&(r.model.trackerElement=u,r.model.timer=setTimeout(function(){r.model.trackerElement&&n(".tooltipDiv"+r._id).fadeOut(500,function(){n(".tooltipDiv"+r._id).remove();n("[id*="+r.svgObject.id+"_FeatureMeasure_]").attr("opacity","1")})},1200))}t.isTouchDevice()&&this.model.rightClick!=""&&new Date-this.model._longPressTimer>1500&&this._bulletRightClick(i)},_bulletClick:function(n){var t=new Date;this.model.click!=""&&this._trigger("click",{data:{event:n}});this._doubleTapTimer!=null&&t-this._doubleTapTimer<300&&this._bulletDoubleClick(n);this._doubleTapTimer=t},_bulletDoubleClick:function(n){this.model.doubleClick!=""&&this._trigger("doubleClick",{data:{event:n}})},_bulletRightClick:function(n){this.model.rightClick!=""&&this._trigger("rightClick",{data:{event:n}})},_elementTooltip:function(t,r){var o=this.model.captionSettings,u=n("<\/div>").attr({id:"tooltip","class":"tooltipDiv"+this._id}),s=this.mousePosition(t),c="",h,f,e;if(n(u).css({left:s.pageX+10,top:s.pageY+10,display:"block",position:"absolute","z-index":"13000",cursor:"default","font-family":"Segoe UI",color:"#707070","font-size":"12px","background-color":"#FFFFFF",border:"1px solid #707070"}),r==this.svgObject.id+"_Caption"?c=t.target.textContent==o.text?"":o.text:r==this.svgObject.id+"_SubTitle"?c=t.target.textContent==o.subTitle.text?"":o.subTitle.text:r==this.svgObject.id+"_Indicator"&&(c=t.target.textContent==o.indicator.text?"":o.indicator.text),c!="")n(u).html(" "+c+" "),n(document.body).append(u);else if(this.model.tooltipSettings.enableCaptionTooltip&&(r==this.svgObject.id+"_Caption"||r==this.svgObject.id+"_SubTitle"||r==this.svgObject.id+"_Indicator")){var a=n("."+r).text(),v={Text:a},l=this.model.tooltipSettings.captionTemplate;n(".tooltipDiv"+this._id).length==0&&(u=n("
<\/div>").attr("class","tooltipDiv"+this._id).css({position:"absolute","z-index":"13000",display:"block"}),n(document.body).append(u));l!=""&&l!=null?(h=document.getElementById(l),h=h?n(h).clone():n(l),n(h).css("display","block").appendTo(u),n(u).html(n(h).render(v))):n(u).html(a);n(u).css("font-size","12px");f=s.clientX+n(document).scrollLeft()+10;e=s.clientY+n(document).scrollTop()+10;f=f+n(u).width()
0?n:n.originalEvent&&!t.util.isNullOrUndefined(n.originalEvent.pageX)&&n.originalEvent.pageX>0?n.originalEvent:n.originalEvent&&n.originalEvent.changedTouches!=i&&!t.util.isNullOrUndefined(n.originalEvent.changedTouches[0].pageX)&&n.originalEvent.changedTouches[0].pageX>0?n.originalEvent.changedTouches[0]:n},_displayTooltip:function(r,u,f){var w,b,s,h;if(u!="undefined"&&(u==this.svgObject.id+"_FeatureMeasure"||u==this.svgObject.id+"_ComparativeMeasure")){var a=this.model.locale,k=a&&this.model.enableGroupSeparator,c,e,y,p,l,o,d=typeof this.model.value=="function"?this._value():this.model.value,g=typeof this.model.comparativeMeasureValue=="function"?this._comparativeMeasureValue():this.model.comparativeMeasureValue,v=this.mousePosition(r);e=f.substring(f.lastIndexOf("_")+1);y=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?this.model.fields.dataSource[e][this.model.fields.featureMeasures]:t.isNullOrUndefined(this._scale.featureMeasures[e].value)?d:this._scale.featureMeasures[e].value;p=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?this.model.fields.dataSource[e][this.model.fields.comparativeMeasure]:t.isNullOrUndefined(this._scale.featureMeasures[e].comparativeMeasureValue)?g:this._scale.featureMeasures[e].comparativeMeasureValue;l=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?t.isNullOrUndefined(this.model.fields.dataSource[e][this.model.fields.category])?null:this.model.fields.dataSource[e][this.model.fields.category]:t.isNullOrUndefined(this._scale.featureMeasures[e].category)?null:this._scale.featureMeasures[e].category;c=k?{currentValue:y.toLocaleString(a),targetValue:p.toLocaleString(a),category:t.util.isNullOrUndefined(l)?l:l.toLocaleString(a)}:{currentValue:y,targetValue:p,category:l};n(".tooltipDiv"+this._id).length==0&&(o=n("<\/div>").attr("class","tooltipDiv"+this._id).css({position:"absolute","z-index":"13000",display:"block"}),n(document.body).append(o));this.model.tooltipSettings.template!=""&&this.model.tooltipSettings.template!=null?(w=n("#"+this.model.tooltipSettings.template).clone(),n(w).css("display","block").appendTo(o),n(o).html(n(w).render(c))):(b=t.isNullOrUndefined(c.category)?"":"
Category : "+c.category,n(o).html("Current : "+c.currentValue+"
Target : "+c.targetValue+b));n(o).css("font-size","12px");s=v.clientX+n(document).scrollLeft()+10;h=v.clientY+n(document).scrollTop()+10;s=s+n(o).width()
0){i=0;do i++;while($(document).find("#"+this._rootId+"_svg"+i).length>0);t=this._rootId+"_svg"+i}this.svgObj.setAttribute("id",t)},function(n){function t(n,t,i,r){var u=r*Math.PI/180,f=n+i*Math.cos(u),e=t+i*Math.sin(u);return[f,e]}ej.EjSvgRender.prototype={drawPath:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"path");n(r).attr(t).appendTo(i)}},createLegendSvg:function(n){return this.svgLink="http://www.w3.org/2000/svg",this.legendsvgObj=document.createElementNS(this.svgLink,"svg"),this._rootId=jQuery(n).attr("id"),this.legendsvgObj.setAttribute("id","legend_"+this._rootId+"_svg"),this.legendsvgObj},drawPolyline:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"polyline");n(r).attr(t).appendTo(i)}},drawLine:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"line");n(r).attr(t);n(r).appendTo(i)}},drawPolygon:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"polygon");n(r).attr(t);n(r).appendTo(i)}},drawCircle:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"circle");n(r).attr(t).appendTo(i)}},drawEllipse:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"ellipse");n(r).attr(t).appendTo(i)}},drawRect:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"rect");n(r).attr(t).appendTo(i)}},drawCylinder:function(t,i,r){var d,ot,y;if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var rt=t.x,s=t.y,g=t.id,h=t.fill,st=h,ht=this.checkColorFormat(h);ht||(h=ej.datavisualization.Chart.prototype.colorNameToHex(h));var a,v,p,w,l,e,b,nt,ut=2,tt,k,ft=0,et=0,c,it={svgRenderer:this};if(r.isColumn==!0){var o=t.width/2,u=t.height,f=o/4;l=tt=rt;e=f0)this._textAttrReplace(t,i,u);else{if(e=document.createElementNS(this.svgLink,"text"),o=n(e),jQuery.type(i)=="array")for(h=0,o.attr(t),f=0;f0&&f.length==i.length)for(u=0;u0)n(i).find("#"+t.id).attr(t);else{var r=this.createDefs(),u=this.createClipPath({id:t.id});t.id=t.id+"_Rect";this.drawRect(t,u);this.append(u,r);this.append(r,i)}},drawCircularClipPath:function(n,t){var i=this.createDefs(),r=this.createClipPath({id:n.id});this.drawCircle(n,r);this.append(r,i);this.append(i,t)},append:function(t,i){n(t).appendTo(i)},_setAttr:function(t,i){n(t).attr(i)}};ej.EjSvgRender.commonChartEventArgs={cancel:!1,data:null};ej.EjSvgRender.utils={_decimalPlaces:function(n){var t=(""+n).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},_getLabelContent:function(n,t,i){switch(t._categoryValueType){case"number":var r=ej.util.isNullOrUndefined(t.labelFormat)?null:t.labelFormat.match("{value}");return ej.util.isNullOrUndefined(t.labelFormat)?t.labels[Math.floor(n)]:r!=null?t.labelFormat.replace("{value}",t.labels[Math.floor(n)]):ej.format(t.labels[Math.floor(n)],t.labelFormat,i);case"date":return ej.format(new Date(t.labels[Math.floor(n)]),ej.util.isNullOrUndefined(t.labelFormat)?"dd/MM/yyyy":t.labelFormat,i);case"string":return t.labels[Math.floor(n)];default:return""}},_getSeriesTemplateSize:function(t,i,r,u,f){var t,i,a=f.model.AreaType,o=f._id,v=n.inArray(r,f.model._visibleSeries),s,h,e,c,l;s=n("#template_group_"+o).length!=0?n("#template_group_"+o):n("<\/div>").attr("id","template_group_"+o);s.css("position","relative").css("z-index",1e3);h=n("#"+r.marker.dataLabel.template).clone();n(h).attr("id",r.marker.dataLabel.template+"_"+v+"_"+i+"_"+o);e=n(h);e.css("position","absolute");t.count=1;c={series:r,point:t};e.html(e.html().parseTemplate(c));l=a=="cartesianaxes"||!r.enableAnimation||r.type.toLowerCase()=="pyramid"||r.type.toLowerCase()=="funnel"?"block":"none";e.css("display",l).appendTo(n(s));n(s).appendTo("#"+o);t.size={height:e.height(),width:e.width()};u?((ej.util.isNullOrUndefined(r.LeftLabelMaxHeight)||r.LeftLabelMaxHeight
0&&t.xValue){var i=t.xValue-o[n-1].xValue;i!=0&&(u=Math.min(u,i))}}):(h=ej.util.isNullOrUndefined(r)?e.xAxis.visibleRange.min:r,s=o[0].xValue-h,s!=0&&(u=Math.min(u,s))))}),u==Number.MAX_VALUE&&(u=1),u},_getSeriesMaxLabel:function(t){var i={width:0,height:0},s=n(this.svgObject).width(),e=[],o,h,r,f,u;if(t.labels.length>0){for(u=0;u")!=-1?f=a.split("
"):f.push(a),u=0;u")!=-1||typeof r=="object"))for(e=0,f=typeof r=="object"?r:r.split("
"),u=0;u")!=-1&&t.orientation=="vertical"?(ai=t.visibleLabels[e].Text.split("
"),vi=this._getHighestLabel(t,n(this.svgObject).width(),ai),g=this._measureText(vi,n(this.svgObject).width(),t.font,t.labelRotation)):g=this._measureText(t.visibleLabels[e].Text,n(this.svgObject).width(),t.font,t.labelRotation),r.widthot?ot:r.width),r.rows=1,r.maxWidth=r.width,r.maxHeight=r.height,!rr&&(f||h)&&(yt=0,h=="rotate45"?yt=45:h=="rotate90"&&(yt=90),f=f!=null||ii=="vertical"?f:yt,t.rotationValue=f,f)){if(o=ej.isNullOrUndefined(o)?"":o,pi=this._measureText(o,n(this.svgObject).width(),t.font,t.labelRotation),(t.enableTrim||h=="trim")&&pi.width>ot&&o!="")for(a=o,p=1;p=ot){a=a.toString().substring(0,p-1)+"... ";o=a;break}o=(h||t.enableTrim)&&f?typeof o=="string"&&o.indexOf("
")!=-1?this._getHighestLabel(t,i,null):o:this._getHighestLabel(t,i,null);tt=this.rotatedLabel(t,i,f,o);t.labelIntersectAction&&t.labelIntersectAction.toLowerCase()=="multiplerows"&&(k=r.height+tt.height);r.height=t.rowsCount&&t.rowsCount>1&&f!=90&&t.enableTrim?t.rowsCount*r.height:tt.height;r.width=tt.width}if(t.labelIntersectAction)if(t.rowsCount&&(h=="none"||h=="trim"||h=="hide"||f==0)&&(h!="wrap"||t.enableTrim)&&(h!="wrapbyword"||t.enableTrim)&&(h!="multiplerows"||t.enableTrim))f==0&&(r.rows=t.rowsCount,r.height=t.rowsCount*r.height);else if(h=="wrap"||h=="wrapbyword"){if(vt=vt?vt:ej.datavisualization.Chart.LabelPlacement.BetweenTicks,vt.toLowerCase()=="betweenticks"?(st=1+(t.labels.length>1?-.5:0),st=li?parseFloat(st.toFixed(li)):parseFloat(st.toFixed(ej.EjSvgRender.utils._decimalPlaces(y.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(y.interval))),rt=Math.ceil((st-y.min)/(y.max-y.min)*t.length)):rt=Math.ceil(t.length/et.length),t.orientation=="horizontal"){var ht=0,wi=0,bi,ut=t.labels.length>0&&t.valueType!="datetimecategory"?t.labels:t.visibleLabels,er=t.width?t.width/ut.length:(t.length-(i.svgWidth-t.length)-20)/ut.length;for(t.labelsCollection=[],c=0;c")!=-1?wt=bt.split("
"):wt.push(bt),s=0;sl&&!f&&(ct=ct-1);r.height=f?tt.height+ct*tt.height:r.height+ct*r.height}else if(h=="multiplerows"){var or=i._getLegendSpace(),sr=i.model.border.width,wr=i.model._axes[1],hr=n(i.svgObject).width()-i.model.margin.left-i.model.margin.right;ri=t.title;ui=ri.text;var cr=ui==""||!t.visible?0:this._measureText(ui,hr,ri.font).height+2*i.model.elementSpacing,lr=i.model.elementSpacing+cr+t.majorTickLines.size+t.axisLine.width,ar=i._getYValues(i.model._visibleSeries[0].points),vr=Math.max.apply(Math,ar),ki=i.model._axes[1],g=this._measureText(vr,n(this.svgObject).width(),ki.font,ki.labelRotation),yr=or.rightLegendWidth+lr+g.width+i.model.margin.right+i.model.margin.left+2*sr,di=n(i.svgObject).width()-yr;if(ci){var ft=0,w=[],l=0,bi,wi=0;for(e=0;e")!=-1?d=u.Text.split("
"):d.push(u);it=d.length;oi=!1;k=Math.max(k,ft);ft=u.y=r.height;var a=this._measureText(u.Text,n(this.svgObject).width(),t.font),v=a.height,si=Math.abs(Math.floor((u.Value-y.min)/y.delta*di));if(w.length>0)for(dt=w,gt=!0,lt=0;lt=si-nt)ft=u.y+v,u.y+=v,pt++,lt+1==dt.length&&(gt=!1);else if(c+1==b.length){gt=s==it-1?!1:!0;break}}}if(u.y=ft,l=ft/v-1,w[l]==undefined&&(w[l]=[]),it==1)w[l].push(u);else for(s=0;sk?r.height:k;v>0&&(r.rows=ur?Math.round((k+v)/v):Math.round(k/v));r.rows=f?r.rows-1:r.rows;r.rows<1&&(r.rows=1)}if(!ci){for(ti=0,e=0;esi-v/2&&t.visibleLabels[at].y==u.y&&(ti=u.y+nt,u.y=ti,oi=!0);ir=ti}r.width=r.width+ir+(oi?5:0)}}}return r},rotatedLabel:function(n,t,i,r,u){var e={"font-size":n.font.size,transform:"rotate("+i+",0,0)","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,rotateAngle:"rotate("+i+"deg)","text-anchor":"middle"};t=u?this.chartObj:t;var f=t.svgRenderer.createText(e,r),o=Math.ceil(this._measureBounds(f,t).height),s=Math.ceil(this._measureBounds(f,t).width);return{height:o,width:s}},_getTransform:function(n,t,i){var r,u,f,e;return i?(r=t.x,u=n.y,f=t.width,e=n.height):(r=n.x,u=t.y,f=n.width,e=t.height),{x:r,y:u,width:f,height:e}},_calculateroundedCorner:function(n,t,i,r,u,f){var e=t.x,o=t.y,c=5,l=this.chartObj.model.enableCanvasRendering&&!f?c/4:0,s=t.width,h=t.height,v,y,p,w,a;return typeof n!="object"||ej.util.isNullOrUndefined(n)?v=y=p=w=n:(v=n.topLeft,y=n.bottomLeft,p=n.topRight,w=n.bottomRight),v=ej.util.isNullOrUndefined(t.rx)?v:t.rx,y=ej.util.isNullOrUndefined(t.rx)?y:t.rx,p=ej.util.isNullOrUndefined(t.ry)?p:t.ry,w=ej.util.isNullOrUndefined(t.ry)?w:t.ry,a="M "+e+" "+(v+o)+" Q "+e+" "+o+" "+(e+v)+" "+o+" ",i&&r=="top"&&(a+="L "+(e+s/2-c/2+l)+" "+o+" L "+(e+s/2+l-u)+" "+(o-c)+" L "+(e+s/2+c/2+l)+" "+o+" "),a+="L "+(e+s-p)+" "+o+" Q "+(e+s)+" "+o+" "+(e+s)+" "+(o+p)+" ",i&&r=="right"&&(a+="L "+(e+s)+" "+(o+h/2-c/2+l)+" L "+(e+s+c)+" "+(o+h/2+l-u)+" L "+(e+s)+" "+(o+h/2+c/2+l)+" "),a+="L "+(e+s)+" "+(o+h-w)+" Q "+(e+s)+" "+(o+h)+" "+(e+s-w)+" "+(o+h)+" ",i&&r=="bottom"&&(a+="L "+(e+s/2-c/2+l)+" "+(o+h)+" L "+(e+s/2+l-u)+" "+(o+h+c)+" L "+(e+s/2+c/2+l)+" "+(o+h)+" "),a+="L "+(e+y)+" "+(o+h)+" Q "+e+" "+(o+h)+" "+e+" "+(o+h-y)+" ",i&&r=="left"&&(a+="L "+e+" "+(o+h/2-c/2+l)+" L "+(e-c)+" "+(o+h/2+l-u)+" L "+e+" "+(o+h/2+c/2+l)+" "),a+("L "+e+" "+(v+o)+" z")},browserInfo:function(){var n={},t=[],i={webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,msie:/(msie) ([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var r in i)if(i.hasOwnProperty(r)&&(t=navigator.userAgent.match(i[r]),t)){n.name=t[1].toLowerCase();n.version=t[2];!navigator.userAgent.match(/Trident\/7\./)||(n.name="msie");break}return n.isMSPointerEnabled=n.name=="msie"&&n.version>9&&window.navigator.msPointerEnabled,n.pointerEnabled=window.navigator.pointerEnabled,n},_measureText:function(t,i,r){var s=n(document).find("#measureTex"),u,e,o,f,v;n("#measureTex").css("display","block");s.length==0?(u=document.createElement("text"),n(u).attr({id:"measureTex"}),document.body.appendChild(u)):u=s[0];var h=null,c=null,l=null,a=null;if(typeof t=="string"&&(t.indexOf("<")>-1||t.indexOf(">")>-1)){for(e=t.split(" "),o=0;o")==-1&&(e[o]=e[o].replace(/[<>]/g,"&"));t=e.join(" ")}return/<\/?[a-z][\s\S]*>/.test(t)?n(u).html(t):u.textContent=t,r!=undefined&&r.size==undefined&&(f=r,f=f.split(" "),h=f[0],c=f[1],l=f[2],a=f[3]),r!=null&&(u.style.fontSize=r.size>0?r.size+"px":r.size?r.size:c,u.style.fontStyle&&(u.style.fontStyle=r.fontStyle?r.fontStyle:h),u.style.fontFamily=r.fontFamily?r.fontFamily:l,window.navigator.userAgent.indexOf("MSIE 8.0")==-1&&(u.style.fontWeight=r.fontWeight?r.fontWeight:a)),u.style.backgroundColor="white",u.style.position="absolute",u.style.top=-100,u.style.left=0,u.style.visibility="hidden",u.style.whiteSpace="nowrap",i&&(u.style.maxwidth=i+"px"),v={width:u.offsetWidth,height:u.offsetHeight},n("#measureTex").css("display","none"),v},_trimText:function(n,t,i){var f,r,e,u;for(r=n.toString(),e=r.length,u=1;u=t)return r.substring(0,u-1)+"... ";return n},_measureBounds:function(t,i){i.model.enableCanvasRendering?n(document.body).append(t):(i.svgRenderer.append(t,i.svgObject),i.svgRenderer.append(i.svgObject,i.element));var r=t.getBoundingClientRect(),u={left:r.left,right:r.right,top:r.top,bottom:r.bottom,width:r.right-r.left,height:r.bottom-r.top};return n(t).remove(),u},_drawAxesBoundsClipPath:function(t,i,r){var u,s=n(t),f=this._getTransform(i.xAxis,i.yAxis,r.model.requireInvertedAxes),h=r.model.AreaType=="polaraxes"?n(r.svgObject).width():f.width,c=r.model.AreaType=="polaraxes"?n(r.svgObject).height():f.height,e=r.model.requireInvertedAxes?i.yAxis.plotOffset:i.xAxis.plotOffset,o=r.model.requireInvertedAxes?i.xAxis.plotOffset:i.yAxis.plotOffset;r.model.AreaType=="polaraxes"?(u={id:t?t.id+"_ClipRect":"",cx:r.model.centerX,cy:r.model.centerY,r:r.model.Radius,fill:"white","stroke-width":1,stroke:"transparent"},r.svgRenderer.drawCircularClipPath(u,t)):(u={id:t?t.id+"_ClipRect":"",x:0-e,y:0-o,width:h+2*e,height:c+2*o,fill:"white","stroke-width":1,stroke:"transparent"},r.svgRenderer.drawClipPath(u,t));u.id.indexOf("_Rect")&&(u.id=u.id.replace("_Rect",""));s.attr("clip-path","url(#"+u.id+")")},_getStringBuilder:function(){var n=[],t=0;return{append:function(i){return n[t++]=i,this},remove:function(t,i){return n.splice(t,i||1),this},insert:function(t,i){return n.splice(t,0,i),this},toString:function(t){return n.join(t||"")}}},_addRegion:function(t,i,r,u,f){var s=r.type,e=n.inArray(r,t.model._visibleSeries),o;e>=0&&(o={SeriesIndex:e,Region:{PointIndex:f,Bounds:i},type:s},t.model.chartRegions.push(o))},AddRegion:function(n,t,i){if(i){var r={isStripLine:i,Region:{Bounds:t}};n.model.chartRegions.push(r)}},_getSvgXY:function(n,t,i,r){var u,f;return r.model.requireInvertedAxes?(u=n+i.yAxis.x,f=t+i.xAxis.y):(u=n+i.xAxis.x,f=t+i.yAxis.y),{X:u,Y:f}},_getPoint:function(n,t){var f=n.xValue,i,r,u,e=t.type=="boxandwhisker"?n.YValues:n.YValues[0],s=t._isTransposed?t.xAxis.height:t.xAxis.width,o=t._isTransposed?t.yAxis.width:t.yAxis.height;return n.location={},t._hiloTypes&&(i=n.YValues[1],i=t.yAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(i==0?1:i,t.xAxis.logBase):i,i=this._getPointXY(i,t.yAxis.visibleRange,t.yAxis.isInversed),n.location.low=(t._isTransposed?i:1-i)*o),r=t.xAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(f==0?1:f,t.xAxis.logBase):f,u=t.yAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(e==0?1:e,t.xAxis.logBase):e,r=this._getPointXY(r,t.xAxis.visibleRange,t.xAxis.isInversed),u=this._getPointXY(u,t.yAxis.visibleRange,t.yAxis.isInversed),n.location.X=t._isTransposed?u*o:r*s,n.location.Y=t._isTransposed?(1-r)*s:(1-u)*o,n.location},_getPointXY:function(n,t,i){var r=0;return r=(n-t.min)/t.delta,r=isNaN(r)?0:r,i?1-r:r},_dateTimeLabelFormat:function(n,t){switch(n.toLowerCase()){case"years":return t._labelFormat="MMM, yyyy";case"months":return t._labelFormat="dd, MMM";case"days":return t._labelFormat="dd/MM/yyyy";case"hours":return t._labelFormat="dd, hh:mm";case"minutes":return t._labelFormat="hh:mm";case"seconds":return t._labelFormat="mm:ss";case"milliseconds":return t._labelFormat="ss:fff";default:return t._labelFormat="dd/MM/yyyy"}},_getFontString:function(n){return n==null&&(n={}),n.FontFamily||(n.FontFamily="Arial"),n.FontStyle||(n.FontStyle="Normal"),n.Size||(n.Size="12px"),n.FontStyle+" "+n.Size+" "+n.FontFamily},_valueToVector:function(n,t){return this._coefficientToVector(this._valueToPolarCoefficient(n,t))},TransformToVisible:function(n,t,i,r){t=n.xAxis._valueType=="logarithmic"&&t>0?Math.log(t,n.xAxis.logBase):t;i=n.xAxis._valueType=="logarithmic"&&i>0?Math.log(i,n.yAxis.logBase):i;var u=r.model.Radius*this._valueToCoefficient(n.yAxis,i),f=this._valueToVector(n.xAxis,t);return{X:r.model.centerX+u*f.X,Y:r.model.centerY+u*f.Y}},Transform3DToVisible:function(n,t,i,r){var u,s,h,f;if(n.xAxis!=null&&n.yAxis!=null){if(u=n.xAxis._valueType.toLowerCase(),f=u=="logarithmic"?!0:!1,t=t=f&&t>0?math.log(t,s):t,i=i,r.model.requireInvertedAxes){var e=r.model.m_AreaBounds.X,o=r.model.m_AreaBounds.Y,c=e+n.yAxis.width*ej.EjSvgRender.utils._valueToCoefficient(n.yAxis,i,r),l=o+n.xAxis.height*(1-ej.EjSvgRender.utils._valueToCoefficient(n.xAxis,t,r));return{X:c,Y:l}}var e=n.xAxis.x,o=n.yAxis.y,t=e+Math.round(n.xAxis.width*ej.EjSvgRender.utils._valueToCoefficient(n.xAxis,t,r)),i=o+Math.round(n.yAxis.height*(1-ej.EjSvgRender.utils._valueToCoefficient(n.yAxis,i,r)));return{X:t,Y:i}}return new h(0,0)},_valueToPolarCoefficient:function(n,t){var f=n.visibleRange.min,r,u,i;return n._valueType!="category"?(r=n.visibleRange.max-n.visibleRange.interval-n.visibleRange.min,u=n.visibleLabels.length-1):(r=n.visibleRange.delta,u=n.visibleLabels.length),i=(t-f)/r,i*=1-1/u,i=isNaN(i)?0:i,n.isInversed?i:1-i},_coefficientToVector:function(n){var t=Math.PI*(1.5-2*n);return{X:Math.cos(t),Y:Math.sin(t)}},_valueToCoefficient:function(n,t,i){var r;return r=i&&i.model.AreaType=="polaraxes"?t:n._valueType&&n._valueType.toLowerCase()=="logarithmic"?ej.EjSvgRender.utils._logBase(t==0?1:t,n.logBase):t,r=(r-n.visibleRange.min)/n.visibleRange.delta,n.isInversed?1-r:r},_getBoundingClientRect:function(t,i,r,u){var f=t.getBoundingClientRect(),s=n("#"+i.svgObject.id)[0].getBoundingClientRect(),e,o,h,c;return u?(e=this._getTransform(r.xAxis,r.yAxis,!0).x,o=this._getTransform(r.xAxis,r.yAxis,!0).y):(e=this._getTransform(r.xAxis,r.yAxis,!1).x,o=this._getTransform(r.xAxis,r.yAxis,!1).y),h=f.left-(e+s.left),c=f.top-(o+s.top),{x:h,y:c,width:f.right-f.left,height:f.bottom-f.top}},_minMax:function(n,t,i){return n>i?i:n=t.min},_logBase:function(n,t){return Math.log(n)/Math.log(t)},_correctRect:function(n,t,i,r){return{X:Math.min(n,i),Y:Math.min(t,r),Width:Math.abs(i-n),Height:Math.abs(r-t)}},_getValuebyPoint:function(n,t,i,r){var e=r?i.xAxis.height:i.xAxis.width,o=r?i.yAxis.width:i.yAxis.height,u=i.xAxis.isInversed?1-n/e:n/e,f=i.yAxis.isInversed?1-t/o:t/o;return u=u*i.xAxis.visibleRange.delta+i.xAxis.visibleRange.min,f=f*i.yAxis.visibleRange.delta+i.yAxis.visibleRange.min,u=i.xAxis._valueType=="logarithmic"?Math.pow(i.xAxis.logBase,u):u,f=i.yAxis._valueType=="logarithmic"?Math.pow(i.yAxis.logBase,f):f,{PointX:u,PointY:f}}};ej.EjSvgRender.chartTransform3D={ToRadial:Math.PI/180,transform3D:function(n){return this.vector||(this.vector=new(new ej.Ej3DRender).vector3D,this.matrixobj=new(new ej.Ej3DRender).matrix3D,this.bsptreeobj=new(new ej.Ej3DRender).BSPTreeBuilder,this.polygon=new(new ej.Ej3DRender).polygon3D),{mViewport:n,Rotation:0,Tilt:0,Depth:0,PerspectiveAngle:0,needUpdate:!0,centeredMatrix:this.matrixobj.getIdentity(),Perspective:this.matrixobj.getIdentity(),resultMatrix:this.matrixobj.getIdentity(),viewMatrix:this.matrixobj.getIdentity(),Depth:0}},transform:function(n){this.setCenter(this.vector.vector3D(n.mViewport.Width/2,n.mViewport.Height/2,n.Depth/2),n);this.setViewMatrix(this.matrixobj.transform(0,0,n.Depth),n);this.setViewMatrix(this.matrixobj.getMatrixMultiplication(n.viewMatrix,this.matrixobj.turn(-this.ToRadial*n.Rotation)),n);this.setViewMatrix(this.matrixobj.getMatrixMultiplication(n.viewMatrix,this.matrixobj.tilt(-this.ToRadial*n.Tilt)),n);this.updatePerspective(n.PerspectiveAngle,n);n.needUpdate=!0},updatePerspective:function(n,t){var i=(t.mViewport.Width+t.mViewport.Height)*Math.tan(this.degreeToRadianConverter((180-Math.abs(n%181))/2))+t.Depth/1;t.Perspective[0][0]=i;t.Perspective[1][1]=i;t.Perspective[2][3]=1;t.Perspective[3][3]=i},degreeToRadianConverter:function(n){return n*Math.PI/180},toScreen:function(n,t,i,r){var i=i?i:this.result;return r?(this.matrixobj=r,n=r.getMatrixVectorMutiple(i(t,r),n)):(t.chartObj=this.matrixobj,n=this.matrixobj.getMatrixVectorMutiple(i(t),n)),{x:n.x,y:n.y}},setViewMatrix:function(n,t){t.viewMatrix!=n&&(t.viewMatrix=n,t.needUpdate=!0)},setCenteredMatrix:function(n,t){t.viewMatrix!=n&&(t.centeredMatrix=n,t.needUpdate=!0)},result:function(n,t){var i=n.chartObj?n.chartObj:this.matrixobj,r;return(i||(i=t),!n.needUpdate)?n.resultMatrix:(r=this.matrixobj?this.matrixobj:t,n.resultMatrix=i.getMatrixMultiplication(r.getInvertal(n.centeredMatrix),n.Perspective),n.resultMatrix=i.getMatrixMultiplication(n.resultMatrix,n.viewMatrix),n.resultMatrix=i.getMatrixMultiplication(n.resultMatrix,n.centeredMatrix),n.needUpdate=!1,n.resultMatrix)},setCenter:function(n,t){t.centeredMatrix=this.matrixobj.transform(-n.x,-n.y,-n.z);t.needUpdate=!0},toPlane:function(n,t,i){var r=this.vector.vector3D(n.x,n.y,0),u=this.vector.vector3DPlus(r,this.vector.vector3D(0,0,1));return r=this.vector.vector3DMultiply(i.centeredMatrix,r),u=this.vector.vector3DMultiply(i.centeredMatrix,u),r=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.Perspective),r),u=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.Perspective),u),r=this.polygon.getPoint(r,this.vector.vector3DMinus(u-r)),r=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.viewMatrix),r),this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.centeredMatrix),r)}};ej.EjSvgRender.chartSymbol={_drawSeriesType:function(n,t,i){var r=i.model.series[t.SeriesIndex].type.toLowerCase(),u=i.legendItem.drawType;r=ej.util.isNullOrUndefined(u)?r:u;switch(r){case ej.datavisualization.Chart.Type.Line:return ej.util.isNullOrUndefined(u)?this._drawLine(n,t,i,i.gLegendItemEle):this._drawStraightLine(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StepLine:return this._drawStepLine(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StackingArea:case ej.datavisualization.Chart.Type.StackingArea100:case ej.datavisualization.Chart.Type.Area:case ej.datavisualization.Chart.Type.RangeArea:return this._drawArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StepArea:return this._drawStepArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Bar:case ej.datavisualization.Chart.Type.StackingBar100:case ej.datavisualization.Chart.Type.StackingBar:return this._drawBar(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Pie:return this._drawPie(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Doughnut:return this._drawDoughnut(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Hilo:return this._drawHilo(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.HiloOpenClose:return this._drawHiloOpenClose(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Candle:return this._drawCandle(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Pyramid:return this._drawPyramid(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Funnel:return this._drawFunnel(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Spline:return this._drawSpline(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.SplineArea:case ej.datavisualization.Chart.Type.StackingSplineArea:case ej.datavisualization.Chart.Type.StackingSplineArea100:return this._drawSplineArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.RangeColumn:return this._drawRangeColumn(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Bubble:case ej.datavisualization.Chart.Type.Scatter:return this._drawCircle(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Column:case ej.datavisualization.Chart.Type.StackingColumn:case ej.datavisualization.Chart.Type.StackingColumn100:case ej.datavisualization.Chart.Type.Waterfall:return this._drawColumn(n,t,i,i.gLegendItemEle);default:return this._drawRectangle(n,t,i,i.gLegendItemEle)}},_drawCircle:function(n,t,i,r){var o=i.svgRenderer,h=i.svgObject,f=t.ShapeSize,e=Math.sqrt(f.height*f.height+f.width*f.width)/2,u=t.Style,s={id:t.ID,cx:n.startX,cy:n.startY,r:e,fill:u.Color,"stroke-width":u.BorderWidth,stroke:u.BorderColor,opacity:u.Opacity,visibility:u.Visibility,lgndCtx:t.context};return o.drawCircle(s,r),n.startX-e},_drawLeftArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2+u.width)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/2)+" "+n.startY+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2+u.width)+" "+(n.startY+u.height/4)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawRightArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/2+u.width)+" "+n.startY+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2)+" "+(n.startY+u.height/4)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawUpArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+n.startX+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawDownArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+n.startX+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawCross:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+u.width/2)+" "+n.startY+" M "+n.startX+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2);e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawHorizLine:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+u.width/2)+" "+n.startY;e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawVertLine:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+n.startX+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2);e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawTriangle:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawInvertedTriangle:function(n,t,i,r){var f=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,e="M "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" z";var h=n.startX,c=n.startY,o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:e};f.drawPath(o,r)},_drawHexagon:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+-u.width/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+n.startY+" L "+(n.startX+u.width/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawWedge:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width)+" "+n.startY+" L "+(n.startX+u.width)+" "+(n.startY+-u.height/2)+" L "+(n.startX+3*(u.width/4))+" "+n.startY+" L "+(n.startX+u.width)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width)+" "+n.startY+" z";e={"stroke-linecap":"miter","stroke-miterlimit":u.width/4,id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawPentagon:function(n,t,i,r){for(var l,a,v=i.svgRenderer,p=i.svgObject,u=t.ShapeSize,o=Math.sqrt(u.height*u.height+u.width*u.width)/2,f=ej.EjSvgRender.utils._getStringBuilder(),e=0;e<=5;e++){var y=e*72,s=Math.PI/180*y,h=o*Math.cos(s),c=o*Math.sin(s);e==0?f.append("M "+(n.startX+h)+" "+(n.startY+c)+" "):f.append("L "+(n.startX+h)+" "+(n.startY+c)+" ")}f.append("z");l=f.toString();a={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:l};v.drawPath(a,r)},_drawStar:function(n,t,i,r){var o=i.svgRenderer,u=t.ShapeSize,s=i.svgObject,f,e;f="M "+(n.startX+u.width/3)+" "+(n.startY+-u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/6)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/6)+" L "+(n.startX+-u.width/3)+" "+(n.startY+-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/3)+" "+(n.startY+-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawRectangle:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawTrapezoid:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX+-u.width/2+u.width)+" "+(n.startY+-u.height/2)+" L "+(n.startX+-u.width/2+u.width)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawDiamond:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+n.startX+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+n.startY+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawEllipse:function(n,t,i,r){var f=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,e=n.startX,o=n.startY,s={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,cx:e,cy:o,rx:u.width,ry:u.height/2};f.drawEllipse(s,r)},_drawImage:function(n,t,i,r){var f=i.svgRenderer,e=i.svgObject,u=t.ShapeSize,o=n.startX+-u.width/2,s=n.startY+-u.width/2,h=u.width,c=u.height,l={id:e.id+"_image"+t.PointIndex,height:c,width:h,href:t.Imageurl,x:o,y:s,visibility:"visible",lgndCtx:t.context};f.drawImage(l,r)},_drawStraightLine:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawLine:function(n,t,i,r){var o=i.svgRenderer,l=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,s;if(i.model.enableCanvasRendering===!0){e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" M "+(n.startX+Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10);var s={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},h="M "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" a "+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+2*Math.floor(u.width/3)+" 0 a"+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+-2*Math.floor(u.width/3)+" 0",c={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:h,lgndCtx:!0};o.drawPath(s,r);o.drawPath(c,r)}else e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" M "+(n.startX+Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10)+" M "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" a "+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+2*Math.floor(u.width/3)+" 0 a"+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+-2*Math.floor(u.width/3)+" 0",s={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},o.drawPath(s,r);return n.startX+-u.width/2+-f/4},_drawColumn:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX-3*(u.width/5))+" "+(n.startY-u.height/5)+" L "+(n.startX+3*(-u.width/10))+" "+(n.startY-u.height/5)+" L "+(n.startX+3*(-u.width/10))+" "+(n.startY+u.height/2)+" L "+(n.startX-3*(u.height/5))+" "+(n.startY+u.height/2)+" Z M "+(n.startX+-u.width/10-u.width/20)+" "+(n.startY-u.height/4-f/2)+" L "+(n.startX+u.width/10+u.width/20)+" "+(n.startY-u.height/4-f/2)+" L "+(n.startX+u.width/10+u.width/20)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/10-u.width/20)+" "+(n.startY+u.height/2)+" Z M "+(n.startX+3*(u.width/10))+" "+n.startY+" L "+(n.startX+3*(u.width/5))+" "+n.startY+" L "+(n.startX+3*(u.width/5))+" "+(n.startY+u.height/2)+" L "+(n.startX+3*(u.width/10))+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX-3*(u.width/5)},_drawRangeColumn:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY-u.height/2-f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+-f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2+f/4)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/5},_drawBar:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY-3*(u.height/5))+" L "+(n.startX+3*(u.width/10))+" "+(n.startY-3*(u.height/5))+" L "+(n.startX+3*(u.width/10))+" "+(n.startY-3*(u.height/10))+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY-3*(u.height/10))+" Z M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY-u.height/5+f/20)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY-u.height/5+f/20)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10+f/20)+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/10+f/20)+" Z M "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/5+f/10)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/5+f/10)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/2+f/10)+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/2+f/10)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawStepLine:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+u.width/10)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+u.width/10)+" "+n.startY+" L "+(n.startX+-u.width/10)+" "+n.startY+" L "+(n.startX+-u.width/10)+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/5)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2)+"L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L"+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2),o={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2-f/4},_drawSpline:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;return f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/5)+" Q "+n.startX+" "+(n.startY-u.height)+" "+n.startX+" "+(n.startY+u.height/5)+" M "+n.startX+" "+(n.startY+u.height/5)+" Q "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" "+(n.startX+u.width/2)+" "+(n.startY-u.height/2),e={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:f,lgndCtx:!0},o.drawPath(e,r),n.startX-u.width/2},_drawSplineArea:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;return f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/5)+" Q "+n.startX+" "+(n.startY-u.height)+" "+n.startX+" "+(n.startY+u.height/5)+" Z M "+n.startX+" "+(n.startY+u.height/5)+" Q "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" Z",e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:f,lgndCtx:!0},o.drawPath(e,r),n.startX-u.width/2},_drawArea:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX-u.width/2-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/4+-f/8)+" "+(n.startY-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/4)+" L "+(n.startX+u.width/4+f/8)+" "+(n.startY+-u.height/2+u.height/4)+" L "+(n.startX+u.height/2+f/4)+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX-u.width/2-f/4},_drawStepArea:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX-u.width/4)+" "+(n.startY-u.height/4)+" L "+(n.startX+u.width/4)+" "+(n.startY-u.height/4)+" L "+(n.startX+u.width/4)+" "+n.startX+" L "+(n.startX+u.width/2+f/4)+" "+n.startY+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawPyramid:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/2+f/8)+" L "+n.startX+" "+(n.startY+-u.height/2+-f/8)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2+f/8)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawFunnel:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/5)+" "+(n.startY+-u.height/2+-f/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY+u.height/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/4)+" L "+(n.startX+u.width/2+f/5)+" "+(n.startY+-u.height/2+-f/4)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/5},_drawCandle:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2)+" "+(n.startY+u.height/4+f/8)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/4+f/8)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+f/8)+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2+f/8)+" Z M "+n.startX+" "+(n.startY+-u.height/2+f/8)+" L "+n.startX+" "+(n.startY+-u.height/2+-f/4)+" M "+n.startX+" "+(n.startY+u.height/4+f/8)+" L "+n.startX+" "+(n.startY+u.height/4+f/2),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2},_drawHilo:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+u.width/2)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+-f/4),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+u.width/2},_drawHiloOpenClose:function(n,i,r,u){var h=r.svgRenderer,c=r.svgObject,f=i.ShapeSize,l=t(18,12,4.0710678118654755,270),e=i.ElementSpace,o,s;return o="M "+n.startX+" "+(n.startY-3*(f.height/10))+" L "+(n.startX-f.width/2-e/4)+" "+(n.startY-3*(f.height/10))+" M "+n.startX+" "+(n.startY-f.height/2-e/4)+" L "+n.startX+" "+(n.startY+f.height/2+e/4)+" M "+n.startX+" "+(n.startY+3*(f.height/10))+" L "+(n.startX+f.width/2+e/4)+" "+(n.startY+3*(f.height/10)),s={id:i.ID,fill:"transparent","stroke-width":i.Style.BorderWidth,stroke:i.Style.Color,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:o,lgndCtx:!0},h.drawPath(s,u),n.startX-f.width/2},_drawDoughnut:function(n,i,r,u){var o=r.svgRenderer,y=r.svgObject,e=i.ShapeSize,c=i.ElementSpace,f=Math.sqrt(e.height*e.width)/2;f=f+c/5;var s=t(n.startX,n.startY,f,270),h=t(n.startX+e.width/10,n.startY,f,270),c=i.ElementSpace,l="M "+n.startX+" "+n.startY+" L "+(n.startX+f)+" "+n.startY+" A "+f+" "+f+" 0 1 1 "+s[0]+" "+s[1]+" Z M "+(n.startX+e.width/10)+" "+(n.startY-e.height/10)+" L"+(n.startX+f)+" "+(n.startY-e.height/10)+" A "+f+" "+f+" 0 0 0 "+h[0]+" "+h[1]+" Z",a={id:i.ID,fill:i.Style.Color,"stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:l,lgndCtx:!0},v={id:i.ID,cx:n.startX,cy:n.startY,r:f/2,lgndCtx:!0,fill:"white","stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility};return o.drawPath(a,u),o.drawCircle(v,u),n.startX-f},_drawPie:function(n,i,r,u){var h=r.svgRenderer,v=r.svgObject,e=i.ShapeSize,c=i.ElementSpace,f=Math.sqrt(e.height*e.width)/2;f=f+c/5;var o=t(n.startX,n.startY,f,270),s=t(n.startX+e.width/10,n.startY,f,270),c=i.ElementSpace,l="M "+n.startX+" "+n.startY+" L "+(n.startX+f)+" "+n.startY+" A "+f+" "+f+" 0 1 1 "+o[0]+" "+o[1]+" Z M "+(n.startX+e.width/10)+" "+(n.startY-e.height/10)+" L"+(n.startX+f)+" "+(n.startY-e.height/10)+" A "+f+" "+f+" 0 0 0 "+s[0]+" "+s[1]+" Z",a={id:i.ID,fill:i.Style.Color,"stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:l,lgndCtx:!0};return h.drawPath(a,u),n.startX-f}};ej.EjSvgRender.seriesPalette={defaultMetro:["#E94649","#F6B53F","#6FAAB0","#C4C24A","#FB954F","#005277","#8BC652","#69D2E7","#E27F2D","#6A4B82"],defaultHighContrast:["#F93A00","#44E2D6","#DDD10D","#0AA368","#0556CB","#AB40B2","#5F930A","#D12E41","#E0670E","#008FFF"],defaultOffice:["#005277","#8BC652","#6A4B82","#E94649","#6FAAB0","#F7B74F","#C4C24A","#EF863F","#69D2E7","#FFD13E"],defaultMaterial:["#663AB6","#EB3F79","#F8AB1D","#B82E3D","#049CB1","#F2424F","#C2C924","#3DA046","#074D67","#02A8F4"],defaultGradient:{borderColors:["#F34649","#F6D321","#6EB9B0","#CBC26A","#FBAF4F","#E2CDB1","#FFC0B7","#68E1E6","#E1A62D","#9C6EBF"],seriesColors:[[{color:"#F34649",colorStop:"0%"},{color:"#B74143",colorStop:"100%"}],[{color:"#F6D321",colorStop:"0%"},{color:"#F6AE26",colorStop:"100%"}],[{color:"#6EB9B0",colorStop:"0%"},{color:"#3F77BD",colorStop:"100%"}],[{color:"#CBC26A",colorStop:"0%"},{color:"#9AAD21",colorStop:"100%"}],[{color:"#FBAF4F",colorStop:"0%"},{color:"#F07542",colorStop:"100%"}],[{color:"#E2CDB1",colorStop:"0%"},{color:"#AAA089",colorStop:"100%"}],[{color:"#8BC652",colorStop:"0%"},{color:"#6F9E41",colorStop:"100%"}],[{color:"#68E1E6",colorStop:"0%"},{color:"#3D9CBE",colorStop:"100%"}],[{color:"#E1A62D",colorStop:"0%"},{color:"#B66824",colorStop:"100%"}],[{color:"#9C6EBF",colorStop:"0%"}],[{color:"#593F6D",colorStop:"100%"}]]},blueMetro:["#005378","#006691","#007EB5","#0D97D4","#00AEFF","#14B9FF","#54CCFF","#87DBFF","#ADE5FF","#C5EDFF"],blueGradient:{seriesColors:[[{color:"#005277",colorStop:"0%"},{color:"#00304F",colorStop:"100%"}],[{color:"#006590",colorStop:"0%"},{color:"#004068",colorStop:"100%"}],[{color:"#007DB4",colorStop:"0%"},{color:"#00558B",colorStop:"100%"}],[{color:"#0D97D4",colorStop:"0%"},{color:"#057FC7",colorStop:"100%"}],[{color:"#00ADFE",colorStop:"0%"},{color:"#008BE9",colorStop:"100%"}],[{color:"#14B8FE",colorStop:"0%"},{color:"#0798EB",colorStop:"100%"}],[{color:"#53CBFF",colorStop:"0%"},{color:"#35AFEB",colorStop:"100%"}],[{color:"#86DAFF",colorStop:"0%"},{color:"#64C0EC",colorStop:"100%"}],[{color:"#ACE5FF",colorStop:"0%"},{color:"#8DCEED",colorStop:"100%"}],[{color:"#C4ECFF",colorStop:"0%"}],[{color:"#A3D1E6",colorStop:"100%"}]],borderColors:["#005277","#006590","#007DB4","#0D97D4","#00ADFE","#14B8FE","#53CBFF","#86DAFF","#ACE5FF","#C4ECFF"]},greenMetro:["#496612","#597B15","#709A1B","#87B62A","#9AD926","#A6DC37","#BCE654","#C8E780","#D5EFA5","#E2F3BE"],greenGradient:{seriesColors:[[{color:"#5C7F16",colorStop:"0%"},{color:"#384C08",colorStop:"100%"}],[{color:"#6A9319",colorStop:"0%"},{color:"#486009",colorStop:"100%"}],[{color:"#739D1C",colorStop:"0%"},{color:"#57760B",colorStop:"100%"}],[{color:"#90B546",colorStop:"0%"},{color:"#6E9215",colorStop:"100%"}],[{color:"#9AD826",colorStop:"0%"},{color:"#75A010",colorStop:"100%"}],[{color:"#A5DB36",colorStop:"0%"},{color:"#8EB91D",colorStop:"100%"}],[{color:"#BBE554",colorStop:"0%"},{color:"#A4C849",colorStop:"100%"}],[{color:"#C8E780",colorStop:"0%"},{color:"#B4D072",colorStop:"100%"}],[{color:"#D4EEA5",colorStop:"0%"},{color:"#BFD593",colorStop:"100%"}],[{color:"#E1F2BD",colorStop:"0%"}],[{color:"#C8D7A8",colorStop:"100%"}]],borderColors:["#5C7F16","#6A9319","#739D1C","#90B546","#9AD826","#A5DB36","#BBE554","#C8E780","#D4EEA5","#E1F2BD"]},sandleMetro:["#6C450C","#82520D","#A36812","#C07F1F","#E69719","#E89A2B","#EEB564","#F3CB93","#F7DEB4","#F9E6CA"],sandleGradient:{seriesColors:[[{color:"#7F602F",colorStop:"0%"},{color:"#512D04",colorStop:"100%"}],[{color:"#986827",colorStop:"0%"},{color:"#673803",colorStop:"100%"}],[{color:"#A16C1F",colorStop:"0%"},{color:"#8A4B05",colorStop:"100%"}],[{color:"#BF812A",colorStop:"0%"},{color:"#AD630D",colorStop:"100%"}],[{color:"#E49519",colorStop:"0%"},{color:"#B86607",colorStop:"100%"}],[{color:"#E7992A",colorStop:"0%"},{color:"#D7780D",colorStop:"100%"}],[{color:"#EDB463",colorStop:"0%"},{color:"#D98F31",colorStop:"100%"}],[{color:"#F2CA92",colorStop:"0%"},{color:"#DAAC6F",colorStop:"100%"}],[{color:"#F6DDB3",colorStop:"0%"},{color:"#DABE8F",colorStop:"100%"}],[{color:"#F8E5C9",colorStop:"0%"}],[{color:"#DDBE92",colorStop:"100%"}]],borderColors:["#7F602F","#986827","#A16C1F","#BF812A","#E49519","#E7992A","#EDB463","#F2CA92","#F6DDB3","#F8E5C9"]}};ej.EjSvgRender.themes={flatlight:{highlightColor:"black",background:"transparent",legend:{font:{color:"#282828"},title:{font:{color:"#282828"}}},title:{font:{color:"#565656"},subTitle:{font:{color:"#565656"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#565656"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMetro,colors:ej.EjSvgRender.seriesPalette.defaultMetro},flatdark:{highlightColor:"white",background:"#111111",legend:{font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}}},title:{font:{color:"#C9C9C9"},subTitle:{font:{color:"#C9C9C9"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#C9C9C9"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMetro,colors:ej.EjSvgRender.seriesPalette.defaultMetro},gradientlight:{highlightColor:"black",background:"transparent",legend:{font:{color:"#282828"},title:{font:{color:"#282828"}}},title:{font:{color:"#565656"},subTitle:{font:{color:"#565656"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#565656"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.defaultGradient.seriesColors},gradientdark:{highlightColor:"white",background:"#111111",legend:{font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}}},title:{font:{color:"#C9C9C9"},subTitle:{font:{color:"#C9C9C9"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#C9C9C9"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.defaultGradient.seriesColors},highcontrast01:{highlightColor:"white",background:"#111111",legend:{font:{color:"#ffffff"},title:{font:{color:"#ffffff"}}},title:{font:{color:"#ffffff"},subTitle:{font:{color:"#ffffff"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#ffffff",axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#ffffff",axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#ffffff"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultHighContrast,colors:ej.EjSvgRender.seriesPalette.defaultHighContrast},material:{highlightColor:"black",background:"transparent",legend:{font:{color:"#333333"},title:{font:{color:"#333333"}}},title:{font:{color:"#333333"},subTitle:{font:{color:"#333333"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#333333"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMaterial,colors:ej.EjSvgRender.seriesPalette.defaultMaterial},office365:{highlightColor:"black",background:"transparent",legend:{font:{color:"#333333"},title:{font:{color:"#333333"}}},title:{font:{color:"#333333"},subTitle:{font:{color:"#333333"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#333333"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultOffice,colors:ej.EjSvgRender.seriesPalette.defaultOffice}};n.extend(ej.EjSvgRender.themes,{azure:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueMetro,colors:ej.EjSvgRender.seriesPalette.blueMetro},azuredark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueMetro,colors:ej.EjSvgRender.seriesPalette.blueMetro},"gradient-azure":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.blueGradient.seriesColors},"gradient-azuredark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.blueGradient.seriesColors},lime:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenMetro,colors:ej.EjSvgRender.seriesPalette.greenMetro},limedark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenMetro,colors:ej.EjSvgRender.seriesPalette.greenMetro},"gradient-lime":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.greenGradient.seriesColors},"gradient-limedark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.greenGradient.seriesColors},saffron:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleMetro,colors:ej.EjSvgRender.seriesPalette.sandleMetro},saffrondark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleMetro,colors:ej.EjSvgRender.seriesPalette.sandleMetro},"gradient-saffron":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.sandleGradient.seriesColors},"gradient-saffrondark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.sandleGradient.seriesColors}})}(jQuery)});
+(function(n){typeof define=="function"&&define.amd?define(["./../common/ej.core.min","./../common/ej.data.min","./../common/ej.globalize.min"],n):n()})(function(){(function(n,t,i){t.widget("ejBulletGraph","ej.datavisualization.BulletGraph",{element:null,model:null,validTags:["div"],_tags:[{tag:"qualitativeRanges",attr:["rangeEnd","rangeStroke","rangeOpacity"]},{tag:"quantitativeScaleSettings.featureMeasures",attr:["value","comparativeMeasureValue"]}],defaults:{locale:null,enableGroupSeparator:!1,value:0,comparativeMeasureValue:0,width:null,height:null,theme:"flatlight",orientation:"horizontal",flowDirection:"forward",qualitativeRangeSize:32,quantitativeScaleLength:475,tooltipSettings:{enableCaptionTooltip:!1,captionTemplate:null,visible:!0,template:null},quantitativeScaleSettings:{location:{x:10,y:10},minimum:0,maximum:10,interval:1,minorTicksPerInterval:4,majorTickSettings:{size:13,stroke:null,width:2},minorTickSettings:{size:7,stroke:null,width:2},tickPosition:"far",tickPlacement:"outside",labelSettings:{labelPlacement:"outside",labelPrefix:"",labelSuffix:"",stroke:null,size:12,offset:15,font:{fontFamily:"Segoe UI",fontStyle:"Normal ",fontWeight:"regular",opacity:1},position:"below"},featuredMeasureSettings:{stroke:null,width:6},comparativeMeasureSettings:{stroke:null,width:5},featureMeasures:[{value:null,comparativeMeasureValue:null,category:null}]},fields:{dataSource:null,query:null,tableName:null,category:null,featureMeasures:null,comparativeMeasure:null},enableAnimation:!0,enableResizing:!0,isResponsive:!0,applyRangeStrokeToTicks:!1,applyRangeStrokeToLabels:!1,qualitativeRanges:[{rangeEnd:4.3,rangeStroke:null,rangeOpacity:1},{rangeEnd:7.3,rangeStroke:null,rangeOpacity:1},{rangeEnd:10,rangeStroke:null,rangeOpacity:1}],captionSettings:{enableTrim:!0,textPosition:"float",textAlignment:"Near",textAnchor:"start",padding:5,textAngle:0,location:{x:17,y:30},text:"",font:{color:null,fontFamily:"Segoe UI",fontStyle:"Normal",size:"12px",fontWeight:"regular",opacity:1},subTitle:{textPosition:"float",textAlignment:"Near",textAnchor:"start",padding:5,textAngle:0,text:"",location:{x:10,y:45},font:{color:null,fontFamily:"Segoe UI",fontStyle:"Normal ",size:"12px",fontWeight:"regular",opacity:1}},indicator:{textPosition:"float",textAlignment:"Near",textAnchor:"start",padding:5,visible:!1,textAngle:0,textSpacing:3,text:"",symbol:{border:{color:null,width:1},color:null,shape:"",imageURL:"",size:{width:10,height:10},opacity:1},location:{x:10,y:60},font:{color:null,fontFamily:"Segoe UI",fontStyle:"Normal ",size:"12px",fontWeight:"regular",opacity:1}}},load:"",click:"",doubleClick:"",rightClick:"",drawTicks:null,drawLabels:null,drawCaption:null,drawIndicator:null,drawQualitativeRanges:null,drawFeatureMeasureBar:null,drawCategory:null,drawComparativeMeasureSymbol:null},observables:["value","comparativeMeasureValue"],value:t.util.valueFunction("value"),comparativeMeasureValue:t.util.valueFunction("comparativeMeasureValue"),dataTypes:{quantitativeScaleSettings:{labelSettings:"data",featureMeasures:"array"},fields:{dataSource:"data",query:"data"},qualitativeRanges:"array",captionSettings:"data",isResponsive:"boolean"},_init:function(){this._renderBulletGraph()},_destroy:function(){n(this.element).removeClass("e-datavisualization-bulletgraph e-js").find("#"+this.svgObject.id).remove()},_isSVG:function(){return window.SVGSVGElement?!0:!1},_value:t.util.valueFunction("value"),_comparativeMeasureValue:t.util.valueFunction("comparativeMeasureValue"),_qualitativeRanges:function(){this.redraw();this._trigger("refresh")},_quantitativeScaleSettings_featureMeasures:function(){this.redraw();this._trigger("refresh")},_renderBulletGraph:function(){var n=this.model.theme.toLowerCase();this._isSVG()&&(this.svgRenderer=new t.EjSvgRender(this.element),this.svgObject=this.svgRenderer.svgObj,this._trigger("load"),this._setSvgSize(this),this._setTheme(t.datavisualization.BulletGraph.Themes,n),this.bindEvents(),this._renderBulletElements(),this.model.enableAnimation&&this._animateMeasures())},_animateMeasures:function(){this._doAnimation();this._doLineAnimation()},_setSvgSize:function(i){var r=i,o=n(r.element).height(),f=90,u=t.isTouchDevice()?250:595,e=n(r.element).width();r.model.width?u=parseInt(r.model.width):e>0&&e<595?u=e:e>595&&(u=595);n(r.svgObject).width(u);r.model.height?f=parseInt(r.model.height):o>0?f=o:n(r.svgObject).css("display","block");n(r.svgObject).height(f);r.svgObject.setAttribute("width",u);r.svgObject.setAttribute("height",f)},_renderBulletElements:function(){var f=this.model.width?this.model.width:595,e=this.model.height?this.model.height:90,i;this.svgObject.setAttribute("viewBox","0 0 "+f+" "+e);this.svgObject.setAttribute("preserveAspectRatio","xMinYMin");this.svgWidth=n(this.svgObject).width();this.svgHeight=n(this.svgObject).height();var r=this.svgRenderer.createGroup({id:this.svgObject.id+"_captionGroup"}),t=this.svgRenderer.createGroup({id:this.svgObject.id+"_scaleGroup"}),u=this.svgRenderer.createGroup({id:this.svgObject.id+"_outerWrap"});this._initializeValues();i=this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/this._scale.interval);this._drawCaption();this._drawIndicator();this._drawCaptionGroup(r);this._scaleGroup=t;this._drawScale(r,t);this._drawQualitativeRanges(t);this._drawMajorTicks(i,t);this._drawMinorTicks(i,t);this._drawLabels(i,t);this._bindData();n(t).appendTo(u);n(r).appendTo(u);this._changeOrientation(t);n(u).appendTo(this.svgObject);n(this.svgObject).appendTo(this.element);this._bindHighlightRemoving()},_bindHighlightRemoving:function(){var i=this.model.browserInfo.isMSPointerEnabled,t,r=this.model.browserInfo.pointerEnabled;t=i?r?"pointerout":"MSPointerOut":"touchout mouseout";this._on(n("[id*="+this.svgObject.id+"_FeatureMeasure_]"),t,function(t){this.isTouch(t)||n(t.target).attr("opacity",1)})},_drawCaptionGroup:function(n){var u=this.model.captionSettings,f=u.subTitle,r=this._indicator?this._indicator.settings:u.indicator,c,b,k,l,a,v;u._location=f._location=r._location=c;var y=u.textPosition.toLowerCase()!="float"&&u.text!="",p=f.textPosition.toLowerCase()!="float"&&f.text!="",w=r.visible&&r.textPosition.toLowerCase()!="float";if(y||p||w){b=t.EjSvgRender.utils._measureText(u.text,null,u.font);k=t.EjSvgRender.utils._measureText(f.text,null,f.font);r.visible&&(l=this._indicator.bounds,v={width:r.symbol.size.width+l.width+r.textSpacing,height:Math.max(r.symbol.size.height,l.height)},a={x:0,y:0,width:v.width,height:v.height,padding:r.padding,anchor:r.textAnchor.toLowerCase(),alignment:r.textAlignment.toLowerCase()});var d={x:0,y:0,width:b.width,height:parseFloat(u.font.size),padding:u.padding,anchor:u.textAnchor.toLowerCase(),alignment:u.textAlignment.toLowerCase()},g={x:0,y:0,width:k.width,height:parseFloat(f.font.size),padding:f.padding,anchor:f.textAnchor.toLowerCase(),alignment:f.textAlignment.toLowerCase()},tt={x:this._scale.location.x,y:this._scale.location.y,width:this.model.quantitativeScaleLength,height:this.model.qualitativeRangeSize},nt=[y?u:null,p?f:null,w?r:null];this._positionTextGroup(nt,[d,g,a],tt);this._locateTextGroup(nt,[d,g,a])}var e=u._location==i?u.location:u._location,o=f._location==i?f.location:f._location,s=r._location==i?r.location:r._location;if(u.displayText=u.text,u.enableTrim==!0&&(e.x=e.x<0?0:e.x,e.y=e.y<0?0:e.y,u.displayText=this._displayText(u,e)),f.text!=""&&(f.displayText=f.text,u.enableTrim==!0&&(o.x=o.x<0?0:o.x,o.y=o.y<0?0:o.y,f.displayText=this._displayText(f,o))),r.visible){r.displayText=r.text;this.model.captionSettings.enableTrim==!0&&(s.x=s.x<0?0:s.x,s.y=s.y<0?0:s.y);var c=r._location?r._location:r.location,h={x:c.x+r.symbol.size.width/2,y:c.y-r.symbol.size.height/2,width:r.symbol.size.width,height:r.symbol.size.height},it=this._indicatorTextOptions(r,h,this._indicator.bounds,this.svgObject.id+"_Indicator"),rt=this._indicatorSymbolOptions(n,r);this._drawBulletSymbol(this._indicator.settings.symbol.shape,h,rt,n);this.model.captionSettings.enableTrim==!0&&(r.displayText=this._displayText(r,h))}u.displayText=u.textPosition.toLowerCase()!="float"?this._captionOverlap(this.model.captionSettings):u.displayText;this.svgRenderer.drawText(this._textOptions(u,this.svgObject.id+"_Caption"),u.displayText,n);f.text!=""&&(f.displayText=f.textPosition.toLowerCase()!="float"?this._subOverlap(this.model.captionSettings.subTitle):f.displayText,this.svgRenderer.drawText(this._textOptions(f,this.svgObject.id+"_SubTitle"),f.displayText,n));r.visible&&(r.displayText=r.textPosition.toLowerCase()!="float"?this._indOverlap(r,h):r.displayText,this.svgRenderer.drawText(it,r.displayText,n))},_captionOverlap:function(n){var t,i;return i=!0,n.textPosition==n.subTitle.textPosition&&n.textAlignment==n.subTitle.textAlignment&&n.textAngle>0&&n.textAngle<120?t=n.subTitle._location.y-n._location.y:n.textPosition==n.indicator.textPosition&&n.textAlignment==n.indicator.textAlignment&&n.textAngle>0&&n.textAngle<120?t=n.indicator._location.y-n._location.y:n.textPosition==n.subTitle.textPosition&&n._location.y0&&n.textAngle<180?t=n.subTitle._location.y-n._location.y:n.textPosition==n.subTitle.textPosition&&n._location.y>n.subTitle._location.y&&n.textAngle>190&&n.textAngle<360?t=n._location.y-n.subTitle._location.y:n.textPosition==n.indicator.textPosition&&n._location.y0&&n.textAngle<180?t=n.indicator._location.y-n._location.y:n.textPosition==n.indicator.textPosition&&n._location.y>n.indicator._location.y&&n.textAngle>190&&n.textAngle<360&&(t=n._location.y-n.indicator._location.y),this._trim(n.displayText,n,t,i)},_indOverlap:function(n,t){var u,f,i,r;return f=!0,i=this.model.captionSettings.subTitle,r=this.model.captionSettings,n.textPosition==i.textPosition&&n.textAlignment==i.textAlignment&&n.textAngle>190&&n.textAngle<360?u=t.y-i._location.y:n.textPosition==r.textPosition&&n.textAlignment==r.textAlignment&&n.textAngle>190&&n.textAngle<360?u=t.y-r._location.y:n.textPosition==i.textPosition&&n._location.y0&&n.textAngle<180?u=i._location.y-n._location.y:n.textPosition==i.textPosition&&n._location.y>i._location.y&&n.textAngle>190&&n.textAngle<360?u=n._location.y-i._location.y:n.textPosition==r.textPosition&&n._location.y0&&n.textAngle<180?u=r._location.y-n._location.y:n.textPosition==r.textPosition&&n._location.y>r._location.y&&n.textAngle>190&&n.textAngle<360&&(u=n._location.y-r._location.y),this._trim(n.displayText,n,u,f)},_subOverlap:function(n){var r,u,t,i;return u=!0,t=this.model.captionSettings.indicator,i=this.model.captionSettings,n.textPosition==t.textPosition&&n.textAlignment==t.textAlignment&&n.textAngle>0&&n.textAngle<180?r=t._location.y-n._location.y:n.textPosition==i.textPosition&&n.textAlignment==i.textAlignment&&n.textAngle>190&&n.textAngle<360?r=n._location.y-i._location.y:n.textPosition==t.textPosition&&n._location.y0&&n.textAngle<180?r=t._location.y-n._location.y:n.textPosition==t.textPosition&&n._location.y>t._location.y&&n.textAngle>190&&n.textAngle<360?r=n._location.y-t._location.y:n.textPosition==i.textPosition&&n._location.y0&&n.textAngle<180?r=i._location.y-n._location.y:n.textPosition==i.textPosition&&n._location.y>i._location.y&&n.textAngle>190&&n.textAngle<360&&(r=n._location.y-i._location.y),this._trim(n.displayText,n,r,u)},rotatedLabel:function(n,i,r,u){var f={"font-size":n.size,transform:"rotate("+r+",0,0)","font-family":n.fontFamily,"font-style":n.fontStyle,rotateAngle:"rotate("+r+"deg)","text-anchor":"middle"},e=i.svgRenderer.createText(f,u);return Math.ceil(t.EjSvgRender.utils._measureBounds(e,i).width)},calcGap:function(n,t,i,r,u,f,e){var o;return n>=0&&n<=90?r+t.y>=e&&n>0?(o=e-t.y,u=!0):r+t.y<=e&&i+t.x>=f&&n>0?o=f-t.x:r+t.y<=e&&n>0?(o=e-t.y,u=!0):o=f-t.x:n>90&&n<180?r+t.y>=e?(o=e-t.y,u=!0):r+t.y<=e&&i+t.x>=f?o=t.x:i+t.x<=f?o=t.x:(o=e-t.y,u=!0):n>=180&&n<270?t.x-i>=0?(o=t.y,u=!0):t.y-r<=0&&t.x-i<=0?o=t.x:t.y-r<=0?(o=e-t.y,u=!0):o=t.x:i+t.x<=f?(o=t.y,u=!0):t.y-r>=0&&i+t.x>=f?o=f-t.x:i+t.x>=f?o=f-t.x:(o=t.y,u=!0),{trimSize:o,rotate:u}},_scaleLoc:function(){var o=this._scale,u=o.labelSettings.offset,i=o.majorTickSettings.size,n,e,s=this._scale.labelSettings,h=t.EjSvgRender.utils._measureText(s.labelPrefix+o.maximum+s.labelSuffix,null,s),f=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?h.height:h.width,r,c;n=o.location.y;r=this.model.qualitativeRangeSize;c=this._tickPosition+this._tickPlacement+this._labelPosition+this._labelPlacement;this._tickPosition=="center"&&(i=i>r&&(i-r)/2);switch(c){case"faroutsidebelowoutside":e=n+f+r+u+(i>u&&i-u);break;case"faroutsidebelowinside":e=n+i+r;n=n-(u+f>r&&u+f-r);break;case"faroutsideaboveoutside":e=n+i+r;n=n-(u+f);break;case"faroutsideaboveinside":e=n+i+r+(u+f>r+i?u+f-(r+i):0);break;case"farinsidebelowoutside":e=n+f+r+u;n=n-(i>r&&i-r);break;case"farinsidebelowinside":e=n+r;n=n-(i>r&&i-r)-(u+f>r+i&&u+f-i);break;case"farinsideaboveoutside":e=n+r;n=n-(u+f)-(i>u+f+r&&i-(u+f+r));break;case"farinsideaboveinside":e=n+r+(u+f>r&&f+u-r);n=n-(i>r&&i-r);break;case"nearoutsidebelowoutside":e=n+r+u+f;n=n-i;break;case"nearoutsidebelowinside":e=n+r;n=n-i-(u+f>r+i&&u+f-(r+i));break;case"nearoutsideaboveoutside":e=n+r;n=n-i-(ir&&u+f-r);n=n-i;break;case"nearinsidebelowoutside":e=n+r+(i>u+f+r?i-r:u+f);break;case"nearinsidebelowinside":e=n+r+(i>r&&i-r);n=n-(u+f>r&&u+f-r);break;case"nearinsideaboveoutside":e=n+(i>r?i:r);n=n-u-f;break;case"nearinsideaboveinside":e=n+r+(i>f+u?i-r:f+u-r);break;case"centeroutsidebelowoutside":e=n+r+(i>u+f?i:u+f);n=n-i;break;case"centeroutsidebelowinside":e=n+r+i;n=n-i-(u+f>r+i&&u+f-(r+i));break;case"centeroutsideaboveoutside":e=n+r+i;n=n-i-(ir+i?u+f-r-i:i);n=n-i;break;case"centerinsidebelowoutside":e=n+r+(i>u+f?i:u+f);n=n-i;break;case"centerinsidebelowinside":e=n+r+i;n=n-(u+f-r>i?u+f-r:i);break;case"centerinsideaboveoutside":e=n+r+i;n=n-i-(if+u?i:f+u-r);n=n-i}return{x:o.location.x,y:n,height:e}},_displayText:function(i,r){var f=n.extend(!0,r),e=i.textAngle%360,y=i.text,w=i.font,a=this._scale,p=this._scale.labelSettings,b=t.EjSvgRender.utils._measureText(p.labelPrefix+a.minimum+p.labelSuffix,null,p).width,k=t.EjSvgRender.utils._measureText(y,null,w).width,d=t.EjSvgRender.utils.rotatedLabel(i,this,e,i.text),v=this.rotatedLabel(w,this,e,i.text),o,s=this.svgHeight,h=this.svgWidth,l=!1,u=this._scaleLoc(),c,g;return i.textSpacing&&(k=k+i.textSpacing,v=v+i.textSpacing),this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?(f.x<=u.x&&u.y<=f.y&&f.y<=u.height?h=a.location.x-b/2:f.x<=u.x&&f.y<=u.y&&e<90?s=u.y:f.x>=u.x&&f.x<=u.x+this.model.quantitativeScaleLength&&f.y<=u.y?s=u.y:f.y<=u.y&&f.x>=u.x+this.model.quantitativeScaleLength&&e>=90?s=u.y:f.x>=u.x+this.model.quantitativeScaleLength&&u.y<=f.y&&f.y<=u.height&&e<270?(h=h-(u.x+this.model.quantitativeScaleLength),f.x=f.x-(u.x+this.model.quantitativeScaleLength)):f.x<=u.x&&f.y>=u.height&&e>270?f.y=f.y-u.height:f.x>=u.x&&f.x<=u.x+this.model.quantitativeScaleLength&&f.y>=u.height?f.y=f.y-u.height:f.x>=u.x+this.model.quantitativeScaleLength&&f.y>=u.height&&e>=180&&e<270&&(f.y=f.y-u.height),o=this.calcGap(e,f,v,d,l,h,s),l=o.rotate,o=o.trimSize):(c=u.height-u.y,u.y=this.svgHeight-a.location.y-this.model.quantitativeScaleLength,u.height=u.y+this.model.quantitativeScaleLength,f.x<=u.x&&u.y<=f.y&&f.y<=u.height?h=a.location.x-b/2:f.x<=u.x&&f.y<=u.y&&e<90?s=u.y:f.x>=u.x&&f.x<=u.x+c&&f.y<=u.y?s=u.y:f.y<=u.y&&f.x>=u.x+c&&e>=90?s=u.y:f.x>=u.x+c&&u.y<=f.y&&f.y<=u.height&&e<=260?(h=h-(u.x+c),f.x=f.x-(u.x+c)):f.x<=u.x&&f.y>=u.height&&e>=280?f.y=f.y-u.height:f.x>=u.x&&f.x<=u.x+c&&f.y>=u.height?f.y=f.y-u.height:f.x>=u.x+c&&f.y>=u.height&&e>=180&&e<=260&&(f.y=f.y-u.height),o=this.calcGap(e,f,v,d,l,h,s),l=o.rotate,o=o.trimSize),g=y,this._trim(y,i,o,l)},_trim:function(n,i,r,u){var f=n,h=this.rotatedLabel(i.font,this,i.textAngle,n),s=t.EjSvgRender.utils._measureText(n,null,i.font).width,o,e,c;if(i.textSpacing&&(s=s+i.textSpacing,h=h+i.textSpacing),s>r&&n!=""){for(e=1;e<=n.toString().length;e++)if(n=f.toString().substring(0,e)+"... ",o=u==!0?t.EjSvgRender.utils.rotatedLabel(i,this,i.textAngle,n):t.EjSvgRender.utils._measureText(n,null,i.font).width,i.textSpacing&&(o=o+i.textSpacing),o>=r){n=n.toString().substring(0,e-1)+"... ";f=n;break}c=f.toString(0,n.toString.lenght-4);c!=f&&(f=n)}return f},_getVerticalScaleLocation:function(n){return{x:this._scale.location.y,y:this.svgHeight-this._scale.location.x-n}},_horizontalTextPositioning:function(n,i,r,u,f){var h=n.textPosition.toLowerCase(),e=i.alignment,r=this._scaleLoc(),o=this._scale.labelSettings,s=t.EjSvgRender.utils._measureText(o.labelPrefix+this._scale.maximum+o.labelSuffix,null,o).width;switch(h){case"left":i.x=r.x-i.width-i.padding-s/2;i.y=r.y+(e=="center"?u.height/2+i.height/3:e=="far"?u.height:i.height);f[0].push(i);break;case"right":i.x=r.x+u.width+i.padding+s/2;i.y=r.y+(e=="center"?u.height/2+i.height/3:e=="far"?u.height:i.height);f[1].push(i);break;case"top":i.x=e=="center"?u.x+u.width/2-i.width/2:e=="near"?u.x:u.x+u.width-i.width;i.y=r.y-i.padding;f[2].push(i);break;case"bottom":i.x=e=="center"?u.x+u.width/2-i.width/2:e=="near"?u.x:u.x+u.width-i.width;i.y=r.height+i.height/2+i.padding;f[3].push(i)}},_VerticalTextPositioning:function(n,t,i,r,u){var o=n.textPosition.toLowerCase(),f=t.alignment,e=this._scaleLoc();switch(o){case"left":t.x=e.y-t.width-t.padding;t.y=i.y+(f=="center"?r.height/2+t.height/3:f=="far"?r.height:t.height);this._tickPosition=="near"&&this._tickPlacement=="inside"&&this._labelPosition=="above"&&this._labelPlacement=="inside"&&(t.x+=this._scale.majorTickSettings.size);u[0].push(t);break;case"right":t.x=e.height+t.padding;t.y=i.y+(f=="center"?r.height/2+t.height/3:f=="far"?r.height:t.height);u[1].push(t);break;case"top":t.x=r.x-t.width/2+(f=="center"?r.width/2:f=="far"&&r.width);t.y=r.y-t.padding;u[2].push(t);break;case"bottom":t.x=r.x-t.width/2+(f=="center"?r.width/2:f=="far"&&r.width);t.y=r.y+r.height+t.height+t.padding-t.height/3+this._scale.labelSettings.size/2;u[3].push(t)}},_positionTextGroup:function(n,t,i){for(var f=[[],[],[],[]],e=this._orientation=="horizontal",u=e?this._scaleLocation:this._getVerticalScaleLocation(i.width),o=e?i:{x:u.x,y:u.y,width:i.height,height:i.width},r=0;r=0;i--)if(this._isOverlapping(t[r],t[i])){switch(u){case 0:case 1:t[i].y>t[r].y?t[i].y=t[r].y+t[i].height+(t[i].padding>1?t[i].padding:1):t[r].y=t[i].y+t[r].height+(t[r].padding>1?t[r].padding:1);break;case 2:t[i].y=t[r].y-t[r].height-(t[i].padding>1?t[i].padding:1);break;default:t[r].y=t[i].y+t[i].height+(t[i].padding>1?t[i].padding:1)}f=!0;break}else f=!1;while(f)}this._applyLeftRightAnchor([n[0],n[1]]);this._applyTopBottomAnchor([n[2],n[3]])},_locateTextGroup:function(n,t){for(var i=0;i1){for(i=0,t=0;t1){for(i=0,t=0;t1){for(i=0,t=0;tt.x+t.width||n.y-n.height>t.y||n.y0&&r.select(u);this.model.fields.dataSource.dataSource.url.match(n.tableName+"$")||t.isNullOrUndefined(n.tableName)||r.from(n.tableName)}else r=n.query;return r},_drawCaption:function(){if(this.model.drawCaption){var t={font:this.model.captionSettings.font,location:this.model.captionSettings.location,subTitle:this.model.captionSettings.subTitle,text:this.model.captionSettings.text,textAngle:this.model.captionSettings.textAngle};this._trigger("drawCaption",t);this.model.captionSettings=n.extend(this.model.captionSettings,t)}},_drawBulletSymbol:function(n,i,r,u){var e="M "+(i.x-i.width/2+i.width)+" "+(i.y+i.height/4)+" L "+(i.x-i.width/2+i.width)+" "+(i.y+-i.height/4)+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+-i.height/4)+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x-i.width/2)+" "+i.y+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x-i.width/2+i.width/2)+" "+(i.y+i.height/4)+" L "+(i.x-i.width/2+i.width)+" "+(i.y+i.height/4),o,l,a,v,s,y,p,f,d,g,h;switch(n.toLowerCase()){case"circle":o=Math.min(i.height,i.width)/2;r.cx=i.x;r.cy=i.y;r.r=o;this.svgRenderer.drawCircle(r,u);break;case"leftarrow":r.d=e;this.svgRenderer.drawPath(r,u);break;case"rightarrow":r.d=e;r.transform="rotate(180,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"uparrow":r.d=e;r.transform="rotate(90,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"downarrow":r.d=e;r.transform="rotate(-90,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"cross":l="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+i.width/2)+" "+i.y+" M "+i.x+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2);r.d=l;r.stroke=r.stroke?r.stroke:r.fill;this.svgRenderer.drawPath(r,u);break;case"horizontalline":a="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+i.width/2)+" "+i.y;r.d=a;r.stroke=r.stroke?r.stroke:r.fill;this.svgRenderer.drawPath(r,u);break;case"verticalline":v="M "+i.x+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2);r.d=v;r.stroke=r.stroke?r.stroke:r.fill;this.svgRenderer.drawPath(r,u);break;case"triangle":s="M "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" Z";r.d=s;this.svgRenderer.drawPath(r,u);break;case"invertedtriangle":s="M "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" L "+i.x+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" Z";r.d=s;r.transform="rotate(180,"+i.x+","+i.y+")";this.svgRenderer.drawPath(r,u);break;case"hexagon":y="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+-i.width/4)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/4)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+i.y+" L "+(i.x+i.width/4)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/4)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=y;this.svgRenderer.drawPath(r,u);break;case"wedge":p="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/4)+" "+i.y+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=p;this.svgRenderer.drawPath(r,u);break;case"pentagon":var o=Math.sqrt(i.height*i.height+i.width*i.width)/2,c=t.EjSvgRender.utils._getStringBuilder();for(f=0;f<=5;f++){var nt=f*72,w=Math.PI/180*nt,b=o*Math.cos(w),k=o*Math.sin(w);f==0?c.append("M "+(i.x+b)+" "+(i.y+k)+" "):c.append("L "+(i.x+b)+" "+(i.y+k)+" ")}r.d=c.toString();this.svgRenderer.drawPath(r,u);break;case"star":d="M "+(i.x+i.width/3)+" "+(i.y+-i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/6)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/6)+" L "+(i.x+-i.width/3)+" "+(i.y+-i.height/2)+" L "+i.x+" "+(i.y+i.height/2)+" L "+(i.x+i.width/3)+" "+(i.y+-i.height/2);r.d=d;this.svgRenderer.drawPath(r,u);break;case"rectangle":g="M "+(i.x+-i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+-i.height/2);r.d=g;this.svgRenderer.drawPath(r,u);break;case"trapezoid":h="M "+(i.x+-i.width/2)+" "+i.y+" L "+(i.x+-i.width/2)+" "+(i.y+-i.height/4)+" L "+(i.x+-i.width/2+i.width)+" "+(i.y+-i.height/2)+" L "+(i.x+-i.width/2+i.width)+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+(i.y+i.height/4)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=h;this.svgRenderer.drawPath(r,u);break;case"diamond":h="M "+(i.x+-i.width/2)+" "+i.y+" L "+i.x+" "+(i.y+-i.height/2)+" L "+(i.x+i.width/2)+" "+i.y+" L "+i.x+" "+(i.y+i.height/2)+" L "+(i.x+-i.width/2)+" "+i.y;r.d=h;this.svgRenderer.drawPath(r,u);break;case"ellipse":r.cx=i.x;r.cy=i.y;r.rx=i.width/2;r.ry=i.height/2;this.svgRenderer.drawEllipse(r,u);break;case"image":r.x=i.x-i.width/2;r.y=i.y-i.height/2;r.width=i.width;r.height=i.height;r.href=this.model.captionSettings.indicator.symbol.imageURL;r.visibility="visible";this.svgRenderer.drawImage(r,u)}},_drawIndicator:function(){var i,r,u;this.model.captionSettings.indicator.visible&&(i=this.model.captionSettings.indicator,r=n.extend({},{indicatorSettings:this.model.captionSettings.indicator}),this.model.drawIndicator&&(this._trigger("drawIndicator",r),r.cancel==!1&&(i=r.indicatorSettings,this.model.captionSettings.indicator=i)),u=t.EjSvgRender.utils._measureText(i.text,null,i.font),this._indicator={bounds:u,settings:i})},_indicatorTextOptions:function(n,t,i,r){var u=n._location?n._location:n.location;return{"class":r,x:u.x+t.width+n.textSpacing,y:u.y-t.height/2+parseFloat(n.font.size)/3,fill:n.font.color,"font-size":n.font.size,"font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,"text-anchor":"start",opacity:n.font.opacity,transform:"rotate("+n.textAngle+","+t.x+","+t.y+")"}},_indicatorSymbolOptions:function(n,t){return{id:n.id+"_indicatorSymbol",stroke:t.symbol.border.color,fill:t.symbol.color,"stroke-width":t.symbol.border.width,opacity:t.symbol.opacity}},_textOptions:function(n,t){var i=n._location?n._location:n.location;return{"class":t,x:i.x,y:i.y,fill:n.font.color,"font-size":n.font.size,"font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,"text-anchor":"start",opacity:n.font.opacity,cursor:"default",transform:"rotate("+n.textAngle+","+i.x+","+i.y+")"}},_drawScale:function(n,i){var r=this._scale._location?this._scale._location:this._scale.location,u,f,e;u=this._tickPosition==t.datavisualization.BulletGraph.TickPosition.Far||this._tickPosition==t.datavisualization.BulletGraph.TickPosition.Center?this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below?r.y:r.y+this._scale.labelSettings.offset+this._scale.labelSettings.size:this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below?r.y+this._scale.majorTickSettings.size:r.y+this._scale.labelSettings.offset+this._scale.labelSettings.size+this._scale.majorTickSettings.size;f=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward?r.x:this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?r.x-this._scale.labelSettings.offset:r.x;e={id:this.svgObject.id+"_SvgScale",x:f,y:u,width:this.model.quantitativeScaleLength,height:this.model.qualitativeRangeSize,fill:"transparent","stroke-width":0};this.svgRenderer.drawRect(e,i)},_drawMajorTicks:function(n,i){var r,l,tt=0,a=this._scale.location,b=this._tickPlacement=="inside",s=this._scale.location.x,k=this.model.quantitativeScaleLength,it=this._scale.labelSettings.offset,d=this.model.qualitativeRangeSize,u=this._scale.majorTickSettings.width,v=this._scale.majorTickSettings.size,f=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,o=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,rt=this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below,e,y,p,w,nt;r=o?f?s+u/2:s+k+u/2:f?s+k-u/2:s+u/2;l=this._tickPosition=="far"?a.y+d+(b?-v:0):this._tickPosition=="near"?a.y+(b?0:-v):a.y+d/2-v/2;var h=this._scale.minimum,c=this._scale.maximum,g=this._scale.interval;for(e=h;e<=c;e+=g)tt++,e>=c&&(f&&!o?r+=u:r-=u),!f&&o&&(r=e>=c?r+u:e==h?r-u:r),this.model.applyRangeStrokeToTicks&&(y=this._bindingRangeStrokes(r-u/2)),p=this._majorTickLines(this._scale,r,l,y),!f&&o&&e==h&&(r=r+u),this.model.drawTicks&&(w={majorTickSettings:this._scale.majorTickSettings,minorTickSettings:this._scale.minorTickSettings,minorTicksPerInterval:this._scale.minorTicksPerInterval,maximum:c,minimum:h,interval:g},this._trigger("drawTicks",w),p=this._majorTickLines(w,r,l,y)),nt=this.svgRenderer.createLine(p),r=!o&&f||o&&!f?r-n:r+n,i.appendChild(nt)},_majorTickLines:function(n,t,i,r){return{x1:t,y1:i,x2:t,y2:i+n.majorTickSettings.size,"stroke-width":n.majorTickSettings.width,stroke:this.model.applyRangeStrokeToTicks&&r?r:n.majorTickSettings.stroke}},_forwardStrokeBinding:function(n){if(n>=this._scale.location.x&&n<=this._rangeCollection[0]+this._scale.location.x)return this.model.qualitativeRanges[0].rangeStroke;for(var t=0;t<=this._rangeCollection.length-1;t++)if(n>=this._rangeCollection[t]+this._scale.location.x&&n<=this._rangeCollection[t+1]+this._scale.location.x)return this.model.qualitativeRanges[t+1].rangeStroke},_backwardStrokeBinding:function(t){var i,r;if(t>=this._rangeCollection[this._rangeCollection.length-1])return this.model.qualitativeRanges[0].rangeStroke;for(i=0;i<=this._rangeCollection.length-1;i++)if(t>=this._rangeCollection[i]&&t=this._scale.location.x&&n<=this._rangeCollection[0]+this._scale.location.x)return this.model.qualitativeRanges[0].rangeStroke}else return this.model.orientation==t.datavisualization.BulletGraph.Orientation.Horizontal&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward||this.model.orientation==t.datavisualization.BulletGraph.Orientation.Vertical&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Backward?this._forwardStrokeBinding(n):this._backwardStrokeBinding(n)},_drawMinorTicks:function(i,r){var h,c,s,p,u,tt=0,e=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,f=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,it=this._tickPlacement=="inside",o=this._scale.location.x,rt=this.model.qualitativeRangeSize,st=this._scale.labelSettings.offset,ht=this._scale.majorTickSettings.size,l=this._scale.minorTickSettings.size,ut=this._scale.minorTickSettings.width,b=this.model.quantitativeScaleLength,g,k,nt,w,d,v,y;h=e?f?o:o+b:f?o+b-ut/2:o;switch(this._tickPosition){case"far":s=this._scale.location.y+rt;p=s+(it?-l:l);break;case"near":s=this._scale.location.y+(it?l:-l);p=this._scale.location.y;break;default:s=this._scale.location.y+rt/2-l/2;p=s+l}var ft=this._scale.maximum,et=this._scale.minimum,ot=this._scale.interval,a=this._scale.minorTicksPerInterval;for(g=et;g<=ft;g+=ot){for(c=i/a,k=1;k<=a;k++)tt++,u=!f&&e||f&&!e?h-c+c/(a+1):h+c-c/(a+1),!e&&f&&tt>=(ft-et)*a&&(u+=ut/2),this.model.applyRangeStrokeToTicks&&(nt=this._bindingRangeStrokes(u)),w=this._minorTickLines(this._scale,u,s,p,nt),this.model.drawTicks&&(d={majorTickSettings:this._scale.majorTickSettings,minorTickSettings:this._scale.minorTickSettings,minorTicksPerInterval:this._scale.minorTicksPerInterval,maximum:this._scale.maximum,minimum:this._scale.minimum,interval:this._scale.interval},this._trigger("drawTicks",d),this._scale=n.extend(this._scale,d),w=this._minorTickLines(d,u,s,p,nt)),!e&&f?(v=b+o+1,u<=v&&u>=o+1&&(y=this.svgRenderer.createLine(w),r.appendChild(y))):e&&!f?(v=o+1,u>=v&&(y=this.svgRenderer.createLine(w),r.appendChild(y))):(v=b+o+1,u<=v&&(y=this.svgRenderer.createLine(w),r.appendChild(y))),c=i/a*(k+1);h=!e&&f||e&&!f?h-i:h+i}},_minorTickLines:function(n,t,i,r,u){return{x1:t,y1:i,x2:t,y2:r,"stroke-width":n.minorTickSettings.width,stroke:this.model.applyRangeStrokeToTicks&&u?u:n.minorTickSettings.stroke}},_drawLabels:function(n,i){var o,a,it=this.model.locale,et=it&&this.model.enableGroupSeparator,g,b,rt=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,c=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,k=this._scale.location.x,f=this._scale.labelSettings.offset,ut=this.model.quantitativeScaleLength,ct=this._scale.majorTickSettings.width,v,l,e,w,nt,h,tt;o=rt?c?k:k+ut:c?k+ut:k;var ft=this._tickPosition+this._labelPlacement,s=this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below,lt=this._scale.location.y,d=this.model.qualitativeRangeSize,u=this._scale.labelSettings.size,at=this._scale.majorTickSettings.size;switch(ft){case"faroutside":case"centeroutside":a=s?this._scale.location.y+d+f+u:this._scale.location.y-f;break;case"farinside":case"centerinside":a=s?this._scale.location.y+d-f:this._scale.location.y+f+(c?u:0);break;case"nearoutside":a=s?this._scale.location.y+d+f+u:this._scale.location.y-f;break;case"nearinside":a=s?this._scale.location.y+d-f:this._scale.location.y+f+u}var ot=this._scale.minimum,st=this._scale.maximum,ht=this._scale.interval,vt=this._labelPlacement=="inside";for(l=ot;l<=st;l+=ht){var r=a,y=o,p=this._scale.labelSettings.font;if(p.size=u,e={width:0,height:0},c)b="rotate(0,"+y+","+r+")";else{w=this._scale.labelSettings.labelPrefix+l+this._scale.labelSettings.labelSuffix;switch(ft){case"faroutside":case"centeroutside":s?r-=u:(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width);break;case"farinside":case"centerinside":s&&(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width);break;case"nearoutside":s?r-=u:(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width);break;case"nearinside":s?(e=t.EjSvgRender.utils._measureText(w,null,p),r-=e.width):r-=u}y-=u/3;b="rotate(90,"+y+","+r+")"}this.model.applyRangeStrokeToLabels&&(nt=this._bindingRangeStrokes(o));h=this._labelOptions(this.model.quantitativeScaleSettings.labelSettings,y,r,b,nt);this.model.drawLabels&&(tt={font:this._scale.labelSettings.font,labelPrefix:this._scale.labelSettings.labelPrefix,labelSuffix:this._scale.labelSettings.labelSuffix,offset:f,size:u,stroke:this._scale.labelSettings.stroke},this._trigger("drawLabels",tt),h=this._labelOptions(tt,y,r,b,nt));o=rt?c?o+n:o-n:c?o-n:o+n;g=et?l.toLocaleString(it):l;v=g;t.util.isNullOrUndefined(h.labelPrefix)||(v=h.labelPrefix+g);t.util.isNullOrUndefined(h.labelSuffix)||(v=v+h.labelSuffix);this.svgRenderer.drawText(h,v,i)}},_labelOptions:function(n,i,r,u,f){var e={x:i,y:r,"text-anchor":this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal?"middle":"start",fill:this.model.applyRangeStrokeToLabels&&f?f:n.stroke,"font-size":n.size+"px","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,opacity:n.font.opacity,transform:u};return n.labelPrefix!=""&&(e.labelPrefix=n.labelPrefix),n.labelSuffix!=""&&(e.labelSuffix=n.labelSuffix),e},_drawQualitativeRanges:function(n){var c=this._scale.location.x,y=this._scale.location.y,e,a=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,o=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,p=this._scale.labelSettings.offset,s,h,f,v;this._rangeCollection=[];var w=this._tickPosition+this._labelPlacement,b=this._labelPosition==t.datavisualization.BulletGraph.LabelPosition.Below,k=this.model.qualitativeRangeSize,l=this._scale.location.x,r=this._scale.minimum,i=this._scale.maximum,u=this.model.quantitativeScaleLength;for(s=this.model.qualitativeRanges.length-1;s>=0;s--)h={object:this,rangeIndex:s,rangeOptions:this.model.qualitativeRanges[s],rangeEndValue:this.model.qualitativeRanges[s].rangeEnd},this.model.drawQualitativeRanges&&this._trigger("drawQualitativeRanges",h),f=h.rangeEndValue,f=f>i?i:f,a?(c=o?l:l+(u-u/((i-r)/(i-r-(i-f)))),e=o?u/((i-r)/(i-r-(i-f))):u/((i-r)/(i-r-(i-f)))):(c=o?l+(u-u/((i-r)/(i-r-(i-f)))):l,e=o?u/((i-r)/(i-r-(i-f))):u/((i-r)/(i-r-(i-f)))),v={x:c,y:y,height:this.model.qualitativeRangeSize,width:e>0?e=o){var u,h,r,f=this._scale.location.x,e=this.model.quantitativeScaleLength,s=this._scale.maximum-this._scale.minimum,c=this._scale.maximum-n,l=this._flowDirection.toLowerCase()+this._orientation.toLowerCase();i=i==null?"":i;a=this._scale.labelSettings.font;a.size=this._scale.labelSettings.size;v=t.EjSvgRender.utils._measureText(i.toString(),null,a).width;switch(l){case"forwardhorizontal":case"backwardvertical":u=f+(o>0?0:e/s*Math.abs(o));r=e/(s/(o>0?s-c:n));n<0&&(r=Math.abs(r),u-=r);r=u+r0?e/(s/(s-c)):e/(s/n);n<0&&(r=Math.abs(r),u-=r);u0)for(n=this._dataCount-1;n>=0;n--)o=v?this.model.fields.dataSource[n][this.model.fields.featureMeasures]:t.isNullOrUndefined(this._scale.featureMeasures[n].value)?w:this._scale.featureMeasures[n].value,r=v?this.model.fields.dataSource[n][this.model.fields.category]:this._scale.featureMeasures[n].category,h=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*e/2-this._scale.featuredMeasureSettings.width/2,f=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*e/2+this._scale.featuredMeasureSettings.width/2-1,i=this._calculateFeatureMeasureBounds(o,r),i&&(c=this._featureBar(this._scale,i.pointX,h,i.Width,n),this.model.drawFeatureMeasureBar&&(u={featuredMeasureSettings:this._scale.featuredMeasureSettings},this._trigger("drawFeatureMeasureBar",u),c=this._featureBar(u,i.pointX,h,i.Width,n)),this.svgRenderer.drawRect(c,this._scaleGroup),s=p?"rotate(90,"+i.lPointX+","+(f-4)+")":"rotate(0,"+i.lPointX+","+f+")",l=this._drawcategory(this.model.quantitativeScaleSettings.labelSettings,i.lPointX,f,s),this.model.drawCategory&&(u={size:this.model.quantitativeScaleSettings.labelSettings.size,stroke:this.model.quantitativeScaleSettings.labelSettings.stroke,font:this.model.quantitativeScaleSettings.labelSettings.font,categoryValue:r},this._trigger("drawCategory",u),l=this._drawcategory(u,i.lPointX,f,s),r=u.categoryValue),t.isNullOrUndefined(r)||this.svgRenderer.drawText(l,y?r.toLocaleString(a):r,this._scaleGroup),e+=2,this.value(o))},_drawcategory:function(n,t,i,r){return{x:t,y:i+this._scale.featuredMeasureSettings.width/2,"text-anchor":"middle",fill:n.stroke,"font-size":n.size+"px","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,"font-weight":n.font.fontWeight,opacity:n.font.opacity,transform:r}},_featureBar:function(n,t,i,r,u){return{"class":this.svgObject.id+"_FeatureMeasure",id:this.svgObject.id+"_FeatureMeasure_"+u,x:t,y:i,height:n.featuredMeasureSettings.width,width:r,fill:n.featuredMeasureSettings.stroke}},_drawComparativeMeasureSymbol:function(){var r=1,n,u,f,e,c=this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward,h=this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal,l=typeof this.model.comparativeMeasureValue=="function"?this._comparativeMeasureValue():this.model.comparativeMeasureValue,i,o,s;if(this._dataCount>0)for(i=this._dataCount-1;i>=0;i--)n=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?this.model.fields.dataSource[i][this.model.fields.comparativeMeasure]:t.isNullOrUndefined(this._scale.featureMeasures[i].comparativeMeasureValue)?l:this._scale.featureMeasures[i].comparativeMeasureValue,n>=this._scale.minimum&&n<=this._scale.maximum&&(u=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*r/2-this._scale.featuredMeasureSettings.width/2-this._scale.featuredMeasureSettings.width,f=this._scale.location.y+this.model.qualitativeRangeSize/this._dataCount*r/2-this._scale.featuredMeasureSettings.width/2+2*this._scale.featuredMeasureSettings.width,e=c?h?this._scale.location.x+this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n))):this._scale.location.x+(this.model.quantitativeScaleLength-this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n)))):h?this._scale.location.x+(this.model.quantitativeScaleLength-this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n)))):this._scale.location.x+this.model.quantitativeScaleLength/((this._scale.maximum-this._scale.minimum)/(this._scale.maximum-this._scale.minimum-(this._scale.maximum-n))),o=this._compareMeasure(this._scale,e,u,f,i,n),this.model.drawComparativeMeasureSymbol&&(s={comparativeMeasureSettings:this._scale.comparativeMeasureSettings},this._trigger("drawComparativeMeasureSymbol",s),o=this._compareMeasure(s,e,u,f,i,n)),this.svgRenderer.drawLine(o,this._scaleGroup),r+=2,this.comparativeMeasureValue(n))},_compareMeasure:function(n,t,i,r,u,f){return{"class":this.svgObject.id+"_ComparativeMeasure",id:this.svgObject.id+"_ComparativeMeasure_"+u,x1:f==this._scale.maximum?t-n.comparativeMeasureSettings.width/2:f==this._scale.minimum?t+n.comparativeMeasureSettings.width/2:t,y1:i,x2:f==this._scale.maximum?t-n.comparativeMeasureSettings.width/2:f==this._scale.minimum?t+n.comparativeMeasureSettings.width/2:t,y2:r,"stroke-width":n.comparativeMeasureSettings.width,stroke:n.comparativeMeasureSettings.stroke}},_setTheme:function(n,i){var u=[],e,r,f;this._scale=this.model.quantitativeScaleSettings;for(e in n)u.push(e);for(r=0;r=0;t--)r=i[t],this._animateFeatureBar(r)},_doLineAnimation:function(){for(var r,i=n("."+this.svgObject.id+"_ComparativeMeasure"),u=2e3/i.length,t=i.length-1;t>=0;t--)r=i[t],n(r).attr("transform","scale(0)"),this._doLineSymbol(r,u,t)},_animateFeatureBar:function(i){var r=i.getBBox(),u,f,e;this._orientation==t.datavisualization.BulletGraph.Orientation.Horizontal&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Backward||this._orientation==t.datavisualization.BulletGraph.Orientation.Vertical&&this._flowDirection==t.datavisualization.BulletGraph.FlowDirection.Forward?(u=r.x+r.width,f=r.y+r.height):(u=r.x,f=r.y);n(i).animate({scale:1},{duration:1e3,step:function(t){e=t;n(i).attr("transform","translate("+u+" "+f+") scale("+t+",1) translate("+-u+" "+-f+")")}})},_doLineSymbol:function(t,i,r){var o=parseInt(r*i),u=t.getBBox(),f=u.x+u.width/2,e=u.y+u.height/2;n(t).delay(o).animate({scale:1},{duration:200,step:function(i){n(t).attr("transform","translate("+f+" "+e+") scale("+i+") translate("+-f+" "+-e+")")}})},bindEvents:function(){var u=t.EjSvgRender.utils.browserInfo(),i=u.isMSPointerEnabled,r=u.pointerEnabled,f=i?r?"pointerdown":"MSPointerDown":"touchstart mousedown",e=i?r?"pointerup":"MSPointerUp":"touchend mouseup",o=i?r?"pointermove":"MSPointerMove":"touchmove mousemove",s=i?r?"pointerleave":"MSPointerOut":"touchleave mouseleave";this.model.browserInfo=u;this._on(n(this.svgObject),o,this._bulletMouseMove);this._on(n(this.svgObject),s,this._bulletMouseLeave);this._on(n(this.svgObject),f,this._bulletMouseDown);this._on(n(this.svgObject),e,this._bulletMouseUp);this._on(n(this.svgObject),"contextmenu",this._bulletRightClick);this._on(n(this.svgObject),"click",this._bulletClick);(this.model.enableResizing||this.model.isResponsive)&&(t.isTouchDevice()?this._on(n(window),"orientationchange",this._bulletResize):this._on(n(window),"resize",this._bulletResize))},_unwireEvents:function(){this._off(n(this.svgObject),"contextmenu",this._bulletRightClick);this._off(n(this.svgObject),"click",this._bulletClick)},isDevice:function(){return/mobile|tablet|android|kindle/i.test(navigator.userAgent.toLowerCase())},_bulletResize:function(){var i=this,f=this.model.height,r=this.model.width,e=n(i.svgObject),f=90,r=t.isTouchDevice()?250:595,u=n(i.element).width(),o;i.model.width?r=parseInt(i.model.width):u>0&&u<595?r=u:u>595&&(r=595);i.model.height&&(f=parseInt(i.model.height));o=n(i.element).height()>f?f:n(i.element).height();this.resizeTO&&clearTimeout(this.resizeTO);this.resizeTO=setTimeout(function(){r-1?!0:!1},_bulletMouseMove:function(t){var i,r;i=n(t.target).attr("id");r=n(t.target).attr("class");this.isTouch(t)||(n("#tooltip").remove(),n(".tooltipDiv"+this._id).remove(),this._elementTooltip(t,r,i),this._displayTooltip(t,r,i))},_bulletMouseDown:function(i){if(this.isTouch(i)){n("#tooltip").remove();n(".tooltipDiv"+this._id).remove();var r=n(i.target).attr("id"),u=n(i.target).attr("class");this._elementTooltip(i,u,r);this._displayTooltip(i,u,r)}t.isTouchDevice()&&this.model.rightClick!=""&&(this._longPressTimer=new Date)},_bulletMouseUp:function(i){if(this.isTouch(i)){var r=this,u;window.clearTimeout(r.model.timer);n(".tooltipDiv"+this._id).length==1&&(u=n(".tooltipDiv"+this._id));u&&(r.model.trackerElement=u,r.model.timer=setTimeout(function(){r.model.trackerElement&&n(".tooltipDiv"+r._id).fadeOut(500,function(){n(".tooltipDiv"+r._id).remove();n("[id*="+r.svgObject.id+"_FeatureMeasure_]").attr("opacity","1")})},1200))}t.isTouchDevice()&&this.model.rightClick!=""&&new Date-this.model._longPressTimer>1500&&this._bulletRightClick(i)},_bulletClick:function(n){var t=new Date;this.model.click!=""&&this._trigger("click",{data:{event:n}});this._doubleTapTimer!=null&&t-this._doubleTapTimer<300&&this._bulletDoubleClick(n);this._doubleTapTimer=t},_bulletDoubleClick:function(n){this.model.doubleClick!=""&&this._trigger("doubleClick",{data:{event:n}})},_bulletRightClick:function(n){this.model.rightClick!=""&&this._trigger("rightClick",{data:{event:n}})},_elementTooltip:function(t,r){var o=this.model.captionSettings,u=n("<\/div>").attr({id:"tooltip","class":"tooltipDiv"+this._id}),s=this.mousePosition(t),c="",h,f,e;if(n(u).css({left:s.pageX+10,top:s.pageY+10,display:"block",position:"absolute","z-index":"13000",cursor:"default","font-family":"Segoe UI",color:"#707070","font-size":"12px","background-color":"#FFFFFF",border:"1px solid #707070"}),r==this.svgObject.id+"_Caption"?c=t.target.textContent==o.text?"":o.text:r==this.svgObject.id+"_SubTitle"?c=t.target.textContent==o.subTitle.text?"":o.subTitle.text:r==this.svgObject.id+"_Indicator"&&(c=t.target.textContent==o.indicator.text?"":o.indicator.text),c!="")n(u).html(" "+c+" "),n(document.body).append(u);else if(this.model.tooltipSettings.enableCaptionTooltip&&(r==this.svgObject.id+"_Caption"||r==this.svgObject.id+"_SubTitle"||r==this.svgObject.id+"_Indicator")){var a=n("."+r).text(),v={Text:a},l=this.model.tooltipSettings.captionTemplate;n(".tooltipDiv"+this._id).length==0&&(u=n("
<\/div>").attr("class","tooltipDiv"+this._id).css({position:"absolute","z-index":"13000",display:"block"}),n(document.body).append(u));l!=""&&l!=null?(h=document.getElementById(l),h=h?n(h).clone():n(l),n(h).css("display","block").appendTo(u),n(u).html(n(h).render(v))):n(u).html(a);n(u).css("font-size","12px");f=s.clientX+n(document).scrollLeft()+10;e=s.clientY+n(document).scrollTop()+10;f=f+n(u).width()
0?n:n.originalEvent&&!t.util.isNullOrUndefined(n.originalEvent.pageX)&&n.originalEvent.pageX>0?n.originalEvent:n.originalEvent&&n.originalEvent.changedTouches!=i&&!t.util.isNullOrUndefined(n.originalEvent.changedTouches[0].pageX)&&n.originalEvent.changedTouches[0].pageX>0?n.originalEvent.changedTouches[0]:n},_displayTooltip:function(r,u,f){var w,b,s,h;if(u!="undefined"&&(u==this.svgObject.id+"_FeatureMeasure"||u==this.svgObject.id+"_ComparativeMeasure")){var a=this.model.locale,k=a&&this.model.enableGroupSeparator,c,e,y,p,l,o,d=typeof this.model.value=="function"?this._value():this.model.value,g=typeof this.model.comparativeMeasureValue=="function"?this._comparativeMeasureValue():this.model.comparativeMeasureValue,v=this.mousePosition(r);e=f.substring(f.lastIndexOf("_")+1);y=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?this.model.fields.dataSource[e][this.model.fields.featureMeasures]:t.isNullOrUndefined(this._scale.featureMeasures[e].value)?d:this._scale.featureMeasures[e].value;p=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?this.model.fields.dataSource[e][this.model.fields.comparativeMeasure]:t.isNullOrUndefined(this._scale.featureMeasures[e].comparativeMeasureValue)?g:this._scale.featureMeasures[e].comparativeMeasureValue;l=!t.isNullOrUndefined(this.model.fields)&&this.model.fields.dataSource!=null?t.isNullOrUndefined(this.model.fields.dataSource[e][this.model.fields.category])?null:this.model.fields.dataSource[e][this.model.fields.category]:t.isNullOrUndefined(this._scale.featureMeasures[e].category)?null:this._scale.featureMeasures[e].category;c=k?{currentValue:y.toLocaleString(a),targetValue:p.toLocaleString(a),category:t.util.isNullOrUndefined(l)?l:l.toLocaleString(a)}:{currentValue:y,targetValue:p,category:l};n(".tooltipDiv"+this._id).length==0&&(o=n("<\/div>").attr("class","tooltipDiv"+this._id).css({position:"absolute","z-index":"13000",display:"block"}),n(document.body).append(o));this.model.tooltipSettings.template!=""&&this.model.tooltipSettings.template!=null?(w=n("#"+this.model.tooltipSettings.template).clone(),n(w).css("display","block").appendTo(o),n(o).html(n(w).render(c))):(b=t.isNullOrUndefined(c.category)?"":"
Category : "+c.category,n(o).html("Current : "+c.currentValue+"
Target : "+c.targetValue+b));n(o).css("font-size","12px");s=v.clientX+n(document).scrollLeft()+10;h=v.clientY+n(document).scrollTop()+10;s=s+n(o).width()
0){i=0;do i++;while($(document).find("#"+this._rootId+"_svg"+i).length>0);t=this._rootId+"_svg"+i}this.svgObj.setAttribute("id",t)},function(n){function t(n,t,i,r){var u=r*Math.PI/180,f=n+i*Math.cos(u),e=t+i*Math.sin(u);return[f,e]}ej.EjSvgRender.prototype={drawPath:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"path");n(r).attr(t).appendTo(i)}},createLegendSvg:function(n){return this.svgLink="http://www.w3.org/2000/svg",this.legendsvgObj=document.createElementNS(this.svgLink,"svg"),this._rootId=jQuery(n).attr("id"),this.legendsvgObj.setAttribute("id","legend_"+this._rootId+"_svg"),this.legendsvgObj},drawPolyline:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"polyline");n(r).attr(t).appendTo(i)}},drawLine:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"line");n(r).attr(t);n(r).appendTo(i)}},drawPolygon:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"polygon");n(r).attr(t);n(r).appendTo(i)}},drawCircle:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"circle");n(r).attr(t).appendTo(i)}},drawEllipse:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"ellipse");n(r).attr(t).appendTo(i)}},drawRect:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"rect");n(r).attr(t).appendTo(i)}},drawCylinder:function(t,i,r){var d,ot,y;if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var rt=t.x,s=t.y,g=t.id,h=t.fill,st=h,ht=this.checkColorFormat(h);ht||(h=ej.datavisualization.Chart.prototype.colorNameToHex(h));var a,v,p,w,l,e,b,nt,ut=2,tt,k,ft=0,et=0,c,it={svgRenderer:this};if(r.isColumn==!0){var o=t.width/2,u=t.height,f=o/4;l=tt=rt;e=f0)this._textAttrReplace(t,i,u);else{if(e=document.createElementNS(this.svgLink,"text"),o=n(e),jQuery.type(i)=="array")for(h=0,o.attr(t),f=0;f0&&f.length==i.length)for(u=0;u0)n(i).find("#"+t.id).attr(t);else{var r=this.createDefs(),u=this.createClipPath({id:t.id});t.id=t.id+"_Rect";this.drawRect(t,u);this.append(u,r);this.append(r,i)}},drawCircularClipPath:function(n,t){var i=this.createDefs(),r=this.createClipPath({id:n.id});this.drawCircle(n,r);this.append(r,i);this.append(i,t)},append:function(t,i){n(t).appendTo(i)},_setAttr:function(t,i){n(t).attr(i)}};ej.EjSvgRender.commonChartEventArgs={cancel:!1,data:null};ej.EjSvgRender.utils={_decimalPlaces:function(n){var t=(""+n).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},_getLabelContent:function(n,t,i){switch(t._categoryValueType){case"number":var r=ej.util.isNullOrUndefined(t.labelFormat)?null:t.labelFormat.match("{value}");return ej.util.isNullOrUndefined(t.labelFormat)?t.labels[Math.floor(n)]:r!=null?t.labelFormat.replace("{value}",t.labels[Math.floor(n)]):ej.format(t.labels[Math.floor(n)],t.labelFormat,i);case"date":return ej.format(new Date(t.labels[Math.floor(n)]),ej.util.isNullOrUndefined(t.labelFormat)?"dd/MM/yyyy":t.labelFormat,i);case"string":return t.labels[Math.floor(n)];default:return""}},_getSeriesTemplateSize:function(t,i,r,u,f){var t,i,a=f.model.AreaType,o=f._id,v=n.inArray(r,f.model._visibleSeries),s,h,e,c,l;s=n("#template_group_"+o).length!=0?n("#template_group_"+o):n("<\/div>").attr("id","template_group_"+o);s.css("position","relative").css("z-index",1e3);h=n("#"+r.marker.dataLabel.template).clone();n(h).attr("id",r.marker.dataLabel.template+"_"+v+"_"+i+"_"+o);e=n(h);e.css("position","absolute");t.count=1;c={series:r,point:t};e.html(e.html().parseTemplate(c));l=a=="cartesianaxes"||!r.enableAnimation||r.type.toLowerCase()=="pyramid"||r.type.toLowerCase()=="funnel"?"block":"none";e.css("display",l).appendTo(n(s));n(s).appendTo("#"+o);t.size={height:e.height(),width:e.width()};u?((ej.util.isNullOrUndefined(r.LeftLabelMaxHeight)||r.LeftLabelMaxHeight
0&&t.xValue){var i=t.xValue-o[n-1].xValue;i!=0&&(u=Math.min(u,i))}}):(r=t._valueType=="DateTime"&&e.minX==e.maxX?e.minX-2592e6:e.minX,h=ej.util.isNullOrUndefined(r)?e.xAxis.visibleRange.min:r,s=o[0].xValue-h,s!=0&&(u=Math.min(u,s))))}),u==Number.MAX_VALUE&&(u=1),u},_getSeriesMaxLabel:function(t){var i={width:0,height:0},s=n(this.svgObject).width(),e=[],o,h,r,f,u;if(t.labels.length>0){for(u=0;u")!=-1?f=a.split("
"):f.push(a),u=0;u")!=-1||typeof r=="object"))for(e=0,f=typeof r=="object"?r:r.split("
"),u=0;u")!=-1&&t.orientation=="vertical"?(ai=t.visibleLabels[e].Text.split("
"),vi=this._getHighestLabel(t,n(this.svgObject).width(),ai),g=this._measureText(vi,n(this.svgObject).width(),t.font,t.labelRotation)):g=this._measureText(t.visibleLabels[e].Text,n(this.svgObject).width(),t.font,t.labelRotation),r.widthot?ot:r.width),r.rows=1,r.maxWidth=r.width,r.maxHeight=r.height,!rr&&(f||h)&&(yt=0,h=="rotate45"?yt=45:h=="rotate90"&&(yt=90),f=f!=null||ii=="vertical"?f:yt,t.rotationValue=f,f)){if(o=ej.isNullOrUndefined(o)?"":o,pi=this._measureText(o,n(this.svgObject).width(),t.font,t.labelRotation),(t.enableTrim||h=="trim")&&pi.width>ot&&o!="")for(a=o,p=1;p=ot){a=a.toString().substring(0,p-1)+"... ";o=a;break}o=(h||t.enableTrim)&&f?typeof o=="string"&&o.indexOf("
")!=-1?this._getHighestLabel(t,i,null):o:this._getHighestLabel(t,i,null);tt=this.rotatedLabel(t,i,f,o);t.labelIntersectAction&&t.labelIntersectAction.toLowerCase()=="multiplerows"&&(k=r.height+tt.height);r.height=t.rowsCount&&t.rowsCount>1&&f!=90&&t.enableTrim?t.rowsCount*r.height:tt.height;r.width=tt.width}if(t.labelIntersectAction)if(t.rowsCount&&(h=="none"||h=="trim"||h=="hide"||f==0)&&(h!="wrap"||t.enableTrim)&&(h!="wrapbyword"||t.enableTrim)&&(h!="multiplerows"||t.enableTrim))f==0&&(r.rows=t.rowsCount,r.height=t.rowsCount*r.height);else if(h=="wrap"||h=="wrapbyword"){if(vt=vt?vt:ej.datavisualization.Chart.LabelPlacement.BetweenTicks,vt.toLowerCase()=="betweenticks"?(st=1+(t.labels.length>1?-.5:0),st=li?parseFloat(st.toFixed(li)):parseFloat(st.toFixed(ej.EjSvgRender.utils._decimalPlaces(y.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(y.interval))),rt=Math.ceil((st-y.min)/(y.max-y.min)*t.length)):rt=Math.ceil(t.length/et.length),t.orientation=="horizontal"){var ht=0,wi=0,bi,ut=t.labels.length>0&&t.valueType!="datetimecategory"?t.labels:t.visibleLabels,er=t.width?t.width/ut.length:(t.length-(i.svgWidth-t.length)-20)/ut.length;for(t.labelsCollection=[],c=0;c")!=-1?wt=bt.split("
"):wt.push(bt),s=0;sl&&!f&&(ct=ct-1);r.height=f?tt.height+ct*tt.height:r.height+ct*r.height}else if(h=="multiplerows"){var or=i._getLegendSpace(),sr=i.model.border.width,wr=i.model._axes[1],hr=n(i.svgObject).width()-i.model.margin.left-i.model.margin.right;ri=t.title;ui=ri.text;var cr=ui==""||!t.visible?0:this._measureText(ui,hr,ri.font).height+2*i.model.elementSpacing,lr=i.model.elementSpacing+cr+t.majorTickLines.size+t.axisLine.width,ar=i._getYValues(i.model._visibleSeries[0].points),vr=Math.max.apply(Math,ar),ki=i.model._axes[1],g=this._measureText(vr,n(this.svgObject).width(),ki.font,ki.labelRotation),yr=or.rightLegendWidth+lr+g.width+i.model.margin.right+i.model.margin.left+2*sr,di=n(i.svgObject).width()-yr;if(ci){var ft=0,w=[],l=0,bi,wi=0;for(e=0;e")!=-1?d=u.Text.split("
"):d.push(u);it=d.length;oi=!1;k=Math.max(k,ft);ft=u.y=r.height;var a=this._measureText(u.Text,n(this.svgObject).width(),t.font),v=a.height,si=Math.abs(Math.floor((u.Value-y.min)/y.delta*di));if(w.length>0)for(dt=w,gt=!0,lt=0;lt=si-nt)ft=u.y+v,u.y+=v,pt++,lt+1==dt.length&&(gt=!1);else if(c+1==b.length){gt=s==it-1?!1:!0;break}}}if(u.y=ft,l=ft/v-1,w[l]==undefined&&(w[l]=[]),it==1)w[l].push(u);else for(s=0;sk?r.height:k;v>0&&(r.rows=ur?Math.round((k+v)/v):Math.round(k/v));r.rows=f?r.rows-1:r.rows;r.rows<1&&(r.rows=1)}if(!ci){for(ti=0,e=0;esi-v/2&&t.visibleLabels[at].y==u.y&&(ti=u.y+nt,u.y=ti,oi=!0);ir=ti}r.width=r.width+ir+(oi?5:0)}}}return r},rotatedLabel:function(n,t,i,r,u){var e={"font-size":n.font.size,transform:"rotate("+i+",0,0)","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,rotateAngle:"rotate("+i+"deg)","text-anchor":"middle"};t=u?this.chartObj:t;var f=t.svgRenderer.createText(e,r),o=Math.ceil(this._measureBounds(f,t).height),s=Math.ceil(this._measureBounds(f,t).width);return{height:o,width:s}},_getTransform:function(n,t,i){var r,u,f,e;return i?(r=t.x,u=n.y,f=t.width,e=n.height):(r=n.x,u=t.y,f=n.width,e=t.height),{x:r,y:u,width:f,height:e}},_calculateroundedCorner:function(n,t,i,r,u,f){var e=t.x,o=t.y,c=5,l=this.chartObj.model.enableCanvasRendering&&!f?c/4:0,s=t.width,h=t.height,v,y,p,w,a;return typeof n!="object"||ej.util.isNullOrUndefined(n)?v=y=p=w=n:(v=n.topLeft,y=n.bottomLeft,p=n.topRight,w=n.bottomRight),v=ej.util.isNullOrUndefined(t.rx)?v:t.rx,y=ej.util.isNullOrUndefined(t.rx)?y:t.rx,p=ej.util.isNullOrUndefined(t.ry)?p:t.ry,w=ej.util.isNullOrUndefined(t.ry)?w:t.ry,a="M "+e+" "+(v+o)+" Q "+e+" "+o+" "+(e+v)+" "+o+" ",i&&r=="top"&&(a+="L "+(e+s/2-c/2+l)+" "+o+" L "+(e+s/2+l-u)+" "+(o-c)+" L "+(e+s/2+c/2+l)+" "+o+" "),a+="L "+(e+s-p)+" "+o+" Q "+(e+s)+" "+o+" "+(e+s)+" "+(o+p)+" ",i&&r=="right"&&(a+="L "+(e+s)+" "+(o+h/2-c/2+l)+" L "+(e+s+c)+" "+(o+h/2+l-u)+" L "+(e+s)+" "+(o+h/2+c/2+l)+" "),a+="L "+(e+s)+" "+(o+h-w)+" Q "+(e+s)+" "+(o+h)+" "+(e+s-w)+" "+(o+h)+" ",i&&r=="bottom"&&(a+="L "+(e+s/2-c/2+l)+" "+(o+h)+" L "+(e+s/2+l-u)+" "+(o+h+c)+" L "+(e+s/2+c/2+l)+" "+(o+h)+" "),a+="L "+(e+y)+" "+(o+h)+" Q "+e+" "+(o+h)+" "+e+" "+(o+h-y)+" ",i&&r=="left"&&(a+="L "+e+" "+(o+h/2-c/2+l)+" L "+(e-c)+" "+(o+h/2+l-u)+" L "+e+" "+(o+h/2+c/2+l)+" "),a+("L "+e+" "+(v+o)+" z")},browserInfo:function(){var n={},t=[],i={webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,msie:/(msie) ([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var r in i)if(i.hasOwnProperty(r)&&(t=navigator.userAgent.match(i[r]),t)){n.name=t[1].toLowerCase();n.version=t[2];!navigator.userAgent.match(/Trident\/7\./)||(n.name="msie");break}return n.isMSPointerEnabled=n.name=="msie"&&n.version>9&&window.navigator.msPointerEnabled,n.pointerEnabled=window.navigator.pointerEnabled,n},_measureText:function(t,i,r){var s=n(document).find("#measureTex"),u,e,o,f,v;n("#measureTex").css("display","block");s.length==0?(u=document.createElement("text"),n(u).attr({id:"measureTex"}),document.body.appendChild(u)):u=s[0];var h=null,c=null,l=null,a=null;if(typeof t=="string"&&(t.indexOf("<")>-1||t.indexOf(">")>-1)){for(e=t.split(" "),o=0;o")==-1&&(e[o]=e[o].replace(/[<>]/g,"&"));t=e.join(" ")}return/<\/?[a-z][\s\S]*>/.test(t)?n(u).html(t):u.textContent=t,r!=undefined&&r.size==undefined&&(f=r,f=f.split(" "),h=f[0],c=f[1],l=f[2],a=f[3]),r!=null&&(u.style.fontSize=r.size>0?r.size+"px":r.size?r.size:c,u.style.fontStyle&&(u.style.fontStyle=r.fontStyle?r.fontStyle:h),u.style.fontFamily=r.fontFamily?r.fontFamily:l,window.navigator.userAgent.indexOf("MSIE 8.0")==-1&&(u.style.fontWeight=r.fontWeight?r.fontWeight:a)),u.style.backgroundColor="white",u.style.position="absolute",u.style.top=-100,u.style.left=0,u.style.visibility="hidden",u.style.whiteSpace="nowrap",i&&(u.style.maxwidth=i+"px"),v={width:u.offsetWidth,height:u.offsetHeight},n("#measureTex").css("display","none"),v},_trimText:function(n,t,i){var f,r,e,u;for(r=n.toString(),e=r.length,u=1;u=t)return r.substring(0,u-1)+"... ";return n},_measureBounds:function(t,i){i.model.enableCanvasRendering?n(document.body).append(t):(i.svgRenderer.append(t,i.svgObject),i.svgRenderer.append(i.svgObject,i.element));var r=t.getBoundingClientRect(),u={left:r.left,right:r.right,top:r.top,bottom:r.bottom,width:r.right-r.left,height:r.bottom-r.top};return n(t).remove(),u},_drawAxesBoundsClipPath:function(t,i,r){var u,s=n(t),f=this._getTransform(i.xAxis,i.yAxis,r.model.requireInvertedAxes),h=r.model.AreaType=="polaraxes"?n(r.svgObject).width():f.width,c=r.model.AreaType=="polaraxes"?n(r.svgObject).height():f.height,e=r.model.requireInvertedAxes?i.yAxis.plotOffset:i.xAxis.plotOffset,o=r.model.requireInvertedAxes?i.xAxis.plotOffset:i.yAxis.plotOffset;r.model.AreaType=="polaraxes"?(u={id:t?t.id+"_ClipRect":"",cx:r.model.centerX,cy:r.model.centerY,r:r.model.Radius,fill:"white","stroke-width":1,stroke:"transparent"},r.svgRenderer.drawCircularClipPath(u,t)):(u={id:t?t.id+"_ClipRect":"",x:0-e,y:0-o,width:h+2*e,height:c+2*o,fill:"white","stroke-width":1,stroke:"transparent"},r.svgRenderer.drawClipPath(u,t));u.id.indexOf("_Rect")&&(u.id=u.id.replace("_Rect",""));s.attr("clip-path","url(#"+u.id+")")},_getStringBuilder:function(){var n=[],t=0;return{append:function(i){return n[t++]=i,this},remove:function(t,i){return n.splice(t,i||1),this},insert:function(t,i){return n.splice(t,0,i),this},toString:function(t){return n.join(t||"")}}},_addRegion:function(t,i,r,u,f){var s=r.type,e=n.inArray(r,t.model._visibleSeries),o;e>=0&&(o={SeriesIndex:e,Region:{PointIndex:f,Bounds:i},type:s},t.model.chartRegions.push(o))},AddRegion:function(n,t,i){if(i){var r={isStripLine:i,Region:{Bounds:t}};n.model.chartRegions.push(r)}},_getSvgXY:function(n,t,i,r){var u,f;return r.model.requireInvertedAxes?(u=n+i.yAxis.x,f=t+i.xAxis.y):(u=n+i.xAxis.x,f=t+i.yAxis.y),{X:u,Y:f}},_getPoint:function(n,t){var f=n.xValue,i,r,u,e=t.type=="boxandwhisker"?n.YValues:n.YValues[0],s=t._isTransposed?t.xAxis.height:t.xAxis.width,o=t._isTransposed?t.yAxis.width:t.yAxis.height;return n.location={},t._hiloTypes&&(i=n.YValues[1],i=t.yAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(i==0?1:i,t.xAxis.logBase):i,i=this._getPointXY(i,t.yAxis.visibleRange,t.yAxis.isInversed),n.location.low=(t._isTransposed?i:1-i)*o),r=t.xAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(f==0?1:f,t.xAxis.logBase):f,u=t.yAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(e==0?1:e,t.xAxis.logBase):e,r=this._getPointXY(r,t.xAxis.visibleRange,t.xAxis.isInversed),u=this._getPointXY(u,t.yAxis.visibleRange,t.yAxis.isInversed),n.location.X=t._isTransposed?u*o:r*s,n.location.Y=t._isTransposed?(1-r)*s:(1-u)*o,n.location},_getPointXY:function(n,t,i){var r=0;return r=(n-t.min)/t.delta,r=isNaN(r)?0:r,i?1-r:r},_dateTimeLabelFormat:function(n,t){switch(n.toLowerCase()){case"years":return t._labelFormat="MMM, yyyy";case"months":return t._labelFormat="dd, MMM";case"days":return t._labelFormat="dd/MM/yyyy";case"hours":return t._labelFormat="dd, hh:mm";case"minutes":return t._labelFormat="hh:mm";case"seconds":return t._labelFormat="mm:ss";case"milliseconds":return t._labelFormat="ss:fff";default:return t._labelFormat="dd/MM/yyyy"}},_getFontString:function(n){return n==null&&(n={}),n.FontFamily||(n.FontFamily="Arial"),n.FontStyle||(n.FontStyle="Normal"),n.Size||(n.Size="12px"),n.FontStyle+" "+n.Size+" "+n.FontFamily},_valueToVector:function(n,t){return this._coefficientToVector(this._valueToPolarCoefficient(n,t))},TransformToVisible:function(n,t,i,r){t=n.xAxis._valueType=="logarithmic"&&t>0?Math.log(t,n.xAxis.logBase):t;i=n.xAxis._valueType=="logarithmic"&&i>0?Math.log(i,n.yAxis.logBase):i;var u=r.model.Radius*this._valueToCoefficient(n.yAxis,i),f=this._valueToVector(n.xAxis,t);return{X:r.model.centerX+u*f.X,Y:r.model.centerY+u*f.Y}},Transform3DToVisible:function(n,t,i,r){var u,s,h,f;if(n.xAxis!=null&&n.yAxis!=null){if(u=n.xAxis._valueType.toLowerCase(),f=u=="logarithmic"?!0:!1,t=t=f&&t>0?math.log(t,s):t,i=i,r.model.requireInvertedAxes){var e=r.model.m_AreaBounds.X,o=r.model.m_AreaBounds.Y,c=e+n.yAxis.width*ej.EjSvgRender.utils._valueToCoefficient(n.yAxis,i,r),l=o+n.xAxis.height*(1-ej.EjSvgRender.utils._valueToCoefficient(n.xAxis,t,r));return{X:c,Y:l}}var e=n.xAxis.x,o=n.yAxis.y,t=e+Math.round(n.xAxis.width*ej.EjSvgRender.utils._valueToCoefficient(n.xAxis,t,r)),i=o+Math.round(n.yAxis.height*(1-ej.EjSvgRender.utils._valueToCoefficient(n.yAxis,i,r)));return{X:t,Y:i}}return new h(0,0)},_valueToPolarCoefficient:function(n,t){var f=n.visibleRange.min,r,u,i;return n._valueType!="category"?(r=n.visibleRange.max-n.visibleRange.interval-n.visibleRange.min,u=n.visibleLabels.length-1):(r=n.visibleRange.delta,u=n.visibleLabels.length),i=(t-f)/r,i*=1-1/u,i=isNaN(i)?0:i,n.isInversed?i:1-i},_coefficientToVector:function(n){var t=Math.PI*(1.5-2*n);return{X:Math.cos(t),Y:Math.sin(t)}},_valueToCoefficient:function(n,t,i){var r;return r=i&&i.model.AreaType=="polaraxes"?t:n._valueType&&n._valueType.toLowerCase()=="logarithmic"?ej.EjSvgRender.utils._logBase(t==0?1:t,n.logBase):t,r=(r-n.visibleRange.min)/n.visibleRange.delta,n.isInversed?1-r:r},_getBoundingClientRect:function(t,i,r,u){var f=t.getBoundingClientRect(),s=n("#"+i.svgObject.id)[0].getBoundingClientRect(),e,o,h,c;return u?(e=this._getTransform(r.xAxis,r.yAxis,!0).x,o=this._getTransform(r.xAxis,r.yAxis,!0).y):(e=this._getTransform(r.xAxis,r.yAxis,!1).x,o=this._getTransform(r.xAxis,r.yAxis,!1).y),h=f.left-(e+s.left),c=f.top-(o+s.top),{x:h,y:c,width:f.right-f.left,height:f.bottom-f.top}},_minMax:function(n,t,i){return n>i?i:n=t.min},_logBase:function(n,t){return Math.log(n)/Math.log(t)},_correctRect:function(n,t,i,r){return{X:Math.min(n,i),Y:Math.min(t,r),Width:Math.abs(i-n),Height:Math.abs(r-t)}},_getValuebyPoint:function(n,t,i,r){var e=r?i.xAxis.height:i.xAxis.width,o=r?i.yAxis.width:i.yAxis.height,u=i.xAxis.isInversed?1-n/e:n/e,f=i.yAxis.isInversed?1-t/o:t/o;return u=u*i.xAxis.visibleRange.delta+i.xAxis.visibleRange.min,f=f*i.yAxis.visibleRange.delta+i.yAxis.visibleRange.min,u=i.xAxis._valueType=="logarithmic"?Math.pow(i.xAxis.logBase,u):u,f=i.yAxis._valueType=="logarithmic"?Math.pow(i.yAxis.logBase,f):f,{PointX:u,PointY:f}}};ej.EjSvgRender.chartTransform3D={ToRadial:Math.PI/180,transform3D:function(n){return this.vector||(this.vector=new(new ej.Ej3DRender).vector3D,this.matrixobj=new(new ej.Ej3DRender).matrix3D,this.bsptreeobj=new(new ej.Ej3DRender).BSPTreeBuilder,this.polygon=new(new ej.Ej3DRender).polygon3D),{mViewport:n,Rotation:0,Tilt:0,Depth:0,PerspectiveAngle:0,needUpdate:!0,centeredMatrix:this.matrixobj.getIdentity(),Perspective:this.matrixobj.getIdentity(),resultMatrix:this.matrixobj.getIdentity(),viewMatrix:this.matrixobj.getIdentity(),Depth:0}},transform:function(n){this.setCenter(this.vector.vector3D(n.mViewport.Width/2,n.mViewport.Height/2,n.Depth/2),n);this.setViewMatrix(this.matrixobj.transform(0,0,n.Depth),n);this.setViewMatrix(this.matrixobj.getMatrixMultiplication(n.viewMatrix,this.matrixobj.turn(-this.ToRadial*n.Rotation)),n);this.setViewMatrix(this.matrixobj.getMatrixMultiplication(n.viewMatrix,this.matrixobj.tilt(-this.ToRadial*n.Tilt)),n);this.updatePerspective(n.PerspectiveAngle,n);n.needUpdate=!0},updatePerspective:function(n,t){var i=(t.mViewport.Width+t.mViewport.Height)*Math.tan(this.degreeToRadianConverter((180-Math.abs(n%181))/2))+t.Depth/1;t.Perspective[0][0]=i;t.Perspective[1][1]=i;t.Perspective[2][3]=1;t.Perspective[3][3]=i},degreeToRadianConverter:function(n){return n*Math.PI/180},toScreen:function(n,t,i,r){var i=i?i:this.result;return r?(this.matrixobj=r,n=r.getMatrixVectorMutiple(i(t,r),n)):(t.chartObj=this.matrixobj,n=this.matrixobj.getMatrixVectorMutiple(i(t),n)),{x:n.x,y:n.y}},setViewMatrix:function(n,t){t.viewMatrix!=n&&(t.viewMatrix=n,t.needUpdate=!0)},setCenteredMatrix:function(n,t){t.viewMatrix!=n&&(t.centeredMatrix=n,t.needUpdate=!0)},result:function(n,t){var i=n.chartObj?n.chartObj:this.matrixobj,r;return(i||(i=t),!n.needUpdate)?n.resultMatrix:(r=this.matrixobj?this.matrixobj:t,n.resultMatrix=i.getMatrixMultiplication(r.getInvertal(n.centeredMatrix),n.Perspective),n.resultMatrix=i.getMatrixMultiplication(n.resultMatrix,n.viewMatrix),n.resultMatrix=i.getMatrixMultiplication(n.resultMatrix,n.centeredMatrix),n.needUpdate=!1,n.resultMatrix)},setCenter:function(n,t){t.centeredMatrix=this.matrixobj.transform(-n.x,-n.y,-n.z);t.needUpdate=!0},toPlane:function(n,t,i){var r=this.vector.vector3D(n.x,n.y,0),u=this.vector.vector3DPlus(r,this.vector.vector3D(0,0,1));return r=this.vector.vector3DMultiply(i.centeredMatrix,r),u=this.vector.vector3DMultiply(i.centeredMatrix,u),r=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.Perspective),r),u=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.Perspective),u),r=this.polygon.getPoint(r,this.vector.vector3DMinus(u-r)),r=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.viewMatrix),r),this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.centeredMatrix),r)}};ej.EjSvgRender.chartSymbol={_drawSeriesType:function(n,t,i){var r=i.model.series[t.SeriesIndex].type.toLowerCase(),u=i.legendItem.drawType;r=ej.util.isNullOrUndefined(u)?r:u;switch(r){case ej.datavisualization.Chart.Type.Line:return ej.util.isNullOrUndefined(u)?this._drawLine(n,t,i,i.gLegendItemEle):this._drawStraightLine(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StepLine:return this._drawStepLine(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StackingArea:case ej.datavisualization.Chart.Type.StackingArea100:case ej.datavisualization.Chart.Type.Area:case ej.datavisualization.Chart.Type.RangeArea:return this._drawArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StepArea:return this._drawStepArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Bar:case ej.datavisualization.Chart.Type.StackingBar100:case ej.datavisualization.Chart.Type.StackingBar:return this._drawBar(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Pie:return this._drawPie(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Doughnut:return this._drawDoughnut(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Hilo:return this._drawHilo(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.HiloOpenClose:return this._drawHiloOpenClose(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Candle:return this._drawCandle(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Pyramid:return this._drawPyramid(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Funnel:return this._drawFunnel(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Spline:return this._drawSpline(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.SplineArea:case ej.datavisualization.Chart.Type.StackingSplineArea:case ej.datavisualization.Chart.Type.StackingSplineArea100:return this._drawSplineArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.RangeColumn:return this._drawRangeColumn(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Bubble:case ej.datavisualization.Chart.Type.Scatter:return this._drawCircle(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Column:case ej.datavisualization.Chart.Type.StackingColumn:case ej.datavisualization.Chart.Type.StackingColumn100:case ej.datavisualization.Chart.Type.Waterfall:return this._drawColumn(n,t,i,i.gLegendItemEle);default:return this._drawRectangle(n,t,i,i.gLegendItemEle)}},_drawCircle:function(n,t,i,r){var o=i.svgRenderer,h=i.svgObject,f=t.ShapeSize,e=Math.sqrt(f.height*f.height+f.width*f.width)/2,u=t.Style,s={id:t.ID,cx:n.startX,cy:n.startY,r:e,fill:u.Color,"stroke-width":u.BorderWidth,stroke:u.BorderColor,opacity:u.Opacity,visibility:u.Visibility,lgndCtx:t.context};return o.drawCircle(s,r),n.startX-e},_drawLeftArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2+u.width)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/2)+" "+n.startY+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2+u.width)+" "+(n.startY+u.height/4)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawRightArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/2+u.width)+" "+n.startY+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2)+" "+(n.startY+u.height/4)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawUpArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+n.startX+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawDownArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+n.startX+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawCross:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+u.width/2)+" "+n.startY+" M "+n.startX+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2);e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawHorizLine:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+u.width/2)+" "+n.startY;e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawVertLine:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+n.startX+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2);e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawTriangle:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawInvertedTriangle:function(n,t,i,r){var f=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,e="M "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" z";var h=n.startX,c=n.startY,o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:e};f.drawPath(o,r)},_drawHexagon:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+-u.width/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+n.startY+" L "+(n.startX+u.width/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawWedge:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width)+" "+n.startY+" L "+(n.startX+u.width)+" "+(n.startY+-u.height/2)+" L "+(n.startX+3*(u.width/4))+" "+n.startY+" L "+(n.startX+u.width)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width)+" "+n.startY+" z";e={"stroke-linecap":"miter","stroke-miterlimit":u.width/4,id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawPentagon:function(n,t,i,r){for(var l,a,v=i.svgRenderer,p=i.svgObject,u=t.ShapeSize,o=Math.sqrt(u.height*u.height+u.width*u.width)/2,f=ej.EjSvgRender.utils._getStringBuilder(),e=0;e<=5;e++){var y=e*72,s=Math.PI/180*y,h=o*Math.cos(s),c=o*Math.sin(s);e==0?f.append("M "+(n.startX+h)+" "+(n.startY+c)+" "):f.append("L "+(n.startX+h)+" "+(n.startY+c)+" ")}f.append("z");l=f.toString();a={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:l};v.drawPath(a,r)},_drawStar:function(n,t,i,r){var o=i.svgRenderer,u=t.ShapeSize,s=i.svgObject,f,e;f="M "+(n.startX+u.width/3)+" "+(n.startY+-u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/6)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/6)+" L "+(n.startX+-u.width/3)+" "+(n.startY+-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/3)+" "+(n.startY+-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawRectangle:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawTrapezoid:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX+-u.width/2+u.width)+" "+(n.startY+-u.height/2)+" L "+(n.startX+-u.width/2+u.width)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawDiamond:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+n.startX+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+n.startY+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawEllipse:function(n,t,i,r){var f=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,e=n.startX,o=n.startY,s={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,cx:e,cy:o,rx:u.width,ry:u.height/2};f.drawEllipse(s,r)},_drawImage:function(n,t,i,r){var f=i.svgRenderer,e=i.svgObject,u=t.ShapeSize,o=n.startX+-u.width/2,s=n.startY+-u.width/2,h=u.width,c=u.height,l={id:e.id+"_image"+t.PointIndex,height:c,width:h,href:t.Imageurl,x:o,y:s,visibility:"visible",lgndCtx:t.context};f.drawImage(l,r)},_drawStraightLine:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawLine:function(n,t,i,r){var o=i.svgRenderer,l=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,s;if(i.model.enableCanvasRendering===!0){e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" M "+(n.startX+Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10);var s={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},h="M "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" a "+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+2*Math.floor(u.width/3)+" 0 a"+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+-2*Math.floor(u.width/3)+" 0",c={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:h,lgndCtx:!0};o.drawPath(s,r);o.drawPath(c,r)}else e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" M "+(n.startX+Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10)+" M "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" a "+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+2*Math.floor(u.width/3)+" 0 a"+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+-2*Math.floor(u.width/3)+" 0",s={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},o.drawPath(s,r);return n.startX+-u.width/2+-f/4},_drawColumn:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX-3*(u.width/5))+" "+(n.startY-u.height/5)+" L "+(n.startX+3*(-u.width/10))+" "+(n.startY-u.height/5)+" L "+(n.startX+3*(-u.width/10))+" "+(n.startY+u.height/2)+" L "+(n.startX-3*(u.height/5))+" "+(n.startY+u.height/2)+" Z M "+(n.startX+-u.width/10-u.width/20)+" "+(n.startY-u.height/4-f/2)+" L "+(n.startX+u.width/10+u.width/20)+" "+(n.startY-u.height/4-f/2)+" L "+(n.startX+u.width/10+u.width/20)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/10-u.width/20)+" "+(n.startY+u.height/2)+" Z M "+(n.startX+3*(u.width/10))+" "+n.startY+" L "+(n.startX+3*(u.width/5))+" "+n.startY+" L "+(n.startX+3*(u.width/5))+" "+(n.startY+u.height/2)+" L "+(n.startX+3*(u.width/10))+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX-3*(u.width/5)},_drawRangeColumn:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY-u.height/2-f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+-f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2+f/4)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/5},_drawBar:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY-3*(u.height/5))+" L "+(n.startX+3*(u.width/10))+" "+(n.startY-3*(u.height/5))+" L "+(n.startX+3*(u.width/10))+" "+(n.startY-3*(u.height/10))+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY-3*(u.height/10))+" Z M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY-u.height/5+f/20)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY-u.height/5+f/20)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10+f/20)+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/10+f/20)+" Z M "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/5+f/10)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/5+f/10)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/2+f/10)+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/2+f/10)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawStepLine:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+u.width/10)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+u.width/10)+" "+n.startY+" L "+(n.startX+-u.width/10)+" "+n.startY+" L "+(n.startX+-u.width/10)+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/5)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2)+"L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L"+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2),o={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2-f/4},_drawSpline:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;return f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/5)+" Q "+n.startX+" "+(n.startY-u.height)+" "+n.startX+" "+(n.startY+u.height/5)+" M "+n.startX+" "+(n.startY+u.height/5)+" Q "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" "+(n.startX+u.width/2)+" "+(n.startY-u.height/2),e={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:f,lgndCtx:!0},o.drawPath(e,r),n.startX-u.width/2},_drawSplineArea:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;return f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/5)+" Q "+n.startX+" "+(n.startY-u.height)+" "+n.startX+" "+(n.startY+u.height/5)+" Z M "+n.startX+" "+(n.startY+u.height/5)+" Q "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" Z",e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:f,lgndCtx:!0},o.drawPath(e,r),n.startX-u.width/2},_drawArea:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX-u.width/2-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/4+-f/8)+" "+(n.startY-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/4)+" L "+(n.startX+u.width/4+f/8)+" "+(n.startY+-u.height/2+u.height/4)+" L "+(n.startX+u.height/2+f/4)+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX-u.width/2-f/4},_drawStepArea:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX-u.width/4)+" "+(n.startY-u.height/4)+" L "+(n.startX+u.width/4)+" "+(n.startY-u.height/4)+" L "+(n.startX+u.width/4)+" "+n.startX+" L "+(n.startX+u.width/2+f/4)+" "+n.startY+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawPyramid:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/2+f/8)+" L "+n.startX+" "+(n.startY+-u.height/2+-f/8)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2+f/8)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawFunnel:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/5)+" "+(n.startY+-u.height/2+-f/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY+u.height/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/4)+" L "+(n.startX+u.width/2+f/5)+" "+(n.startY+-u.height/2+-f/4)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/5},_drawCandle:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2)+" "+(n.startY+u.height/4+f/8)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/4+f/8)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+f/8)+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2+f/8)+" Z M "+n.startX+" "+(n.startY+-u.height/2+f/8)+" L "+n.startX+" "+(n.startY+-u.height/2+-f/4)+" M "+n.startX+" "+(n.startY+u.height/4+f/8)+" L "+n.startX+" "+(n.startY+u.height/4+f/2),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2},_drawHilo:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+u.width/2)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+-f/4),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+u.width/2},_drawHiloOpenClose:function(n,i,r,u){var h=r.svgRenderer,c=r.svgObject,f=i.ShapeSize,l=t(18,12,4.0710678118654755,270),e=i.ElementSpace,o,s;return o="M "+n.startX+" "+(n.startY-3*(f.height/10))+" L "+(n.startX-f.width/2-e/4)+" "+(n.startY-3*(f.height/10))+" M "+n.startX+" "+(n.startY-f.height/2-e/4)+" L "+n.startX+" "+(n.startY+f.height/2+e/4)+" M "+n.startX+" "+(n.startY+3*(f.height/10))+" L "+(n.startX+f.width/2+e/4)+" "+(n.startY+3*(f.height/10)),s={id:i.ID,fill:"transparent","stroke-width":i.Style.BorderWidth,stroke:i.Style.Color,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:o,lgndCtx:!0},h.drawPath(s,u),n.startX-f.width/2},_drawDoughnut:function(n,i,r,u){var o=r.svgRenderer,y=r.svgObject,e=i.ShapeSize,c=i.ElementSpace,f=Math.sqrt(e.height*e.width)/2;f=f+c/5;var s=t(n.startX,n.startY,f,270),h=t(n.startX+e.width/10,n.startY,f,270),c=i.ElementSpace,l="M "+n.startX+" "+n.startY+" L "+(n.startX+f)+" "+n.startY+" A "+f+" "+f+" 0 1 1 "+s[0]+" "+s[1]+" Z M "+(n.startX+e.width/10)+" "+(n.startY-e.height/10)+" L"+(n.startX+f)+" "+(n.startY-e.height/10)+" A "+f+" "+f+" 0 0 0 "+h[0]+" "+h[1]+" Z",a={id:i.ID,fill:i.Style.Color,"stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:l,lgndCtx:!0},v={id:i.ID,cx:n.startX,cy:n.startY,r:f/2,lgndCtx:!0,fill:"white","stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility};return o.drawPath(a,u),o.drawCircle(v,u),n.startX-f},_drawPie:function(n,i,r,u){var h=r.svgRenderer,v=r.svgObject,e=i.ShapeSize,c=i.ElementSpace,f=Math.sqrt(e.height*e.width)/2;f=f+c/5;var o=t(n.startX,n.startY,f,270),s=t(n.startX+e.width/10,n.startY,f,270),c=i.ElementSpace,l="M "+n.startX+" "+n.startY+" L "+(n.startX+f)+" "+n.startY+" A "+f+" "+f+" 0 1 1 "+o[0]+" "+o[1]+" Z M "+(n.startX+e.width/10)+" "+(n.startY-e.height/10)+" L"+(n.startX+f)+" "+(n.startY-e.height/10)+" A "+f+" "+f+" 0 0 0 "+s[0]+" "+s[1]+" Z",a={id:i.ID,fill:i.Style.Color,"stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:l,lgndCtx:!0};return h.drawPath(a,u),n.startX-f}};ej.EjSvgRender.seriesPalette={defaultMetro:["#E94649","#F6B53F","#6FAAB0","#C4C24A","#FB954F","#005277","#8BC652","#69D2E7","#E27F2D","#6A4B82"],defaultHighContrast:["#F93A00","#44E2D6","#DDD10D","#0AA368","#0556CB","#AB40B2","#5F930A","#D12E41","#E0670E","#008FFF"],defaultOffice:["#005277","#8BC652","#6A4B82","#E94649","#6FAAB0","#F7B74F","#C4C24A","#EF863F","#69D2E7","#FFD13E"],defaultMaterial:["#663AB6","#EB3F79","#F8AB1D","#B82E3D","#049CB1","#F2424F","#C2C924","#3DA046","#074D67","#02A8F4"],defaultGradient:{borderColors:["#F34649","#F6D321","#6EB9B0","#CBC26A","#FBAF4F","#E2CDB1","#FFC0B7","#68E1E6","#E1A62D","#9C6EBF"],seriesColors:[[{color:"#F34649",colorStop:"0%"},{color:"#B74143",colorStop:"100%"}],[{color:"#F6D321",colorStop:"0%"},{color:"#F6AE26",colorStop:"100%"}],[{color:"#6EB9B0",colorStop:"0%"},{color:"#3F77BD",colorStop:"100%"}],[{color:"#CBC26A",colorStop:"0%"},{color:"#9AAD21",colorStop:"100%"}],[{color:"#FBAF4F",colorStop:"0%"},{color:"#F07542",colorStop:"100%"}],[{color:"#E2CDB1",colorStop:"0%"},{color:"#AAA089",colorStop:"100%"}],[{color:"#8BC652",colorStop:"0%"},{color:"#6F9E41",colorStop:"100%"}],[{color:"#68E1E6",colorStop:"0%"},{color:"#3D9CBE",colorStop:"100%"}],[{color:"#E1A62D",colorStop:"0%"},{color:"#B66824",colorStop:"100%"}],[{color:"#9C6EBF",colorStop:"0%"}],[{color:"#593F6D",colorStop:"100%"}]]},blueMetro:["#005378","#006691","#007EB5","#0D97D4","#00AEFF","#14B9FF","#54CCFF","#87DBFF","#ADE5FF","#C5EDFF"],blueGradient:{seriesColors:[[{color:"#005277",colorStop:"0%"},{color:"#00304F",colorStop:"100%"}],[{color:"#006590",colorStop:"0%"},{color:"#004068",colorStop:"100%"}],[{color:"#007DB4",colorStop:"0%"},{color:"#00558B",colorStop:"100%"}],[{color:"#0D97D4",colorStop:"0%"},{color:"#057FC7",colorStop:"100%"}],[{color:"#00ADFE",colorStop:"0%"},{color:"#008BE9",colorStop:"100%"}],[{color:"#14B8FE",colorStop:"0%"},{color:"#0798EB",colorStop:"100%"}],[{color:"#53CBFF",colorStop:"0%"},{color:"#35AFEB",colorStop:"100%"}],[{color:"#86DAFF",colorStop:"0%"},{color:"#64C0EC",colorStop:"100%"}],[{color:"#ACE5FF",colorStop:"0%"},{color:"#8DCEED",colorStop:"100%"}],[{color:"#C4ECFF",colorStop:"0%"}],[{color:"#A3D1E6",colorStop:"100%"}]],borderColors:["#005277","#006590","#007DB4","#0D97D4","#00ADFE","#14B8FE","#53CBFF","#86DAFF","#ACE5FF","#C4ECFF"]},greenMetro:["#496612","#597B15","#709A1B","#87B62A","#9AD926","#A6DC37","#BCE654","#C8E780","#D5EFA5","#E2F3BE"],greenGradient:{seriesColors:[[{color:"#5C7F16",colorStop:"0%"},{color:"#384C08",colorStop:"100%"}],[{color:"#6A9319",colorStop:"0%"},{color:"#486009",colorStop:"100%"}],[{color:"#739D1C",colorStop:"0%"},{color:"#57760B",colorStop:"100%"}],[{color:"#90B546",colorStop:"0%"},{color:"#6E9215",colorStop:"100%"}],[{color:"#9AD826",colorStop:"0%"},{color:"#75A010",colorStop:"100%"}],[{color:"#A5DB36",colorStop:"0%"},{color:"#8EB91D",colorStop:"100%"}],[{color:"#BBE554",colorStop:"0%"},{color:"#A4C849",colorStop:"100%"}],[{color:"#C8E780",colorStop:"0%"},{color:"#B4D072",colorStop:"100%"}],[{color:"#D4EEA5",colorStop:"0%"},{color:"#BFD593",colorStop:"100%"}],[{color:"#E1F2BD",colorStop:"0%"}],[{color:"#C8D7A8",colorStop:"100%"}]],borderColors:["#5C7F16","#6A9319","#739D1C","#90B546","#9AD826","#A5DB36","#BBE554","#C8E780","#D4EEA5","#E1F2BD"]},sandleMetro:["#6C450C","#82520D","#A36812","#C07F1F","#E69719","#E89A2B","#EEB564","#F3CB93","#F7DEB4","#F9E6CA"],sandleGradient:{seriesColors:[[{color:"#7F602F",colorStop:"0%"},{color:"#512D04",colorStop:"100%"}],[{color:"#986827",colorStop:"0%"},{color:"#673803",colorStop:"100%"}],[{color:"#A16C1F",colorStop:"0%"},{color:"#8A4B05",colorStop:"100%"}],[{color:"#BF812A",colorStop:"0%"},{color:"#AD630D",colorStop:"100%"}],[{color:"#E49519",colorStop:"0%"},{color:"#B86607",colorStop:"100%"}],[{color:"#E7992A",colorStop:"0%"},{color:"#D7780D",colorStop:"100%"}],[{color:"#EDB463",colorStop:"0%"},{color:"#D98F31",colorStop:"100%"}],[{color:"#F2CA92",colorStop:"0%"},{color:"#DAAC6F",colorStop:"100%"}],[{color:"#F6DDB3",colorStop:"0%"},{color:"#DABE8F",colorStop:"100%"}],[{color:"#F8E5C9",colorStop:"0%"}],[{color:"#DDBE92",colorStop:"100%"}]],borderColors:["#7F602F","#986827","#A16C1F","#BF812A","#E49519","#E7992A","#EDB463","#F2CA92","#F6DDB3","#F8E5C9"]}};ej.EjSvgRender.themes={flatlight:{highlightColor:"black",background:"transparent",legend:{font:{color:"#282828"},title:{font:{color:"#282828"}}},title:{font:{color:"#565656"},subTitle:{font:{color:"#565656"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#565656"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMetro,colors:ej.EjSvgRender.seriesPalette.defaultMetro},flatdark:{highlightColor:"white",background:"#111111",legend:{font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}}},title:{font:{color:"#C9C9C9"},subTitle:{font:{color:"#C9C9C9"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#C9C9C9"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMetro,colors:ej.EjSvgRender.seriesPalette.defaultMetro},gradientlight:{highlightColor:"black",background:"transparent",legend:{font:{color:"#282828"},title:{font:{color:"#282828"}}},title:{font:{color:"#565656"},subTitle:{font:{color:"#565656"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#565656"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.defaultGradient.seriesColors},gradientdark:{highlightColor:"white",background:"#111111",legend:{font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}}},title:{font:{color:"#C9C9C9"},subTitle:{font:{color:"#C9C9C9"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#C9C9C9"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.defaultGradient.seriesColors},highcontrast01:{highlightColor:"white",background:"#111111",legend:{font:{color:"#ffffff"},title:{font:{color:"#ffffff"}}},title:{font:{color:"#ffffff"},subTitle:{font:{color:"#ffffff"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#ffffff",axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#ffffff",axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#ffffff"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultHighContrast,colors:ej.EjSvgRender.seriesPalette.defaultHighContrast},material:{highlightColor:"black",background:"transparent",legend:{font:{color:"#333333"},title:{font:{color:"#333333"}}},title:{font:{color:"#333333"},subTitle:{font:{color:"#333333"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#333333"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMaterial,colors:ej.EjSvgRender.seriesPalette.defaultMaterial},office365:{highlightColor:"black",background:"transparent",legend:{font:{color:"#333333"},title:{font:{color:"#333333"}}},title:{font:{color:"#333333"},subTitle:{font:{color:"#333333"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#333333"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultOffice,colors:ej.EjSvgRender.seriesPalette.defaultOffice}};n.extend(ej.EjSvgRender.themes,{azure:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueMetro,colors:ej.EjSvgRender.seriesPalette.blueMetro},azuredark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueMetro,colors:ej.EjSvgRender.seriesPalette.blueMetro},"gradient-azure":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.blueGradient.seriesColors},"gradient-azuredark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.blueGradient.seriesColors},lime:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenMetro,colors:ej.EjSvgRender.seriesPalette.greenMetro},limedark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenMetro,colors:ej.EjSvgRender.seriesPalette.greenMetro},"gradient-lime":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.greenGradient.seriesColors},"gradient-limedark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.greenGradient.seriesColors},saffron:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleMetro,colors:ej.EjSvgRender.seriesPalette.sandleMetro},saffrondark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleMetro,colors:ej.EjSvgRender.seriesPalette.sandleMetro},"gradient-saffron":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.sandleGradient.seriesColors},"gradient-saffrondark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.sandleGradient.seriesColors}})}(jQuery)});
diff --git a/vendors/scripts/ej/datavisualization/ej.chart.min.js b/vendors/scripts/ej/datavisualization/ej.chart.min.js
index 4b5918a8..def2e1dd 100644
--- a/vendors/scripts/ej/datavisualization/ej.chart.min.js
+++ b/vendors/scripts/ej/datavisualization/ej.chart.min.js
@@ -1,10 +1,10 @@
/*!
* filename: ej.chart.min.js
-* version : 19.3.0.43
+* version : 19.3.0.53
* Copyright Syncfusion Inc. 2001 - 2021. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
-(function(n){typeof define=="function"&&define.amd?define(["./../common/ej.globalize.min","./../common/ej.core.min","./../common/ej.data.min","./../common/ej.scroller.min"],n):n()})(function(){ej.Ej3DRender=function(){},function(n){var r;ej.Ej3DRender.Polygons=[];ej.Ej3DRender.prototype={matrix3D:function(){},vector3D:function(){},BSPTreeBuilder:function(){},Graphics3D:function(){},polygon3D:function(){}};r=new ej.Ej3DRender;r.vector3D.prototype={x:"",y:"",z:"",Epsilon:1e-5,isValid:function(n){return!isNaN(n.x)&&!isNaN(n.y)&&!isNaN(n.z)},vector3D:function(n,t){this.x=n.x;this.y=n.y;this.z=t},vector3D:function(n,t,i){return this.x=n,this.y=t,this.z=i,{x:n,y:t,z:i}},vector3DMinus:function(n,t){return this.vector3D(n.x-t.x,n.y-t.y,n.z-t.z)},vector3DPlus:function(n,t){return this.vector3D(n.x+t.x,n.y+t.y,n.z+t.z)},vector3DMultiply:function(n,t){var i=n.y*t.z-t.y*n.z,r=n.z*t.x-t.z*n.x,u=n.x*t.y-t.x*n.y;return this.vector3D(i,r,u)},vector3dAND:function(n,t){return n.x*t.x+n.y*t.y+n.z*t.z},vector3DStarMultiply:function(n,t){var i=n.x*t,r=n.y*t,u=n.z*t;return this.vector3D(i,r,u)},getLength:function(n){var t=this.vector3dAND(n,n);return Math.sqrt(t)},normalize:function(){var n=this.getLength(),t,i,r;t/=n;i/=n;r/=n},getNormal:function(n,t,i){var f=this.vector3DMinus(n,t),e=this.vector3DMinus(i,t),u=this.vector3DMultiply(f,e),r=this.getLength(u);return r=t?r+1:r,e[r]=this.createArray(f),u=0;u=i?u+1:u,e[r][u]=n[o][s];return e},getDeterminant:function(n){var u=n.length,r=0,i,t,f;if(u<2)r=n[0][0];else for(i=1,t=0;t0?-1:1;return r},transform:function(n,t,i){var r=this.getIdentity();return r[3][0]=n,r[3][1]=t,r[3][2]=i,r},turn:function(n){var t=this.getIdentity();return t[0][0]=Math.cos(n),t[2][0]=-Math.sin(n),t[0][2]=Math.sin(n),t[2][2]=Math.cos(n),t},tilt:function(n){var t=this.getIdentity();return t[1][1]=Math.cos(n),t[2][1]=Math.sin(n),t[1][2]=-Math.sin(n),t[2][2]=Math.cos(n),t},transposed:function(n){for(var t,r=this.getIdentity(),i=0;in.Plane.D){if(n.Front!=null&&this.drawBspNode3D(n.Front,i,r,u),this.draw3DElement(n,u),n.Back!=null){n=n.Back;continue}}else if(n.Back!=null&&this.drawBspNode3D(n.Back,i,r,u),this.draw3DElement(n,u),n.Front!=null){n=n.Front;continue}break}}};r.BSPTreeBuilder.prototype={EPSILON:.0005,Polygon:[],add:function(n){return ej.Ej3DRender.Polygons.push(n),ej.Ej3DRender.Polygons.length-1},remove:function(n){ej.Ej3DRender.Polygons.splice(n,1)},clear:function(){ej.Ej3DRender.Polygons=[]},count:function(){return ej.Ej3DRender.Polygons.length},getNext:function(n,t){return n>=t?n-t:n<0?n+t:n},getNodeCount:function(n){return n==null?0:1+this.getNodeCount(n.Back)+this.getNodeCount(n.Front)},vector3DIndexClassification:function(n,t,i){return{index:t,result:i,vector:n,isCuttingBackPoint:!1,cuttingBackPairIndex:null,alreadyCuttedBack:!1,isCuttingFrontPoint:!1,cuttingFrontPairIndex:null,alreadyCuttedFront:!1}},classifyPoint:function(n,t){var i="OnPlane",u=-t.D-r.vector3D.prototype.vector3dAND(n,t.normal);return u>this.EPSILON?i="OnBack":u<-this.EPSILON&&(i="OnFront"),i},classifyPolygon:function(n,t){var i=t.Points,f,h,s;if(i==null)return"Unknown";var e=0,o=0,u=0,c=n.normal,l=n.D;for(f=0,h=i.length;fthis.EPSILON?e++:s<-this.EPSILON?o++:u++,e>0&&o>0)break;return u==i.length?"OnPlane":o+u==i.length?"ToRight":e+u==i.length?"ToLeft":"Unknown"},splitPolygon:function(i,r){var w=[],b=[],rt,v,e,k,ut,u,o,ft;if(i.Points!=null){var l=[],s=[],h=[],k,d,g=i.Points.length;for(u=0;u2&&(ut=f.polygon3D(k,i),w.push(n.extend({},ut))));for(u=0;u2&&(ft=f.polygon3D(d,i),b.push(n.extend({},ft))))}}else w.push(i),b.push(i);return{BackP:w,FrontP:b}},cutOutFrontPolygon:function(n,t){for(var r=[],i=t,s,u,f,e,o;;)if(i.alreadyCuttedFront=!0,r.push(i.vector),s=n[i.CuttingFrontPairIndex],i.CuttingFrontPoint)if(s.alreadyCuttedFront)if(u=n[this.getNext(i.index-1,n.length)],f=n[this.getNext(i.index+1,n.length)],u.result!="OnFront"||u.alreadyCuttedFront){if(f.result!="OnFront"||f.alreadyCuttedFront)return r;i=f}else i=u;else i=s;else if(e=n[this.getNext(i.index-1,n.length)],o=n[this.getNext(i.index+1,n.length)],e.result=="OnBack"||e.alreadyCuttedFront){if(o.result=="OnBack"||o.alreadyCuttedFront)return r;i=o}else i=e;return r},cutOutBackPolygon:function(n,t){for(var f=[],i=t,e,r,u;;)if(i.alreadyCuttedBack=!0,f.push(i.vector),e=n[i.CuttingBackPairIndex],i.CuttingBackPoint)if(e.alreadyCuttedBack)if(r=n[this.getNext(i.index-1,n.length)],u=n[this.getNext(i.index+1,n.length)],r.result!="OnBack"||r.alreadyCuttedBack){if(u.result!="OnBack"||u.alreadyCuttedBack)return f;i=u}else i=r;else i=e;else if(r=n[this.getNext(i.index-1,n.length)],u=n[this.getNext(i.index+1,n.length)],r.result=="OnFront"||r.alreadyCuttedBack){if(u.result=="OnFront"||u.alreadyCuttedBack)return f;i=u}else i=r;return f},build:function(){var f,e,o,i,s,h,c,n,l,t,r,u;if(arguments[0]){if(f=arguments[0],f.length<1)return null;for(e={Back:null,Front:null,Plane:null},o=f[0],e.Plane=o,i=[],s=[],h=1,c=f.length;h0&&(e.Back=this.build(i)),s.length>0&&(e.Front=this.build(s)),e}return this.build(ej.Ej3DRender.Polygons)}};r.polygon3D.prototype={epsilon:1e-5,normal:{x:0,y:0,z:0},vector:new(new ej.Ej3DRender).vector3D,polygon3D:function(n,t,i,r,u,f,e,o){var h,s;if(arguments.length==3)this.calcNormal(arguments[0],arguments[1],arguments[2]);else return arguments.length==2?(n=arguments[0],this.calcNormal(n[0],n[1],n[2]),this.vectorPoints=n,this.calcNormal(this.vectorPoints),s=arguments[1],s.Normal=this.normal,s.normal=this.normal,s.Points=n,s.VectorPoints=this.vectorPoints,s.IsSplitted=!0,s.d=this.d,s.D=this.d,s):(this.calcNormal(n[0],n[1],n[2]),this.vectorPoints=n,this.calcNormal(this.vectorPoints),h={Tag:"path",Parent:arguments[arguments.length-1]},s={Normal:this.normal,normal:this.normal,Points:n,VectorPoints:this.vectorPoints,Index:i,Tag:t,Name:o?o:null,StrokeThickness:u,Opacity:f,Fill:e,d:this.d,D:this.d},arguments.length!=1&&(s.Element=h),s)},createLine:function(n,i,r,u,f,e){var s=n.width,o=[];return o[0]=t.vector3D(i,r,e),o[1]=t.vector3D(i+s,f+s,e),o[2]=t.vector3D(u,f,e),this.line3D(n,o)},createPolyline:function(n,i){if(n.length==2){var r=n[1];n.push(t.vector3D(r.x,r.y,r.z))}return this.polyLine3D(i,n)},polyLine3D:function(n,t){var i=this.polygon3D(t);return i.element=n,i},line3D:function(n,t){var i=this.polygon3D(t);return i.element=n,i},text3D:function(n,t){var i=this.polygon3D(t);return i.element=n,i},createCylinder:function(n,r,u,f,e,o,s,h,c,l,a,v){var y=0,rt,ut,k,d,b=24,g=360/b,nt=Math.PI/180,ft=parseFloat((n.z+r.z)/2),w=[],p=[],tt=[],it=[],et=r.y-n.y0&&(d=[t.vector3D(n.x,p[y-1].Y,p[y-1].Z),t.vector3D(r.x,p[y-1].Y,p[y-1].Z),t.vector3D(r.x,p[y].Y,p[y].Z),t.vector3D(n.x,p[y].Y,p[y].Z)],w[y+1]=this.polygon3D(d,u,f,s,0,c,s,"_"+(y+1).toString()+"_"+a,v),i.addVisual(w[y+1])),y++;break;case"column":case"stackingcolumn":case"stackingcolumn100":for(b++;b--;)rt=parseFloat(st+ot*Math.cos(y*g*nt)),k=parseFloat(ft+ot*Math.sin(y*g*nt)),p[y]={X:rt,Z:k},tt.push(t.vector3D(p[y].X,n.y,p[y].Z)),it.push(t.vector3D(p[y].X,r.y,p[y].Z)),y>0&&(d=[t.vector3D(p[y-1].X,n.y,p[y-1].Z),t.vector3D(p[y-1].X,r.y,p[y-1].Z),t.vector3D(p[y].X,r.y,p[y].Z),t.vector3D(p[y].X,n.y,p[y].Z)],w[y+1]=this.polygon3D(d,u,f,s,0,c,s,"_"+(y+1).toString()+"_"+a,v),i.addVisual(w[y+1])),y++}return w[0]=this.polygon3D(it,u,f,o,0,c,s,"_0_"+a,v),w[1]=this.polygon3D(tt,u,f,o,h,c,s,"_1_"+a,v),i.addVisual(w[0]),i.addVisual(w[1]),w},createBox:function(n,r,u,f,e,o,s,h,c,l,a,v){var y=[],p=[t.vector3D(n.x,n.y,n.z),t.vector3D(r.x,n.y,n.z),t.vector3D(r.x,r.y,n.z),t.vector3D(n.x,r.y,n.z)],w=[t.vector3D(n.x,n.y,r.z),t.vector3D(r.x,n.y,r.z),t.vector3D(r.x,r.y,r.z),t.vector3D(n.x,r.y,r.z)],b=[t.vector3D(n.x,n.y,r.z),t.vector3D(r.x,n.y,r.z),t.vector3D(r.x,n.y,n.z),t.vector3D(n.x,n.y,n.z)],k=[t.vector3D(n.x,r.y,r.z),t.vector3D(r.x,r.y,r.z),t.vector3D(r.x,r.y,n.z),t.vector3D(n.x,r.y,n.z)],d=[t.vector3D(n.x,n.y,n.z),t.vector3D(n.x,n.y,r.z),t.vector3D(n.x,r.y,r.z),t.vector3D(n.x,r.y,n.z)],g=[t.vector3D(r.x,n.y,n.z),t.vector3D(r.x,n.y,r.z),t.vector3D(r.x,r.y,r.z),t.vector3D(r.x,r.y,n.z)],v;return arguments[10]?(y[0]=this.polygon3D(p,u,f,o,h,c,s,"_0_"+a,v),y[1]=this.polygon3D(w,u,f,o,h,c,s,"_1_"+a,v),y[2]=this.polygon3D(b,u,f,o,h,c,s,"_2_"+a,v),y[3]=this.polygon3D(k,u,f,o,h,c,s,"_3_"+a,v),y[4]=this.polygon3D(d,u,f,o,h,c,s,"_4_"+a,v),y[5]=this.polygon3D(g,u,f,o,h,c,s,"_5_"+a,v)):(v=arguments[arguments.length-1],y[0]=this.polygon3D(p,u,f,o,h,c,s,"_0_"+f,v),y[1]=this.polygon3D(w,u,f,o,h,c,s,"_1_"+f,v),y[2]=this.polygon3D(b,u,f,o,h,c,s,"_2_"+f,v),y[3]=this.polygon3D(k,u,f,o,h,c,s,"_3_"+f,v),y[4]=this.polygon3D(d,u,f,o,h,c,s,"_4_"+f,v),y[5]=this.polygon3D(g,u,f,o,h,c,s,"_5_"+f,v)),l?(i.addVisual(y[0]),i.addVisual(y[1]),i.addVisual(y[2]),i.addVisual(y[3]),i.addVisual(y[4]),i.addVisual(y[5])):(i.addVisual(y[5]),i.addVisual(y[4]),i.addVisual(y[0]),i.addVisual(y[1]),i.addVisual(y[2]),i.addVisual(y[3])),y},calcNormal:function(){var n,r;if(arguments.length>=3){var u=arguments[0],e=arguments[1],o=arguments[2],s=t.vector3DMinus(u,e),h=t.vector3DMinus(o,e),f=t.vector3DMultiply(s,h),i=t.getLength(f);i0&&(c=n(r.chartObj.chart3D).find("#"+r.chartObj.svgObject.id+"_"+i.Name)[0],r.chartObj.svgRenderer._setAttr(n(c),{d:h}))}}};var r=new ej.Ej3DRender,t=new r.vector3D,u=new r.matrix3D,e=new r.BSPTreeBuilder,f=new r.polygon3D,i=new r.Graphics3D}(jQuery);ej.Ej3DAxisRenderer=function(){};ej.Ej3DSeriesRender=function(){};ej.Ej3DChart=function(){};ej.series3DTypes={},function(n){ej.Ej3DAxisRenderer.prototype={_drawAxes:function(n,t,i){t.majorGridLines.visible&&this._drawGridLines3D(t,i);t.visible&&t.majorTickLines.visible&&this._renderTicks3D(t,t.majorTickLines.size,t.majorTickLines.width,i);t.visible&&(this._drawAxisLabel(t,i),this._drawMultiLevelLabel(n,t,i),this._drawAxisTitle(t))},_drawAxisTitle:function(t){var i,tt,a,v,e,u,o,s;if(t.title.visible){i=t.title.font;this.gAxisTitleEle=this.svgRenderer.createGroup({id:this.svgObject.id+"axisTitle_"+t.name});var h=t._opposed,b={Width:n(this.svgObject).width(),Height:n(this.svgObject).height()},k=10,f=ej.EjSvgRender.chartTransform3D.transform3D(b);f.mViewport=b;f.Rotation=0;f.Tilt=0;f.Depth=100;f.PerspectiveAngle=90;ej.EjSvgRender.chartTransform3D.transform(f);var d=ej.EjSvgRender.chartTransform3D.result,g=ej.Ej3DRender.prototype.matrix3D.prototype,nt=t.orientation.toLowerCase(),y=!1,c,l;for(a=0;a0){for(b=this.svgObject.id+"_"+i.name+"MultiLevelLabelsBorder_"+t+"_"+rt,wt=h-f+i.multiLevelLabelHeight[l]+f/2,bi=e.border.color?e.border.color:i.multiLevelLabelsColor,at=="horizontal"?(ii={x1:o,y1:h-f,x2:s,y2:h-f},ri={x1:o,y1:wt,x2:s,y2:wt},ui={x1:o,y1:h-f,x2:o,y2:wt},fi={x1:s,y1:h-f,x2:s,y2:wt}):(a=i.multiLevelLabelHeight[l]-f/2,ii={x1:u-a/2-f/2,y1:s,x2:u+a/2+f/2,y2:s},ri={x1:u-a/2-f/2,y1:o,x2:u+a/2+f/2,y2:o},ui={x1:u-a/2-f/2,y1:s,x2:u-a/2-f/2,y2:o},fi={x1:u+a/2+f/2,y1:s,x2:u+a/2+f/2,y2:o}),ti=0;ti<4;ti++){switch(ti){case 0:lt=b+"_top";nt=ii;break;case 1:lt=b+"_bottom";nt=ri;break;case 2:lt=b+"_left";nt=ui;break;case 3:lt=b+"_right";nt=fi}ni[0]=ej.Ej3DRender.prototype.vector3D.prototype.vector3D(nt.x1,nt.y1,ci);ni[1]=ej.Ej3DRender.prototype.vector3D.prototype.vector3D(nt.x2,nt.y2,ci);ei=ej.EjSvgRender.chartTransform3D.toScreen(ni[0],p,vt,yt);oi=ej.EjSvgRender.chartTransform3D.toScreen(ni[1],p,vt,yt);v={id:lt,x1:ei.x,y1:ei.y,x2:oi.x,y2:oi.y,stroke:bi,"stroke-width":ht};this.svgRenderer.drawLine(v,this.gMultiLevelEle)}this.svgRenderer.append(this.gMultiLevelEle,this.svgObject)}}},_textTrim:function(n,t,i){var e=t.length,f,u,o=ej.EjSvgRender.utils._measureText(t,this.model.m_AreaBounds.Width,i),r;if(o.width>n){for(r=e-1;r>=0;--r)if(u=t.substring(0,r)+"...",f=ej.EjSvgRender.utils._measureText(u,this.model.m_AreaBounds.Width,i),f.width<=n)return u}else return t},_textWrap:function(n,t,i){for(var o=t.toString().split(" "),r="",f=[],s=o.length,u="",e=0;en-5?(e.push(f),u=r++):r===o&&e.push(f);return e},_multipleRows:function(n,t,i,r){for(var u,e,o,s=[],h,f=n-1;f>=0;f--)u=r.visibleLabels[f],o=ej.EjSvgRender.utils._measureText(u.Text,this.model.m_AreaBounds.Width,r.font),e=ej.EjSvgRender.utils._valueToCoefficient(r,f)*r.width+r.x,h=tu.index?i.index:u.index+1):i.index=s.indexOf(u.index)>-1?i.index:u.index},_drawAxisLabel:function(n,t){for(var w,e,f,v,r,y,o=[],l=null,g=n.visibleLabels.length,a=this.model.m_AreaBounds,c=n._opposed,b,k=t.axes[n.name]._validCross,d=k?n.y:a.Y+(!c&&a.Height),nt=k?n.x:a.X+(c&&a.Width),i=0;in.x+n.width&&i===n.visibleLabels.length-1)&&n.labelIntersectAction!="trim"&&n.labelIntersectAction.indexOf("wrap")<0)if(n.edgeLabelPlacement==="hide")continue;else n.edgeLabelPlacement==="shift"&&(i==0?r.x=s=n.x+r.size.width/2:i==n.visibleLabels.length-1&&(r.x=s=n.x+n.width-r.size.width/2));if(n.orientation.toLowerCase()=="horizontal")if(n.labelRotation)l=n.labelRotation,y=ej.EjSvgRender.utils.rotatedLabel(n,this,n.labelRotation,n.visibleLabels[i].Text,!0),u+=y.height/2;else if(n.labelIntersectAction=="trim")n.visibleLabels[i].Text=this._textTrim(v,n.visibleLabels[i].Text,n.font);else if(n.labelIntersectAction=="wrapByWord")n.visibleLabels[i].Text=this._textWrap(v,n.visibleLabels[i].Text,n.font);else if(n.labelIntersectAction=="wrap")n.visibleLabels[i].Text=this._textWrapByLength(v,n.visibleLabels[i].Text,n.font);else if(n.labelIntersectAction=="rotate45"||n.labelIntersectAction=="rotate90")l=n.labelIntersectAction.indexOf("45")>-1?45:90,y=ej.EjSvgRender.utils.rotatedLabel(n,this,l,n.visibleLabels[i].Text,!0),u+=y.height/2;else if(n.labelIntersectAction==="multipleRows")p=r.x,p-=e.width/2,this._multipleRows(i,p,n.visibleLabels[i],n),u=n.visibleLabels[i].index?u+n.visibleLabels[i].index*(e.height+5):u;else if(n.labelIntersectAction==="hide"){if(h=h?h:0,i!=0&&o[h].x+o[h].size.width/2>=o[i].x-o[i].size.width/2)continue;h=i}b={Width:e.width,Height:e.height,Label:n.visibleLabels[i],TextAnchor:w,tag:"text",font:n.font,id:this.svgObject.id+n.orientation+i,child:this.chart3D,Angle:l};this.graphics.addVisual(this.polygon.createTextElement(this.vector.vector3D(s,u,0),b,10,10))}},_renderTicks3D:function(n,t,i,r){for(var s,f,o,y=n.visibleLabels.length,p,h=this.model.m_AreaBounds,w=n.y,e=0;e0&&e2?this.model.depth-2:1,nt=d?t.y:this.model.m_AreaBounds.Y+(!k&&this.model.m_AreaBounds.Height),f={opacity:t.majorGridLines.opacity,width:t.majorGridLines.width,stroke:t.majorGridLines.color,child:this.chart3D,tag:"line"};if(f.id=this.svgObject.id+t.name+"_gridlines_"+u,this.graphics.addVisual(this.polygon.createLine(f,l,o,e,s,a)),v=n.extend({},f),v.id=this.svgObject.id+t.name+"_parallelGridlines_"+u,h=this.polygon.createLine(v,e,0,e,-a,nt),this.polygon.transform(this.matrixobj.tilt(parseFloat(Math.PI/2)),h),this.graphics.addVisual(h),t.minorGridLines.visible&&t.minorTicksPerInterval>0&&u2?this.model.depth-2:1,f={opacity:t.majorGridLines.opacity,width:t.majorGridLines.width,stroke:t.majorGridLines.color,axisName:t.name,child:this.chart3D,tag:"line"},f.id=this.svgObject.id+t.name+"_gridlines_"+u,this.graphics.addVisual(this.polygon.createLine(f,l,o,e,s,a)),b=d?t.x:this.model.m_AreaBounds.X+(k&&this.model.m_AreaBounds.Width+1),y=n.extend({},f),y.id=this.svgObject.id+t.name+"_parallelGridlines_"+u,h=this.polygon.createLine(y,-a,s,0,s,b),this.polygon.transform(this.matrixobj.turn(parseFloat(-Math.PI/2)),h),this.graphics.addVisual(h),t.minorGridLines.visible&&t.minorTicksPerInterval>0&&u90&&t<270)^(i>90&&i<270)?!0:!1},createSector:function(n,t,i,r){var o=parseInt(Math.ceil(n.ActualEndValue/6)),v=Math.PI/180,s=0,rt=[],h=t.chartObj.model.depth,k,d,tt,it,g,p,nt,l,a,u,w,b;if(o<1)return null;var c=[],y=n.ActualEndValue/o,f=[],e=[];for(u=0;u0){for(nt=[],u=0;u0)for(u=o;u>-1;u--)l.push(t.chartObj.vector.vector3D(e[u].X,e[u].Y,0)),a.push(t.chartObj.vector.vector3D(e[u].X,e[u].Y,h));else l.push(n.Center),a.push(t.chartObj.vector.vector3D(n.Center.x,n.Center.y,h));return c[0]=[],c[0].push(t.chartObj.polygon.polygon3D(l,this,n.index,i.borderColor,i.borderWidth,i.opacity,i.interior,s.toString()+"_Region_Series_"+r+"_Point_"+n.index,t.chartObj.chart3D)),s++,c[0].push(t.chartObj.polygon.polygon3D(a,this,n.index,i.borderColor,i.borderWidth,i.opacity,i.interior,s.toString()+"_Region_Series_"+r+"_Point_"+n.index,t.chartObj.chart3D)),s++,n.inSideRadius>0?(w=[t.chartObj.vector.vector3D(f[0].X,f[0].Y,0),t.chartObj.vector.vector3D(f[0].X,f[0].Y,h),t.chartObj.vector.vector3D(e[0].X,e[0].Y,h),t.chartObj.vector.vector3D(e[0].X,e[0].Y,0)],b=[t.chartObj.vector.vector3D(f[o].X,f[o].Y,0),t.chartObj.vector.vector3D(f[o].X,f[o].Y,h),t.chartObj.vector.vector3D(e[o].X,e[o].Y,h),t.chartObj.vector.vector3D(e[o].X,e[o].Y,0)],c[2]=[],c[2].push(t.chartObj.polygon.polygon3D(w,this,n.index,i.borderColor,i.borderWidth,i.opacity,i.interior,s.toString()+"_Region_Series_"+r+"_Point_"+n.index,t.chartObj.chart3D)),s++,c[2].push(t.chartObj.polygon.polygon3D(b,this,n.index,i.borderColor,i.borderWidth,i.opacity,i.interior,s.toString()+"_Region_Series_"+r+"_Point_"+n.index,t.chartObj.chart3D)),s++):(w=[t.chartObj.vector.vector3D(f[0].X,f[0].Y,0),t.chartObj.vector.vector3D(f[0].X,f[0].Y,h),t.chartObj.vector.vector3D(n.Center.x,n.Center.y,h),t.chartObj.vector.vector3D(n.Center.x,n.Center.y,0)],b=[t.chartObj.vector.vector3D(f[o].X,f[o].Y,0),t.chartObj.vector.vector3D(f[o].X,f[o].Y,h),t.chartObj.vector.vector3D(n.Center.x,n.Center.y,h),t.chartObj.vector.vector3D(n.Center.x,n.Center.y,0)],c[2]=[],c[2].push(t.chartObj.polygon.polygon3D(w,this,n.index,i.borderColor,i.borderWidth,i.opacity,i.interior,s.toString()+"_Region_Series_"+r+"_Point_"+n.index,t.chartObj.chart3D)),s++,c[2].push(t.chartObj.polygon.polygon3D(b,this,n.index,i.borderColor,i.borderWidth,i.opacity,i.interior,s.toString()+"_Region_Series_"+r+"_Point_"+n.index,t.chartObj.chart3D)),s++),c},createPolygons:function(t,i,r){var s,f=[],a,v,h,y,e,p=n.inArray(t,i.chartObj.model._visibleSeries),o,c,u,l;for(s=t.segments&&r?t.segments:this.createPoints(t,i),y=s.length,o=0;o-1?h=l.replace("{value}",r.y):l.indexOf("e")==0||l.indexOf("E")==0?(a=l.match(/(\d+)/g),a=a==null?6:a>rt?rt:a,h=r.y.toExponential(a)):h=ej.globalize.format(r.y,l,this.chartObj.model.locale));var g=0,f=n.extend({},ej.EjSvgRender.commonChartEventArgs),c=ej.EjSvgRender.utils._measureText(h,null,t.marker.dataLabel.font),u=ej.EjSvgRender.utils.Transform3DToVisible(t,r.symbolLocation.x,r.symbolLocation.y,this.chartObj),s=t.marker.dataLabel.connectorLine.height?t.marker.dataLabel.connectorLine.height:0,b=6.28*(1-90/360),o=u.Y,e=u.X;this.chartObj.model.requireInvertedAxes?(e=r.x>0?u.X-Math.sin(b)*s:u.X+Math.sin(b)*s,g=-c.height/3):o=r.y>0?u.Y+Math.sin(b)*s:u.Y+Math.sin(-b)*s;o=t.marker.dataLabel.textPosition=="bottom"?u.Y+v:u.Y-v;e=u.X+d;f.data={text:h,location:{x:e,y:o},series:t,pointIndex:i};f.data.Text=f.data.text;this.chartObj._trigger("displayTextRendering",f);e=f.data.location.x;o=f.data.location.y}ut=this._getSegmentDepth(t);t.marker.dataLabel.shape.toLowerCase()=="none"||r.marker.dataLabel.template||f.data.Text==""||(y={tag:"dataLabel",series:t,point:r,pointIndex:i,id:this.chartObj.svgObject.id+w+"_DataLabel"+i,child:this.chartObj.chart3D},this.chartObj.graphics.addVisual(this.chartObj.polygon.createTextElement(this.chartObj.vector.vector3D(e,o,r.symbolLocation.z?r.symbolLocation.z:0),y,0,-c.height)));nt=r.marker.dataLabel.template?"template":"text";y={Width:c.width,Height:c.height,Label:f.data,TextAnchor:"middle",tag:nt,font:t.marker.dataLabel.font,Angle:t.marker.dataLabel.angle,id:this.chartObj.svgObject.id+"_SeriesText"+i+w,child:this.chartObj.chart3D};this.chartObj.model.AreaType!="none"?(t.marker.dataLabel.connectorLine.height&&t.marker.dataLabel.connectorLine.height>0&&(k=[],k.push({x:u.X,y:u.Y+g,z:r.symbolLocation.z}),k.push({x:e,y:o+g,z:r.symbolLocation.z}),this.drawLineSegment(k,i,t)),this.chartObj.graphics.addVisual(this.chartObj.polygon.createTextElement(this.chartObj.vector.vector3D(e,o,r.symbolLocation.z),y,0,-c.height))):(t.labelPosition.toLowerCase()!="inside"&&this.updateConnectorLine(r,i,t,u,s),ft={x:t.actualWidth,y:t.actualHeight},this.chartObj.graphics.addVisual(this.chartObj.polygon.createTextElement(this.chartObj.vector.vector3D(u.X,u.Y,-1),y,0,-c.height)))},updateConnectorLine:function(n,t,i,r,u){var e=[],f=n.symbolLocation,o=f.center.x+Math.cos(f.angle)*f.radius,s=f.center.y+Math.sin(f.angle)*f.radius,h;e.push({x:o,y:s});h=f.radius+u;o=f.center.x+Math.cos(f.angle)*h;s=f.center.y+Math.sin(f.angle)*h;e.push({x:o,y:s});i.marker.dataLabel.connectorLine.type=="bezier"&&(e=this.getBezierApproximation(e,256,i));this.drawLineSegment(e,t,i)},getBezierApproximation:function(n,t,i){for(var f,u=[],r=0;r<=t;r++)f=r/t,u.push(this.GetBezierPoint(f,n,0,n.length,i));return u},drawLineSegment:function(t,i,r){for(var f=[],u=0;u1){for(f=u;f=o&&w<=s||b>=o&&b<=s){d=i.Top<0?i.Top>e?i.Top:e:t.yAxis.valueType&&t.yAxis.valueType.toLowerCase()=="logarithmic"?i.Top:i.Topo?i.Left:o,d,u.chartObj),c=ej.EjSvgRender.utils.Transform3DToVisible(t,s>i.Right?i.Right:s,e>i.Bottom?e:i.Bottom,u.chartObj),g=u.chartObj.vector.vector3D(Math.min(h.X,c.X),Math.min(h.Y,c.Y),i.StartDepth),nt=u.chartObj.vector.vector3D(Math.max(h.X,c.X),Math.max(h.Y,c.Y),i.EndDepth),f=u.chartObj.setStyle(u,t,l,r);f.interior.indexOf("url")>=0&&(f.interior=u.chartObj.model.seriesColors[l][0].color);a="Region_Series_"+l+"_Point_"+r;t.columnFacet=="cylinder"?u.chartObj.polygon.createCylinder(g,nt,this,r,t.type,f.borderColor,f.interior,f.borderWidth,f.opacity,u.chartObj.model.requireInvertedAxes,a,u.chartObj.chart3D):t.columnFacet=="rectangle"&&u.chartObj.polygon.createBox(g,nt,this,r,t.type,f.borderColor,f.interior,f.borderWidth,f.opacity,u.chartObj.model.requireInvertedAxes,a,u.chartObj.chart3D)}},_setData:function(){var t=arguments,n=arguments[arguments.length-1],i=arguments[arguments.length-2];n.Left=t[0];n.Bottom=t[3];n.Top=t[1];n.Right=t[2];n.StartDepth=t[4];n.EndDepth=t[5];n.XRange=i.getDoubleRange(n.Left,n.Right);isNaN(n.Top)||isNaN(n.Bottom)||(n.YRange=i.getDoubleRange(n.Top,n.Bottom))},createSegments:function(n,t,i){var e=t.chartObj._getXValues(n._visiblePoints),a=t.chartObj._getYValues(n._visiblePoints),r;if(e!=null){var s=t.getSideBySideInfo(n,i),f=t._getSegmentDepth(n),v=t.chartObj._getXCrossValue(n,n.xAxis,i),h=s.Delta/2,u=n._visiblePoints,y,p;for(r=0;r0?(t.d=this.changePathValue(t.d),this.applyVMLStyle(n("#"+t.id),t)):(t.d=this.changePathValue(t.d),o=document.createElement("v:shape"),u=n(o),this.applyVMLStyle(u,t),u.appendTo(i))},createLegendSvg:function(n){var t=document;return this._rootId=jQuery(n).attr("id"),this.legendsvgObj=t.createElement("div"),this.legendsvgObj.style.position="relative",this.legendsvgObj.setAttribute("id","legend_"+this._rootId+"_vml"),this.legendsvgObj},drawPolyline:function(t,i){var f=t.points.split(" "),u,r;n("#"+t.id).length>0?(t.points=this.changePathValue(t.points),this.applyVMLStyle(n("#"+t.id),t)):(t.points=this.changePathValue(t.points),u=document.createElement("v:polyline"),r=n(u),this.applyVMLStyle(r,t),r.appendTo(i))},setFillAttribute:function(t,i){var r=document.createElement("v:fill"),f=i["fill-opacity"]?i["fill-opacity"]:i.opacity,u,e;f=ej.util.isNullOrUndefined(f)?i.opacity?i.opacity:1:f;u=i.fill;u=="none"||ej.util.isNullOrUndefined(u)?u=="none"?(r.setAttribute("type","gradient"),r.setAttribute("color",i.color),r.setAttribute("color2",i.color2),r.setAttribute("colors",i.colors),r.setAttribute("angle",i.angle),f=i.fill_opacity):f=.1:u.match("gradient")?(e=u.replace("gradient",""),r.setAttribute("type","gradient"),r.setAttribute("colors",e)):n(t).attr("fillcolor",u);r.setAttribute("opacity",f);n(r).appendTo(t)},setStrokeAttribute:function(t,i){var f=i.stroke,r,u;f=="transparent"&&(i.opacity=.1);i.name&&n(t).attr("name",i.name);r=i.opacity;r&&(u=document.createElement("v:stroke"),u.setAttribute("opacity",r),n(u).appendTo(t))},changePathValue:function(n){var t,i,r;if(!n.d){for(t=n.split(" "),i=0;i0)r=t.x1+","+t.y1,u=t.x2+","+t.y2,n(t).attr("from",r).attr("to",u),this.applyVMLStyle(n("#"+t.id),t);else{var e=document.createElement("v:line"),f=n(e),r=t.x1+","+t.y1,u=t.x2+","+t.y2;f.attr("from",r).attr("to",u);this.applyVMLStyle(f,t);f.appendTo(i)}},drawCircle:function(t,i){if(n("#"+t.id).length>0)t.x=t.cx-t.r,t.y=t.cy-t.r,t.width=t.height=2*t.r,this.applyVMLStyle(n("#"+t.id),t);else{var u=document.createElement("v:oval"),r=n(u);t.x=t.cx-t.r;t.y=t.cy-t.r;t.width=t.height=2*t.r;this.applyVMLStyle(r,t);n("#"+t.id).length==0&&r.appendTo(i)}},drawEllipse:function(t,i){if(n("#"+t.id).length>0)t.x=t.cx-t.rx,t.y=t.cy-t.ry,t.width=2*t.rx,t.height=2*t.ry,this.applyVMLStyle(n("#"+t.id),t);else{var u=document.createElement("v:oval"),r=n(u);t.x=t.cx-t.rx;t.y=t.cy-t.ry;t.width=2*t.rx;t.height=2*t.ry;this.applyVMLStyle(r,t);r.appendTo(i)}},drawRect:function(t,i){if(n("#"+t.id).length>0)this.applyVMLStyle(n("#"+t.id),t);else{var u=document.createElement("v:rect"),r=n(u);this.applyVMLStyle(r,t);r.appendTo(i)}},drawCylinder:function(t,i,r){var a=t.x,v=t.y,d=t.width,wt=t.height,bt=t.id,s,f,e,h,g,c,nt,tt,it,rt,ut,ft,y,p,w,et,ot,b,k,st,ht,ct,lt,at,vt,yt,l=t.fill,ti=ej.EjSvgRender.prototype.checkColorFormat(l),u,ni,pt;ti||(l=ej.datavisualization.Chart.prototype.colorNameToHex(t.fill));var ii=t.opacity,kt={svgRenderer:ej.EjSvgRender.prototype},dt=ej.Ej3DRender.prototype.polygon3D.prototype.applyZLight(l,kt),gt=ej.Ej3DRender.prototype.polygon3D.prototype.applyXLight(l,kt),o=65535;for(r.isColumn==!0?(t.rx=f=d/2,t.ry=e=f/4,h=g=a+f,tt=c=v-e,ft=k=y=v+wt-e,it=h+f,nt=ut=b=h-f,at=-Math.round(o*180),vt=Math.round(o*180),et=Math.round(o*360),ot=-Math.round(o*180),yt="90",r.stacking==!0&&(r.isLastSeries||(c=v+e)),rt=c):(t.ry=e=wt/2,t.rx=f=e/4,it=nt=g=a+f,b=h=a+d+f,at=Math.round(o*90),vt=Math.round(o*180),et=Math.round(o*270),ot=-Math.round(o*180),y=c=v+e,k=rt=c+e,tt=ft=y-e,yt="0",r.stacking==!0&&(r.isLastSeries||(h=a+d-f)),ut=h),delete t.x,delete t.y,t.width=1e3,t.x=0,t.y=0,delete t.stacking,t.height=1e3,delete t.isColumn,t.fill=dt,t.fill_opacity=ii,t.stroke=dt,t["stroke-width"]=0,u=1;u<=4;u++)u%2==0?(st=g,ht=c,ct=ut,lt=ft,p=et,w=ot):(st=h,ht=y,ct=it,lt=rt,p=at,w=vt),u<3&&(p=o,w=23592600),u<4&&(s=["M",Math.round(b),Math.round(k)]),s.push("ae",Math.round(st),Math.round(ht),Math.round(f),Math.round(e),p,w),u>2&&(s.push("l",Math.round(ct),Math.round(lt)),t.fill="none",t.color=l,t.color2=l,t.colors="30% "+gt+",70% "+gt,t.angle=yt),u!=3&&(s.push("e"),s=s.join(" "),t.d=s,t.id=bt+"_Region_"+(u-1).toString(),u==4&&(t.id=bt+"_Region_"+(u-2).toString()),ni=document.createElement("v:shape"),pt=n(ni),this.applyVMLStyle(pt,t),pt.appendTo(i)),b=nt,k=tt},_getAttrVal:function(t,i,r){i=i=="x"?"left":i;i=i=="y"?"top":i;var u=n(t).attr(i),f=u?u:n(t).css(i);return f!=null?f:r},_setAttr:function(t,i){var r,u,f;i.transform&&(r=i.transform,u=r.slice(r.indexOf("(")+1,r.indexOf(")")).split(","),i.x=u[0],i.y=u[1]);f=n(t);f.length>0&&this.changeVMLStyle(f,i)},createGradientElement:function(n,t){var i,f,r,u;if(Object.prototype.toString.call(t)=="[object Array]")for(i="gradient ",f="",r=0,u=t.length-1;u>=0,r0?t["font-size"]+"px":t["font-size"],u={size:e,fontStyle:t["font-style"],fontFamily:t["font-family"]},f=ej.EjSvgRender.utils._measureText(i,null,u);n(r).css("white-space","nowrap");t["text-anchor"]==="middle"?t.x=Math.round(t.x-f.width/2):t["text-anchor"]==="end"&&(t.x=Math.round(t.x-f.width));t.y=Math.round(t.y-u.size.replace("px",""));this.applyVMLStyle(r,t)},drawText:function(t,i,r,u){var c=document,v=n("#"+t.id),f,y,l,e,s,o,h,a,p;if(v.length>0)this._textAttrReplace(t,i,u,v);else if(t.id.indexOf("YAxisTitle")>0&&!this.isdocmode8)t.on=!0,f=document.createElement("v:line"),f.style.behavior="url(#default#VML)",f.style.display="inline-block",y=ej.EjSvgRender.utils._measureText(i,null,null),f.setAttribute("to",(t.x-1).toString()+","+(t.y-y.width/2).toString()),f.setAttribute("from",t.x.toString()+","+t.y.toString()),l=document.createElement("v:path"),l.setAttribute("textpathok",!0),e=document.createElement("v:textpath"),e.setAttribute("on",!0),e.setAttribute("string",i),e.style["font-style"]=t["font-style"],e.style["font-size"]=t["font-size"],e.style["font-family"]=t["font-family"],f.appendChild(l),f.appendChild(e),n(f).appendTo(r);else{if(s=c.createElement("span"),o=n(s),jQuery.type(i)=="array")for(this.setSpanAttr(t,i,o),h=0;h0&&f.length==i.length)for(e=0;e0&&this.ctx.stroke();this.ctx.restore();this.ctx=l}},_setLinePathStyle:function(n,t){var r=n["stroke-width"],i;t&&this.ctx.translate(t[0],t[1]);this.ctx.globalAlpha=n.opacity?n.opacity:n["fill-opacity"];this.ctx.lineWidth=r;i=n["stroke-dasharray"]?n["stroke-dasharray"].split(","):!1;i&&this.ctx.setLineDash(i);this.ctx.strokeStyle=n.stroke;n.fill!="none"&&n.fill!=undefined&&(this.ctx.fillStyle=n.fill,this.ctx.fill())},drawRect:function(n,t){var u=this.ctx,r=n.rx,i;this.ctx=t?t.canvas?t:this.ctx:this.ctx;this.ctx.save();this.ctx.beginPath();this.ctx.globalAlpha=n.opacity;this.ctx.lineWidth=n["stroke-width"];i=n["stroke-dasharray"]?n["stroke-dasharray"].split(","):!1;i&&this.ctx.setLineDash(i);this.ctx.strokeStyle=n.stroke;this.ctx.rect(n.x,n.y,n.width,n.height);r!=null&&r>=0?this.drawCornerRadius(n):(n.fill=="none"&&(n.fill="transparent"),this.ctx.fillStyle=n.fill,this.ctx.fillRect(n.x,n.y,n.width,n.height),this.ctx.stroke());n.id.indexOf("Series")>=0&&this.ctx.clip();this.ctx.restore();this.ctx=u},drawCylinder:function(n,t,i){var kt=this.ctx,h,a,wt,c,f,s;this.ctx=t?t.canvas?t:this.ctx:this.ctx;this.ctx.save();h=ej.datavisualization.Chart.prototype.colorNameToHex(n.fill);a={svgRenderer:ej.EjSvgRender.prototype};"use strict";var s,d,g,v=Math.PI,dt=2*v+.1,r,u,nt,y,p,tt,w,it,rt,b,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,e=n.x,o=n.y,l=n.width,k=n.height,bt=dt;for(this.ctx.fillStyle=ej.Ej3DRender.prototype.polygon3D.prototype.applyZLight(h,a),this.ctx.lineWidth=0,this.ctx.strokeStyle=ej.Ej3DRender.prototype.polygon3D.prototype.applyZLight(h,a),this.ctx.globalAlpha=n.opacity,i.isColumn==!0?(ct=e,at=l+e,vt=lt=0,r=l/2,u=r/4,y=nt=e+r,b=p=o-u,it=e,w=e+l,tt=rt=o+k-u,ht=0,st=v,yt=-r,pt=u,(i.stacking=!0)&&(i.isLastSeries||(b=p=o+u))):(ct=at=0,lt=k+o,vt=o,u=k/2,r=u/4,it=nt=e+r,w=y=e+l+r,rt=o+k,b=o,tt=p=o+u,ht=v/2,st=v*1.5,(i.stacking=!0)&&(i.isLastSeries||(w=y=e+l-r)),u=-u,r=-r,yt=r,pt=-u),wt=ej.Ej3DRender.prototype.polygon3D.prototype.applyXLight(h,a),c=this.ctx.createLinearGradient(ct,vt,at,lt),c.addColorStop(0,h),c.addColorStop(.3,wt),c.addColorStop(.7,wt),c.addColorStop(1,h),f=1;f<=4;f++){for(s=0,f<4?this.ctx.beginPath():"",f%2==0?(ut=y,ft=tt,et=it,ot=b):(ut=nt,ft=p,et=w,ot=rt),f==4&&(r=yt,u=pt,this.ctx.fillStyle=c),f>2&&(s=ht,bt=st);s<=bt;s+=.1)d=ut-r*Math.cos(s),g=ft+u*Math.sin(s),s===0?this.ctx.moveTo(d,g):this.ctx.lineTo(d,g);f>2&&this.ctx.lineTo(et,ot);f!=3&&(this.ctx.stroke(),this.ctx.fill())}n.id.indexOf("Series")>=0&&this.ctx.clip();this.ctx.restore();this.ctx=kt},drawCornerRadius:function(n){var t=n.rx,i=n.x,r=n.y,u=n.width,f=n.height;n.fill=="none"&&(n.fill="transparent");this.ctx.fillStyle=n.fill;u<2*t&&(t=u/2);f<2*t&&(t=f/2);this.ctx.beginPath();this.ctx.moveTo(i+u-t,r);this.ctx.arcTo(i+u,r,i+u,r+f,t);this.ctx.arcTo(i+u,r+f,i,r+f,t);this.ctx.arcTo(i,r+f,i,r,t);this.ctx.arcTo(i,r,i+u,r,t);this.ctx.closePath();this.ctx.fill();this.ctx.stroke()},createGradientElement:function(n,t){var u,o=this.ctx,f,i,e,r;if(Object.prototype.toString.call(t)=="[object Array]"){for(f=o.createLinearGradient(0,0,0,this.svgObj.height),i=0;i<=t.length-1;i++)e=t[i].color,r=t[i].colorStop.slice(0,-1),r=parseInt(r)/100,f.addColorStop(r,e);u=f}else u=t;return u},drawLine:function(n){this.ctx.save();this.ctx.beginPath();this.ctx.lineWidth=n["stroke-width"];this.ctx.strokeStyle=n.stroke;this.ctx.moveTo(n.x1,n.y1);this.ctx.lineTo(n.x2,n.y2);this.ctx.stroke();this.ctx.restore()},drawText:function(t,i,r){var o,u,k,g,w,a,e,y;ej.util.isNullOrUndefined(t["font-weight"])||t["font-weight"].toLowerCase()!="regular"||(t["font-weight"]="normal");var l=t["font-style"].toLowerCase()+" "+t["font-weight"]+" "+t["font-size"]+" "+t["font-family"],f=t["text-anchor"],b=t.opacity!==undefined?t.opacity:1;if(f=="middle"&&(f="center"),t.lgndCtx)this.lgndCtx.save(),this.lgndCtx.fillStyle=t.fill,this.lgndCtx.font=l,this.lgndCtx.textAlign=f,this.lgndCtx.globalAlpha=b,t["dominant-baseline"]=="middle"&&(this.lgndCtx.textBaseline="center"),t.labelRotation?(this.lgndCtx.translate(t.x,t.y),this.lgndCtx.rotate(t.labelRotation*Math.PI/180),this.lgndCtx.fillText(i,0,0)):this.lgndCtx.fillText(i,t.x,t.y),this.lgndCtx.restore();else{if(this.ctx.save(),this.ctx.fillStyle=t.fill,this.ctx.font=l,this.ctx.textAlign=f,this.ctx.globalAlpha=b,t.baseline&&(this.ctx.textBaseline=t.baseline),t.labelRotation)if(o=0,u=t.labelRotation,u&&(t.id.indexOf("XLabel")!=-1||t.id.indexOf("YLabel")!=-1)){k="rotate("+t.labelRotation.toString()+"deg)";n(t).attr("rotateAngle",k);var d=r?r:i,v=ej.EjSvgRender.utils._measureText(d,null,l).height,p=this.createText(t,d);n(document.body).append(p);g=p.getBoundingClientRect();n(p).remove();o=g.height;u<0&&(u=360+u);w=t.transform.split(",");f=f!=undefined?f:"center";var s=parseFloat(w[1]),h=parseFloat(w[2]),c=o/2;if(t.labelPosition=="outside"?f=="start"?this.ctx.translate(s,h+c-(u<0&&u>-180||u>180?o/2:(o-v)/2)):f=="end"?this.ctx.translate(s,h+c-(u<0&&u>-180||u>180?o/2:-(o-v)/2)):this.ctx.translate(s,h+c):f=="start"?this.ctx.translate(s,h-c-(u<0&&u>-180||u>180?o/2:(o-v)/2)):f=="end"?this.ctx.translate(s,h-c-(u<0&&u>-180||u>180?o/2:-(o-v)/2)):this.ctx.translate(s,h-c),this.ctx.textAlign=f,this.ctx.rotate(u*(Math.PI/180)),typeof i=="object")for(a=i.length,e=0;e<\/div>"),u=i.model.m_AreaBounds;t.xr.left+n(this.svgObj).width()-20?(f=this.prevWidth,o=this.prevX):(f=this.prevWidth=t.width,o=this.prevX=t.x+r.left);t.yr.top+u.Y+u.Height?(e=this.prevHeight,s=this.prevY):(e=this.prevHeight=t.height,s=this.prevY=t.y+r.top);n(h).css({width:f,height:e,top:s,left:o,"background-color":t.fill,"border-style":"solid",position:"absolute","border-color":t.stroke,"border-width":t["stroke-width"]});document.getElementById("chartContainer_"+this._rootId).appendChild(h[0])},zoomButton:function(t,i,r){var l=r.svgObj?r.svgObj:r.svgObject,y=r._rootId?r._rootId:r._id,o,e,c,f,s,h,a,v,u;o=i=="zoom"?"_Zoom":i=="zoomIn"?"_ZoomIn":"_ZoomOut";e={left:0,top:0};n("#"+t.zoomId).length<=0?(u=n("<\/div>"),n(u).css({width:t.width,height:t.height,top:t.top+e.top,left:t.left+e.left,"background-color":t.fill,"border-style":"solid",position:"absolute","border-radius":"0.4em","border-color":t.fill,"box-sizing":"content-box","z-index":2e3}),c="http://www.w3.org/2000/svg",f=document.createElementNS(c,"svg"),f.setAttribute("id",t.zoomId),f.setAttribute("width",25),f.setAttribute("height",25),i=="zoom"?(s="M26.101,22.893l-6.605-6.174c1.414-2.781,0.897-6.267-1.496-8.504c-2.901-2.711-7.448-2.56-10.161,0.341 c-2.712,2.9-2.56,7.45,0.341,10.163c2.426,2.266,6,2.523,8.694,0.853l6.579,6.151L26.101,22.893z M10.186,16.571 c-1.715-1.604-1.805-4.293-0.203-6.009c1.605-1.715,4.295-1.805,6.009-0.201c1.715,1.603,1.805,4.293,0.202,6.007 C14.59,18.084,11.901,18.175,10.186,16.571",h="translate(-3,-3)"):i=="zoomIn"?(s="M9.0983096,4.2999878L9.0983096,9.3999634 3.9983783,9.3999634 3.9983783,12.699951 9.0983096,12.699951 9.0983096,17.799988 12.398249,17.799988 12.398249,12.699951 17.49818,12.699951 17.49818,9.5 12.398249,9.5 12.398249,4.2999878z M10.998276,0C14.298215,0 17.49818,1.3999634 19.69813,4.1999512 22.79809,8.0999756 22.79809,13.5 19.998144,17.399963L28.597992,28.299988 23.898081,32 15.398205,21.199951C10.898271,23.099976 5.5983606,21.899963 2.3983956,17.899963 -1.4015366,13.099976 -0.60156059,6.0999756 4.1983567,2.3999634 6.1983276,0.79998779 8.5983163,0 10.998276,0z",h="translate(4,4) scale(0.6)"):(s="M3.9983433,9.5L3.9983433,12.799988 17.598165,12.799988 17.598165,9.5z M10.998234,0C14.298169,0 17.498131,1.3999634 19.698108,4.1999512 22.798034,8.0999756 22.798034,13.5 19.998092,17.399963L28.597994,28.299988 23.898054,32 15.398188,21.199951C10.898259,23.099976 5.5983546,21.899963 2.398393,17.899963 -1.4015351,13.099976 -0.60155994,6.0999756 4.1983522,2.3999634 6.1983207,0.79998779 8.5983074,0 10.998234,0z",h="translate(4,4) scale(0.6)"),a={id:o+"Path",fill:t.iconColor,transform:h,d:s},v=document.createElementNS(c,"path"),n(v).attr(a).appendTo(f),u[0].appendChild(f),document.getElementById("chartContainer_"+y).appendChild(u[0])):(u=document.getElementById(l.id+o+"Btn"),n(u).css({top:t.top+e.top,left:t.left+e.left}))},panButton:function(t,i){var s=i.svgObj?i.svgObj:i.svgObject,c=i._rootId?i._rootId:i._id,f={left:0,top:0},e,u,o,h,r;n("#"+t.panId).length<=0?(r=n("
<\/div>"),n(r).css({width:t.width,height:t.height,top:t.top+f.top,left:t.left+f.left,"background-color":t.fill,"border-style":"solid",position:"absolute","border-radius":"0.4em","border-color":t.fill,"box-sizing":"content-box","z-index":2e3}),e="http://www.w3.org/2000/svg",u=document.createElementNS(e,"svg"),u.setAttribute("id",t.panId),u.setAttribute("width",25),u.setAttribute("height",25),o={id:"panPath",fill:t.iconColor,transform:"translate(-3,-3)"},o.points="26.105,16 21.053,12.211 21.053,14.737 17.263,14.737 17.263,10.947 19.834,10.947 16.044,5.895 12.255,10.947 14.737,10.947 14.737,14.737 10.947,14.737 10.947,12.211 5.895,16 10.947,19.789 10.947,17.263 14.737,17.263 14.737,21.053 12.255,21.053 16.044,26.105 19.834,21.053 17.263,21.053 17.263,17.263 21.053,17.263 21.053,19.789",h=document.createElementNS(e,"polygon"),n(h).attr(o).appendTo(u),r[0].appendChild(u),document.getElementById("chartContainer_"+c).appendChild(r[0])):(r=document.getElementById(s.id+"_PanBtn"),n(r).css({top:t.top+f.top,left:t.left+f.left}))},resetZoom:function(t,i){var l=i.svgObj?i.svgObj:i.svgObject,w=i._rootId?i._rootId:i._id,e={left:0,top:0},f,r,o,a,s,v,h,y,c,p,u;n("#"+t.resetZoomId).length<=0?(u=n("
<\/div>"),n(u).css({width:t.width,height:t.height,top:t.top+e.top,left:t.left+e.left,"background-color":t.fill,"border-style":"solid","border-radius":"0.4em",position:"absolute","border-color":t.fill,"box-sizing":"content-box","z-index":2e3}),f="http://www.w3.org/2000/svg",r=document.createElementNS(f,"svg"),r.setAttribute("id",t.resetZoomId),r.setAttribute("width",25),r.setAttribute("height",25),o={id:"p1",fill:t.iconColor,transform:"translate(-3,-3)"},o.points="11.895,18.398 8.061,22.23 5.796,19.967 5.796,26.283 12.112,26.283 9.848,24.018 13.682,20.186",a=document.createElementNS(f,"polygon"),n(a).attr(o).appendTo(r),s={id:"p2",fill:t.iconColor,transform:"translate(-3,-3)"},s.points="19.691,6.072 21.955,8.337 18.121,12.172 19.908,13.959 23.742,10.123 26.007,12.389 26.007,6.072",v=document.createElementNS(f,"polygon"),n(v).attr(s).appendTo(r),h={id:"p3",fill:t.iconColor,transform:"translate(-3,-3)"},h.points="11.895,13.958 13.682,12.172 9.848,8.337 12.112,6.072 5.796,6.072 5.796,12.389 8.061,10.123",y=document.createElementNS(f,"polygon"),n(y).attr(h).appendTo(r),c={id:"p4",fill:t.iconColor,transform:"translate(-3,-3)"},c.points="19.908,18.396 18.121,20.186 21.955,24.018 19.691,26.283 26.007,26.283 26.007,19.967 23.741,22.23",p=document.createElementNS(f,"polygon"),n(p).attr(c).appendTo(r),u[0].appendChild(r),document.getElementById("chartContainer_"+w).appendChild(u[0])):(u=document.getElementById(l.id+"_ResetZoom"),n(u).css({top:t.top+e.top,left:t.left+e.left}))},drawCrosshairLine:function(t,i){var r=n("
<\/div>");n(r).css({width:t.width,height:t.height,left:t.left,top:t.top,"border-style":t.style,opacity:t.opacity,visibility:"visible","border-color":t.stroke,"border-width":t["stroke-width"],position:t.position});n(i).append(r[0])},drawCrosshairlabel:function(t,i,r){var e=n("#"+this._rootId).offset(),f={left:0,top:0},u;n("#"+t.id).length>0?(u=document.getElementById(t.id),n(u).css({width:t.width-5,height:t.height-5,left:i.x+f.left-5,top:i.y+f.top-15,visibility:"visible",display:t.display}),document.getElementById(t.id).textContent=r):(u=n("
<\/div>"),n(u).css({color:i.fill,"font-family":i["font-family"],"font-size":i["font-size"],"font-weight":i["font-weight"],"font-style":i["font-style"],"background-color":t.fill,"border-style":"solid","border-color":t.stroke,"border-width":t["stroke-width"],opacity:t["fill-opacity"],"text-align":"center"}),document.getElementById(this._rootId).appendChild(u[0]))},createCrosshairCanvas:function(){var i=document.getElementById(this._rootId+"_canvas"),u=n("#"+this._rootId).offset(),t,r={left:0,top:0};return n("#secondCanvas").length?t=document.getElementById("secondCanvas"):(t=document.createElement("canvas"),n(document).find("#"+this.svgObj.id+"_CrosshairGroup").append(t),n(t).attr({id:"secondCanvas",width:i.width,height:i.height,top:r.top,left:r.left}),n(t).css({width:i.width,height:i.height,top:r.top,left:r.left})),t},drawTrackToolTip:function(t,i,r,u){var s={left:this.svgObj.offsetLeft,top:this.svgObj.offsetTop},h,e,o,f;if(n("#"+t.id).length>0)if(f=document.getElementById(t.id),n(f).css({left:t.x+s.left,top:t.y+s.top,visibility:"visible","border-box":"content-box","background-color":t.fill,color:i.fill,"border-color":t.stroke,"border-width":t["stroke-width"]}),jQuery.type(r)=="array"){for(h=0,e="",o=0;o
";n("#"+t.id).html(e)}else n("#"+t.id).html(r);else f=n("<\/div>"),n(f).css({color:i.fill,"font-family":i["font-family"],"font-size":i["font-size"],"font-weight":i["font-weight"],"font-style":i["font-style"],width:t.width,height:t.height-u-2*t["stroke-width"],"background-color":t.fill,"border-style":"solid","text-align":"center",padding:"0px","padding-top":u/2+"px","padding-bottom":u/2+"px","border-color":t.stroke,"border-width":t["stroke-width"],opacity:t["fill-opacity"]}),document.getElementById(this._rootId).appendChild(f[0])},trackSymbol:function(t,i,r,u,f){var l=f.model.m_AreaBounds,ht=n("#"+this._rootId).offset(),d,b,h,g,nt,tt,v,e,o,w,s;if(i.startX>=l.X&&i.startX<=l.X+l.Width&&i.startY>=l.Y&&i.startY<=l.Y+l.Height)if(b=t.SeriesIndex,g=t.PointIndex,f.model.series[b].type.toLowerCase()=="bubble"&&(nt=f.model.series[b]._visiblePoints[g],h=nt.radius*2+5,t.Style.BorderColor=t.Style.Color),f.model.series[b].type.toLowerCase()=="scatter"&&ej.util.isNullOrUndefined(u))tt={cx:i.startX-2,cy:i.startY-2,r:t.ShapeSize.width/2,fill:t.Style.Color,opacity:t.Style.Opacity,stroke:t.Style.BorderColor},this.drawCircle(tt,null);else{n("#canvas_trackSymbol").length>0?(v=n("#canvas_trackSymbol"),n(v).css({visibility:"visible",display:"block"})):v=n("
<\/div>");var y={left:i.startX,top:i.startY},c=n("
<\/div>"),a=y.left-(h||t.ShapeSize.width),p=y.top-(h||t.ShapeSize.height);n(c).css({left:a,top:p,"box-sizing":"content-box",position:"absolute",visibility:"visible",opacity:t.Style.Opacity,"z-index":200});e=t.ShapeSize;t.symbol=c;o={};switch(r.toLowerCase()){case"circle":n(c).css({width:h||t.ShapeSize.width+"px",height:h||t.ShapeSize.height+"px",left:h?a+h/2:a+t.ShapeSize.width/2-t.Style.BorderWidth+"px",top:h?p+h/2:p+t.ShapeSize.height/2-t.Style.BorderWidth+"px","border-style":"solid","background-color":t.Style.Color,"border-color":t.Style.BorderColor,"border-width":t.Style.BorderWidth,"border-radius":"100%"});break;case"rectangle":n(c).css({width:t.ShapeSize.width,height:t.ShapeSize.height,left:a+t.ShapeSize.width/2-t.Style.BorderWidth/2,top:p+t.Style.BorderWidth/2,"border-style":"solid","background-color":t.Style.Color,"border-color":t.Style.BorderColor,"border-width":t.Style.BorderWidth});break;case"diamond":s="M "+(i.startX+-e.width/2)+" "+i.startY+" L "+i.startX+" "+(i.startY+-t.ShapeSize.height/2)+" L "+(i.startX+t.ShapeSize.width/2)+" "+i.startY+" L "+i.startX+" "+(i.startY+t.ShapeSize.height/2)+" L "+(i.startX+-t.ShapeSize.width/2)+" "+i.startY+"z";o.direction=s;this.drawSvgShape(t,o);break;case"triangle":s="M "+(i.startX+-e.width/2)+" "+(i.startY+e.height/2)+" L "+i.startX+" "+(i.startY+-e.height/2)+" L "+(i.startX+e.width/2)+" "+(i.startY+e.height/2)+" L "+(i.startX+-e.width/2)+" "+(i.startY+e.height/2)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"invertedtriangle":var s="M "+(i.startX+-e.width/2)+" "+(i.startY+e.height/2)+" L "+i.startX+" "+(i.startY+-e.height/2)+" L "+(i.startX+e.width/2)+" "+(i.startY+e.height/2)+" L "+(i.startX+-e.width/2)+" "+(i.startY+e.height/2)+"z",ft=i.startX,et=i.startY,ot="rotate(180,"+ft+","+et+")";o.direction=s;o.rotate=ot;this.drawSvgShape(t,o);break;case"cross":s="M "+(i.startX+-e.width/2)+" "+i.startY+" L "+(i.startX+e.width/2)+" "+i.startY+" M "+i.startX+" "+(i.startY+e.height/2)+" L "+i.startX+" "+(i.startY+-e.height/2)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"star":s="M "+(i.startX+e.width/3)+" "+(i.startY+-e.height/2)+" L "+(i.startX+-e.width/2)+" "+(i.startY+e.height/6)+" L "+(i.startX+e.width/2)+" "+(i.startY+e.height/6)+" L "+(i.startX+-e.width/3)+" "+(i.startY+-e.height/2)+" L "+i.startX+" "+(i.startY+e.height/2)+" L "+(i.startX+e.width/3)+" "+(i.startY+-e.height/2)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"hexagon":s="M "+(i.startX+-e.width/2)+" "+i.startY+" L "+(i.startX+-e.width/4)+" "+(i.startY+-e.height/2)+" L "+(i.startX+e.width/4)+" "+(i.startY+-e.height/2)+" L "+(i.startX+e.width/2)+" "+i.startY+" L "+(i.startX+e.width/4)+" "+(i.startY+e.height/2)+" L "+(i.startX+-e.width/4)+" "+(i.startY+e.height/2)+" L "+(i.startX+-e.width/2)+" "+i.startY+"z";o.direction=s;this.drawSvgShape(t,o);break;case"wedge":s="M "+(i.startX-e.width)+" "+i.startY+" L "+(i.startX+e.width)+" "+(i.startY+-e.height/2)+" L "+(i.startX+3*(e.width/4))+" "+i.startY+" L "+(i.startX+e.width)+" "+(i.startY+e.height/2)+" L "+(i.startX-e.width)+" "+i.startY+"z";o.direction=s;this.drawSvgShape(t,o);break;case"trapezoid":s="M "+(i.startX+-e.width/2)+" "+i.startY+" L "+(i.startX+-e.width/2)+" "+(i.startY+-e.height/4)+" L "+(i.startX+-e.width/2+e.width)+" "+(i.startY+-e.height/2)+" L "+(i.startX+-e.width/2+e.width)+" "+(i.startY+e.height/2)+" L "+(i.startX+-e.width/2)+" "+(i.startY+e.height/4)+" L "+(i.startX+-e.width/2)+" "+i.startY+"z";o.direction=s;this.drawSvgShape(t,o);break;case"uparrow":s="M "+(i.startX-e.width/2+e.width/4)+" "+(i.startY-e.height/2+e.height)+" L "+(i.startX-e.width/2+e.width/4)+" "+(i.startY-e.height/2+e.height/2)+" L "+(i.startX-e.width/2)+" "+(i.startY-e.height/2+e.height/2)+" L "+i.startX+" "+(i.startY-e.height/2)+" L "+(i.startX+e.width/2)+" "+(i.startY-e.height/2+e.height/2)+" L "+(i.startX+e.width/2-e.width/4)+" "+(i.startY-e.height/2+e.height/2)+" L "+(i.startX+e.width/2-e.width/4)+" "+(i.startY-e.height/2+e.height)+" L "+(i.startX-e.width/2+e.width/4)+" "+(i.startY-e.height/2+e.height)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"downarrow":s="M "+(i.startX-e.width/2+e.width/4)+" "+(i.startY-e.height/2)+" L "+(i.startX+e.width/2-e.width/4)+" "+(i.startY-e.height/2)+" L "+(i.startX+e.width/2-e.width/4)+" "+(i.startY-e.height/2+e.height/2)+" L "+(i.startX+e.width/2)+" "+(i.startY-e.height/2+e.height/2)+" L "+i.startX+" "+(i.startY-e.height/2+e.height)+" L "+(i.startX-e.width/2)+" "+(i.startY-e.height/2+e.height/2)+" L "+(i.startX-e.width/2+e.width/4)+" "+(i.startY-e.height/2+e.height/2)+" L "+(i.startX-e.width/2+e.width/4)+" "+(i.startY-e.height/2)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"leftarrow":s="M "+(i.startX-e.width/2+e.width)+" "+(i.startY+e.height/4)+" L "+(i.startX-e.width/2+e.width)+" "+(i.startY+-e.height/4)+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+-e.height/4)+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+-e.height/2)+" L "+(i.startX-e.width/2)+" "+i.startY+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+e.height/2)+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+e.height/4)+" L "+(i.startX-e.width/2+e.width)+" "+(i.startY+e.height/4)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"rightarrow":s="M "+(i.startX-e.width/2)+" "+(i.startY+e.height/4)+" L "+(i.startX-e.width/2)+" "+(i.startY+-e.height/4)+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+-e.height/4)+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+-e.height/2)+" L "+(i.startX-e.width/2+e.width)+" "+i.startY+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+e.height/2)+" L "+(i.startX-e.width/2+e.width/2)+" "+(i.startY+e.height/4)+" L "+(i.startX-e.width/2)+" "+(i.startY+e.height/4)+"z";o.direction=s;this.drawSvgShape(t,o);break;case"pentagon":var h=Math.sqrt(e.height*e.height+e.width*e.width)/2,k=ej.EjSvgRender.utils._getStringBuilder();for(w=0;w<=5;w++){var st=w*72,it=Math.PI/180*st,rt=h*Math.cos(it),ut=h*Math.sin(it);w==0?k.append("M "+(i.startX+rt)+" "+(i.startY+ut)+" "):k.append("L "+(i.startX+rt)+" "+(i.startY+ut)+" ")}k.append("z");s=k.toString();o.direction=s;this.drawSvgShape(t,o);break;case"ellipse":n(c).css({width:t.ShapeSize.width,height:t.ShapeSize.height/2,"border-style":"solid",left:a+t.ShapeSize.height/2-t.Style.BorderWidth/2,top:i.startY+y.top-t.ShapeSize.height+4,"background-color":t.Style.Color,"border-color":t.Style.BorderColor,"border-width":t.Style.BorderWidth,"-moz-border-radius":"50%","-webkit-border-radius":"50%","border-radius":"50%","border-box":"content-box"});break;case"horizline":n(c).css({width:t.ShapeSize.width,height:0,"border-style":"solid",left:a+t.ShapeSize.width/2,top:i.startY+y.top-1,"border-color":t.Style.BorderColor,"border-width":"2px","border-box":"content-box"});break;case"vertline":n(c).css({width:0,height:t.ShapeSize.height,"border-style":"solid",left:i.startX+y.left-1,top:p+t.ShapeSize.height/2-2,"border-color":t.Style.BorderColor,"border-width":"2px","border-box":"content-box"});break;default:n(c).css({width:t.ShapeSize.width,height:t.ShapeSize.height,"border-style":"solid","background-color":t.Style.Color,"border-color":t.Style.BorderColor,"border-width":t.Style.BorderWidth,"border-radius":"50px"})}v[0].appendChild(c[0]);d=document.getElementById(this.svgObj.id+"_CrosshairGroup")||document.getElementById("chartContainer_"+this._rootId);d.appendChild(v[0])}},drawSvgShape:function(t,i){var f=document.getElementById(this._rootId+"_canvas"),e={left:0,top:0},o="http://www.w3.org/2000/svg",r=document.createElementNS(o,"svg"),u,s;r.setAttribute("id","mySVG");r.setAttribute("width",n(f).width());r.setAttribute("height",n(f).height());n(t.symbol).css({left:e.left+"px",top:e.top+"px"});u={id:"svgPath","fill-opacity":t.Style.Opacity,"stroke-width":t.Style.BorderWidth,fill:t.Style.Color,transform:i.rotate,stroke:t.Style.BorderColor};u.d=i.direction;s=document.createElementNS(o,"path");n(s).attr(u).appendTo(r);t.symbol[0].appendChild(r)},drawCircle:function(n,t){var r,i,u;n.lgndCtx?(u=this.lgndCtx,this.lgndCtx=t!=undefined?t:this.lgndCtx,this.lgndCtx.save(),this.lgndCtx.beginPath(),this.lgndCtx.arc(n.cx,n.cy,n.r,0,2*Math.PI),this.lgndCtx.fillStyle=n.fill,this.lgndCtx.globalAlpha=n.opacity,this.lgndCtx.fill(),this.lgndCtx.lineWidth=n["stroke-width"],this.lgndCtx.strokeStyle=n.stroke,this.lgndCtx.stroke(),this.lgndCtx.restore(),this.lgndCtx=u):(r=this.ctx,this.ctx=t!=undefined?t:this.ctx,this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.cx,n.cy,n.r,0,2*Math.PI),this.ctx.fillStyle=n.fill,this.ctx.globalAlpha=n.opacity,this.ctx.fill(),this.ctx.lineWidth=n["stroke-width"],i=n["stroke-dasharray"]?n["stroke-dasharray"].split(","):!1,i&&this.ctx.setLineDash(i),this.ctx.strokeStyle=n.stroke,this.ctx.stroke(),this.ctx.restore(),this.ctx=r)},drawPolyline:function(n){var i,t;for(this.ctx.save(),this.ctx.beginPath(),i=n.points.split(" "),t=0;t
0){i=0;do i++;while($(document).find("#"+this._rootId+"_svg"+i).length>0);t=this._rootId+"_svg"+i}this.svgObj.setAttribute("id",t)},function(n){function t(n,t,i,r){var u=r*Math.PI/180,f=n+i*Math.cos(u),e=t+i*Math.sin(u);return[f,e]}ej.EjSvgRender.prototype={drawPath:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"path");n(r).attr(t).appendTo(i)}},createLegendSvg:function(n){return this.svgLink="http://www.w3.org/2000/svg",this.legendsvgObj=document.createElementNS(this.svgLink,"svg"),this._rootId=jQuery(n).attr("id"),this.legendsvgObj.setAttribute("id","legend_"+this._rootId+"_svg"),this.legendsvgObj},drawPolyline:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"polyline");n(r).attr(t).appendTo(i)}},drawLine:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"line");n(r).attr(t);n(r).appendTo(i)}},drawPolygon:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"polygon");n(r).attr(t);n(r).appendTo(i)}},drawCircle:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"circle");n(r).attr(t).appendTo(i)}},drawEllipse:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"ellipse");n(r).attr(t).appendTo(i)}},drawRect:function(t,i){if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var r=document.createElementNS(this.svgLink,"rect");n(r).attr(t).appendTo(i)}},drawCylinder:function(t,i,r){var d,ot,y;if(n("#"+t.id).length>0)n("#"+t.id).attr(t);else{var rt=t.x,s=t.y,g=t.id,h=t.fill,st=h,ht=this.checkColorFormat(h);ht||(h=ej.datavisualization.Chart.prototype.colorNameToHex(h));var a,v,p,w,l,e,b,nt,ut=2,tt,k,ft=0,et=0,c,it={svgRenderer:this};if(r.isColumn==!0){var o=t.width/2,u=t.height,f=o/4;l=tt=rt;e=f0)this._textAttrReplace(t,i,u);else{if(e=document.createElementNS(this.svgLink,"text"),o=n(e),jQuery.type(i)=="array")for(h=0,o.attr(t),f=0;f0&&f.length==i.length)for(u=0;u0)n(i).find("#"+t.id).attr(t);else{var r=this.createDefs(),u=this.createClipPath({id:t.id});t.id=t.id+"_Rect";this.drawRect(t,u);this.append(u,r);this.append(r,i)}},drawCircularClipPath:function(n,t){var i=this.createDefs(),r=this.createClipPath({id:n.id});this.drawCircle(n,r);this.append(r,i);this.append(i,t)},append:function(t,i){n(t).appendTo(i)},_setAttr:function(t,i){n(t).attr(i)}};ej.EjSvgRender.commonChartEventArgs={cancel:!1,data:null};ej.EjSvgRender.utils={_decimalPlaces:function(n){var t=(""+n).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},_getLabelContent:function(n,t,i){switch(t._categoryValueType){case"number":var r=ej.util.isNullOrUndefined(t.labelFormat)?null:t.labelFormat.match("{value}");return ej.util.isNullOrUndefined(t.labelFormat)?t.labels[Math.floor(n)]:r!=null?t.labelFormat.replace("{value}",t.labels[Math.floor(n)]):ej.format(t.labels[Math.floor(n)],t.labelFormat,i);case"date":return ej.format(new Date(t.labels[Math.floor(n)]),ej.util.isNullOrUndefined(t.labelFormat)?"dd/MM/yyyy":t.labelFormat,i);case"string":return t.labels[Math.floor(n)];default:return""}},_getSeriesTemplateSize:function(t,i,r,u,f){var t,i,a=f.model.AreaType,o=f._id,v=n.inArray(r,f.model._visibleSeries),s,h,e,c,l;s=n("#template_group_"+o).length!=0?n("#template_group_"+o):n("<\/div>").attr("id","template_group_"+o);s.css("position","relative").css("z-index",1e3);h=n("#"+r.marker.dataLabel.template).clone();n(h).attr("id",r.marker.dataLabel.template+"_"+v+"_"+i+"_"+o);e=n(h);e.css("position","absolute");t.count=1;c={series:r,point:t};e.html(e.html().parseTemplate(c));l=a=="cartesianaxes"||!r.enableAnimation||r.type.toLowerCase()=="pyramid"||r.type.toLowerCase()=="funnel"?"block":"none";e.css("display",l).appendTo(n(s));n(s).appendTo("#"+o);t.size={height:e.height(),width:e.width()};u?((ej.util.isNullOrUndefined(r.LeftLabelMaxHeight)||r.LeftLabelMaxHeight
0&&t.xValue){var i=t.xValue-o[n-1].xValue;i!=0&&(u=Math.min(u,i))}}):(h=ej.util.isNullOrUndefined(r)?e.xAxis.visibleRange.min:r,s=o[0].xValue-h,s!=0&&(u=Math.min(u,s))))}),u==Number.MAX_VALUE&&(u=1),u},_getSeriesMaxLabel:function(t){var i={width:0,height:0},s=n(this.svgObject).width(),e=[],o,h,r,f,u;if(t.labels.length>0){for(u=0;u")!=-1?f=a.split("
"):f.push(a),u=0;u")!=-1||typeof r=="object"))for(e=0,f=typeof r=="object"?r:r.split("
"),u=0;u")!=-1&&t.orientation=="vertical"?(ai=t.visibleLabels[e].Text.split("
"),vi=this._getHighestLabel(t,n(this.svgObject).width(),ai),g=this._measureText(vi,n(this.svgObject).width(),t.font,t.labelRotation)):g=this._measureText(t.visibleLabels[e].Text,n(this.svgObject).width(),t.font,t.labelRotation),r.widthot?ot:r.width),r.rows=1,r.maxWidth=r.width,r.maxHeight=r.height,!rr&&(f||h)&&(yt=0,h=="rotate45"?yt=45:h=="rotate90"&&(yt=90),f=f!=null||ii=="vertical"?f:yt,t.rotationValue=f,f)){if(o=ej.isNullOrUndefined(o)?"":o,pi=this._measureText(o,n(this.svgObject).width(),t.font,t.labelRotation),(t.enableTrim||h=="trim")&&pi.width>ot&&o!="")for(a=o,p=1;p=ot){a=a.toString().substring(0,p-1)+"... ";o=a;break}o=(h||t.enableTrim)&&f?typeof o=="string"&&o.indexOf("
")!=-1?this._getHighestLabel(t,i,null):o:this._getHighestLabel(t,i,null);tt=this.rotatedLabel(t,i,f,o);t.labelIntersectAction&&t.labelIntersectAction.toLowerCase()=="multiplerows"&&(k=r.height+tt.height);r.height=t.rowsCount&&t.rowsCount>1&&f!=90&&t.enableTrim?t.rowsCount*r.height:tt.height;r.width=tt.width}if(t.labelIntersectAction)if(t.rowsCount&&(h=="none"||h=="trim"||h=="hide"||f==0)&&(h!="wrap"||t.enableTrim)&&(h!="wrapbyword"||t.enableTrim)&&(h!="multiplerows"||t.enableTrim))f==0&&(r.rows=t.rowsCount,r.height=t.rowsCount*r.height);else if(h=="wrap"||h=="wrapbyword"){if(vt=vt?vt:ej.datavisualization.Chart.LabelPlacement.BetweenTicks,vt.toLowerCase()=="betweenticks"?(st=1+(t.labels.length>1?-.5:0),st=li?parseFloat(st.toFixed(li)):parseFloat(st.toFixed(ej.EjSvgRender.utils._decimalPlaces(y.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(y.interval))),rt=Math.ceil((st-y.min)/(y.max-y.min)*t.length)):rt=Math.ceil(t.length/et.length),t.orientation=="horizontal"){var ht=0,wi=0,bi,ut=t.labels.length>0&&t.valueType!="datetimecategory"?t.labels:t.visibleLabels,er=t.width?t.width/ut.length:(t.length-(i.svgWidth-t.length)-20)/ut.length;for(t.labelsCollection=[],c=0;c")!=-1?wt=bt.split("
"):wt.push(bt),s=0;sl&&!f&&(ct=ct-1);r.height=f?tt.height+ct*tt.height:r.height+ct*r.height}else if(h=="multiplerows"){var or=i._getLegendSpace(),sr=i.model.border.width,wr=i.model._axes[1],hr=n(i.svgObject).width()-i.model.margin.left-i.model.margin.right;ri=t.title;ui=ri.text;var cr=ui==""||!t.visible?0:this._measureText(ui,hr,ri.font).height+2*i.model.elementSpacing,lr=i.model.elementSpacing+cr+t.majorTickLines.size+t.axisLine.width,ar=i._getYValues(i.model._visibleSeries[0].points),vr=Math.max.apply(Math,ar),ki=i.model._axes[1],g=this._measureText(vr,n(this.svgObject).width(),ki.font,ki.labelRotation),yr=or.rightLegendWidth+lr+g.width+i.model.margin.right+i.model.margin.left+2*sr,di=n(i.svgObject).width()-yr;if(ci){var ft=0,w=[],l=0,bi,wi=0;for(e=0;e")!=-1?d=u.Text.split("
"):d.push(u);it=d.length;oi=!1;k=Math.max(k,ft);ft=u.y=r.height;var a=this._measureText(u.Text,n(this.svgObject).width(),t.font),v=a.height,si=Math.abs(Math.floor((u.Value-y.min)/y.delta*di));if(w.length>0)for(dt=w,gt=!0,lt=0;lt=si-nt)ft=u.y+v,u.y+=v,pt++,lt+1==dt.length&&(gt=!1);else if(c+1==b.length){gt=s==it-1?!1:!0;break}}}if(u.y=ft,l=ft/v-1,w[l]==undefined&&(w[l]=[]),it==1)w[l].push(u);else for(s=0;sk?r.height:k;v>0&&(r.rows=ur?Math.round((k+v)/v):Math.round(k/v));r.rows=f?r.rows-1:r.rows;r.rows<1&&(r.rows=1)}if(!ci){for(ti=0,e=0;esi-v/2&&t.visibleLabels[at].y==u.y&&(ti=u.y+nt,u.y=ti,oi=!0);ir=ti}r.width=r.width+ir+(oi?5:0)}}}return r},rotatedLabel:function(n,t,i,r,u){var e={"font-size":n.font.size,transform:"rotate("+i+",0,0)","font-family":n.font.fontFamily,"font-style":n.font.fontStyle,rotateAngle:"rotate("+i+"deg)","text-anchor":"middle"};t=u?this.chartObj:t;var f=t.svgRenderer.createText(e,r),o=Math.ceil(this._measureBounds(f,t).height),s=Math.ceil(this._measureBounds(f,t).width);return{height:o,width:s}},_getTransform:function(n,t,i){var r,u,f,e;return i?(r=t.x,u=n.y,f=t.width,e=n.height):(r=n.x,u=t.y,f=n.width,e=t.height),{x:r,y:u,width:f,height:e}},_calculateroundedCorner:function(n,t,i,r,u,f){var e=t.x,o=t.y,c=5,l=this.chartObj.model.enableCanvasRendering&&!f?c/4:0,s=t.width,h=t.height,v,y,p,w,a;return typeof n!="object"||ej.util.isNullOrUndefined(n)?v=y=p=w=n:(v=n.topLeft,y=n.bottomLeft,p=n.topRight,w=n.bottomRight),v=ej.util.isNullOrUndefined(t.rx)?v:t.rx,y=ej.util.isNullOrUndefined(t.rx)?y:t.rx,p=ej.util.isNullOrUndefined(t.ry)?p:t.ry,w=ej.util.isNullOrUndefined(t.ry)?w:t.ry,a="M "+e+" "+(v+o)+" Q "+e+" "+o+" "+(e+v)+" "+o+" ",i&&r=="top"&&(a+="L "+(e+s/2-c/2+l)+" "+o+" L "+(e+s/2+l-u)+" "+(o-c)+" L "+(e+s/2+c/2+l)+" "+o+" "),a+="L "+(e+s-p)+" "+o+" Q "+(e+s)+" "+o+" "+(e+s)+" "+(o+p)+" ",i&&r=="right"&&(a+="L "+(e+s)+" "+(o+h/2-c/2+l)+" L "+(e+s+c)+" "+(o+h/2+l-u)+" L "+(e+s)+" "+(o+h/2+c/2+l)+" "),a+="L "+(e+s)+" "+(o+h-w)+" Q "+(e+s)+" "+(o+h)+" "+(e+s-w)+" "+(o+h)+" ",i&&r=="bottom"&&(a+="L "+(e+s/2-c/2+l)+" "+(o+h)+" L "+(e+s/2+l-u)+" "+(o+h+c)+" L "+(e+s/2+c/2+l)+" "+(o+h)+" "),a+="L "+(e+y)+" "+(o+h)+" Q "+e+" "+(o+h)+" "+e+" "+(o+h-y)+" ",i&&r=="left"&&(a+="L "+e+" "+(o+h/2-c/2+l)+" L "+(e-c)+" "+(o+h/2+l-u)+" L "+e+" "+(o+h/2+c/2+l)+" "),a+("L "+e+" "+(v+o)+" z")},browserInfo:function(){var n={},t=[],i={webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,msie:/(msie) ([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var r in i)if(i.hasOwnProperty(r)&&(t=navigator.userAgent.match(i[r]),t)){n.name=t[1].toLowerCase();n.version=t[2];!navigator.userAgent.match(/Trident\/7\./)||(n.name="msie");break}return n.isMSPointerEnabled=n.name=="msie"&&n.version>9&&window.navigator.msPointerEnabled,n.pointerEnabled=window.navigator.pointerEnabled,n},_measureText:function(t,i,r){var s=n(document).find("#measureTex"),u,e,o,f,v;n("#measureTex").css("display","block");s.length==0?(u=document.createElement("text"),n(u).attr({id:"measureTex"}),document.body.appendChild(u)):u=s[0];var h=null,c=null,l=null,a=null;if(typeof t=="string"&&(t.indexOf("<")>-1||t.indexOf(">")>-1)){for(e=t.split(" "),o=0;o")==-1&&(e[o]=e[o].replace(/[<>]/g,"&"));t=e.join(" ")}return/<\/?[a-z][\s\S]*>/.test(t)?n(u).html(t):u.textContent=t,r!=undefined&&r.size==undefined&&(f=r,f=f.split(" "),h=f[0],c=f[1],l=f[2],a=f[3]),r!=null&&(u.style.fontSize=r.size>0?r.size+"px":r.size?r.size:c,u.style.fontStyle&&(u.style.fontStyle=r.fontStyle?r.fontStyle:h),u.style.fontFamily=r.fontFamily?r.fontFamily:l,window.navigator.userAgent.indexOf("MSIE 8.0")==-1&&(u.style.fontWeight=r.fontWeight?r.fontWeight:a)),u.style.backgroundColor="white",u.style.position="absolute",u.style.top=-100,u.style.left=0,u.style.visibility="hidden",u.style.whiteSpace="nowrap",i&&(u.style.maxwidth=i+"px"),v={width:u.offsetWidth,height:u.offsetHeight},n("#measureTex").css("display","none"),v},_trimText:function(n,t,i){var f,r,e,u;for(r=n.toString(),e=r.length,u=1;u=t)return r.substring(0,u-1)+"... ";return n},_measureBounds:function(t,i){i.model.enableCanvasRendering?n(document.body).append(t):(i.svgRenderer.append(t,i.svgObject),i.svgRenderer.append(i.svgObject,i.element));var r=t.getBoundingClientRect(),u={left:r.left,right:r.right,top:r.top,bottom:r.bottom,width:r.right-r.left,height:r.bottom-r.top};return n(t).remove(),u},_drawAxesBoundsClipPath:function(t,i,r){var u,s=n(t),f=this._getTransform(i.xAxis,i.yAxis,r.model.requireInvertedAxes),h=r.model.AreaType=="polaraxes"?n(r.svgObject).width():f.width,c=r.model.AreaType=="polaraxes"?n(r.svgObject).height():f.height,e=r.model.requireInvertedAxes?i.yAxis.plotOffset:i.xAxis.plotOffset,o=r.model.requireInvertedAxes?i.xAxis.plotOffset:i.yAxis.plotOffset;r.model.AreaType=="polaraxes"?(u={id:t?t.id+"_ClipRect":"",cx:r.model.centerX,cy:r.model.centerY,r:r.model.Radius,fill:"white","stroke-width":1,stroke:"transparent"},r.svgRenderer.drawCircularClipPath(u,t)):(u={id:t?t.id+"_ClipRect":"",x:0-e,y:0-o,width:h+2*e,height:c+2*o,fill:"white","stroke-width":1,stroke:"transparent"},r.svgRenderer.drawClipPath(u,t));u.id.indexOf("_Rect")&&(u.id=u.id.replace("_Rect",""));s.attr("clip-path","url(#"+u.id+")")},_getStringBuilder:function(){var n=[],t=0;return{append:function(i){return n[t++]=i,this},remove:function(t,i){return n.splice(t,i||1),this},insert:function(t,i){return n.splice(t,0,i),this},toString:function(t){return n.join(t||"")}}},_addRegion:function(t,i,r,u,f){var s=r.type,e=n.inArray(r,t.model._visibleSeries),o;e>=0&&(o={SeriesIndex:e,Region:{PointIndex:f,Bounds:i},type:s},t.model.chartRegions.push(o))},AddRegion:function(n,t,i){if(i){var r={isStripLine:i,Region:{Bounds:t}};n.model.chartRegions.push(r)}},_getSvgXY:function(n,t,i,r){var u,f;return r.model.requireInvertedAxes?(u=n+i.yAxis.x,f=t+i.xAxis.y):(u=n+i.xAxis.x,f=t+i.yAxis.y),{X:u,Y:f}},_getPoint:function(n,t){var f=n.xValue,i,r,u,e=t.type=="boxandwhisker"?n.YValues:n.YValues[0],s=t._isTransposed?t.xAxis.height:t.xAxis.width,o=t._isTransposed?t.yAxis.width:t.yAxis.height;return n.location={},t._hiloTypes&&(i=n.YValues[1],i=t.yAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(i==0?1:i,t.xAxis.logBase):i,i=this._getPointXY(i,t.yAxis.visibleRange,t.yAxis.isInversed),n.location.low=(t._isTransposed?i:1-i)*o),r=t.xAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(f==0?1:f,t.xAxis.logBase):f,u=t.yAxis._valueType=="logarithmic"?ej.EjSvgRender.utils._logBase(e==0?1:e,t.xAxis.logBase):e,r=this._getPointXY(r,t.xAxis.visibleRange,t.xAxis.isInversed),u=this._getPointXY(u,t.yAxis.visibleRange,t.yAxis.isInversed),n.location.X=t._isTransposed?u*o:r*s,n.location.Y=t._isTransposed?(1-r)*s:(1-u)*o,n.location},_getPointXY:function(n,t,i){var r=0;return r=(n-t.min)/t.delta,r=isNaN(r)?0:r,i?1-r:r},_dateTimeLabelFormat:function(n,t){switch(n.toLowerCase()){case"years":return t._labelFormat="MMM, yyyy";case"months":return t._labelFormat="dd, MMM";case"days":return t._labelFormat="dd/MM/yyyy";case"hours":return t._labelFormat="dd, hh:mm";case"minutes":return t._labelFormat="hh:mm";case"seconds":return t._labelFormat="mm:ss";case"milliseconds":return t._labelFormat="ss:fff";default:return t._labelFormat="dd/MM/yyyy"}},_getFontString:function(n){return n==null&&(n={}),n.FontFamily||(n.FontFamily="Arial"),n.FontStyle||(n.FontStyle="Normal"),n.Size||(n.Size="12px"),n.FontStyle+" "+n.Size+" "+n.FontFamily},_valueToVector:function(n,t){return this._coefficientToVector(this._valueToPolarCoefficient(n,t))},TransformToVisible:function(n,t,i,r){t=n.xAxis._valueType=="logarithmic"&&t>0?Math.log(t,n.xAxis.logBase):t;i=n.xAxis._valueType=="logarithmic"&&i>0?Math.log(i,n.yAxis.logBase):i;var u=r.model.Radius*this._valueToCoefficient(n.yAxis,i),f=this._valueToVector(n.xAxis,t);return{X:r.model.centerX+u*f.X,Y:r.model.centerY+u*f.Y}},Transform3DToVisible:function(n,t,i,r){var u,s,h,f;if(n.xAxis!=null&&n.yAxis!=null){if(u=n.xAxis._valueType.toLowerCase(),f=u=="logarithmic"?!0:!1,t=t=f&&t>0?math.log(t,s):t,i=i,r.model.requireInvertedAxes){var e=r.model.m_AreaBounds.X,o=r.model.m_AreaBounds.Y,c=e+n.yAxis.width*ej.EjSvgRender.utils._valueToCoefficient(n.yAxis,i,r),l=o+n.xAxis.height*(1-ej.EjSvgRender.utils._valueToCoefficient(n.xAxis,t,r));return{X:c,Y:l}}var e=n.xAxis.x,o=n.yAxis.y,t=e+Math.round(n.xAxis.width*ej.EjSvgRender.utils._valueToCoefficient(n.xAxis,t,r)),i=o+Math.round(n.yAxis.height*(1-ej.EjSvgRender.utils._valueToCoefficient(n.yAxis,i,r)));return{X:t,Y:i}}return new h(0,0)},_valueToPolarCoefficient:function(n,t){var f=n.visibleRange.min,r,u,i;return n._valueType!="category"?(r=n.visibleRange.max-n.visibleRange.interval-n.visibleRange.min,u=n.visibleLabels.length-1):(r=n.visibleRange.delta,u=n.visibleLabels.length),i=(t-f)/r,i*=1-1/u,i=isNaN(i)?0:i,n.isInversed?i:1-i},_coefficientToVector:function(n){var t=Math.PI*(1.5-2*n);return{X:Math.cos(t),Y:Math.sin(t)}},_valueToCoefficient:function(n,t,i){var r;return r=i&&i.model.AreaType=="polaraxes"?t:n._valueType&&n._valueType.toLowerCase()=="logarithmic"?ej.EjSvgRender.utils._logBase(t==0?1:t,n.logBase):t,r=(r-n.visibleRange.min)/n.visibleRange.delta,n.isInversed?1-r:r},_getBoundingClientRect:function(t,i,r,u){var f=t.getBoundingClientRect(),s=n("#"+i.svgObject.id)[0].getBoundingClientRect(),e,o,h,c;return u?(e=this._getTransform(r.xAxis,r.yAxis,!0).x,o=this._getTransform(r.xAxis,r.yAxis,!0).y):(e=this._getTransform(r.xAxis,r.yAxis,!1).x,o=this._getTransform(r.xAxis,r.yAxis,!1).y),h=f.left-(e+s.left),c=f.top-(o+s.top),{x:h,y:c,width:f.right-f.left,height:f.bottom-f.top}},_minMax:function(n,t,i){return n>i?i:n=t.min},_logBase:function(n,t){return Math.log(n)/Math.log(t)},_correctRect:function(n,t,i,r){return{X:Math.min(n,i),Y:Math.min(t,r),Width:Math.abs(i-n),Height:Math.abs(r-t)}},_getValuebyPoint:function(n,t,i,r){var e=r?i.xAxis.height:i.xAxis.width,o=r?i.yAxis.width:i.yAxis.height,u=i.xAxis.isInversed?1-n/e:n/e,f=i.yAxis.isInversed?1-t/o:t/o;return u=u*i.xAxis.visibleRange.delta+i.xAxis.visibleRange.min,f=f*i.yAxis.visibleRange.delta+i.yAxis.visibleRange.min,u=i.xAxis._valueType=="logarithmic"?Math.pow(i.xAxis.logBase,u):u,f=i.yAxis._valueType=="logarithmic"?Math.pow(i.yAxis.logBase,f):f,{PointX:u,PointY:f}}};ej.EjSvgRender.chartTransform3D={ToRadial:Math.PI/180,transform3D:function(n){return this.vector||(this.vector=new(new ej.Ej3DRender).vector3D,this.matrixobj=new(new ej.Ej3DRender).matrix3D,this.bsptreeobj=new(new ej.Ej3DRender).BSPTreeBuilder,this.polygon=new(new ej.Ej3DRender).polygon3D),{mViewport:n,Rotation:0,Tilt:0,Depth:0,PerspectiveAngle:0,needUpdate:!0,centeredMatrix:this.matrixobj.getIdentity(),Perspective:this.matrixobj.getIdentity(),resultMatrix:this.matrixobj.getIdentity(),viewMatrix:this.matrixobj.getIdentity(),Depth:0}},transform:function(n){this.setCenter(this.vector.vector3D(n.mViewport.Width/2,n.mViewport.Height/2,n.Depth/2),n);this.setViewMatrix(this.matrixobj.transform(0,0,n.Depth),n);this.setViewMatrix(this.matrixobj.getMatrixMultiplication(n.viewMatrix,this.matrixobj.turn(-this.ToRadial*n.Rotation)),n);this.setViewMatrix(this.matrixobj.getMatrixMultiplication(n.viewMatrix,this.matrixobj.tilt(-this.ToRadial*n.Tilt)),n);this.updatePerspective(n.PerspectiveAngle,n);n.needUpdate=!0},updatePerspective:function(n,t){var i=(t.mViewport.Width+t.mViewport.Height)*Math.tan(this.degreeToRadianConverter((180-Math.abs(n%181))/2))+t.Depth/1;t.Perspective[0][0]=i;t.Perspective[1][1]=i;t.Perspective[2][3]=1;t.Perspective[3][3]=i},degreeToRadianConverter:function(n){return n*Math.PI/180},toScreen:function(n,t,i,r){var i=i?i:this.result;return r?(this.matrixobj=r,n=r.getMatrixVectorMutiple(i(t,r),n)):(t.chartObj=this.matrixobj,n=this.matrixobj.getMatrixVectorMutiple(i(t),n)),{x:n.x,y:n.y}},setViewMatrix:function(n,t){t.viewMatrix!=n&&(t.viewMatrix=n,t.needUpdate=!0)},setCenteredMatrix:function(n,t){t.viewMatrix!=n&&(t.centeredMatrix=n,t.needUpdate=!0)},result:function(n,t){var i=n.chartObj?n.chartObj:this.matrixobj,r;return(i||(i=t),!n.needUpdate)?n.resultMatrix:(r=this.matrixobj?this.matrixobj:t,n.resultMatrix=i.getMatrixMultiplication(r.getInvertal(n.centeredMatrix),n.Perspective),n.resultMatrix=i.getMatrixMultiplication(n.resultMatrix,n.viewMatrix),n.resultMatrix=i.getMatrixMultiplication(n.resultMatrix,n.centeredMatrix),n.needUpdate=!1,n.resultMatrix)},setCenter:function(n,t){t.centeredMatrix=this.matrixobj.transform(-n.x,-n.y,-n.z);t.needUpdate=!0},toPlane:function(n,t,i){var r=this.vector.vector3D(n.x,n.y,0),u=this.vector.vector3DPlus(r,this.vector.vector3D(0,0,1));return r=this.vector.vector3DMultiply(i.centeredMatrix,r),u=this.vector.vector3DMultiply(i.centeredMatrix,u),r=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.Perspective),r),u=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.Perspective),u),r=this.polygon.getPoint(r,this.vector.vector3DMinus(u-r)),r=this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.viewMatrix),r),this.vector.vector3DMultiply(this.matrixobj.getInvertal(i.centeredMatrix),r)}};ej.EjSvgRender.chartSymbol={_drawSeriesType:function(n,t,i){var r=i.model.series[t.SeriesIndex].type.toLowerCase(),u=i.legendItem.drawType;r=ej.util.isNullOrUndefined(u)?r:u;switch(r){case ej.datavisualization.Chart.Type.Line:return ej.util.isNullOrUndefined(u)?this._drawLine(n,t,i,i.gLegendItemEle):this._drawStraightLine(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StepLine:return this._drawStepLine(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StackingArea:case ej.datavisualization.Chart.Type.StackingArea100:case ej.datavisualization.Chart.Type.Area:case ej.datavisualization.Chart.Type.RangeArea:return this._drawArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.StepArea:return this._drawStepArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Bar:case ej.datavisualization.Chart.Type.StackingBar100:case ej.datavisualization.Chart.Type.StackingBar:return this._drawBar(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Pie:return this._drawPie(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Doughnut:return this._drawDoughnut(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Hilo:return this._drawHilo(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.HiloOpenClose:return this._drawHiloOpenClose(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Candle:return this._drawCandle(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Pyramid:return this._drawPyramid(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Funnel:return this._drawFunnel(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Spline:return this._drawSpline(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.SplineArea:case ej.datavisualization.Chart.Type.StackingSplineArea:case ej.datavisualization.Chart.Type.StackingSplineArea100:return this._drawSplineArea(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.RangeColumn:return this._drawRangeColumn(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Bubble:case ej.datavisualization.Chart.Type.Scatter:return this._drawCircle(n,t,i,i.gLegendItemEle);case ej.datavisualization.Chart.Type.Column:case ej.datavisualization.Chart.Type.StackingColumn:case ej.datavisualization.Chart.Type.StackingColumn100:case ej.datavisualization.Chart.Type.Waterfall:return this._drawColumn(n,t,i,i.gLegendItemEle);default:return this._drawRectangle(n,t,i,i.gLegendItemEle)}},_drawCircle:function(n,t,i,r){var o=i.svgRenderer,h=i.svgObject,f=t.ShapeSize,e=Math.sqrt(f.height*f.height+f.width*f.width)/2,u=t.Style,s={id:t.ID,cx:n.startX,cy:n.startY,r:e,fill:u.Color,"stroke-width":u.BorderWidth,stroke:u.BorderColor,opacity:u.Opacity,visibility:u.Visibility,lgndCtx:t.context};return o.drawCircle(s,r),n.startX-e},_drawLeftArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2+u.width)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/2)+" "+n.startY+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2+u.width)+" "+(n.startY+u.height/4)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawRightArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/2+u.width)+" "+n.startY+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2+u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX-u.width/2)+" "+(n.startY+u.height/4)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawUpArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+n.startX+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawDownArrow:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2-u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+n.startX+" "+(n.startY-u.height/2+u.height)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2+u.height/2)+" L "+(n.startX-u.width/2+u.width/4)+" "+(n.startY-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawCross:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+u.width/2)+" "+n.startY+" M "+n.startX+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2);e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawHorizLine:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+u.width/2)+" "+n.startY;e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawVertLine:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+n.startX+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2);e={id:t.ID,opacity:t.Style.Opacity,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawTriangle:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" L "+n.startX+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawInvertedTriangle:function(n,t,i,r){var f=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,e="M "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width/2)+" "+(n.startY-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" z";var h=n.startX,c=n.startY,o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:e};f.drawPath(o,r)},_drawHexagon:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+-u.width/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+n.startY+" L "+(n.startX+u.width/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawWedge:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX-u.width)+" "+n.startY+" L "+(n.startX+u.width)+" "+(n.startY+-u.height/2)+" L "+(n.startX+3*(u.width/4))+" "+n.startY+" L "+(n.startX+u.width)+" "+(n.startY+u.height/2)+" L "+(n.startX-u.width)+" "+n.startY+" z";e={"stroke-linecap":"miter","stroke-miterlimit":u.width/4,id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawPentagon:function(n,t,i,r){for(var l,a,v=i.svgRenderer,p=i.svgObject,u=t.ShapeSize,o=Math.sqrt(u.height*u.height+u.width*u.width)/2,f=ej.EjSvgRender.utils._getStringBuilder(),e=0;e<=5;e++){var y=e*72,s=Math.PI/180*y,h=o*Math.cos(s),c=o*Math.sin(s);e==0?f.append("M "+(n.startX+h)+" "+(n.startY+c)+" "):f.append("L "+(n.startX+h)+" "+(n.startY+c)+" ")}f.append("z");l=f.toString();a={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:l};v.drawPath(a,r)},_drawStar:function(n,t,i,r){var o=i.svgRenderer,u=t.ShapeSize,s=i.svgObject,f,e;f="M "+(n.startX+u.width/3)+" "+(n.startY+-u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/6)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/6)+" L "+(n.startX+-u.width/3)+" "+(n.startY+-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/3)+" "+(n.startY+-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawRectangle:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2)+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawTrapezoid:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/4)+" L "+(n.startX+-u.width/2+u.width)+" "+(n.startY+-u.height/2)+" L "+(n.startX+-u.width/2+u.width)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+(n.startY+u.height/4)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawDiamond:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;f="M "+(n.startX+-u.width/2)+" "+n.startY+" L "+n.startX+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+n.startY+" L "+n.startX+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2)+" "+n.startY+" z";e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,d:f};o.drawPath(e,r)},_drawEllipse:function(n,t,i,r){var f=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,e=n.startX,o=n.startY,s={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,lgndCtx:t.context,cx:e,cy:o,rx:u.width,ry:u.height/2};f.drawEllipse(s,r)},_drawImage:function(n,t,i,r){var f=i.svgRenderer,e=i.svgObject,u=t.ShapeSize,o=n.startX+-u.width/2,s=n.startY+-u.width/2,h=u.width,c=u.height,l={id:e.id+"_image"+t.PointIndex,height:c,width:h,href:t.Imageurl,x:o,y:s,visibility:"visible",lgndCtx:t.context};f.drawImage(l,r)},_drawStraightLine:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawLine:function(n,t,i,r){var o=i.svgRenderer,l=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,s;if(i.model.enableCanvasRendering===!0){e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" M "+(n.startX+Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10);var s={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},h="M "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" a "+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+2*Math.floor(u.width/3)+" 0 a"+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+-2*Math.floor(u.width/3)+" 0",c={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:h,lgndCtx:!0};o.drawPath(s,r);o.drawPath(c,r)}else e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/10)+" L "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" M "+(n.startX+Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10)+" M "+(n.startX-Math.floor(u.width/3))+" "+(n.startY+u.height/10)+" a "+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+2*Math.floor(u.width/3)+" 0 a"+Math.floor(u.width/3)+" "+Math.floor(u.width/3)+" 0 1 0 "+-2*Math.floor(u.width/3)+" 0",s={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},o.drawPath(s,r);return n.startX+-u.width/2+-f/4},_drawColumn:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX-3*(u.width/5))+" "+(n.startY-u.height/5)+" L "+(n.startX+3*(-u.width/10))+" "+(n.startY-u.height/5)+" L "+(n.startX+3*(-u.width/10))+" "+(n.startY+u.height/2)+" L "+(n.startX-3*(u.height/5))+" "+(n.startY+u.height/2)+" Z M "+(n.startX+-u.width/10-u.width/20)+" "+(n.startY-u.height/4-f/2)+" L "+(n.startX+u.width/10+u.width/20)+" "+(n.startY-u.height/4-f/2)+" L "+(n.startX+u.width/10+u.width/20)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/10-u.width/20)+" "+(n.startY+u.height/2)+" Z M "+(n.startX+3*(u.width/10))+" "+n.startY+" L "+(n.startX+3*(u.width/5))+" "+n.startY+" L "+(n.startX+3*(u.width/5))+" "+(n.startY+u.height/2)+" L "+(n.startX+3*(u.width/10))+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX-3*(u.width/5)},_drawRangeColumn:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY-u.height/2-f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+-f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2+f/4)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/5},_drawBar:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY-3*(u.height/5))+" L "+(n.startX+3*(u.width/10))+" "+(n.startY-3*(u.height/5))+" L "+(n.startX+3*(u.width/10))+" "+(n.startY-3*(u.height/10))+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY-3*(u.height/10))+" Z M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY-u.height/5+f/20)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY-u.height/5+f/20)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/10+f/20)+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/10+f/20)+" Z M "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/5+f/10)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/5+f/10)+" L "+(n.startX+-u.width/4)+" "+(n.startY+u.height/2+f/10)+" L "+(n.startX-u.width/2+-f/4)+" "+(n.startY+u.height/2+f/10)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawStepLine:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+u.width/10)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+u.width/10)+" "+n.startY+" L "+(n.startX+-u.width/10)+" "+n.startY+" L "+(n.startX+-u.width/10)+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/2)+" L "+(n.startX+u.width/5)+" "+(n.startY+-u.height/2)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2)+"L "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" L"+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2),o={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2-f/4},_drawSpline:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;return f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/5)+" Q "+n.startX+" "+(n.startY-u.height)+" "+n.startX+" "+(n.startY+u.height/5)+" M "+n.startX+" "+(n.startY+u.height/5)+" Q "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" "+(n.startX+u.width/2)+" "+(n.startY-u.height/2),e={id:t.ID,fill:"transparent","stroke-width":t.Style.BorderWidth*2,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:f,lgndCtx:!0},o.drawPath(e,r),n.startX-u.width/2},_drawSplineArea:function(n,t,i,r){var o=i.svgRenderer,s=i.svgObject,u=t.ShapeSize,f,e;return f="M "+(n.startX-u.width/2)+" "+(n.startY+u.height/5)+" Q "+n.startX+" "+(n.startY-u.height)+" "+n.startX+" "+(n.startY+u.height/5)+" Z M "+n.startX+" "+(n.startY+u.height/5)+" Q "+(n.startX+u.width/2)+" "+(n.startY+u.height/2)+" "+(n.startX+u.width/2)+" "+(n.startY-u.height/2)+" Z",e={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:f,lgndCtx:!0},o.drawPath(e,r),n.startX-u.width/2},_drawArea:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX-u.width/2-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/4+-f/8)+" "+(n.startY-u.height/2)+" L "+n.startX+" "+(n.startY+u.height/4)+" L "+(n.startX+u.width/4+f/8)+" "+(n.startY+-u.height/2+u.height/4)+" L "+(n.startX+u.height/2+f/4)+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX-u.width/2-f/4},_drawStepArea:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/2)+" L "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+-u.height/2)+" L "+(n.startX-u.width/4)+" "+(n.startY-u.height/2)+" L "+(n.startX-u.width/4)+" "+(n.startY-u.height/4)+" L "+(n.startX+u.width/4)+" "+(n.startY-u.height/4)+" L "+(n.startX+u.width/4)+" "+n.startX+" L "+(n.startX+u.width/2+f/4)+" "+n.startY+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawPyramid:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/4)+" "+(n.startY+u.height/2+f/8)+" L "+n.startX+" "+(n.startY+-u.height/2+-f/8)+" L "+(n.startX+u.width/2+f/4)+" "+(n.startY+u.height/2+f/8)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/4},_drawFunnel:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2+-f/5)+" "+(n.startY+-u.height/2+-f/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY+u.height/4)+" L "+(n.startX+-u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/5)+" "+(n.startY+u.height/4)+" L "+(n.startX+u.width/2+f/5)+" "+(n.startY+-u.height/2+-f/4)+" Z",o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.BorderColor,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2+-f/5},_drawCandle:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+-u.width/2)+" "+(n.startY+u.height/4+f/8)+" L "+(n.startX+u.width/2)+" "+(n.startY+u.height/4+f/8)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+f/8)+" L "+(n.startX+-u.width/2)+" "+(n.startY+-u.height/2+f/8)+" Z M "+n.startX+" "+(n.startY+-u.height/2+f/8)+" L "+n.startX+" "+(n.startY+-u.height/2+-f/4)+" M "+n.startX+" "+(n.startY+u.height/4+f/8)+" L "+n.startX+" "+(n.startY+u.height/4+f/2),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+-u.width/2},_drawHilo:function(n,t,i,r){var s=i.svgRenderer,h=i.svgObject,u=t.ShapeSize,f=t.ElementSpace,e,o;return e="M "+(n.startX+u.width/2)+" "+(n.startY+u.height/2+f/4)+" L "+(n.startX+u.width/2)+" "+(n.startY+-u.height/2+-f/4),o={id:t.ID,fill:t.Style.Color,"stroke-width":t.Style.BorderWidth,stroke:t.Style.Color,opacity:t.Style.Opacity,visibility:t.Style.Visibility,d:e,lgndCtx:!0},s.drawPath(o,r),n.startX+u.width/2},_drawHiloOpenClose:function(n,i,r,u){var h=r.svgRenderer,c=r.svgObject,f=i.ShapeSize,l=t(18,12,4.0710678118654755,270),e=i.ElementSpace,o,s;return o="M "+n.startX+" "+(n.startY-3*(f.height/10))+" L "+(n.startX-f.width/2-e/4)+" "+(n.startY-3*(f.height/10))+" M "+n.startX+" "+(n.startY-f.height/2-e/4)+" L "+n.startX+" "+(n.startY+f.height/2+e/4)+" M "+n.startX+" "+(n.startY+3*(f.height/10))+" L "+(n.startX+f.width/2+e/4)+" "+(n.startY+3*(f.height/10)),s={id:i.ID,fill:"transparent","stroke-width":i.Style.BorderWidth,stroke:i.Style.Color,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:o,lgndCtx:!0},h.drawPath(s,u),n.startX-f.width/2},_drawDoughnut:function(n,i,r,u){var o=r.svgRenderer,y=r.svgObject,e=i.ShapeSize,c=i.ElementSpace,f=Math.sqrt(e.height*e.width)/2;f=f+c/5;var s=t(n.startX,n.startY,f,270),h=t(n.startX+e.width/10,n.startY,f,270),c=i.ElementSpace,l="M "+n.startX+" "+n.startY+" L "+(n.startX+f)+" "+n.startY+" A "+f+" "+f+" 0 1 1 "+s[0]+" "+s[1]+" Z M "+(n.startX+e.width/10)+" "+(n.startY-e.height/10)+" L"+(n.startX+f)+" "+(n.startY-e.height/10)+" A "+f+" "+f+" 0 0 0 "+h[0]+" "+h[1]+" Z",a={id:i.ID,fill:i.Style.Color,"stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:l,lgndCtx:!0},v={id:i.ID,cx:n.startX,cy:n.startY,r:f/2,lgndCtx:!0,fill:"white","stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility};return o.drawPath(a,u),o.drawCircle(v,u),n.startX-f},_drawPie:function(n,i,r,u){var h=r.svgRenderer,v=r.svgObject,e=i.ShapeSize,c=i.ElementSpace,f=Math.sqrt(e.height*e.width)/2;f=f+c/5;var o=t(n.startX,n.startY,f,270),s=t(n.startX+e.width/10,n.startY,f,270),c=i.ElementSpace,l="M "+n.startX+" "+n.startY+" L "+(n.startX+f)+" "+n.startY+" A "+f+" "+f+" 0 1 1 "+o[0]+" "+o[1]+" Z M "+(n.startX+e.width/10)+" "+(n.startY-e.height/10)+" L"+(n.startX+f)+" "+(n.startY-e.height/10)+" A "+f+" "+f+" 0 0 0 "+s[0]+" "+s[1]+" Z",a={id:i.ID,fill:i.Style.Color,"stroke-width":i.Style.BorderWidth,stroke:i.Style.BorderColor,opacity:i.Style.Opacity,visibility:i.Style.Visibility,d:l,lgndCtx:!0};return h.drawPath(a,u),n.startX-f}};ej.EjSvgRender.seriesPalette={defaultMetro:["#E94649","#F6B53F","#6FAAB0","#C4C24A","#FB954F","#005277","#8BC652","#69D2E7","#E27F2D","#6A4B82"],defaultHighContrast:["#F93A00","#44E2D6","#DDD10D","#0AA368","#0556CB","#AB40B2","#5F930A","#D12E41","#E0670E","#008FFF"],defaultOffice:["#005277","#8BC652","#6A4B82","#E94649","#6FAAB0","#F7B74F","#C4C24A","#EF863F","#69D2E7","#FFD13E"],defaultMaterial:["#663AB6","#EB3F79","#F8AB1D","#B82E3D","#049CB1","#F2424F","#C2C924","#3DA046","#074D67","#02A8F4"],defaultGradient:{borderColors:["#F34649","#F6D321","#6EB9B0","#CBC26A","#FBAF4F","#E2CDB1","#FFC0B7","#68E1E6","#E1A62D","#9C6EBF"],seriesColors:[[{color:"#F34649",colorStop:"0%"},{color:"#B74143",colorStop:"100%"}],[{color:"#F6D321",colorStop:"0%"},{color:"#F6AE26",colorStop:"100%"}],[{color:"#6EB9B0",colorStop:"0%"},{color:"#3F77BD",colorStop:"100%"}],[{color:"#CBC26A",colorStop:"0%"},{color:"#9AAD21",colorStop:"100%"}],[{color:"#FBAF4F",colorStop:"0%"},{color:"#F07542",colorStop:"100%"}],[{color:"#E2CDB1",colorStop:"0%"},{color:"#AAA089",colorStop:"100%"}],[{color:"#8BC652",colorStop:"0%"},{color:"#6F9E41",colorStop:"100%"}],[{color:"#68E1E6",colorStop:"0%"},{color:"#3D9CBE",colorStop:"100%"}],[{color:"#E1A62D",colorStop:"0%"},{color:"#B66824",colorStop:"100%"}],[{color:"#9C6EBF",colorStop:"0%"}],[{color:"#593F6D",colorStop:"100%"}]]},blueMetro:["#005378","#006691","#007EB5","#0D97D4","#00AEFF","#14B9FF","#54CCFF","#87DBFF","#ADE5FF","#C5EDFF"],blueGradient:{seriesColors:[[{color:"#005277",colorStop:"0%"},{color:"#00304F",colorStop:"100%"}],[{color:"#006590",colorStop:"0%"},{color:"#004068",colorStop:"100%"}],[{color:"#007DB4",colorStop:"0%"},{color:"#00558B",colorStop:"100%"}],[{color:"#0D97D4",colorStop:"0%"},{color:"#057FC7",colorStop:"100%"}],[{color:"#00ADFE",colorStop:"0%"},{color:"#008BE9",colorStop:"100%"}],[{color:"#14B8FE",colorStop:"0%"},{color:"#0798EB",colorStop:"100%"}],[{color:"#53CBFF",colorStop:"0%"},{color:"#35AFEB",colorStop:"100%"}],[{color:"#86DAFF",colorStop:"0%"},{color:"#64C0EC",colorStop:"100%"}],[{color:"#ACE5FF",colorStop:"0%"},{color:"#8DCEED",colorStop:"100%"}],[{color:"#C4ECFF",colorStop:"0%"}],[{color:"#A3D1E6",colorStop:"100%"}]],borderColors:["#005277","#006590","#007DB4","#0D97D4","#00ADFE","#14B8FE","#53CBFF","#86DAFF","#ACE5FF","#C4ECFF"]},greenMetro:["#496612","#597B15","#709A1B","#87B62A","#9AD926","#A6DC37","#BCE654","#C8E780","#D5EFA5","#E2F3BE"],greenGradient:{seriesColors:[[{color:"#5C7F16",colorStop:"0%"},{color:"#384C08",colorStop:"100%"}],[{color:"#6A9319",colorStop:"0%"},{color:"#486009",colorStop:"100%"}],[{color:"#739D1C",colorStop:"0%"},{color:"#57760B",colorStop:"100%"}],[{color:"#90B546",colorStop:"0%"},{color:"#6E9215",colorStop:"100%"}],[{color:"#9AD826",colorStop:"0%"},{color:"#75A010",colorStop:"100%"}],[{color:"#A5DB36",colorStop:"0%"},{color:"#8EB91D",colorStop:"100%"}],[{color:"#BBE554",colorStop:"0%"},{color:"#A4C849",colorStop:"100%"}],[{color:"#C8E780",colorStop:"0%"},{color:"#B4D072",colorStop:"100%"}],[{color:"#D4EEA5",colorStop:"0%"},{color:"#BFD593",colorStop:"100%"}],[{color:"#E1F2BD",colorStop:"0%"}],[{color:"#C8D7A8",colorStop:"100%"}]],borderColors:["#5C7F16","#6A9319","#739D1C","#90B546","#9AD826","#A5DB36","#BBE554","#C8E780","#D4EEA5","#E1F2BD"]},sandleMetro:["#6C450C","#82520D","#A36812","#C07F1F","#E69719","#E89A2B","#EEB564","#F3CB93","#F7DEB4","#F9E6CA"],sandleGradient:{seriesColors:[[{color:"#7F602F",colorStop:"0%"},{color:"#512D04",colorStop:"100%"}],[{color:"#986827",colorStop:"0%"},{color:"#673803",colorStop:"100%"}],[{color:"#A16C1F",colorStop:"0%"},{color:"#8A4B05",colorStop:"100%"}],[{color:"#BF812A",colorStop:"0%"},{color:"#AD630D",colorStop:"100%"}],[{color:"#E49519",colorStop:"0%"},{color:"#B86607",colorStop:"100%"}],[{color:"#E7992A",colorStop:"0%"},{color:"#D7780D",colorStop:"100%"}],[{color:"#EDB463",colorStop:"0%"},{color:"#D98F31",colorStop:"100%"}],[{color:"#F2CA92",colorStop:"0%"},{color:"#DAAC6F",colorStop:"100%"}],[{color:"#F6DDB3",colorStop:"0%"},{color:"#DABE8F",colorStop:"100%"}],[{color:"#F8E5C9",colorStop:"0%"}],[{color:"#DDBE92",colorStop:"100%"}]],borderColors:["#7F602F","#986827","#A16C1F","#BF812A","#E49519","#E7992A","#EDB463","#F2CA92","#F6DDB3","#F8E5C9"]}};ej.EjSvgRender.themes={flatlight:{highlightColor:"black",background:"transparent",legend:{font:{color:"#282828"},title:{font:{color:"#282828"}}},title:{font:{color:"#565656"},subTitle:{font:{color:"#565656"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#565656"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMetro,colors:ej.EjSvgRender.seriesPalette.defaultMetro},flatdark:{highlightColor:"white",background:"#111111",legend:{font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}}},title:{font:{color:"#C9C9C9"},subTitle:{font:{color:"#C9C9C9"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:0,ry:0,fill:"#B5B5B5",border:{color:"#B5B5B5",width:1},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#C9C9C9"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMetro,colors:ej.EjSvgRender.seriesPalette.defaultMetro},gradientlight:{highlightColor:"black",background:"transparent",legend:{font:{color:"#282828"},title:{font:{color:"#282828"}}},title:{font:{color:"#565656"},subTitle:{font:{color:"#565656"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#282828",axisLine:{color:"#8E8E8E"},font:{color:"#282828"},title:{font:{color:"#282828"}},crosshairLabel:{rx:3,ry:3,fill:"#3D3D3D",border:{color:"#3D3D3D",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#565656"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.defaultGradient.seriesColors},gradientdark:{highlightColor:"white",background:"#111111",legend:{font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}}},title:{font:{color:"#C9C9C9"},subTitle:{font:{color:"#C9C9C9"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#C9C9C9",axisLine:{color:"#AAAAAA"},font:{color:"#C9C9C9"},title:{font:{color:"#C9C9C9"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#C9C9C9"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.defaultGradient.seriesColors},highcontrast01:{highlightColor:"white",background:"#111111",legend:{font:{color:"#ffffff"},title:{font:{color:"#ffffff"}}},title:{font:{color:"#ffffff"},subTitle:{font:{color:"#ffffff"}}},primaryXAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#ffffff",axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryX:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},primaryYAxis:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},labelBorder:{color:"#AAAAAA"},multiLevelLabelsColor:"#AAAAAA",multiLevelLabelsFontColor:"#ffffff",axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},secondaryY:{majorGridLines:{color:"#333333"},majorTickLines:{color:"#AAAAAA"},minorGridLines:{color:"#333333"},minorTickLines:{color:"#AAAAAA"},axisLine:{color:"#AAAAAA"},font:{color:"#ffffff"},title:{font:{color:"#ffffff"}},crosshairLabel:{rx:3,ry:3,fill:"#B5B5B5",border:{color:"#B5B5B5",width:2},font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#444444"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#ffffff"}}},errorBar:{fill:"#ffffff",cap:{fill:"#ffffff"}},connectorLine:{color:"#C9C9C9"}},crosshair:{line:{width:1,color:"White"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultHighContrast,colors:ej.EjSvgRender.seriesPalette.defaultHighContrast},material:{highlightColor:"black",background:"transparent",legend:{font:{color:"#333333"},title:{font:{color:"#333333"}}},title:{font:{color:"#333333"},subTitle:{font:{color:"#333333"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#333333"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultMaterial,colors:ej.EjSvgRender.seriesPalette.defaultMaterial},office365:{highlightColor:"black",background:"transparent",legend:{font:{color:"#333333"},title:{font:{color:"#333333"}}},title:{font:{color:"#333333"},subTitle:{font:{color:"#333333"}}},primaryXAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryX:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},primaryYAxis:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},labelBorder:{color:"#8E8E8E"},multiLevelLabelsColor:"#8E8E8E",multiLevelLabelsFontColor:"#333333",axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",borderWidth:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},secondaryY:{majorGridLines:{color:"#DFDFDF"},majorTickLines:{color:"#8E8E8E"},minorGridLines:{color:"#DFDFDF"},minorTickLines:{color:"#8E8E8E"},axisLine:{color:"#8E8E8E"},font:{color:"#333333"},title:{font:{color:"#333333"}},crosshairLabel:{rx:0,ry:0,border:{color:"#3D3D3D",width:1},fill:"#3D3D3D",font:{fontFamily:"Segoe UI",fontStyle:"Normal",size:"13px",fontWeight:"regular",opacity:1,color:"#DBDBDB"}}},commonSeriesOptions:{marker:{dataLabel:{font:{color:"#333333"}}},errorBar:{fill:"#000000",cap:{fill:"#000000"}},connectorLine:{color:"#565656"}},crosshair:{line:{width:1,color:"Black"}},seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.defaultOffice,colors:ej.EjSvgRender.seriesPalette.defaultOffice}};n.extend(ej.EjSvgRender.themes,{azure:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueMetro,colors:ej.EjSvgRender.seriesPalette.blueMetro},azuredark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueMetro,colors:ej.EjSvgRender.seriesPalette.blueMetro},"gradient-azure":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.blueGradient.seriesColors},"gradient-azuredark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.blueGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.blueGradient.seriesColors},lime:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenMetro,colors:ej.EjSvgRender.seriesPalette.greenMetro},limedark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenMetro,colors:ej.EjSvgRender.seriesPalette.greenMetro},"gradient-lime":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.greenGradient.seriesColors},"gradient-limedark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.greenGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.greenGradient.seriesColors},saffron:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleMetro,colors:ej.EjSvgRender.seriesPalette.sandleMetro},saffrondark:{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleMetro,colors:ej.EjSvgRender.seriesPalette.sandleMetro},"gradient-saffron":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.sandleGradient.seriesColors},"gradient-saffrondark":{seriesBorderDefaultColors:ej.EjSvgRender.seriesPalette.sandleGradient.borderColors,colors:ej.EjSvgRender.seriesPalette.sandleGradient.seriesColors}})}(jQuery);ej.axisTypes={};ej.EjAxisRenderer=function(){};var _sideBySeriesPadding=function(n,t,i,r){for(var u,f,o=ej.DataManager(n.model._visibleSeries,ej.Query().sortBy("_zOrder")).executeLocal(),s=!1,h=o.length,c=r.orientation.toLowerCase(),e=0;eNumber.MAX_VALUE?Number.MAX_VALUE:i+f,r.padding=f):r.padding=0,{startPadding:t,endPadding:i}};ej.EjStripline=function(n){this.chart=n},function(n){function t(t,i){var r=function(){};return r.prototype=new t,n.extend(r.prototype,i),r}var i,r,u,f,e;ej.EjAxisRenderer.prototype={_seriesMinMax:function(t,i,r,u,f){var vt=i.orientation.toLowerCase(),ti=r.length,yt,d,e,l,w,lt,at,s,o,nt,tt,rt,ui,li,fi,y,ei,gt,oi,ni,ut;if(f.seriesCollection=ej.util.isNullOrUndefined(f.seriesCollection)?{}:f.seriesCollection,ti>0&&t.model._hasSeriesPoints&&r[0].points.length>0||this.chartObj.model.indicators[0]._points.length>0){var pt,a,wt,v,bt,kt,ii,si={maxX:null,minX:null},hi={maxY:null,minY:null},k=si.maxX,b=si.minX,c=hi.maxY,h=hi.minY,dt,ft,et,ot;for(e=0;e0&&(dt=r[e].visibility.toLowerCase(),ft=r[e].points.length,dt==="visible"&&ft>0))if(vt=="horizontal"&&!t.model.requireInvertedAxes||vt=="vertical"&&t.model.requireInvertedAxes){for(wt=pt=r[e]._visiblePoints[0].xValue,s=0;so&&(wt=o),pt0&&(k=r[e].maxX,b=r[e].minX);b>r[e].minX&&(b=r[e].minX);ko.YValues[nt]&&(a=o.YValues[nt]),vo.YValues[0][tt]&&(lt=o.YValues[0][tt]),ata?a:lt;v=ato.YValues[0]&&(a=o.YValues[0]),v0&&(c=r[e].maxY,h=r[e].minY);h>r[e].minY&&(h=r[e].minY);cy.min||h==null)&&(h=y.min),(cy.min&&(h=y.min),cy.min||h==null)&&(h=y.min),(c0?h=0:(h=0,c+=1)),ot!="column"&&ot!="bar"||i.startFromZero||(ei=i.range&&i.range.max||c,gt=i.range&&i.range.interval||this.calculateNumericNiceInterval(ei-h,i,null,ei),c+=gt,h-gt<0&&h>0||fi?h=0:h-=gt),oi=c-h,fi=!1,i.range=u=="double"?this._getDoubleAutoRange(i,h,c,oi):this._getLogAutoRange(i,h,c,oi))}else i.setRange?(bt=i.range.min==null||i.range.min==undefined?0:i.range.min,kt=i.range.max==null||i.range.max==undefined?5:i.range.max,ii=kt-bt,i.range=u=="double"?this._getDoubleAutoRange(i,bt,kt,ii):this._getLogAutoRange(i,bt,kt,ii)):i.range={min:0,max:5,interval:1,Delta:4};ni=n.extend({},ej.EjSvgRender.commonChartEventArgs);ni.data={range:i.range,axis:i};this.chartObj._trigger("axesRangeCalculate",ni);ut=ni.data.range;i.range={min:ut.min,max:ut.max,interval:ut.interval,delta:ut.max-ut.min}},_calculateTrendLineRange:function(n,t,i){for(var f,u,e,r,l,s,h,c,a=i.length,o=0;o1&&(l=r.points.length-1,t.range.min=t.range.min>r.minY?r.minY:t.range.min,t.range.max=t.range.max0)&&this.chartObj.model.AreaType!="polaraxes"&&!this.chartObj.model.disableZoom){t.zoomFactor=t.zoomFactor>1?1:t.zoomFactor<0?0:t.zoomFactor;t.zoomPosition=t.zoomPosition<0?0:t.zoomPosition>1?1:t.zoomPosition;e=t.actualRange;t.isInversed?(u=t.actualRange.max-t.zoomPosition*t.actualRange.delta,f=u-t.zoomFactor*t.actualRange.delta):(u=t.actualRange.min+t.zoomPosition*t.actualRange.delta,f=u+t.zoomFactor*t.actualRange.delta);ue.max&&(u=u-(f-e.max),f=e.max);o=new Date(u);s=new Date(f);u==f&&(o=new Date(Date.parse(o)-2592e6),s=new Date(Date.parse(s)+2592e6));var c=Math.min(o.getTime(),s.getTime()),l=Math.max(o.getTime(),s.getTime()),h=t.enableAutoIntervalOnZooming?this.calculateDateTimeNiceInterval(t,o,s):{interval:t._interval,intervalType:t._intervalType},a=this._increaseDateTimeInterval(o,h.interval,h.intervalType).getTime()-c;if(r)return{min:c,max:l,interval:a};t._intervalType=h.intervalType;t.visibleRange.min=c;t.visibleRange.max=l;t.visibleRange.interval=a;t.visibleRange.delta=Math.abs(t.visibleRange.max-t.visibleRange.min);t._interval=h.interval}},_calculateAxisLabels:function(t){for(var u,f=t.enableAutoIntervalOnZooming?t.visibleRange.min:t.actualRange.min,r,i=this.chartObj.zoomed||t.zoomed||!t.setRange?this.AlignRangeStart(new Date(f),t._interval,t._intervalType).getTime():t.visibleRange.min;i<=t.visibleRange.max;)i>=t.visibleRange.min&&i<=t.visibleRange.max&&(u=ej.format(new Date(i),t.labelFormat?t.labelFormat:ej.EjSvgRender.utils._dateTimeLabelFormat(t._intervalType,t),this.chartObj.model.locale),r=n.extend({},ej.EjSvgRender.commonChartEventArgs),r.data={label:{Text:u,Value:i},axis:t},this.chartObj._trigger("axesLabelRendering",r),t.visibleLabels.push({Value:i,Text:r.data.label.Text})),i=this._increaseDateTimeInterval(new Date(i),t._interval,t._intervalType).getTime(),t.visibleLabels[t.visibleLabels.length-1]=t.visibleLabels[t.visibleLabels.length-1];t._LableMaxWidth=ej.EjSvgRender.utils._getMaxLabelWidth(t,this.chartObj)},calculateDateTimeNiceInterval:function(n,t,i){var u=Math.abs((t.getTime()-i.getTime())/864e5),r=this.calculateNumericNiceInterval(u/365,n,"years"),f,e,o,s;return r>=1?{interval:r,intervalType:"Years"}:(r=this.calculateNumericNiceInterval(u/30,n,"months"),r>=1)?{interval:r,intervalType:"Months"}:(r=this.calculateNumericNiceInterval(u,n,"days"),r>=1)?{interval:r,intervalType:"Days"}:(f=u*24,r=this.calculateNumericNiceInterval(f,n,"hours"),r>=1)?{interval:r,intervalType:"Hours"}:(e=u*1440,r=this.calculateNumericNiceInterval(e,n,"minutes"),r>=1)?{interval:r,intervalType:"Minutes"}:(o=u*86400,r=this.calculateNumericNiceInterval(o,n,"seconds"),r>=1)?{interval:r,intervalType:"Seconds"}:(s=u*864e5,r=this.calculateNumericNiceInterval(s,n,"milliseconds"),r>=1?{interval:r,intervalType:"Milliseconds"}:void 0)},calculateNumericNiceInterval:function(n,t,i,r){var o=this.GetActualDesiredIntervalsCount(t,t.length),u=n/o,f,e;if(t._valueType=="double"&&t.desiredIntervals!=null)return u;var h=Math.pow(10,Math.floor(ej.EjSvgRender.utils._logBase(u,10))),s=[10,5,2,1],c=r||t.range&&t.range.max;for(f=0;fc?e:u;u=e}return u},GetActualDesiredIntervalsCount:function(n,t){if(ej.util.isNullOrUndefined(n.desiredIntervals)){var i=(n.orientation.toLowerCase()=="horizontal"?.533:1)*n.maximumLabels;return Math.max(t*(i/100),1)}return n.desiredIntervals},_calculateRange:function(t,i,r){var p,st,f,o,tt,v,it,rt,ut,ct,b,a,l,e,s,k,ft,ht,y,lt,ot,d;if(!this.chartObj.zoomed){if(p=new Date,r.seriesCollection=ej.util.isNullOrUndefined(r.seriesCollection)?{}:r.seriesCollection,st=t.orientation.toLowerCase(),i.length>0&&this.chartObj.model._hasSeriesPoints&&i[0].points.length>0||this.chartObj.model.indicators[0]._points.length>0){var g,h,c,w,u={maxX:null,minX:null},et={maxY:null,minY:null},nt;for(f=0;f0&&i[f].visibility.toLowerCase()==="visible"&&i[f].points.length>0){for(tt=o.type.toLowerCase().indexOf("spline")!=-1,st=="vertical"&&tt?(b=0,a=i[f]._visiblePoints,tt&&(l=o._name=o.name||"series"+f,r.seriesCollection[l]={},a=ej.ejSplineSeries.prototype._isVisiblePoints(o),it=r.seriesCollection[l].naturalSpline=ej.ejSplineSeries.prototype.naturalSpline(a,o,0,t),o.type.toLowerCase()=="splinerangearea"&&(rt=r.seriesCollection[l].naturalSpline1=ej.ejSplineSeries.prototype.naturalSpline(a,o,1,t)),r.seriesCollection[l].controlPoints=[],ut=ej.ejSplineSeries.prototype.getBezierControlPoints,ct=a.filter(function(n){return!ej.isNullOrUndefined(n.YValues[0])&&!isNaN(n.YValues[0])})),c=h=tt?ct[0].YValues[0]:a[0].YValues[0]):(w=g=new Date(i[f].points[0].xValue),c=h=i[f].points[0].YValues[0]),e=0;ei[f].points[e].xValue&&(w=i[f].points[e].xValue),gi[f].points[e].YValues[0]&&(h=i[f].points[e].YValues[0]),ci[f].minX&&(u.minX=typeof i[f].minX!="number"?i[f].minX:u.minX);(u.maxX=u.maxX==null&&typeof i[f].maxX!="number"?i[f].maxX:u.maxX)i[f].minY&&(et.minY=i[f].minY);et.maxYnew Date(ft.min)||u.minX==null)&&(u.minX=new Date(ft.min)),(u.maxX20&&(f=u.toString(),u=parseFloat(f.substring(0,f.indexOf("."))+f.substring(f.indexOf("."),22))),(ej.util.isNullOrUndefined(t.range.interval)||t.range.interval<0)&&(t.range.interval=u),t.range.delta=e,t.range},_calculatePadding:function(n,t,i){var e=i.min,u=i.max,s=t.rangePadding.toLowerCase(),r=i.interval,o,h,f;t.setRange||n.zoomed||(s=="normal"?(o=0,e<0?(e=0,o=i.min+i.min/20,h=r+o%r,.365*r>=h&&(o-=r),o%r<0&&(o=o-r-o%r)):(o=e<5/6*u?0:e-(u-e)/2,o%r>0&&(o-=o%r)),f=u>0?u+(u-e)/20>Number.MAX_VALUE?Number.MAX_VALUE:u+(u-e)/20:u-(u-e)/20,h=r-f%r,.365*r>=h&&(f=f+r>Number.MAX_VALUE?Number.MAX_VALUE:f+r),f%r>0&&(f=f+r-f%r>Number.MAX_VALUE?Number.MAX_VALUE:f+r-f%r),o<=0&&(r=this.calculateNumericNiceInterval(f-o,t),f=Math.ceil(f/r)*r>Number.MAX_VALUE?Number.MAX_VALUE:Math.ceil(f/r)*r),e=t.roundingPlaces?parseFloat(o.toFixed(t.roundingPlaces)):parseFloat(o.toFixed(ej.EjSvgRender.utils._decimalPlaces(r)==0?1:ej.EjSvgRender.utils._decimalPlaces(r))),u=t.roundingPlaces?parseFloat(f.toFixed(t.roundingPlaces)):parseFloat(f.toFixed(ej.EjSvgRender.utils._decimalPlaces(r)==0?1:ej.EjSvgRender.utils._decimalPlaces(r)))):(s=="additional"||s=="round")&&(e=Math.floor(e/r)*r,u=Math.ceil(u/r)*r>Number.MAX_VALUE?Number.MAX_VALUE:Math.ceil(u/r)*r,s=="additional"&&(e-=r,u=u+r>=Number.MAX_VALUE?Number.MAX_VALUE:u+r)));t.actualRange.min=e;t.actualRange.max=u;t.actualRange.interval=r;t.range.min=e;t.range.max=u;t.range.interval=r;t.actualRange.delta=u-e>=Number.MAX_VALUE?u:u-e;this._calculateVisibleRange(t);t.rangePadding=t._rangePadding},_calculateVisibleRange:function(t,i,r){var e,u,f,o,s;if(this.chartObj=i?i:this.chartObj,t.visibleRange=r?t.visibleRange:n.extend(!0,{},t.actualRange),(t.zoomFactor<1||t.zoomPosition>0)&&this.chartObj.model.AreaType!="polaraxes"&&!this.chartObj.model.disableZoom){if(e=t.actualRange,t.zoomFactor=t.zoomFactor>1?1:t.zoomFactor<0?0:t.zoomFactor,t.zoomPosition=t.zoomPosition<0?0:t.zoomPosition>1?1:t.zoomPosition,t.isInversed?(u=t.actualRange.max-t.zoomPosition*t.actualRange.delta,f=u-t.zoomFactor*t.actualRange.delta):(u=t.actualRange.min+t.zoomPosition*t.actualRange.delta,f=u+t.zoomFactor*t.actualRange.delta),ue.max&&(u=u-(f-e.max),f=e.max),o=Math.abs(f-u),s=t.enableAutoIntervalOnZooming?this.calculateNumericNiceInterval(o,t):t.actualRange.interval,r)return{min:Math.min(u,f),max:Math.max(u,f),delta:o,interval:s};t.visibleRange.min=Math.min(u,f);t.visibleRange.max=Math.max(u,f);t.visibleRange.delta=o;t.visibleRange.interval=s;t.zoomed=this.chartObj.zoomed===null||this.chartObj.zoomed===undefined?!0:this.chartObj.zoomed}},_calculateAxisLabels:function(t,i){var r,u,e=i.roundingPlaces,a,y,h,f,v=this.chartObj.model.locale,p,k=i.labelFormat,o,w=20,c,l,s,b;for(i.visibleRange.min=parseFloat(i.visibleRange.min.toPrecision(14)),i.visibleRange.max=parseFloat(i.visibleRange.max.toPrecision(14)),r=t.zoomed||i.zoomed||i.padding?i.visibleRange.min-i.visibleRange.min%i.visibleRange.interval:i.visibleRange.min;r<=i.visibleRange.max;r+=i.visibleRange.interval)if(ej.EjSvgRender.utils._inside(r,i.visibleRange)){if(r==p)break;p=r;a=r.toString().split(0).length-1>10?10:20;r=parseFloat(r.toFixed(!e&&e>a?e:a));y=e?r:parseFloat(r.toFixed(ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)));f=e?parseFloat(r.toFixed(e)):parseFloat(r.toFixed(ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)));u=i.labelFormat;u?u.match("{value}")!=null?f=u.replace("{value}",f):(u.indexOf("e")==0||u.indexOf("E")==0)&&u.indexOf("ej.format")==-1?(o=u.match(/(\d+)/g),o=o==null?6:o>w?w:o,f=f.toExponential(o)):(u.indexOf("ej.format")!=-1&&(u=u.substring(u.indexOf("(")+1,u.indexOf(")"))),f=ej.format(f,u,v)):f=i.isStacked100?f+"%":v?f.toLocaleString(v):f;h=n.extend({},ej.EjSvgRender.commonChartEventArgs);h.data={label:{Text:f,Value:r},axis:i};t._trigger("axesLabelRendering",h);i.visibleLabels.push({Value:y,Text:h.data.label.Text})}for(c=0,l=i.visibleLabels,s=0;s").length,c=Math.max(b,c));i.rowsCount=c;i._LableMaxWidth=ej.EjSvgRender.utils._getMaxLabelWidth(i,this.chartObj)},_calculateRanges:function(n,t,i,r){this.chartObj=n;this._saveRange(n,t);this._calculateRange(n,t,i,r);t._range=t.range;n.model._drawTrendline&&this._calculateTrendLineRange(n,t,i);this._calculatePadding(n,t,t.range);t.maximumLabels>0&&this._calculateAxisLabels(n,t)}});ej.axisTypes.double=r;u=t(ej.EjAxisRenderer,{_getRoundValue:function(n,t,i){return(i?Math.ceil(n/t):Math.floor(n/t))*t},calculateLogNiceInterval:function(n,t){for(var u,e=this.GetActualDesiredIntervalsCount(t,t.length),i=n,o=Math.pow(10,Math.floor(ej.EjSvgRender.utils._logBase(i,10))),f=[10,5,2,1],r=0;r0)&&this.chartObj.model.AreaType!="polaraxes"&&!this.chartObj.model.disableZoom){t.zoomFactor=t.zoomFactor>1?1:t.zoomFactor<0?0:t.zoomFactor;t.zoomPosition=t.zoomPosition<0?0:t.zoomPosition>1?1:t.zoomPosition;e=t.actualRange;t.isInversed?(u=t.actualRange.max-t.zoomPosition*t.actualRange.delta,f=u-t.zoomFactor*t.actualRange.delta):(u=t.actualRange.min+t.zoomPosition*t.actualRange.delta,f=u+t.zoomFactor*t.actualRange.delta);ue.max&&(u=u-(f-e.max),f=e.max);var s=Math.abs(f-u),o=t.enableAutoIntervalOnZooming?this.calculateLogNiceInterval(s,t):t.visibleRange.interval,h=ej.util.isNullOrUndefined(t.roundingPlaces)?ej.EjSvgRender.utils._decimalPlaces(t.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(t.visibleRange.interval):t.roundingPlaces;if(o=parseFloat(t.visibleRange.interval.toFixed(h)),r)return{min:Math.min(u,f),max:Math.max(u,f),interval:o};t.visibleRange.interval=o;t.visibleRange.min=Math.min(u,f);t.visibleRange.max=Math.max(u,f);t.visibleRange.delta=s;t.zoomed=this.chartObj.zoomed===null||this.chartObj.zoomed===undefined?!0:this.chartObj.zoomed}},_calculateAxisLabels:function(t,i){for(var e=i.roundingPlaces,s,f,r=t.zoomed||i.zoomed?i.visibleRange.min-i.visibleRange.min%i.visibleRange.interval:i.visibleRange.min;r<=i.visibleRange.max;r+=i.visibleRange.interval)if(ej.EjSvgRender.utils._inside(r,i.visibleRange)){var h=i.labelFormat?i.labelFormat.match("{value}"):null,u=Math.pow(i.logBase,r),o=u.toString().split(0).length-1>10?10:20;u=parseFloat(u.toFixed(!e&&e>o?e:o));s=i.labelFormat?h!=null?i.labelFormat.replace("{value}",u):ej.format(u,i.labelFormat,t.model.locale):u;f=n.extend({},ej.EjSvgRender.commonChartEventArgs);f.data={label:{Text:s,Value:r},axis:i};t._trigger("axesLabelRendering",f);i.visibleLabels.push({Value:r,Text:f.data.label.Text})}i._LableMaxWidth=ej.EjSvgRender.utils._getMaxLabelWidth(i,this.chartObj)},_calculateRanges:function(n,t,i,r){this.chartObj=n;this._calculateLogRange(n,t,i,r);n.model._drawTrendline&&this._calculateTrendLineRange(n,t,i);this._calculateLogPadding(n,t,t.actual_Range);this._calculateAxisLabels(n,t)}});ej.axisTypes.logarithmic=u;f=t(ej.EjAxisRenderer,{_calculateCategoryRange:function(t,i){var tt=this.chartObj.model.legendCollapsed==undefined?!this.chartObj.zoomed:this.chartObj.model.legendCollapsed,e,h,r,o,a,l;if(!this.chartObj.model.excludeDataUpdate||tt){var u={maxX:null,minX:0},f=[],s,y,c,b,p,k=t.isIndexed,d=this.chartObj.model.locale;if(i.length>0&&this.chartObj.model._hasSeriesPoints&&i[0].points.length>0||this.chartObj.model.indicators[0]._points.length>0){for(e=0;ea.min||u.minX==null)&&(u.minX=a.min),(u.maxX0?(c=l-1,y=this._calculateActualInterval(c,t),t.range={min:0,max:l-1,interval:y,Delta:c}):t.range||(t.range={min:0,max:6,interval:1,Delta:6})}var w=0,v,g=t.labelIntersectAction,nt=t.labelRotation;if((g!="rotate45"||g!="rotate90")&&(nt==0||nt==null))for(v=0;v").length,w=Math.max(l,w));t.rowsCount=w},_calculateActualInterval:function(n,t){return t.categoryInterval==null?Math.max(1,Math.floor(n/this.GetActualDesiredIntervalsCount(t,t.length))):t.categoryInterval},_applyRangePadding:function(n){var t,i;this.chartObj.zoomed||this.chartObj._scrollBarEnabled||n.zoomed||(t=0,this.chartObj.model.AreaType!=="polaraxes"&&(t=n.labelPlacement===null||n.labelPlacement===undefined||n.labelPlacement===""?-.5:n.labelPlacement.toLowerCase()=="betweenticks"?-.5:0),this.chartObj.scrollsvgObj||(t<0?(n.range.min=n.range.min+t,n.range.max=n.range.max-t,n.range.delta=n.range.max-n.range.min,n.actualRange=n.range):(i=_sideBySeriesPadding(this.chartObj,n.range.min,n.range.max,n),n.range.min=i.startPadding,n.range.max=i.endPadding,n.range.delta=n.range.max-n.range.min,n.actualRange=n.range)));this._calculateVisibleRange(n)},_calculateVisibleRange:function(t,i,r){var e,u,f,o;if(this.chartObj=i?i:this.chartObj,t.visibleRange=r?t.visibleRange:n.extend(!0,{},t.actualRange),(t.zoomFactor<1||t.zoomPosition>0)&&this.chartObj.model.AreaType!="polaraxes"&&!this.chartObj.model.disableZoom){t.zoomFactor=t.zoomFactor>1?1:t.zoomFactor<0?0:t.zoomFactor;t.zoomPosition=t.zoomPosition<0?0:t.zoomPosition>1?1:t.zoomPosition;e=t.actualRange;t.isInversed?(u=t.actualRange.max-t.zoomPosition*t.actualRange.delta,f=u-t.zoomFactor*t.actualRange.delta):(u=t.actualRange.min+t.zoomPosition*t.actualRange.delta,f=u+t.zoomFactor*t.actualRange.delta);ue.max&&(u=u-(f-e.max),f=e.max);var o=Math.abs(f-u),s=this._calculateActualInterval(o,t),h=Math.min(u,f),c=Math.max(u,f);if(r)return{min:h,max:c,interval:s};o=Math.abs(f-u);t.visibleRange.interval=s;t.visibleRange.min=h;t.visibleRange.max=c;t.visibleRange.delta=o;t.zoomed=this.chartObj.zoomed===null||this.chartObj.zoomed===undefined?!0:this.chartObj.zoomed}},_calculateAxisLabels:function(t){for(var f=t.visibleRange.interval,i=t.visibleRange.min-t.visibleRange.min%t.range.interval,u,r;i<=t.visibleRange.max;i+=f)ej.EjSvgRender.utils._inside(i,t.visibleRange)&&(u=Math.round(i),t.visibleLabels.push({Value:u,Text:ej.EjSvgRender.utils._getLabelContent(u,t,this.chartObj.model.locale)}),r=n.extend({},ej.EjSvgRender.commonChartEventArgs),r.data={label:t.visibleLabels[t.visibleLabels.length-1],axis:t},this.chartObj._trigger("axesLabelRendering",r),t.visibleLabels[t.visibleLabels.length-1]=r.data.label);t._LableMaxWidth=ej.EjSvgRender.utils._getMaxLabelWidth(t,this.chartObj)},_calculateRanges:function(n,t,i){this.chartObj=n;this._saveRange(n,t);this._calculateCategoryRange(t,i);t._range=t.range;n.model._drawTrendline&&this._calculateTrendLineRange(n,t,i);this._applyRangePadding(t);this._calculateAxisLabels(t)}});ej.axisTypes.category=f;e=t(ej.EjAxisRenderer,{_calculateDateTimeCategoryRange:function(t,i){for(var v={minX:0,MaxX:null},w=[],a=[],e,st,g,it,nt,c,s,rt=[],b,tt=[],ut=[],o,f,h,l,ft,r,k,d,ht,et,ot,p,y,u=0;u=0){i[u].points[r].xValue=y==0?g:i[y].points[g].xValue;break}else if(y==u-1){i[u].points[r].x==i[u].points[r].xValue?i[u].points[r].xValue=t.maxPointLength++:(et=i[u].points[r].xValue,i[u].points[r].xValue=i[u].points[et].xValue);break}st=u==0?-1:n.inArray(e.getTime(),rt);switch(t.intervalType){case"auto":w.indexOf(e.getTime())==-1&&w.push(e.getTime());break;case"years":f=e.getFullYear();break;case"months":l=e.getFullYear();o=e.getMonth();r<=0?f=r+1:(h=new Date(s[r-1]).getFullYear(),f+=l!=h?12-c+o:o-c);c=o;break;case"days":l=e.getMonth();o=e.getDate();r<=0?f=r+1:(h=new Date(s[r-1]).getMonth(),f+=l!=h?new Date(e.getFullYear(),h,1).getDate()-c+o:o-c,l==h&&(p=this._diffDate(e,new Date(s[r-1]),1),ot=new Date(e.getFullYear(),h,0).getDate(),f=p>ot?a[a.length-1]+1:f));c=o;break;case"hours":l=e.getDate();o=e.getHours();r<=0?f=r+1:(h=new Date(s[r-1]).getDate(),f+=l!=h?24-c+o:o-c,l==h&&(p=this._diffDate(e,new Date(s[r-1]),24),f=p>24?a[a.length-1]+1:f));c=o;break;case"minutes":l=e.getHours();o=e.getMinutes();r<=0?f=r+1:(h=new Date(s[r-1]).getHours(),f+=l!=h?60-c+o:o-c,l==h&&(p=this._diffDate(e,new Date(s[r-1]),1440),f=p>60?a[a.length-1]+1:f));c=o;break;case"seconds":l=e.getMinutes();o=e.getSeconds();r<=0?f=r+1:(h=new Date(s[r-1]).getMinutes(),f+=l!=h?60-c+o:o-c,l==h&&(p=this._diffDate(e,new Date(s[r-1]),86400),f=p>60?a[a.length-1]+1:f));c=o;break;case"milliseconds":l=e.getSeconds();o=e.getMilliseconds();r<=0?f=r+1:(h=new Date(s[r-1]).getSeconds(),f+=l!=h?1e3-c+o:o-c,l==h&&(p=this._diffDate(e,new Date(s[r-1]),864e5),f=p>1e3?a[a.length-1]+1:f));c=o}t.intervalType!="auto"&&w.indexOf(e.getTime())==-1&&w.push(e.getTime());f=u==0?f:a[a.length-1]+f;a.indexOf(f)==-1&&a.push(f);ut.push(f);rt.push(new Date(s[r]).getTime())}t.maxPointLength||(t.maxPointLength=t.intervalType!="auto"?a.length:w.length)}for(k=0;kw.length-1?w.length-1:t.range.max,v.MaxX=i[k].maxX,v.minX=i[k].minX,t.labels=w,t.dateLabels=ut,t._categoryValueType="date";if(v.minX==v.MaxX&&t.labelPlacement.toLowerCase()=="onticks"&&(v.MaxX+=1),i.length>0)it=v.MaxX-v.minX,nt=t.range.interval==null||t.range.interval==undefined?1:t.range.interval<1?1:Math.ceil(t.range.interval),t.range={min:v.minX,max:v.MaxX,interval:nt,Delta:it};else if(!t.setInterval)for(t.range={min:0,max:6,interval:1,Delta:6},t.dateLabels=[],y=0;y<=t.range.max;y++)t.labels.push(""),t.dateLabels.push("")},_diffDate:function(n,t,i){var r,u;return r=864e5,u=Math.abs(n.getTime()-t.getTime())/r,Math.round(u*i)},_calculateAxisLabels:function(t){for(var f=t.visibleRange.interval,o=[],c=this.chartObj.model.series.length,s,i,r,h,e,u=t.visibleRange.min-t.visibleRange.min%t.range.interval;u<=t.visibleRange.max;u+=f)ej.EjSvgRender.utils._inside(u,t.visibleRange)&&(i=Math.round(u),r=t.dateLabels,ej.util.isNullOrUndefined(r)||(r[r.length-1]-r[i]>=f&&t.visibleRange.max0)&&this.chartObj.model.AreaType!="polaraxes"&&!this.chartObj.model.disableZoom){t.zoomFactor=t.zoomFactor>1?1:t.zoomFactor<0?0:t.zoomFactor;t.zoomPosition=t.zoomPosition<0?0:t.zoomPosition>1?1:t.zoomPosition;e=t.actualRange;t.isInversed?(u=t.actualRange.max-t.zoomPosition*t.actualRange.delta,f=u-t.zoomFactor*t.actualRange.delta):(u=t.actualRange.min+t.zoomPosition*t.actualRange.delta,f=u+t.zoomFactor*t.actualRange.delta);ue.max&&(u=u-(f-e.max),f=e.max);var o=Math.abs(f-u),s=this._calculateActualInterval(o,t),h=Math.min(u,f),c=Math.max(u,f);if(r)return{min:h,max:c,interval:s};o=Math.abs(f-u);t.visibleRange.interval=s;t.visibleRange.min=h;t.visibleRange.max=c;t.visibleRange.delta=o;t.zoomed=this.chartObj.zoomed===null||this.chartObj.zoomed===undefined?!0:this.chartObj.zoomed}},_calculateRanges:function(n,t,i){this.chartObj=n;this._saveRange(n,t);this._calculateDateTimeCategoryRange(t,i);n.model._drawTrendline&&this._calculateTrendLineRange(n,t,i);t._range=t.range;this._applyRangePadding(t);this._calculateAxisLabels(t)}});ej.axisTypes.datetimecategory=e;ej.EjAxisRenderer.prototype={_drawGridLines:function(n,t,i){this.model.AreaType=="cartesianaxes"?t.orientation.toLowerCase()=="horizontal"?this._drawXAxisGridLine(n,t,i):this._drawYAxisGridLine(n,t,i):t.orientation.toLowerCase()=="horizontal"&&n==0?(this._drawPolarGridLine(t),this._drawPolarLabels(t)):n==1&&this._drawPolarCircle(t)},_drawGridRect:function(n,t,i){this.model.AreaType=="cartesianaxes"&&(t.orientation.toLowerCase()=="horizontal"?this._drawXAxisRect(n,t,i):this._drawYAxisRect(n,t))},_drawAxes:function(n,t){this.model.AreaType=="cartesianaxes"&&(t.visible&&t.orientation.toLowerCase()=="horizontal"&&(this._drawXAxisLabels(n,t),this._drawXTitle(n,t)),t.visible&&t.orientation.toLowerCase()=="vertical"&&(this._drawYAxisLabels(n,t),this._drawYTitle(n,t)))},_getSharpPath:function(n){return n%2==0?0:.5},_drawAxisLine:function(t){var u=this.svgRenderer.createGroup({id:this.svgObject.id+"_YAxisLine"}),h=ej.EjSvgRender.utils._getStringBuilder(),y=this.model.centerX,p=this.model.centerY,w=this.model.centerX,b=this.model.centerY-this.model.Radius,k="M "+y+" "+p+" L "+w+" "+b,l,f,i;if(t.visible&&t.axisLine.visible&&(f={id:this.svgObject.id+"_YAxisLines",fill:"none","stroke-width":t.axisLine.width,stroke:t.axisLine.color,opacity:t.axisLine.opacity,"stroke-dasharray":t.axisLine.dashArray,d:k},this.svgRenderer.drawPath(f,u),n(u).appendTo(this.gPolarAxisEle)),t.visible&&t.majorTickLines.visible){for(u=this.svgRenderer.createGroup({id:this.svgObject.id+"_YAxisMajorTicks"}),i=0;ithis.model.centerX?"start":"middle",f=ej.EjSvgRender.utils._measureText(c,this.model.m_AreaBounds.Height,t.font);i==.25?(r-=this.model.elementSpacing/2,o+=f.height/4):i==.5?o+=f.height:i==.75?(r+=this.model.elementSpacing/2,o+=f.height/4):i==1||i==0?o-=f.height/2:.25w&&(c=""));s={id:this.svgObject.id+"_"+t.name+"_XLabel_"+u,x:r,y:o,fill:e.color,"font-size":e.size,"font-family":e.fontFamily,"font-style":e.fontStyle,"font-weight":e.fontWeight,opacity:e.opacity,"text-anchor":a};this.svgRenderer.drawText(s,c,v);k=a=="middle"?s.x-f.width/2:a=="end"?s.x-f.width:s.x;b={x:k,y:s.y,width:f.width,height:f.height};t.visibleLabels[u].region={bounds:b,labelText:c}}n(v).appendTo(this.gXaxisEle)},_drawPolarCircle:function(t){var s,o,i,h,u,f,r,e,l,a,v,y,c;if(t.majorGridLines.visible)if(s=ej.EjSvgRender.utils._getStringBuilder(),o=this.svgRenderer.createGroup({id:this.svgObject.id+"_YAxisGrid"}),this.model.isPolar)for(i=0;i0&&i.labelPlacement.toLowerCase()=="betweenticks"?-.5:0,b=i.visibleLabels.length,i._valueType.toLowerCase()==ej.datavisualization.Chart.ValueType.Category&&ft<0&&(b=b>0?i.visibleLabels.length+1:b),e=0;e0&&ft<0?ht+ft:ht,k=i.roundingPlaces?k:parseFloat(k.toFixed(ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval))),ej.EjSvgRender.utils._inside(k,i.visibleRange)){if(i.hidePartialLabels&&(e==0||e==b-1))continue;if(i.minorGridLines.visible||i.minorTickLines.visible)if(p=this._getSharpPath(i.minorTickLines.width),ei=this._getSharpPath(i.minorGridLines.width),i._valueType=="logarithmic"){h=k;var ni=i.visibleRange.max,lt=i.visibleRange.min,ti=Math.pow(i.logBase,h-i.visibleRange.interval),oi=Math.pow(i.logBase,h),si=(oi-ti)/(i.minorTicksPerInterval+1),hi=ti+si;for(h=ej.EjSvgRender.utils._logBase(hi,i.logBase),g=0;glt&&(rt=Math.ceil((h-lt)/(ni-lt)*i.width),i.minorTickLines&&i.minorTickLines.visible&&(at=Math.floor(rt+c),et=i.tickLinesPosition!="inside"&&i.labelPosition!="inside"||i.tickLinesPosition!="inside"&&i.labelPosition=="inside"?o?Math.floor(f-i.minorTickLines.size):Math.floor(i.minorTickLines.size+f):o?Math.floor(f+i.minorTickLines.size):f-Math.floor(i.minorTickLines.size),st.append("M "+(at+p)+" "+(et+p)+" L "+(at+p)+" "+(f+p)+" ")))}else for(g=0,h=k;gi.visibleRange.min&&(rt=Math.ceil((h-i.visibleRange.min)/(i.visibleRange.max-i.visibleRange.min)*i.width),i.minorTickLines&&i.minorTickLines.visible&&(et=i.tickLinesPosition!="inside"&&i.labelPosition!="inside"||i.tickLinesPosition!="inside"&&i.labelPosition=="inside"?o?Math.floor(f-i.minorTickLines.size):Math.floor(i.minorTickLines.size+f):o?Math.floor(f+i.minorTickLines.size):Math.floor(f-i.minorTickLines.size),vt=Math.floor(rt+c),st.append("M "+(vt+p)+" "+(et+p)+" L "+(vt+p)+" "+(f+p)+" ")));if(i.majorTickLines.visible||i.majorGridLines.visible||nt.width>0){var ot=this._getSharpPath(i.majorTickLines.width),ai=this._getSharpPath(i.majorGridLines.width),ii=l[e]=this.pointX=Math.ceil(ej.EjSvgRender.utils._getPointXY(k,i.visibleRange,i.isInversed)*i.width);i.majorTickLines.visible&&(w=i.majorTickLines.size+i.axisLine.width/2,v=i.tickLinesPosition=="inside"&&i.labelPosition=="inside"||i.tickLinesPosition=="inside"&&i.labelPosition!="inside"?o?f+w:f-w:(o?f-w:w+f)-(dt?o?this.model.scrollerSize:-this.model.scrollerSize:0),kt.append("M "+(Math.floor(ii+c)+ot)+" "+(Math.floor(v)+ot)+" L "+(Math.floor(ii+c)+ot)+" "+(Math.floor(f+(o?-i.axisLine.width/2:i.axisLine.width/2))+ot)+" "))}}if(nt.width>0){var d=ej.EjSvgRender.utils._getStringBuilder(),ri=dt?this.model.scrollerSize:0,w=i.axisLine.width,v,s,y,a,e,tt,ui=i.labelPosition.toLowerCase(),vi=this.model.m_AreaBounds.X,yi=this.model.m_AreaBounds.Width,ci=nt.width,it=i._LableMaxWidth.height+i.axisLine.width/2+2,b=i.visibleLabels.length;for(f=i.y,i.tickLinesPosition==ui&&(it+=i.majorTickLines.size),ui=="inside"?(v=o?f+w:f+w,s=o?f+it:f-it):(v=o?f-w:w+f+(i.zoomFactor<1&&this.model.zooming.enableScrollbar&&t==0?this.model.scrollerSize:0),s=o?f-it-ri:f+it+ri),e=0;e=1&&!isNaN(tt)&&(i._valueType=="category"&&i.labelPlacement.toLowerCase()=="betweenticks"?(y=l[e]+c,a=l[e]+tt*2+c):(y=l[e]-tt+c,a=l[e]+tt+c),a=Math.floor(a),s=Math.floor(s),y=Math.floor(y),v=Math.floor(v),yi.width+i.x?(d.append("M "+y+" "+v+" L "+y+" "+s+" L "+Math.floor(i.width+c)+" "+s+" "),a-ci<=i.width+i.x&&d.append("M "+Math.floor(i.width+c)+" "+s+" L "+(i.x+i.width)+" "+v)):(e==0&&d.append("M "+i.x+" "+s+" L "+y+" "+s+" "),d.append("M "+y+" "+v+" L "+y+" "+s+" L "+a+" "+s+" "),e==b-1&&d.append("M "+a+" "+v+" L "+a+" "+s+" M "+a+" "+s+" L "+(i.x+i.width)+" "+s)));fi={id:this.svgObject.id+"_XAxisLabelBorder_"+t,fill:"transparent","stroke-width":nt.width,stroke:nt.color,d:d.toString()};this.svgRenderer.drawPath(fi,r);n(r).appendTo(this.gXaxisEle)}i.minorTickLines.visible&&i.visible&&i.minorTicksPerInterval>0&&(bt=st.toString(),yt={id:this.svgObject.id+"_XAxisMinorTicks_"+t,fill:"none","stroke-width":i.minorTickLines.width,stroke:i.minorTickLines.color,d:bt},r?this.svgRenderer.drawPath(yt,r):this.svgRenderer.drawPath(yt,ut));i.majorTickLines.visible&&i.visible&&(wt=kt.toString(),pt={id:this.svgObject.id+"_XAxisMajorTicks_"+t,fill:"none","stroke-width":i.majorTickLines.width,stroke:i.majorTickLines.color,d:wt},r?this.svgRenderer.drawPath(pt,r):this.svgRenderer.drawPath(pt,ut));i.tickLinesPosition=="inside"&&n(ut).appendTo(this.gXaxisEle)},_drawXAxisGridLine:function(t,i,r){var ct,lt,ut=ej.EjSvgRender.utils._getStringBuilder(),at=ej.EjSvgRender.utils._getStringBuilder(),w,f=[],vt=this.model.elementSpacing+5,ft,l=i._opposed,b=Math.floor(i.x),ni=Math.floor(i.x+i.width),d=this.svgRenderer.createGroup({id:this.svgObject.id+"_XAxisGrid_"+t}),g=this.svgRenderer.createGroup({id:this.svgObject.id+"_XAxisAlternateGridBand_"+t}),yt=r.axes[i.name]._validCross,a,k,tt,s,c,ii,h,st,p,o,it,rt,dt,u,e,gt,ht;if(t==0||yt||i.labelPosition!="inside"||i.tickLinesPosition!="inside"||i.y==this.model.m_AreaBounds.Height+this.model.m_AreaBounds.Y||i.y==this.model.m_AreaBounds.Y?i.labelPosition!="inside"||i.tickLinesPosition=="inside"||i.y==this.model.m_AreaBounds.Height+this.model.m_AreaBounds.Y||i.y==this.model.m_AreaBounds.Y?t==0||yt||i.labelPosition=="inside"||i.tickLinesPosition!="inside"||i.y==this.model.m_AreaBounds.Height+this.model.m_AreaBounds.Y||i.y==this.model.m_AreaBounds.Y?(a=Math.floor(i.y),k=Math.floor(i.y)):(a=l?Math.floor(i.y-i.majorTickLines.size):Math.floor(i.y+i.majorTickLines.size),k=l?Math.floor(i.y-i.majorTickLines.size):Math.floor(i.y+i.majorTickLines.size)):a=k=l?Math.floor(i.y-i._LableMaxWidth.height)+vt:i.showNextToAxisLine?Math.floor(i.y+i._LableMaxWidth.height)-vt:Math.floor(i.y+i._LableMaxWidth.height):(a=l?Math.floor(i.y-i._LableMaxWidth.height):Math.floor(i.y+i._LableMaxWidth.height),k=l?Math.floor(i.y-i._LableMaxWidth.height):Math.floor(i.y+i._LableMaxWidth.height)),i.visible&&i.axisLine.visible){var pt=i.axisLine.offset>0?i.axisLine.offset:0,nt=this._getSharpPath(i.axisLine.width),ti={id:this.svgObject.id+"_XAxisLine_"+t,x1:b-i.plotOffset+nt+pt,y1:a+nt,x2:ni+i.plotOffset-pt+nt,y2:k+nt,"stroke-dasharray":i.axisLine.dashArray,"stroke-width":i.axisLine.width,stroke:i.axisLine.color,opacity:i.axisLine.opacity||1};r.axes[i.name]._lineOption=[ti,this.gXaxisEle]}else r.axes[i.name]._lineOption=[null,this.gXaxisEle];for(i.labelPlacement=i.labelPlacement?i.labelPlacement:ej.datavisualization.Chart.LabelPlacement.BetweenTicks,tt=i.labels.length>0&&i.labelPlacement.toLowerCase()=="betweenticks"?-.5:0,s=i.visibleLabels.length,i._valueType.toLowerCase()==ej.datavisualization.Chart.ValueType.Category&&tt<0&&(s=s>0?i.visibleLabels.length+1:s),u=0;u0&&tt<0?ft+tt:ft,c=i.roundingPlaces?c:parseFloat(c.toFixed(ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval))),ej.EjSvgRender.utils._inside(c,i.visibleRange)){if(i.hidePartialLabels&&(u==0||u==s-1))continue;if(i.minorGridLines.visible||i.minorTickLines.visible)if(ii=this._getSharpPath(i.minorTickLines.width),h=this._getSharpPath(i.minorGridLines.width),i._valueType=="logarithmic"){o=c;var wt=i.visibleRange.max,et=i.visibleRange.min,bt=Math.pow(i.logBase,o-i.visibleRange.interval),ri=Math.pow(i.logBase,o),kt=(ri-bt)/(i.minorTicksPerInterval+1),ot=bt+kt;for(o=ej.EjSvgRender.utils._logBase(ot,i.logBase),p=0;pet&&(w=Math.ceil((o-et)/(wt-et)*i.width),i.minorGridLines&&i.minorGridLines.visible&&(st=Math.floor(w+b),ut.append("M "+(st+h)+" "+(a+h)+" L "+(st+h)+" "+(Math.floor(l?this.model.m_AreaBounds.Y+this.model.m_AreaBounds.Height:this.model.m_AreaBounds.Y)+h)+" "))),ot+=kt,o=ej.EjSvgRender.utils._logBase(ot,i.logBase)}else for(p=0,o=c;pi.visibleRange.min&&(w=Math.ceil((o-i.visibleRange.min)/(i.visibleRange.max-i.visibleRange.min)*i.width),i.minorGridLines&&i.minorGridLines.visible&&ut.append("M "+(Math.floor(w+b)+h)+" "+(a+h)+" L "+(Math.floor(w+b)+h)+" "+(Math.floor(l?this.model.m_AreaBounds.Y+this.model.m_AreaBounds.Height:this.model.m_AreaBounds.Y)+h)+" "));if(i.majorTickLines.visible||i.majorGridLines.visible){var fi=this._getSharpPath(i.majorTickLines.width),v=this._getSharpPath(i.majorGridLines.width),ui=this.pointX=Math.ceil(ej.EjSvgRender.utils._getPointXY(c,i.visibleRange,i.isInversed)*i.width),y=Math.floor(ui+b);if(i.zoomed&&(f[0]=i.x),u==0&&y==Math.floor(this.model.m_AreaBounds.X)){f.push(y+v);continue}if(u==s-1&&this.model.chartArea.border.color!="transparent"&&this.model.chartArea.border.width>0){if(y==Math.floor(this.model.m_AreaBounds.X+this.model.m_AreaBounds.Width))continue;i.zoomed&&(f[s]=y+v)}if(i.majorGridLines.visible&&at.append("M "+(y+v)+" "+(Math.floor(this.model.m_AreaBounds.Y+this.model.m_AreaBounds.Height)+v)+" L "+(y+v)+" "+(Math.floor(this.model.m_AreaBounds.Y)+v)+" "),i._valueType.toLowerCase()!="category"&&u==s-1)continue;f.push(y+v)}}if(i.alternateGridBand.odd.fill!="transparent"||i.alternateGridBand.even.fill!="transparent"){for(it=this.model.m_AreaBounds.Height,f.length===0&&(rt={id:this.svgObject.id+"_XAxis"+t+"_Alternateeven0",x:i.x,y:Math.floor(this.model.m_AreaBounds.Y),width:i.width,height:it,fill:i.alternateGridBand.even.fill,opacity:i.alternateGridBand.even.opacity,"clip-path":"url(#"+this.svgObject.id+"_ChartAreaClipRect)",stroke:"transparent"},this.svgRenderer.drawRect(rt,g)),u=1;u0&&this.svgRenderer.drawRect(dt,g);for(u=0;u0&&this.svgRenderer.drawRect(rt,g);n(g).appendTo(d)}i.minorGridLines.visible&&i.minorTicksPerInterval>0&&(lt=ut.toString(),gt={id:this.svgObject.id+"_XAxisMinorGridLines_"+t,fill:"none","stroke-width":i.minorGridLines.width,stroke:i.minorGridLines.color,"stroke-dasharray":i.minorGridLines.dashArray,d:lt},this.svgRenderer.drawPath(gt,d));ct=at.toString();i.majorGridLines.visible&&(ht={id:this.svgObject.id+"_XAxisMajorGridLines_"+t,fill:"none","stroke-width":i.majorGridLines.width,stroke:i.majorGridLines.color,opacity:i.majorGridLines.opacity,"stroke-dasharray":i.majorGridLines.dashArray,d:ct},ht.d!=""&&this.svgRenderer.drawPath(ht,d));n(d).appendTo(this.svgObject)},_drawYAxisTickLine:function(t,i,r,u){var at="",vt="",et=0,yt=i._isScroll&&!(i.scrollbarSettings.pointsLength!=null&&i.scrollbarSettings.pointsLength0&&i.labelPlacement.toLowerCase()=="betweenticks"?-.5:0,y=i.visibleLabels.length,i._valueType.toLowerCase()==ej.datavisualization.Chart.ValueType.Category&&ut<0&&(y=y>0?i.visibleLabels.length+1:y),e=0;e0&&ut<0?ot+ut:ot,v=i.roundingPlaces?v:parseFloat(v.toFixed(ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval))),ej.EjSvgRender.utils._inside(v,i.visibleRange)){if(i.hidePartialLabels&&(e==0||e==i.visibleLabels.length-1))continue;if(i.minorGridLines.visible||i.minorTickLines.visible)if(l=this._getSharpPath(i.minorTickLines.width),ii=this._getSharpPath(i.minorGridLines.width),i._valueType=="logarithmic"){s=v;var wt=i.visibleRange.max,ct=i.visibleRange.min,bt=Math.pow(i.logBase,s-i.visibleRange.interval),ri=Math.pow(i.logBase,s),kt=(ri-bt)/(i.minorTicksPerInterval+1),lt=bt+kt;for(s=ej.EjSvgRender.utils._logBase(lt,i.logBase),k=0;kct&&(b=Math.ceil((s-ct)/(wt-ct)*i.height),i.minorTickLines&&i.minorTickLines.visible&&i.minorTickLines.visible&&(ft=i.tickLinesPosition!="inside"&&i.labelPosition!="inside"||i.tickLinesPosition!="inside"&&i.labelPosition=="inside"?o?i.minorTickLines.size:-i.minorTickLines.size:o?-i.minorTickLines.size:i.minorTickLines.size,ht.append("M "+(Math.floor(ft+f)+l)+" "+(Math.floor(b*-1+h)+l)+" L "+(f+l)+" "+(Math.floor(b*-1+h)+l)+" "))),lt+=kt,s=ej.EjSvgRender.utils._logBase(lt,i.logBase)}else for(k=0,s=v;ki.visibleRange.min&&(b=(s-i.visibleRange.min)/i.visibleRange.delta*i.height,i.minorTickLines.visible&&(ft=i.tickLinesPosition!="inside"&&i.labelPosition!="inside"||i.tickLinesPosition!="inside"&&i.labelPosition=="inside"?o?i.minorTickLines.size:-i.minorTickLines.size:o?-i.minorTickLines.size:i.minorTickLines.size,ht.append("M "+(Math.floor(ft+f)+l)+" "+(Math.floor(b*-1+h)+l)+" L "+(f+l)+" "+(Math.floor(b*-1+h)+l)+" ")));(i.majorTickLines.visible||i.majorGridLines.visible||rt.width>0)&&(nt=this._getSharpPath(i.minorTickLines.width),ui=this._getSharpPath(i.majorGridLines.width),et=c[e]=ej.EjSvgRender.utils._getPointXY(v,i.visibleRange,i.isInversed)*i.height,i.majorTickLines.visible&&(i.tickLinesPosition!="inside"&&i.labelPosition!="inside"||i.tickLinesPosition!="inside"&&i.labelPosition=="inside"?d=(o?i.majorTickLines.size+i.axisLine.width/2:-(i.majorTickLines.size+i.axisLine.width/2))+(yt?o?this.model.scrollerSize:o-this.model.scrollerSize:0):(i.tickLinesPosition=="inside"&&i.labelPosition!="inside"||i.tickLinesPosition=="inside"&&i.labelPosition=="inside")&&(d=o?-(i.majorTickLines.size+i.axisLine.width/2):i.majorTickLines.size+i.axisLine.width/2),pt.append("M "+(Math.floor(d+f)+nt)+" "+(Math.floor(et*-1+h)+nt)+" L "+(Math.floor(f+(o?i.axisLine.width/2:i.axisLine.width/2))+nt)+" "+(Math.floor(et*-1+h)+nt)+" ")))}if(rt.width>0){var tt=ej.EjSvgRender.utils._getStringBuilder(),d=i.axisLine.width/2,e,p,w,a,it,dt=yt?this.model.scrollerSize:0,g=i._LableMaxWidth.maxWidth+10;for(f=i.x,i.tickLinesPosition==i.labelPosition&&(g+=i.majorTickLines.size),a=Math.floor(f-g),a=i.labelPosition=="outside"?o?Math.floor(f+g)+dt:Math.floor(f-g)-dt:o?Math.floor(f-g):Math.floor(f+g),e=0;e1&&!isNaN(it)&&(i._valueType=="category"&&i.labelPlacement.toLowerCase()=="betweenticks"?(p=Math.floor(c[e]*-1+h),w=Math.floor(c[e]*-1-it*2+h)):(p=Math.floor(c[e]*-1+it+h),w=Math.floor(c[e]*-1-it+h)),p>h?tt.append("M "+a+" "+h+" L "+a+" "+w+" "):w0&&(vt=ht.toString(),ni={id:this.svgObject.id+"_YAxisMinorTicks_"+t,fill:"none","stroke-width":i.minorTickLines.width,stroke:i.minorTickLines.color,d:vt},this.svgRenderer.drawPath(ni,r));i.majorTickLines.visible&&i.visible&&(at=pt.toString(),ti={id:this.svgObject.id+"_YAxisMajorTicks_"+t,fill:"none","stroke-width":i.majorTickLines.width,stroke:i.majorTickLines.color,d:at},this.svgRenderer.drawPath(ti,r))},_drawYAxisGridLine:function(t,i,r){var st="",ht="",ct=0,nt,s=Math.floor(i.y+i.height),ii=Math.floor(i.y),b=i._opposed,f=[],lt=r.axes[i.name]._validCross,at=i.name.replace(/[^a-zA-Z0-9]/g,""),k,d,pt,rt,wt,h,v,ui,o,y,e,ei,c,et,gt,u,a,p,ni,ti,ot;t==1||lt||(i.labelPosition!="inside"||i.tickLinesPosition!="inside")&&(i.labelPosition!="inside"||i.tickLinesPosition=="inside")||i.x==this.model.m_AreaBounds.Width+this.model.m_AreaBounds.X||i.x==this.model.m_AreaBounds.X?t==1||lt||i.labelPosition=="inside"||i.tickLinesPosition!="inside"||i.x==this.model.m_AreaBounds.Width+this.model.m_AreaBounds.X||i.x==this.model.m_AreaBounds.X?(k=Math.floor(i.x),d=Math.floor(i.x)):(k=b?Math.floor(i.x+i.majorTickLines.size):Math.floor(i.x-i.majorTickLines.size),d=b?Math.floor(i.x+i.majorTickLines.size):Math.floor(i.x-i.majorTickLines.size)):(k=b?Math.floor(i.x+i._LableMaxWidth.width+this.model.elementSpacing):Math.floor(i.x-i._LableMaxWidth.width-this.model.elementSpacing),d=b?Math.floor(i.x+i._LableMaxWidth.width+this.model.elementSpacing):Math.floor(i.x-i._LableMaxWidth.width-this.model.elementSpacing));var tt=ej.EjSvgRender.utils._getStringBuilder(),vt=ej.EjSvgRender.utils._getStringBuilder(),w=this.svgRenderer.createGroup({id:this.svgObject.id+"_YAxisGrid_"+t}),it=this.svgRenderer.createGroup({id:this.svgObject.id+"_YAxisAlternateGridBand_"+t});if(i.visible&&i.axisLine.visible){var yt=i.axisLine.offset>0?i.axisLine.offset:0,g=this._getSharpPath(i.axisLine.width),ri={id:this.svgObject.id+at+"_YAxisLine_"+t,x1:k+g,y1:ii-i.plotOffset+yt+g,x2:d+g,y2:s+i.plotOffset-yt+g,"stroke-width":i.axisLine.width,"stroke-dasharray":i.axisLine.dashArray,stroke:i.axisLine.color,opacity:i.axisLine.opacity||1};r.axes[i.name]._lineOption=[ri,this.gYaxisEle]}else r.axes[i.name]._lineOption=[null,this.gYaxisEle];for(i.axisBottomLine&&i.axisBottomLine.visible&&(pt={id:this.svgObject.id+at+"_YAxisBottomLine_"+t,x1:this.model.m_AreaBounds.X,y1:s,x2:this.model.m_AreaBounds.X+this.model.m_AreaBounds.Width,y2:s,"stroke-width":i.axisBottomLine.width,stroke:i.axisBottomLine.color},this.svgRenderer.drawLine(pt,w)),i.labelPlacement=i.labelPlacement?i.labelPlacement:ej.datavisualization.Chart.LabelPlacement.BetweenTicks,rt=i.labels.length>0&&i.labelPlacement.toLowerCase()=="betweenticks"?-.5:0,wt=i.visibleLabels.length,u=0;u0&&rt<0?nt+rt:nt,h=i.roundingPlaces?h:parseFloat(h.toFixed(ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval)==0?1:ej.EjSvgRender.utils._decimalPlaces(i.visibleRange.interval))),ej.EjSvgRender.utils._inside(h,i.visibleRange)){if(i.hidePartialLabels&&(u==0||u==i.visibleLabels.length-1))continue;if(i.minorGridLines.visible||i.minorTickLines.visible)if(ui=this._getSharpPath(i.minorTickLines.width),o=this._getSharpPath(i.minorGridLines.width),i._valueType=="logarithmic"){e=h;var bt=i.visibleRange.max,ut=i.visibleRange.min,kt=Math.pow(i.logBase,e-i.visibleRange.interval),fi=Math.pow(i.logBase,e),dt=(fi-kt)/(i.minorTicksPerInterval+1),ft=kt+dt;for(e=ej.EjSvgRender.utils._logBase(ft,i.logBase),y=0;yut&&(v=Math.ceil((e-ut)/(bt-ut)*i.height),i.minorGridLines.visible&&tt.append("M "+(Math.floor(this.model.m_AreaBounds.X)+o)+" "+(Math.floor(v*-1+s)+o)+" L "+(Math.floor(this.model.m_AreaBounds.Width+this.model.m_AreaBounds.X)+o)+" "+(Math.floor(v*-1+s)+o)+" ")),ft+=dt,e=ej.EjSvgRender.utils._logBase(ft,i.logBase)}else for(y=0,e=h;yi.visibleRange.min&&(v=(e-i.visibleRange.min)/i.visibleRange.delta*i.height,i.minorGridLines.visible&&tt.append("M "+(Math.floor(this.model.m_AreaBounds.X)+o)+" "+(Math.floor(v*-1+s)+o)+" L "+(Math.floor(this.model.m_AreaBounds.Width+this.model.m_AreaBounds.X)+o)+" "+(Math.floor(v*-1+s)+o)+" "));if((i.majorTickLines.visible||i.majorGridLines.visible)&&(ei=this._getSharpPath(i.minorTickLines.width),c=this._getSharpPath(i.majorGridLines.width),i.majorGridLines.visible)){ct=ej.EjSvgRender.utils._getPointXY(h,i.visibleRange,i.isInversed)*i.height;var oi=Math.floor(this.model.m_AreaBounds.X)+c,l=Math.floor(ct*-1+s),si=Math.floor(this.model.m_AreaBounds.Width+this.model.m_AreaBounds.X)+c;if(u==0){if(l==Math.floor(this.model.m_AreaBounds.Y+this.model.m_AreaBounds.Height))continue;i.zoomed&&(f[0]=l+c)}if(u==i.visibleLabels.length-1&&this.model.chartArea.border.color!="transparent"&&this.model.chartArea.border.width>0&&l==Math.floor(this.model.m_AreaBounds.Y)){f.push(l+c);continue}if(vt.append("M "+oi+" "+(l+c)+" L "+si+" "+(l+c)+" "),u==0)continue;f.push(l+c)}}if(i.alternateGridBand.odd.fill!="transparent"||i.alternateGridBand.even.fill!="transparent"){for(et=this.model.m_AreaBounds.Width,i.zoomed&&(f[f.length]=i.y),u=1;u0&&(ht=tt.toString(),ti={id:this.svgObject.id+"_YAxisMinorGridLines_"+t,fill:"none","stroke-width":i.minorGridLines.width,stroke:i.minorGridLines.color,"stroke-dasharray":i.minorGridLines.dashArray,d:ht},this.svgRenderer.drawPath(ti,w));st=vt.toString();i.majorGridLines.visible&&(ot={id:this.svgObject.id+"_YAxisMajorGridLines_"+t,fill:"none","stroke-width":i.majorGridLines.width,opacity:i.majorGridLines.opacity,"stroke-dasharray":i.majorGridLines.dashArray,stroke:i.majorGridLines.color,d:st},ot.d!=""&&this.svgRenderer.drawPath(ot,w));n(w).appendTo(this.svgObject)},textOverflowMultiLevelLabels:function(n,t,i,r,u,f,e,o,s,h){var v=o.y,y=0,a,p,l,w,b,c;if(u=="wrap"||u=="wrapandtrim"){for(p=h._wrap(n,t,i,u,f,e),l=p.text,w=l.length,c=0;c-1&&(h.model.enable3D&&y==0&&(o.y-=e.height),b=p.unTrimmedText,e=ej.EjSvgRender.utils._measureText(l[c],null,f),a={X:o.x-e.width/2,Y:o.y,Width:e.width,Height:e.height},h.model.axisMultiLevelLabelRegions.push({trimText:l[c],labelText:b[y],Bounds:a}),y++);return l}return i=u=="trim"?ej.EjSvgRender.utils._trimText(r,t,f):r,h.model.enable3D||(v=o.y+e.height),n.orientation.toLowerCase()=="vertical"&&(v=o.y-e.height/4),e=ej.EjSvgRender.utils._measureText(i,null,f),a={X:o.x-e.width/2,Y:v,Width:e.width,Height:e.height},h.model.axisMultiLevelLabelRegions.push({trimText:i,labelText:r,Bounds:a}),i},_triggerMultiLevelLabelsRendering:function(t,i,r,u,f,e,o){var s=n.extend({},ej.EjSvgRender.commonChartEventArgs);return s.data={text:t,location:{x:i,y:r},textOverflow:u,font:f,border:e},o._trigger("multiLevelLabelRendering",s),s.data},_drawXAxisMultiLevelLabels:function(t,i){var tt,u,r,ri,ui,st,vt,a,e,v,y,h,d,c,s,it,kt,ht,dt,gt,yt,o,f,ni,pt,w,ct,rt,wt=this.svgObject.id,g=i.visibleRange,et=this.svgRenderer.createGroup({id:wt+"_XAxisMultiLevelLabels_"+t,"clip-path":"url(#"+this.svgObject.id+"_XAxis_Clippath_"+t+")"}),bt=this.model.m_AreaBounds,nt=i.opposedPosition,b,p=i.labelPosition.toLowerCase(),fi=i.labelBorder,l=10,ot=i._isScroll?this.model.scrollerSize:0,ti,k,ft,ii,ut,ei,at,lt;for(h=i.majorTickLines.size+i._LableMaxWidth.height+fi.width,kt=i.x,ht=i.y+h+ot,dt=i.width+this.model.chartArea.border.width,gt=i._multiLevelLabelHeight+l-2,nt?ht=p=="outside"?i.y-h-i._multiLevelLabelHeight-l/2-ot:i.y+h-l/2:p=="inside"&&(ht=i.y-h-i._multiLevelLabelHeight),ti={id:this.svgObject.id+"_XAxis_Clippath_"+t,x:kt,y:ht,width:dt,height:gt,fill:"white","stroke-width":1,stroke:"Gray"},this.svgRenderer.drawClipPath(ti,et),tt=0;tt=g.min&&e.start<=g.max||e.end>=g.min&&e.end<=g.max||e.startg.max)){if(v=e.font,w=e.border,b=w.width,s=e._level,it=e.textOverflow.toLowerCase(),ct=w.type.toLowerCase(),rt=e.textAlignment.toLowerCase(),y=Math.ceil(ej.EjSvgRender.utils._getPointXY(e.start,g,i.isInversed)*i.width),d=Math.ceil(ej.EjSvgRender.utils._getPointXY(e.end,g,i.isInversed)*i.width),i.isInversed&&(y=y-d,d=y+d,y=d-y),ft=e.text,a=ej.EjSvgRender.utils._measureText(ft,null,v),st=ej.util.isNullOrUndefined(e.maximumTextWidth)?d-y-b-l:e.maximumTextWidth-l,ri=1,ui=0,u=y+i.x+l/2,r=h+i.y,r=nt?p=="outside"?i.y-h-i.multiLevelLabelHeight[s]-l-i.prevHeight[s]-ot:i.y+h-l/2+i.prevHeight[s]:p=="inside"?i.y-h-i.multiLevelLabelHeight[s]-i.prevHeight[s]:h+i.y+i.prevHeight[s]+ot,this.model.enableCanvasRendering&&(this.svgRenderer.ctx.save(),this.svgRenderer.ctx.beginPath(),this.svgRenderer.ctx.rect(kt,ht,dt,gt),this.svgRenderer.ctx.clip()),rt=="center"?(u+=st/2,yt="middle"):rt=="far"?(u=u+st-b/2,yt="end"):(yt="start",u+=b/2),k=this._triggerMultiLevelLabelsRendering(ft,u,r,it,v,e.border,this),ft=k.text,u=k.location.x,r=k.location.y,it=k.textOverflow.toLowerCase(),v=k.font,w=k.border,ct=k.border.type.toLowerCase(),b=k.border.width,c={id:wt+"_XAxisMultiLevelLabels_Text_"+t+"_"+tt,x:u,y:ct=="curlybrace"?r+10:r,fill:v.color?v.color:i.multiLevelLabelsFontColor,"font-size":v.size,"font-family":v.fontFamily,"font-style":v.fontStyle,"font-weight":v.fontWeight,opacity:v.opacity,"text-anchor":yt},vt=ft,it!="none"&&(vt=this.textOverflowMultiLevelLabels(i,st,vt,ft,it,v,a,c,et,this)),it!="wrap"&&it!="wrapandtrim"&&(c.y+=a.height,a.heightbt.X+d?bt.X+d-l:c.x+a.width/2+2):(lt=c.x-a.width-2,at=c.x);ut=!nt&&p=="outside"||nt&&p=="inside"?"M "+u+" "+r+" L "+u+" "+(r+o/2)+" M "+u+" "+(r+o/2)+" L "+(lt-2)+" "+(r+o/2)+" M "+at+" "+(r+o/2)+" L "+(u+f)+" "+(r+o/2)+" M "+(u+f)+" "+(r+o/2)+" L "+(u+f)+" "+r:"M "+u+" "+(r+o)+" L "+u+" "+(r+o/2)+" M "+u+" "+(r+o/2)+" L "+lt+" "+(r+o/2)+" M "+at+" "+(r+o/2)+" L "+(u+f)+" "+(r+o/2)+" M "+(u+f)+" "+(r+o)+" L "+(u+f)+" "+(r+o/2);break;case"curlybrace":r=i.y+h+i.prevHeight[s];ut=f<30?"M "+(u+f/2-5)+" "+(r+10)+" L "+(u+f/2)+" "+(r+15)+" L "+(u+f/2+5)+" "+(r+10):nt?"M "+u+" "+r+" C "+u+" "+r+" "+(u+5)+" "+(r+10)+" "+(u+10)+" "+(r+10)+" L "+(u+f/2-5)+" "+(r+10)+" L "+(u+f/2)+" "+(r+15)+" L "+(u+f/2+5)+" "+(r+10)+" L "+(u+f-10)+" "+(r+10)+" C "+(u+f-10)+" "+(r+10)+" "+(u+f)+" "+(r+5)+" "+(u+f)+" "+r:rt=="center"?"M "+u+" "+r+" C "+u+" "+r+" "+(u+5)+" "+(r+10)+" "+(u+10)+" "+(r+10)+" L "+(u+f/2-5)+" "+(r+10)+" L "+(u+f/2)+" "+(r+15)+" L "+(u+f/2+5)+" "+(r+10)+" L "+(u+f-10)+" "+(r+10)+" C "+(u+f-10)+" "+(r+10)+" "+(u+f)+" "+(r+5)+" "+(u+f)+" "+r:rt=="near"?"M "+u+" "+r+" C "+u+" "+r+" "+(u+5)+" "+(r+10)+" "+(u+10)+" "+(r+10)+" L "+(u+15)+" "+(r+15)+" L "+(u+15+5)+" "+(r+10)+" L "+(u+f-10)+" "+(r+10)+" C "+(u+f-10)+" "+(r+10)+" "+(u+f)+" "+(r+5)+" "+(u+f)+" "+r:"M "+u+" "+r+" C "+u+" "+r+" "+(u+5)+" "+(r+10)+" "+(u+10)+" "+(r+10)+" L "+(u+f-20)+" "+(r+10)+" L "+(u+f-15)+" "+(r+15)+" L "+(u+f-10)+" "+(r+10)+" L "+(u+f-10)+" "+(r+10)+" C "+(u+f-10)+" "+(r+10)+" "+(u+f)+" "+(r+5)+" "+(u+f)+" "+r}ut&&(pt={id:wt+"_XAxisMultiLevelLabels_Rect_"+t+"_"+tt,d:ut,stroke:w.color?w.color:i.multiLevelLabelsColor,"stroke-width":w.width,fill:"none"},this.svgRenderer.drawPath(pt,et))}this.model.enableCanvasRendering&&this.svgRenderer.ctx.restore();n(et).appendTo(this.gXaxisEle)}},_drawYAxisMultiLevelLabels:function(t,i){var g,r,u,fi,ht,nt,s,a,p,b,ft,tt,l=5,c,pt,ti,ei,ct,o,e,wt,bt,kt,lt,h,et,ot,at=this.svgObject.id,k=i.visibleRange,dt,ii,gt,ni,st,it,oi,y,si,f,ut=this.svgRenderer.createGroup({id:at+"_YAxisMultiLevelLabels_"+t,"clip-path":"url(#"+this.svgObject.id+"_YAxis_Clippath_"+t+")"}),ci=this.model.m_AreaBounds,w=i.opposedPosition,d=i.labelPosition.toLowerCase(),hi=i.labelBorder,vt=i._multiLevelLabelHeight,v=i.majorTickLines.size+i._LableMaxWidth.width+hi.width+2*l,yt=i._isScroll?this.model.scrollerSize:0,ri,rt,ui;for(ii=i.y,gt=vt+l,ni=i.height+l,dt=w?d=="outside"?i.x+v-l+yt:i.x-vt-v+l:d=="outside"?i.x-vt-v-yt:i.x+v-l,ri={id:this.svgObject.id+"_YAxis_Clippath_"+t,x:dt,y:i.y,width:gt,height:ni,fill:"white","stroke-width":1,stroke:"Gray"},this.svgRenderer.drawClipPath(ri,ut),g=0;g=k.min&&s.start<=k.max||s.end>=k.min&&s.end<=k.max||s.startk.max)){if(a=s.font,h=s.border,c=s._level,pt=s.maximumTextWidth,tt=s.textOverflow.toLowerCase(),et=h.type.toLowerCase(),ot=s.textAlignment.toLowerCase(),p=Math.ceil(ej.EjSvgRender.utils._getPointXY(s.start,k,i.isInversed)*i.height),b=Math.ceil(ej.EjSvgRender.utils._getPointXY(s.end,k,i.isInversed)*i.height),i.isInversed&&(p=p-b,b=p+b,p=b-p),rt=s.text,nt=ej.EjSvgRender.utils._measureText(rt,null,a),ht=b-p-h.width,ti=ej.util.isNullOrUndefined(pt)?i.multiLevelLabelHeight[c]+l:pt-l,fi=1,ei=0,st=0,r=i.x-v-i.prevHeight[c]-i.multiLevelLabelHeight[c]/2+h.width-l/2,u=i.height+i.y-p-ht/2,r=w?d=="outside"?i.x+v+i.multiLevelLabelHeight[c]/2+i.prevHeight[c]+h.width+yt:i.x-v-i.multiLevelLabelHeight[c]/2-i.prevHeight[c]+h.width+l/2:d=="inside"?i.x+v+i.multiLevelLabelHeight[c]/2+i.prevHeight[c]-l/2:r+st-yt,this.model.enableCanvasRendering&&(this.svgRenderer.ctx.save(),this.svgRenderer.ctx.beginPath(),this.svgRenderer.ctx.rect(dt,ii,gt,ni),this.svgRenderer.ctx.clip()),u=ot=="far"?u+ht/2-nt.height/2:ot=="near"?u-ht/2+nt.height:u+nt.height/4,it=this._triggerMultiLevelLabelsRendering(rt,r,u,tt,a,s.border,this),rt=it.text,r=it.location.x,u=it.location.y,tt=it.textOverflow,a=it.font,h=it.border,et=h.type.toLowerCase(),oi=h.width,ft={id:at+"_YAxisMultiLevelLabels_Text_"+t+"_"+g,x:et=="curlybrace"?w?r+st+10:r+st-10:r+st,y:u,fill:a.color?a.color:i.multiLevelLabelsFontColor,"font-size":a.size,"font-family":a.fontFamily,"font-style":a.fontStyle,"font-weight":a.fontWeight,opacity:a.opacity,"text-anchor":"middle"},ct=rt,tt!="none"&&(ct=this.textOverflowMultiLevelLabels(i,ti,ct,rt,tt,a,nt,ft,ut,this)),tt!="wrap"&&tt!="wrapandtrim"&&this.svgRenderer.drawText(ft,ct,ut),r=r-l/2-i.multiLevelLabelHeight[c]/2,u=i.y+i.height-b+h.width,o=b-p,e=i.multiLevelLabelHeight[c]+l,y="",si=(e+h.width-vt)/2-2,ui={bounds:{x:r,y:u,height:o,width:e},axisIndex:t,multiLevelLabel:s},this.model.multiLevelLabelRegions.push(ui),et=="rectangle")lt={id:at+"_YAxisMultiLevelLabels_Rect_"+t+"_"+g,x:r,y:u,width:e,height:o,fill:"transparent",stroke:h.color?h.color:i.multiLevelLabelsColor,"stroke-width":h.width},this.svgRenderer.drawRect(lt,ut);else{switch(et){case"withouttopandbottomborder":y="M "+r+" "+(u+o)+" L "+(r+e)+" "+(u+o)+" M "+r+" "+u+" L "+(r+e)+" "+u;break;case"withouttopborder":kt=!w&&d=="outside"||w&&d=="inside"?0:e;y="M "+r+" "+(u+o)+" L "+(r+e)+" "+(u+o)+" M "+r+" "+u+" L "+(r+e)+" "+u+" M "+(r+kt)+" "+(u+o)+" L "+(r+kt)+" "+u;break;case"brace":wt=ft.y-nt.height/2-4;bt=ft.y+nt.height/4+2;y=!w&&d=="outside"||w&&d=="inside"?"M "+(r+e)+" "+u+" L "+(r+e/2)+" "+u+" M "+(r+e/2)+" "+u+" L "+(r+e/2)+" "+wt+" M "+(r+e/2)+" "+bt+" L "+(r+e/2)+" "+(u+o)+" M "+(r+e/2)+" "+(u+o)+" L "+(r+e)+" "+(u+o):"M "+r+" "+u+" L "+(r+e/2)+" "+u+" M "+(r+e/2)+" "+u+" L "+(r+e/2)+" "+wt+" M "+(r+e/2)+" "+bt+" L "+(r+e/2)+" "+(u+o)+" M "+(r+e/2)+" "+(u+o)+" L "+r+" "+(u+o);break;case"curlybrace":r=i.x-v-i.prevHeight[c];f=o-10;o<30?w?(r=i.x+v+i.prevHeight[c],f=o-10,y=" M "+(r+10)+" "+(u+f/2)+" L "+(r+15)+" "+(u+f/2+5)+" L "+(r+10)+" "+(u+f/2+10)):y="M "+(r-10)+" "+(u+o/2-5)+" L "+(r-15)+" "+(u+o/2)+" L "+(r-10)+" "+(u+o/2+5):w?(r=i.x+v+i.prevHeight[c],f=o-10,y="M "+r+" "+u+" C "+r+" "+u+" "+(r+10)+" "+u+" "+(r+10)+" "+(u+10)+" L "+(r+10)+" "+(u+f/2)+" L "+(r+15)+" "+(u+f/2+5)+" L "+(r+10)+" "+(u+f/2+10)+" L "+(r+10)+" "+(u+f)+" C"+(r+10)+" "+(u+f)+" "+(r+5)+" "+(u+f+10)+" "+r+" "+(u+f+10)):y=ot=="center"?"M "+r+" "+u+" C "+r+" "+u+" "+(r-10)+" "+u+" "+(r-10)+" "+(u+10)+" L "+(r-10)+" "+(u+f/2)+" L "+(r-15)+" "+(u+f/2+5)+" L "+(r-10)+" "+(u+f/2+10)+" L "+(r-10)+" "+(u+f)+" C "+(r-10)+" "+(u+f)+" "+(r-5)+" "+(u+f+10)+" "+r+" "+(u+f+10):ot=="far"?"M "+r+" "+u+" C "+r+" "+u+" "+(r-10)+" "+u+" "+(r-10)+" "+(u+10)+" L "+(r-10)+" "+(u+f-10)+" L "+(r-15)+" "+(u+f-5)+" L "+(r-10)+" "+(u+f)+" L "+(r-10)+" "+(u+f)+" C"+(r-10)+" "+(u+f)+" "+(r-10)+" "+(u+f+10)+" "+r+" "+(u+f+10):"M "+r+" "+u+" C "+r+" "+u+" "+(r-10)+" "+u+" "+(r-10)+" "+(u+10)+" L "+(r-15)+" "+(u+10+5)+" L "+(r-10)+" "+(u+10+10)+" L "+(r-10)+" "+(u+f)+" C"+(r-10)+" "+(u+f)+" "+(r-5)+" "+(u+f+10)+" "+r+" "+(u+f+10)}y&&(lt={id:at+"_YAxisMultiLevelLabels_Rect_"+t+"_"+g,d:y,stroke:h.color?h.color:i.multiLevelLabelsColor,"stroke-width":h.width,fill:"none"},this.svgRenderer.drawPath(lt,ut))}this.model.enableCanvasRendering&&this.svgRenderer.ctx.restore();n(ut).appendTo(this.gYaxisEle)}},_getLabelCollection:function(n,t,i,r,u){var f=[],h=[],c,s,e,o;for(typeof n=="string"&&n.indexOf("
")!=-1?f=n.split("
"):f.push(n),r=r<=0?i.width/i.labels.length:r,c=f.length,e=0;e")!=-1?ej.EjSvgRender.utils._getHighestLabel(i,hi,e):e,tt=ej.EjSvgRender.utils._measureText(ut,ui,i.font),f=tt.width,w=tt.height,c=0,yi=!1,l=="trim"||i.enableTrim){if(ni=="onticks")if(s!=a.length-1){for(wu=u,bu=a[s+1],o=[],oi=[],ri=a[s+1],typeof ri.Text=="string"&&ri.Text.indexOf("
")!=-1||typeof u.Text=="string"&&u.Text.indexOf("
")!=-1?(o=u.Text.split("
"),oi=ri.Text.split("
")):(oi.push(ri.Text),u.displayText?o.push(u.displayText):o.push(u.Text)),d=0;df?(ef=pr=oi[d],ou=!1):(pr=o[bi],ou=!0),ht=pr,ur={},ur.displayText=pr,g=1;g")!=-1?o=e.split("
"):o.push(e),ku=o.length,d=0;dfr&&o[d]!=""){for(g=1;g=fr){if(o[d]=o[d].toString().substring(0,g-1)+"... ",u.displayText=o[d],s==a.length-1&&it+i.x+f/2>hi&&fr==lt){fr-=f/2;g=1;continue}break}u.displayText=o[d]}(i._valueType!="double"||typeof u.displayText=="string")&&(ut=o.length>0?ej.EjSvgRender.utils._getHighestLabel(i,hi,o,null):ut,tt=ej.EjSvgRender.utils._measureText(ut,et,y))}else tt=typeof e=="string"&&e.indexOf("
")!=-1?ej.EjSvgRender.utils._measureText(ut,et,y):ej.EjSvgRender.utils._measureText(u.displayText,et,y);if(ar=tt.width/2,w=tt.height,f=tt.width,tu=i.majorGridLines.width>ir?i.majorGridLines.width:ir,!ej.util.isNullOrUndefined(u.Text)){if(gi=vu=="near"?it+i.x+tu+(gt=="category"&&ni!="onticks"?-(bt/i.actualRange.delta)/2+gr:-tt.width-gr):vu=="far"?it+i.x+(gt=="category"&&ni!="onticks"?+(bt/i.actualRange.delta/2)-tt.width:+tu+gr):it+i.x-ar,v&&st||v&&!st&&l=="multiplerows"?b=h?i.y+wt+w/2+ii/2+pt/(2*ti)-ei:i.y-wt-ii/2-pt/(2*ti)+ei:v&&!st?b=h?i.y+w/2+ii/2+pt/(2*ti)-ei:i.y-ii/2-pt/(2*ti)+ei:(v||st)&&(v||!st||l!="multiplerows")?!v&&st&&(b=h?i.y+w/2-ii/2-pt/(2*ti)-ei:i.y+ii/2+pt/(2*ti)+ei,b=b+(hu?h?-wr:wr:0)):(b=h?i.y-wt+w/2-ii/2-pt/(2*ti)-ei:i.y+wt+ii/2+pt/(2*ti)+ei,b=b+(hu?h?-wr:wr:0)),v&&!st?(p==90||l=="rotate90")&&(b=h?b:b-wt):!v&&st?(i.labelRotation==90||l=="rotate90")&&(b=h?b-wt:b-wt):v&&st&&(i.labelRotation==90||l=="rotate90")&&(b=h?b:b-wt),r={id:this.svgObject.id+"_"+rf+"_XLabel_"+s,x:gi,y:b,fill:y.color,"font-size":y.size,"font-family":y.fontFamily,"font-style":y.fontStyle,"font-weight":y.fontWeight,opacity:y.opacity},i.edgeLabelPlacement){fu=i.edgeLabelPlacement.toLowerCase();eu=a.length-1;switch(fu){case"shift":s==0?r.xi.x+i.width&&(pi=r.x+tt.width-(i.x+i.width),r.x=gi=r.x-pi,this.diff=pi,this.edgeLabel=!0);break;case"hide":(s==0&&r.xet+ff)&&(e="")}}if((l=="wrap"||l=="wrapbyword")&&(vt=this._getLabelCollection(e,ui,i,lt,r),du=ej.EjSvgRender.utils._getHighestLabel(i,n(this.svgObject).width(),vt,null),f=ej.EjSvgRender.utils._measureText(du,et,y).width),p==0||uf||(u.displayText=typeof u.displayText=="string"&&u.displayText.indexOf("
")!=-1?ej.EjSvgRender.utils._getHighestLabel(i,hi,u.displayText):u.displayText,this.labelRotation(i,gi+ar,b,r,u,p)),i.labelIntersectAction||i.enableTrim)if(this.diff=ej.util.isNullOrUndefined(this.diff)?0:this.diff,l!="none"||i.enableTrim)if(l!="wrap"&&l!="wrapbyword"||i.enableTrim){if(l=="hide")for(er=a.length-1,or=0;or=tf-this.diff)&&(e=u.displayText="")}l=="hide"&&(i.isInversed?kit-sr)&&(u.displayText=e="")}else if(l=="multiplerows"&&!i.enableTrim){if(ot=[],kt=u,typeof kt.Text=="string"&&kt.Text.indexOf("
")!=-1?ot=kt.Text.split("
"):ot.push(kt.Text),dt=ot.length,e==""&&i.edgeLabelPlacement=="hide")for(dr=0;dr0)for(ki=rt,di=0;diit-f)if(h){wi=v?r.y+w:r.y-w;r.y=wi;c=c+1;c")!=-1?ft=e.split("
"):ft.push(e),ai="",lt=lt<=0?bt/a.length:lt,kr=0;kr")!=-1?(ft=e.split("