diff --git a/build/babel-options.js b/build/babel-options.js index 60a148b78..91e83cf6a 100644 --- a/build/babel-options.js +++ b/build/babel-options.js @@ -1,35 +1,61 @@ var path = require('path'); var paths = require('./paths'); -module.exports = { - filename: '', - filenameRelative: '', - modules: '', - sourceMap: true, - sourceMapName: '', - sourceRoot: '', - moduleRoot: path.resolve('src').replace(/\\/g, '/'), - moduleIds: false, - experimental: false, - comments: false, - compact: false, - code:true, - stage:2, - loose: "all", - optional: [ - "es7.decorators", - "es7.classProperties" - ], - plugins: [ - "babel-dts-generator" - ], - extra: { - dts: { +exports.base = function() { + return { + filename: '', + filenameRelative: '', + sourceMap: true, + sourceRoot: '', + moduleRoot: path.resolve('src').replace(/\\/g, '/'), + moduleIds: false, + // experimental: false, + comments: false, + compact: false, + code:true, + presets: [ 'es2015-loose', 'stage-1' ], + plugins: [ + "syntax-flow", + "transform-decorators-legacy", + "transform-flow-strip-types" + ] + }; +}; + +exports.commonjs = function() { + var options = exports.base(); + options.plugins.push('transform-es2015-modules-commonjs'); + return options; +}; + +exports.amd = function() { + var options = exports.base(); + options.plugins.push('transform-es2015-modules-amd'); + return options; +}; + +exports.system = function() { + var options = exports.base(); + options.plugins.push('transform-es2015-modules-systemjs'); + return options; +}; + +exports.es2015 = function() { + var options = exports.base(); + options.presets = ['tage-1']; + return options; +}; + +exports.babelDtsGenerator = function() { + var options = exports.base(); + options.plugins.push([ + 'babel-dts-generator', { packageName: paths.packageName, typings: '', suppressModulePath: true, suppressComments: false, memberOutputFilter: /^_.*/ } - } + ]); + return options; }; diff --git a/build/paths.js b/build/paths.js index 345213373..a554a4554 100644 --- a/build/paths.js +++ b/build/paths.js @@ -1,23 +1,38 @@ var path = require('path'); var fs = require('fs'); +var emitter = require('events'); +emitter.defaultMaxListeners = 20; + var appRoot = 'src/'; var pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8')); -module.exports = { +var paths = { root: appRoot, source: appRoot + '**/*.js', html: appRoot + '**/*.html', style: appRoot + '**/*.css', + json: appRoot + '**/*.json', output: 'devbuild/', releaseOutput: 'dist/', sample: 'sample', sampleSrc: './sample/src/**/*.js', - sampleStyle: './sample/styles/**/*.css', - sampleHtml: './sample/src/**/*.html', + + doc:'./doc', - tests: 'test/unit/**/*.js', + unit: 'test/unit/**/*.js', e2eSpecsSrc: 'test/e2e/src/*.js', e2eSpecsDist: 'test/e2e/dist/', packageName: pkg.name, + ignore: [], + useTypeScriptForDTS: false, + importsToAdd: [], + sort: false }; + + +paths.files = [ + "src/**/*.js" +]; + +module.exports = paths; diff --git a/build/tasks/build.js b/build/tasks/build.js index ac2a60a6b..947fbb035 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -15,6 +15,11 @@ var vinylPaths = require('vinyl-paths'); var jsName = paths.packageName + '.js'; +// RegExp remove tags during insert.transform in build-index gulp task +var startTag = '//\\s*build-index-remove start'; +var endTag = '//\\s*build-index-remove end'; +var removeRegExp = new RegExp(startTag + '[^]+?' + endTag, 'g'); + gulp.task('build-index', function(){ var importsToAdd = []; @@ -26,7 +31,7 @@ gulp.task('build-index', function(){ })) .pipe(concat(jsName)) .pipe(insert.transform(function(contents) { - return tools.createImportBlock(importsToAdd) + contents; + return tools.createImportBlock(importsToAdd) + contents.replace(removeRegExp, ''); })) .pipe(gulp.dest(paths.output)); }); @@ -34,7 +39,8 @@ gulp.task('build-index', function(){ gulp.task('build-es6-temp', function () { return gulp.src(paths.output + jsName) - .pipe(to5(assign({}, compilerOptions, {modules:'common'}))) + // .pipe(to5(assign({}, compilerOptions, {modules:'common'}))) + .pipe(to5(assign({}, compilerOptions.babelDtsGenerator()))) .pipe(gulp.dest(paths.output + 'temp')); }); @@ -45,32 +51,43 @@ gulp.task('build-es6', function () { gulp.task('build-commonjs', function () { return gulp.src(paths.source) - .pipe(to5(assign({}, compilerOptions, {modules:'common', plugins: []}))) + // .pipe(to5(assign({}, compilerOptions, {modules:'common', plugins: []}))) + .pipe(to5(assign({}, compilerOptions.commonjs()))) .pipe(gulp.dest(paths.output + 'commonjs')); }); gulp.task('build-amd', function () { return gulp.src(paths.source) - .pipe(to5(assign({}, compilerOptions, {modules:'amd', plugins: []}))) + // .pipe(to5(assign({}, compilerOptions, {modules:'amd', plugins: []}))) + .pipe(to5(assign({}, compilerOptions.amd()))) .pipe(gulp.dest(paths.output + 'amd')); }); gulp.task('build-system', function () { return gulp.src(paths.source) - .pipe(to5(assign({}, compilerOptions, {modules:'system', plugins: []}))) + // .pipe(to5(assign({}, compilerOptions, {modules:'system', plugins: []}))) + .pipe(to5(assign({}, compilerOptions.system()))) .pipe(gulp.dest(paths.output + 'system')); }); gulp.task('build-dev', function () { return gulp.src(paths.source) .pipe(sourcemaps.init({loadMaps: true})) - .pipe(to5(assign({}, compilerOptions, {modules:'system', plugins: []}))) + // .pipe(to5(assign({}, compilerOptions, {modules:'system', plugins: []}))) + .pipe(to5(assign({}, compilerOptions.system()))) .pipe(sourcemaps.write(paths.output + 'dev')) .pipe(gulp.dest(paths.output + 'dev')); }); gulp.task('build-dts', function(){ return gulp.src(paths.output + paths.packageName + '.d.ts') + .pipe(insert.transform(function(contents, file) { + return 'declare module \'aurelia-binding\' {\r\n' + + 'export class Lexer {}\r\n' + + 'export class ParserImplementation {}\r\n' + + '}\r\n' + contents; +})) + // .pipe(insert.prepend(insert.prepend())) .pipe(rename(paths.packageName + '.d.ts')) .pipe(gulp.dest(paths.output + 'es6')) .pipe(gulp.dest(paths.output + 'commonjs')) diff --git a/build/tasks/doc.js b/build/tasks/doc.js index 4679c8a6f..737676580 100644 --- a/build/tasks/doc.js +++ b/build/tasks/doc.js @@ -1,14 +1,15 @@ var gulp = require('gulp'); var paths = require('../paths'); var typedoc = require('gulp-typedoc'); -var typedocExtractor = require('gulp-typedoc-extractor'); var runSequence = require('run-sequence'); +var through2 = require('through2'); gulp.task('doc-generate', function(){ - return gulp.src([paths.output + '*.d.ts', paths.doc + '/core-js.d.ts', './jspm_packages/npm/*/*.d.ts']) + return gulp.src([paths.output + paths.packageName + '.d.ts']) .pipe(typedoc({ target: 'es6', includeDeclarations: true, + moduleResolution: 'node', json: paths.doc + '/api.json', name: paths.packageName + '-docs', mode: 'modules', @@ -18,16 +19,28 @@ gulp.task('doc-generate', function(){ })); }); -gulp.task('doc-extract', function(){ +gulp.task('doc-shape', function(){ return gulp.src([paths.doc + '/api.json']) - .pipe(typedocExtractor(paths.packageName)) + .pipe(through2.obj(function(file, enc, callback) { + var json = JSON.parse(file.contents.toString('utf8')).children[0]; + + json = { + name: paths.packageName, + children: json.children, + groups: json.groups + }; + + file.contents = new Buffer(JSON.stringify(json)); + this.push(file); + return callback(); + })) .pipe(gulp.dest(paths.doc)); }); gulp.task('doc', function(callback){ return runSequence( 'doc-generate', - 'doc-extract', + 'doc-shape', callback ); }); diff --git a/build/tasks/lint.js b/build/tasks/lint.js index 063e0ff23..249b5fe77 100644 --- a/build/tasks/lint.js +++ b/build/tasks/lint.js @@ -3,7 +3,7 @@ var paths = require('../paths'); var eslint = require('gulp-eslint'); gulp.task('lint', function() { - return gulp.src([paths.source, paths.sampleSrc, paths.tests]) + return gulp.src([paths.source, paths.sampleSrc, paths.unit]) .pipe(eslint()) .pipe(eslint.format()) // .pipe(eslint.failOnError()); diff --git a/build/tasks/prepare-release.js b/build/tasks/prepare-release.js index 3425ef7b8..8acb84660 100644 --- a/build/tasks/prepare-release.js +++ b/build/tasks/prepare-release.js @@ -26,10 +26,10 @@ gulp.task('changelog', function(callback) { gulp.task('prepare-release', function(callback){ return runSequence( - 'build', + 'build-release', 'lint', 'bump-version', - 'doc', + // 'doc', disabled due to it throwing errors 'changelog', callback ); diff --git a/build/typescript-options.js b/build/typescript-options.js new file mode 100644 index 000000000..8a22abe16 --- /dev/null +++ b/build/typescript-options.js @@ -0,0 +1,9 @@ +var tsconfig = require('../tsconfig.json'); +var assign = Object.assign || require('object.assign'); + +module.exports = function(override) { + return assign(tsconfig.compilerOptions, { + "target": override && override.target || "es5", + "typescript": require('typescript') + }, override || {}); +} diff --git a/dist/amd/accordion/accordion.js b/dist/amd/accordion/accordion.js index 8c98527da..f3f479865 100644 --- a/dist/amd/accordion/accordion.js +++ b/dist/amd/accordion/accordion.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.accordion.min'], function (exports, _commonCommon, _ejAccordionMin) { +define(['exports', '../common/common', 'ej.accordion.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejAccordion = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejAccordion = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejAccordion = exports.ejAccordion = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'accordion'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejAccordion, _WidgetBase); function ejAccordion(element) { - _classCallCheck(this, _ejAccordion); + _classCallCheck(this, ejAccordion); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejAccordion = ejAccordion; - ejAccordion = _commonCommon.inject(Element)(ejAccordion) || ejAccordion; - ejAccordion = _commonCommon.generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' })(ejAccordion) || ejAccordion; - ejAccordion = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejAccordion) || ejAccordion; - ejAccordion = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'accordion')(ejAccordion) || ejAccordion; return ejAccordion; - })(_commonCommon.WidgetBase); - - exports.ejAccordion = ejAccordion; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/aurelia-syncfusion-bridge.d.ts b/dist/amd/aurelia-syncfusion-bridge.d.ts index ab090199d..99e8fb87a 100644 --- a/dist/amd/aurelia-syncfusion-bridge.d.ts +++ b/dist/amd/aurelia-syncfusion-bridge.d.ts @@ -1,8 +1,31 @@ +declare module 'aurelia-binding' { +export class Lexer {} +export class ParserImplementation {} +} declare module 'aurelia-syncfusion-bridge' { - import { customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, BindableProperty, HtmlBehaviorResource, noView, processContent, TargetInstruction } from 'aurelia-templating'; - import { inject, Container } from 'aurelia-dependency-injection'; - import { metadata } from 'aurelia-metadata'; - import { TaskQueue } from 'aurelia-task-queue'; + import { + customAttribute, + bindable, + customElement, + children, + TemplatingEngine, + inlineView, + BindableProperty, + HtmlBehaviorResource, + noView, + processContent, + TargetInstruction + } from 'aurelia-templating'; + import { + inject, + Container + } from 'aurelia-dependency-injection'; + import { + metadata + } from 'aurelia-metadata'; + import { + TaskQueue + } from 'aurelia-task-queue'; import 'ej.accordion.min'; import 'ej.autocomplete.min'; import 'datavisualization/ej.barcode.min'; @@ -157,47 +180,63 @@ declare module 'aurelia-syncfusion-bridge' { } export function configure(aurelia: any, configCallback?: ((builder: EjConfigBuilder) => void)): any; export class ejAccordion extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejAutocomplete extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBarcode extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBulletGraph extends WidgetBase { qualitativeRanges: any; - constructor(element: any); + constructor(element?: any); } export class QualitativeRange { + } export class ejButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejChart extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class Series { + } export class ejCheckBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejCircularGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejColorPicker extends WidgetBase { - constructor(element: any); - } + constructor(element?: any); + } + export { + customAttribute, + bindable, + inject, + WidgetBase, + constants, + generateBindables, + inlineView, + customElement, + children, + TemplatingEngine, + TemplateProcessor, + Util + }; export const constants: any; - export function generateBindables(controlName: any, inputs: any, twoWayProperties: any, abbrevProperties: any): any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: 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; + export function getEventOption(element?: any): any; /** * Fire DOM event on an element @@ -207,24 +246,25 @@ declare module 'aurelia-syncfusion-bridge' { */ export function fireEvent(element: Element, name: string, data?: any): any; export class TemplateProcessor { - constructor(context: any, templateEngine: any); + constructor(context?: any, templateEngine?: any); initTemplate(): any; initWidgetDependancies(): any; - renderStringTemplate(self: any, selector: any, data: any, index: any): any; - compileTemplate(element: any): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; clearTempalte(): any; - unbindViews(obj: any): any; + unbindViews(obj?: any): any; } export class Template { template: any; - constructor(target: any); + constructor(target?: any); } export class Util { getBindablePropertyName(propertyName: string): string; - getOptions(model: any, properties: any): any; - getControlPropertyName(options: any, propertyName: any): any; - hasValue(prop: any): any; - processData(value: any): any; + _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 { @@ -232,16 +272,16 @@ declare module 'aurelia-syncfusion-bridge' { * To Create an widget * @param option Object which contains Element in which widget will be created */ - createWidget(option: any): any; + createWidget(option?: any): any; createTwoWays(): any; - addTwoways(prop: any): 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; + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; attached(): any; /** @@ -250,35 +290,35 @@ declare module 'aurelia-syncfusion-bridge' { * @param newValue New value of the property * @param oldvalue Pld value of the property */ - propertyChanged(property: any, newValue: any, oldValue: any): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class ejCurrencyTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDatePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDateTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDiagram extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDialog extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDropDownList extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejFileExplorer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejGantt extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Column { template: any; @@ -286,67 +326,69 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejGroupButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejKanban extends WidgetBase { columns: any; - constructor(element: any); + constructor(element?: any); } export class KanbanColumn { + } export class ejLinearGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Layer { + } export class ejMap extends WidgetBase { layers: any; - constructor(element: any); + constructor(element?: any); } export class ejMaskEdit extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejMenu extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNavigationDrawer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNumericTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejOverview extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPdfViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPercentageTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotChart extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGrid extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotSchemaDesigner extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejProgressBar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Item { template: any; @@ -354,107 +396,111 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejRadialMenu extends WidgetBase { items: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejRadialSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRadioButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class RangeSeries { + } export class ejRating extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejReportViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRibbon extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRotator extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRte extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSchedule extends WidgetBase { resources: any; - constructor(element: any); + constructor(element?: any); } export class ScheduleResource { + } export class ejScroller extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSparkline extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitter extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Sheet { + } export class ejSpreadsheet extends WidgetBase { sheets: any; - constructor(element: any); + constructor(element?: any); } export class ejSymbolPalette extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTab extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTagCloud extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTile extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToggleButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToolbar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTooltip extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTreeGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class TreeGridColumn { template: any; setTemplates(): any; } export class Level { + } export class ejTreeMap extends WidgetBase { levels: any; - constructor(element: any); + constructor(element?: any); } export class ejTreeView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejUploadbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejWaitingPopup extends WidgetBase { - constructor(element: any); + constructor(element?: any); } } \ No newline at end of file diff --git a/dist/amd/autocomplete/autocomplete.js b/dist/amd/autocomplete/autocomplete.js index e9905e2ae..58137b2a2 100644 --- a/dist/amd/autocomplete/autocomplete.js +++ b/dist/amd/autocomplete/autocomplete.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.autocomplete.min'], function (exports, _commonCommon, _ejAutocompleteMin) { +define(['exports', '../common/common', 'ej.autocomplete.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejAutocomplete = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejAutocomplete = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejAutocomplete = exports.ejAutocomplete = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'autocomplete'), _dec2 = (0, _common.generateBindables)('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejAutocomplete, _WidgetBase); function ejAutocomplete(element) { - _classCallCheck(this, _ejAutocomplete); + _classCallCheck(this, ejAutocomplete); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejAutocomplete = ejAutocomplete; - ejAutocomplete = _commonCommon.inject(Element)(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = _commonCommon.generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' })(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'autocomplete')(ejAutocomplete) || ejAutocomplete; return ejAutocomplete; - })(_commonCommon.WidgetBase); - - exports.ejAutocomplete = ejAutocomplete; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/barcode/barcode.js b/dist/amd/barcode/barcode.js index a70efe1c4..f8588691e 100644 --- a/dist/amd/barcode/barcode.js +++ b/dist/amd/barcode/barcode.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.barcode.min'], function (exports, _commonCommon, _datavisualizationEjBarcodeMin) { +define(['exports', '../common/common', 'datavisualization/ej.barcode.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejBarcode = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejBarcode = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejBarcode = exports.ejBarcode = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'barcode'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejBarcode, _WidgetBase); function ejBarcode(element) { - _classCallCheck(this, _ejBarcode); + _classCallCheck(this, ejBarcode); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejBarcode = ejBarcode; - ejBarcode = _commonCommon.inject(Element)(ejBarcode) || ejBarcode; - ejBarcode = _commonCommon.generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])(ejBarcode) || ejBarcode; - ejBarcode = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejBarcode) || ejBarcode; - ejBarcode = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'barcode')(ejBarcode) || ejBarcode; return ejBarcode; - })(_commonCommon.WidgetBase); - - exports.ejBarcode = ejBarcode; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/bulletgraph/bulletgraph.js b/dist/amd/bulletgraph/bulletgraph.js index b0fc85318..c4dbb4be3 100644 --- a/dist/amd/bulletgraph/bulletgraph.js +++ b/dist/amd/bulletgraph/bulletgraph.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'datavisualization/ej.bulletgraph.min'], function (exports, _commonCommon, _datavisualizationEjBulletgraphMin) { +define(['exports', '../common/common', 'datavisualization/ej.bulletgraph.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejBulletGraph = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejBulletGraph = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejBulletGraph, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejBulletGraph, [{ - key: 'qualitativeRanges', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'qualitative-range')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejBulletGraph = exports.ejBulletGraph = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'bullet-graph'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'qualitative-range'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejBulletGraph, _WidgetBase); function ejBulletGraph(element) { - _classCallCheck(this, _ejBulletGraph); + _classCallCheck(this, ejBulletGraph); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'qualitativeRanges', _instanceInitializers); + _initDefineProp(_this, 'qualitativeRanges', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'qualitativeRanges'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'qualitativeRanges'; + return _this; } - var _ejBulletGraph = ejBulletGraph; - ejBulletGraph = _commonCommon.inject(Element)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _commonCommon.generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'bullet-graph')(ejBulletGraph) || ejBulletGraph; return ejBulletGraph; - })(_commonCommon.WidgetBase); - - exports.ejBulletGraph = ejBulletGraph; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'qualitativeRanges', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/bulletgraph/qualitativerange.js b/dist/amd/bulletgraph/qualitativerange.js index 83157b643..28879cdea 100644 --- a/dist/amd/bulletgraph/qualitativerange.js +++ b/dist/amd/bulletgraph/qualitativerange.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.QualitativeRange = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var QualitativeRange = (function () { - function QualitativeRange() { - _classCallCheck(this, _QualitativeRange); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _QualitativeRange = QualitativeRange; - QualitativeRange = _commonCommon.generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])(QualitativeRange) || QualitativeRange; - QualitativeRange = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'qualitative-range')(QualitativeRange) || QualitativeRange; - QualitativeRange = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(QualitativeRange) || QualitativeRange; - return QualitativeRange; - })(); + var _dec, _dec2, _dec3, _class; - exports.QualitativeRange = QualitativeRange; + var QualitativeRange = exports.QualitativeRange = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'qualitative-range'), _dec3 = (0, _common.generateBindables)('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke']), _dec(_class = _dec2(_class = _dec3(_class = function QualitativeRange() { + _classCallCheck(this, QualitativeRange); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/button/button.js b/dist/amd/button/button.js index e9a590b2c..1ed189369 100644 --- a/dist/amd/button/button.js +++ b/dist/amd/button/button.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.button.min'], function (exports, _commonCommon, _ejButtonMin) { +define(['exports', '../common/common', 'ej.button.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejButton = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejButton = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejButton = exports.ejButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'button'), _dec2 = (0, _common.generateBindables)('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejButton, _WidgetBase); function ejButton(element) { - _classCallCheck(this, _ejButton); + _classCallCheck(this, ejButton); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejButton = ejButton; - ejButton = _commonCommon.inject(Element)(ejButton) || ejButton; - ejButton = _commonCommon.generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejButton) || ejButton; - ejButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'button')(ejButton) || ejButton; return ejButton; - })(_commonCommon.WidgetBase); - - exports.ejButton = ejButton; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/chart/chart.js b/dist/amd/chart/chart.js index f0c4e5b6a..566d9bb21 100644 --- a/dist/amd/chart/chart.js +++ b/dist/amd/chart/chart.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'datavisualization/ej.chart.min'], function (exports, _commonCommon, _datavisualizationEjChartMin) { +define(['exports', '../common/common', 'datavisualization/ej.chart.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejChart = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejChart = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejChart, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejChart, [{ - key: 'series', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejChart = exports.ejChart = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'chart'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejChart, _WidgetBase); function ejChart(element) { - _classCallCheck(this, _ejChart); + _classCallCheck(this, ejChart); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejChart = ejChart; - ejChart = _commonCommon.inject(Element)(ejChart) || ejChart; - ejChart = _commonCommon.generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])(ejChart) || ejChart; - ejChart = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejChart) || ejChart; - ejChart = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'chart')(ejChart) || ejChart; return ejChart; - })(_commonCommon.WidgetBase); - - exports.ejChart = ejChart; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/chart/series.js b/dist/amd/chart/series.js index 2582ff7d9..98dcd5315 100644 --- a/dist/amd/chart/series.js +++ b/dist/amd/chart/series.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Series = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var Series = (function () { - function Series() { - _classCallCheck(this, _Series); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _Series = Series; - Series = _commonCommon.generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])(Series) || Series; - Series = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'series')(Series) || Series; - Series = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Series) || Series; - return Series; - })(); + var _dec, _dec2, _dec3, _class; - exports.Series = Series; + var Series = exports.Series = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'series'), _dec3 = (0, _common.generateBindables)('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings']), _dec(_class = _dec2(_class = _dec3(_class = function Series() { + _classCallCheck(this, Series); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/checkbox/checkbox.js b/dist/amd/checkbox/checkbox.js index 73b5d262b..5917ca09e 100644 --- a/dist/amd/checkbox/checkbox.js +++ b/dist/amd/checkbox/checkbox.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.checkbox.min'], function (exports, _commonCommon, _ejCheckboxMin) { +define(['exports', '../common/common', 'ej.checkbox.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejCheckBox = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejCheckBox = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejCheckBox = exports.ejCheckBox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'check-box'), _dec2 = (0, _common.generateBindables)('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCheckBox, _WidgetBase); function ejCheckBox(element) { - _classCallCheck(this, _ejCheckBox); + _classCallCheck(this, ejCheckBox); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejCheckBox = ejCheckBox; - ejCheckBox = _commonCommon.inject(Element)(ejCheckBox) || ejCheckBox; - ejCheckBox = _commonCommon.generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' })(ejCheckBox) || ejCheckBox; - ejCheckBox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'check-box')(ejCheckBox) || ejCheckBox; return ejCheckBox; - })(_commonCommon.WidgetBase); - - exports.ejCheckBox = ejCheckBox; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/circulargauge/circulargauge.js b/dist/amd/circulargauge/circulargauge.js index 62f513acc..d48d6c610 100644 --- a/dist/amd/circulargauge/circulargauge.js +++ b/dist/amd/circulargauge/circulargauge.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.circulargauge.min'], function (exports, _commonCommon, _datavisualizationEjCirculargaugeMin) { +define(['exports', '../common/common', 'datavisualization/ej.circulargauge.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejCircularGauge = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejCircularGauge = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejCircularGauge = exports.ejCircularGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'circular-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejCircularGauge, _WidgetBase); function ejCircularGauge(element) { - _classCallCheck(this, _ejCircularGauge); + _classCallCheck(this, ejCircularGauge); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejCircularGauge = ejCircularGauge; - ejCircularGauge = _commonCommon.inject(Element)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _commonCommon.generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'circular-gauge')(ejCircularGauge) || ejCircularGauge; return ejCircularGauge; - })(_commonCommon.WidgetBase); - - exports.ejCircularGauge = ejCircularGauge; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/colorpicker/colorpicker.js b/dist/amd/colorpicker/colorpicker.js index f783ccdb4..9bdf633d3 100644 --- a/dist/amd/colorpicker/colorpicker.js +++ b/dist/amd/colorpicker/colorpicker.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.colorpicker.min'], function (exports, _commonCommon, _ejColorpickerMin) { +define(['exports', '../common/common', 'ej.colorpicker.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejColorPicker = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejColorPicker = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejColorPicker = exports.ejColorPicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'color-picker'), _dec2 = (0, _common.generateBindables)('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejColorPicker, _WidgetBase); function ejColorPicker(element) { - _classCallCheck(this, _ejColorPicker); + _classCallCheck(this, ejColorPicker); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejColorPicker = ejColorPicker; - ejColorPicker = _commonCommon.inject(Element)(ejColorPicker) || ejColorPicker; - ejColorPicker = _commonCommon.generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])(ejColorPicker) || ejColorPicker; - ejColorPicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'color-picker')(ejColorPicker) || ejColorPicker; return ejColorPicker; - })(_commonCommon.WidgetBase); - - exports.ejColorPicker = ejColorPicker; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/common/common.js b/dist/amd/common/common.js index 9d0e6e726..08a0e2c93 100644 --- a/dist/amd/common/common.js +++ b/dist/amd/common/common.js @@ -1,7 +1,10 @@ define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', './widget-base', './constants', './decorators', './template-processor', './util'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _widgetBase, _constants, _decorators, _templateProcessor, _util) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Util = exports.TemplateProcessor = exports.TemplatingEngine = exports.children = exports.customElement = exports.inlineView = exports.generateBindables = exports.constants = exports.WidgetBase = exports.inject = exports.bindable = exports.customAttribute = undefined; exports.customAttribute = _aureliaTemplating.customAttribute; exports.bindable = _aureliaTemplating.bindable; exports.inject = _aureliaDependencyInjection.inject; diff --git a/dist/amd/common/constants.js b/dist/amd/common/constants.js index b9cbf1ea6..70d652892 100644 --- a/dist/amd/common/constants.js +++ b/dist/amd/common/constants.js @@ -1,13 +1,14 @@ define(['exports'], function (exports) { 'use strict'; - exports.__esModule = true; - var constants = { + Object.defineProperty(exports, "__esModule", { + value: true + }); + var constants = exports.constants = { eventPrefix: 'e-on-', bindablePrefix: 'e-', attributePrefix: 'ej-', elementPrefix: 'ej-', aureliaTemplateString: '' }; - exports.constants = constants; }); \ No newline at end of file diff --git a/dist/amd/common/decorators.js b/dist/amd/common/decorators.js index b635cf9cb..b632a3428 100644 --- a/dist/amd/common/decorators.js +++ b/dist/amd/common/decorators.js @@ -1,10 +1,11 @@ define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', 'aurelia-metadata', 'aurelia-task-queue', './util'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _aureliaMetadata, _aureliaTaskQueue, _util) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); exports.generateBindables = generateBindables; exports.delayed = delayed; - function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) { return function (target, key, descriptor) { var behaviorResource = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, _aureliaTemplating.HtmlBehaviorResource, target); diff --git a/dist/amd/common/events.js b/dist/amd/common/events.js index ab7f1ba41..b937e095a 100644 --- a/dist/amd/common/events.js +++ b/dist/amd/common/events.js @@ -1,19 +1,20 @@ define(['exports', './util', 'aurelia-dependency-injection', './constants'], function (exports, _util, _aureliaDependencyInjection, _constants) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); exports.getEventOption = getEventOption; exports.fireEvent = fireEvent; - function getEventOption(element) { - var name = undefined; - var attr = undefined; + 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.Util); - var _loop = function (i, len) { + var _loop = function _loop(i, len) { attr = attributes[i]; name = attr.name; if (!name.startsWith(_constants.constants.eventPrefix)) { @@ -33,7 +34,6 @@ define(['exports', './util', 'aurelia-dependency-injection', './constants'], fun } return option; } - function fireEvent(element, name) { var data = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; diff --git a/dist/amd/common/template-processor.js b/dist/amd/common/template-processor.js index 28ebf9a7c..745218fc4 100644 --- a/dist/amd/common/template-processor.js +++ b/dist/amd/common/template-processor.js @@ -1,17 +1,26 @@ -define(['exports', 'aurelia-dependency-injection', '../common/util', 'aurelia-templating'], function (exports, _aureliaDependencyInjection, _commonUtil, _aureliaTemplating) { +define(['exports', 'aurelia-dependency-injection', '../common/util', 'aurelia-templating'], function (exports, _aureliaDependencyInjection, _util, _aureliaTemplating) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.TemplateProcessor = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + var _dec, _class; - var TemplateProcessor = (function () { + var TemplateProcessor = exports.TemplateProcessor = (_dec = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, _util.Util), _dec(_class = function () { function TemplateProcessor(context, templateEngine) { - _classCallCheck(this, _TemplateProcessor); + _classCallCheck(this, TemplateProcessor); this.context = context; this.templatingEngine = templateEngine; - this.util = new _commonUtil.Util(); + this.util = new _util.Util(); } TemplateProcessor.prototype.initTemplate = function initTemplate() { @@ -87,10 +96,6 @@ define(['exports', 'aurelia-dependency-injection', '../common/util', 'aurelia-te } }; - var _TemplateProcessor = TemplateProcessor; - TemplateProcessor = _aureliaDependencyInjection.inject(_aureliaTemplating.TemplatingEngine, _commonUtil.Util)(TemplateProcessor) || TemplateProcessor; return TemplateProcessor; - })(); - - exports.TemplateProcessor = TemplateProcessor; + }()) || _class); }); \ No newline at end of file diff --git a/dist/amd/common/template.js b/dist/amd/common/template.js index 6777e3799..484aa1952 100644 --- a/dist/amd/common/template.js +++ b/dist/amd/common/template.js @@ -1,45 +1,76 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', './constants'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _constants) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Template = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - var Template = (function () { - var _instanceInitializers = {}; + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } - _createDecoratedClass(Template, [{ - key: 'template', - decorators: [_aureliaTemplating.bindable], - initializer: null, - enumerable: true - }], null, _instanceInitializers); + return desc; + } - function Template(target) { - _classCallCheck(this, _Template); + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; - this.template = target.elementInstruction.template; + var Template = exports.Template = (_dec = (0, _aureliaTemplating.customElement)(_constants.constants.elementPrefix + 'template'), _dec2 = (0, _aureliaTemplating.noView)(), _dec3 = (0, _aureliaTemplating.processContent)(function (compiler, resources, element, instruction) { + var html = element.innerHTML; + if (html !== '') { + instruction.template = html; } + element.innerHTML = ''; + }), _dec4 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function Template(target) { + _classCallCheck(this, Template); + + _initDefineProp(this, 'template', _descriptor, this); - var _Template = Template; - Template = _aureliaDependencyInjection.inject(_aureliaTemplating.TargetInstruction)(Template) || Template; - Template = _aureliaTemplating.processContent(function (compiler, resources, element, instruction) { - var html = element.innerHTML; - if (html !== '') { - instruction.template = html; - } - element.innerHTML = ''; - })(Template) || Template; - Template = _aureliaTemplating.noView()(Template) || Template; - Template = _aureliaTemplating.customElement(_constants.constants.elementPrefix + 'template')(Template) || Template; - return Template; - })(); - - exports.Template = Template; + this.template = target.elementInstruction.template; + }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_aureliaTemplating.bindable], { + enumerable: true, + initializer: null + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/common/util.js b/dist/amd/common/util.js index 84cc6f4c8..0e2919aaa 100644 --- a/dist/amd/common/util.js +++ b/dist/amd/common/util.js @@ -1,11 +1,18 @@ define(['exports', './constants'], function (exports, _constants) { 'use strict'; - exports.__esModule = true; - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Util = undefined; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - var Util = (function () { + var Util = exports.Util = function () { function Util() { _classCallCheck(this, Util); } @@ -23,7 +30,7 @@ define(['exports', './constants'], function (exports, _constants) { Util.prototype.getOptions = function getOptions(model, properties) { var bindableproperites = {}; - var value = undefined; + var value = void 0; for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; @@ -54,7 +61,7 @@ define(['exports', './constants'], function (exports, _constants) { }; Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { - var property = undefined; + var property = void 0; for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { var _ref2; @@ -93,7 +100,5 @@ define(['exports', './constants'], function (exports, _constants) { }; return Util; - })(); - - exports.Util = Util; + }(); }); \ No newline at end of file diff --git a/dist/amd/common/widget-base.js b/dist/amd/common/widget-base.js index b8f9c136b..ea474d3bd 100644 --- a/dist/amd/common/widget-base.js +++ b/dist/amd/common/widget-base.js @@ -1,15 +1,50 @@ -define(['exports', './events', '../common/util', '../common/decorators'], function (exports, _events, _commonUtil, _commonDecorators) { +define(['exports', './events', '../common/util', '../common/decorators'], function (exports, _events, _util, _decorators) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.WidgetBase = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - var firstValue = {}; + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } - var WidgetBase = (function () { + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + var _dec, _desc, _value, _class; + + var firstValue = {}; + var WidgetBase = exports.WidgetBase = (_dec = (0, _decorators.delayed)(), (_class = function () { function WidgetBase() { _classCallCheck(this, WidgetBase); } @@ -64,21 +99,21 @@ define(['exports', './events', '../common/util', '../common/decorators'], functi } value = newVal; if (!isApp && model.util.hasValue(newVal)) { - var viewModelProp = model.util.getBindablePropertyName(prop); - model[viewModelProp] = newVal; + var _viewModelProp = model.util.getBindablePropertyName(prop); + model[_viewModelProp] = newVal; } return null; }; }; WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { - var propOptions = undefined; + var propOptions = void 0; if (this.ejOptions) { propOptions = this.ejOptions; } else { propOptions = this.util.getOptions(this, this.controlProperties); } - var eventOption = _events.getEventOption(element); + var eventOption = (0, _events.getEventOption)(element); if (this.hasChildProperty) { this.getChildProperties(propOptions); } @@ -98,9 +133,19 @@ define(['exports', './events', '../common/util', '../common/decorators'], functi } }; + WidgetBase.prototype.attached = function attached() { + if (this.templateProcessor) { + this[this.childPropertyName].forEach(function (template) { + return template.setTemplates(); + }); + } + this.util = new _util.Util(); + this.createWidget({ element: this.element }); + }; + WidgetBase.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) { if (this.widget) { - var modelValue = undefined; + var modelValue = void 0; var prop = this.util.getControlPropertyName(this, property); if (prop) { if (prop !== 'options') { @@ -131,22 +176,6 @@ define(['exports', './events', '../common/util', '../common/decorators'], functi } }; - _createDecoratedClass(WidgetBase, [{ - key: 'attached', - decorators: [_commonDecorators.delayed()], - value: function attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(function (template) { - return template.setTemplates(); - }); - } - this.util = new _commonUtil.Util(); - this.createWidget({ element: this.element }); - } - }]); - return WidgetBase; - })(); - - exports.WidgetBase = WidgetBase; + }(), (_applyDecoratedDescriptor(_class.prototype, 'attached', [_dec], Object.getOwnPropertyDescriptor(_class.prototype, 'attached'), _class.prototype)), _class)); }); \ No newline at end of file diff --git a/dist/amd/config-builder.js b/dist/amd/config-builder.js index 73296d313..63c095533 100644 --- a/dist/amd/config-builder.js +++ b/dist/amd/config-builder.js @@ -1,11 +1,17 @@ define(['exports'], function (exports) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - var EjConfigBuilder = (function () { + var EjConfigBuilder = exports.EjConfigBuilder = function () { function EjConfigBuilder() { _classCallCheck(this, EjConfigBuilder); @@ -370,7 +376,5 @@ define(['exports'], function (exports) { }; return EjConfigBuilder; - })(); - - exports.EjConfigBuilder = EjConfigBuilder; + }(); }); \ No newline at end of file diff --git a/dist/amd/currencytextbox/currencytextbox.js b/dist/amd/currencytextbox/currencytextbox.js index 71ada3f2a..467a37ad8 100644 --- a/dist/amd/currencytextbox/currencytextbox.js +++ b/dist/amd/currencytextbox/currencytextbox.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.editor.min'], function (exports, _commonCommon, _ejEditorMin) { +define(['exports', '../common/common', 'ej.editor.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejCurrencyTextbox = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejCurrencyTextbox = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejCurrencyTextbox = exports.ejCurrencyTextbox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'currency-textbox'), _dec2 = (0, _common.generateBindables)('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCurrencyTextbox, _WidgetBase); function ejCurrencyTextbox(element) { - _classCallCheck(this, _ejCurrencyTextbox); + _classCallCheck(this, ejCurrencyTextbox); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejCurrencyTextbox = ejCurrencyTextbox; - ejCurrencyTextbox = _commonCommon.inject(Element)(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = _commonCommon.generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'currency-textbox')(ejCurrencyTextbox) || ejCurrencyTextbox; return ejCurrencyTextbox; - })(_commonCommon.WidgetBase); - - exports.ejCurrencyTextbox = ejCurrencyTextbox; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/datepicker/datepicker.js b/dist/amd/datepicker/datepicker.js index 7e72bb042..27ddb2294 100644 --- a/dist/amd/datepicker/datepicker.js +++ b/dist/amd/datepicker/datepicker.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.datepicker.min'], function (exports, _commonCommon, _ejDatepickerMin) { +define(['exports', '../common/common', 'ej.datepicker.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejDatePicker = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejDatePicker = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejDatePicker = exports.ejDatePicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'date-picker'), _dec2 = (0, _common.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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDatePicker, _WidgetBase); function ejDatePicker(element) { - _classCallCheck(this, _ejDatePicker); + _classCallCheck(this, ejDatePicker); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDatePicker = ejDatePicker; - ejDatePicker = _commonCommon.inject(Element)(ejDatePicker) || ejDatePicker; - ejDatePicker = _commonCommon.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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDatePicker) || ejDatePicker; - ejDatePicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'date-picker')(ejDatePicker) || ejDatePicker; return ejDatePicker; - })(_commonCommon.WidgetBase); - - exports.ejDatePicker = ejDatePicker; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/datetimepicker/datetimepicker.js b/dist/amd/datetimepicker/datetimepicker.js index ab6b4cd48..368800bf8 100644 --- a/dist/amd/datetimepicker/datetimepicker.js +++ b/dist/amd/datetimepicker/datetimepicker.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.datetimepicker.min'], function (exports, _commonCommon, _ejDatetimepickerMin) { +define(['exports', '../common/common', 'ej.datetimepicker.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejDateTimePicker = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejDateTimePicker = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejDateTimePicker = exports.ejDateTimePicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'date-time-picker'), _dec2 = (0, _common.generateBindables)('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDateTimePicker, _WidgetBase); function ejDateTimePicker(element) { - _classCallCheck(this, _ejDateTimePicker); + _classCallCheck(this, ejDateTimePicker); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDateTimePicker = ejDateTimePicker; - ejDateTimePicker = _commonCommon.inject(Element)(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = _commonCommon.generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'date-time-picker')(ejDateTimePicker) || ejDateTimePicker; return ejDateTimePicker; - })(_commonCommon.WidgetBase); - - exports.ejDateTimePicker = ejDateTimePicker; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/diagram/diagram.js b/dist/amd/diagram/diagram.js index 04a37c912..7a067a234 100644 --- a/dist/amd/diagram/diagram.js +++ b/dist/amd/diagram/diagram.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.diagram.min'], function (exports, _commonCommon, _datavisualizationEjDiagramMin) { +define(['exports', '../common/common', 'datavisualization/ej.diagram.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejDiagram = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejDiagram = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejDiagram = exports.ejDiagram = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'diagram'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDiagram, _WidgetBase); function ejDiagram(element) { - _classCallCheck(this, _ejDiagram); + _classCallCheck(this, ejDiagram); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejDiagram = ejDiagram; - ejDiagram = _commonCommon.inject(Element)(ejDiagram) || ejDiagram; - ejDiagram = _commonCommon.generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])(ejDiagram) || ejDiagram; - ejDiagram = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejDiagram) || ejDiagram; - ejDiagram = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'diagram')(ejDiagram) || ejDiagram; return ejDiagram; - })(_commonCommon.WidgetBase); - - exports.ejDiagram = ejDiagram; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/dialog/dialog.js b/dist/amd/dialog/dialog.js index 8cd62a053..00b36da3a 100644 --- a/dist/amd/dialog/dialog.js +++ b/dist/amd/dialog/dialog.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.dialog.min'], function (exports, _commonCommon, _ejDialogMin) { +define(['exports', '../common/common', 'ej.dialog.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejDialog = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejDialog = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejDialog = exports.ejDialog = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'dialog'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDialog, _WidgetBase); function ejDialog(element) { - _classCallCheck(this, _ejDialog); + _classCallCheck(this, ejDialog); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejDialog = ejDialog; - ejDialog = _commonCommon.inject(Element)(ejDialog) || ejDialog; - ejDialog = _commonCommon.generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' })(ejDialog) || ejDialog; - ejDialog = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejDialog) || ejDialog; - ejDialog = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'dialog')(ejDialog) || ejDialog; return ejDialog; - })(_commonCommon.WidgetBase); - - exports.ejDialog = ejDialog; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/digitalgauge/digitalgauge.js b/dist/amd/digitalgauge/digitalgauge.js index e3e73ef72..4dd118a96 100644 --- a/dist/amd/digitalgauge/digitalgauge.js +++ b/dist/amd/digitalgauge/digitalgauge.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.digitalgauge.min'], function (exports, _commonCommon, _datavisualizationEjDigitalgaugeMin) { +define(['exports', '../common/common', 'datavisualization/ej.digitalgauge.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejDigitalGauge = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejDigitalGauge = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejDigitalGauge = exports.ejDigitalGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'digital-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDigitalGauge, _WidgetBase); function ejDigitalGauge(element) { - _classCallCheck(this, _ejDigitalGauge); + _classCallCheck(this, ejDigitalGauge); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejDigitalGauge = ejDigitalGauge; - ejDigitalGauge = _commonCommon.inject(Element)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _commonCommon.generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'digital-gauge')(ejDigitalGauge) || ejDigitalGauge; return ejDigitalGauge; - })(_commonCommon.WidgetBase); - - exports.ejDigitalGauge = ejDigitalGauge; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/dropdownlist/dropdownlist.js b/dist/amd/dropdownlist/dropdownlist.js index 1769ba3ef..da9173695 100644 --- a/dist/amd/dropdownlist/dropdownlist.js +++ b/dist/amd/dropdownlist/dropdownlist.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.dropdownlist.min'], function (exports, _commonCommon, _ejDropdownlistMin) { +define(['exports', '../common/common', 'ej.dropdownlist.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejDropDownList = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejDropDownList = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejDropDownList = exports.ejDropDownList = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'drop-down-list'), _dec2 = (0, _common.generateBindables)('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDropDownList, _WidgetBase); function ejDropDownList(element) { - _classCallCheck(this, _ejDropDownList); + _classCallCheck(this, ejDropDownList); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejDropDownList = ejDropDownList; - ejDropDownList = _commonCommon.inject(Element)(ejDropDownList) || ejDropDownList; - ejDropDownList = _commonCommon.generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' })(ejDropDownList) || ejDropDownList; - ejDropDownList = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'drop-down-list')(ejDropDownList) || ejDropDownList; return ejDropDownList; - })(_commonCommon.WidgetBase); - - exports.ejDropDownList = ejDropDownList; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/fileexplorer/fileexplorer.js b/dist/amd/fileexplorer/fileexplorer.js index 72005fff8..2620d0426 100644 --- a/dist/amd/fileexplorer/fileexplorer.js +++ b/dist/amd/fileexplorer/fileexplorer.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.fileexplorer.min'], function (exports, _commonCommon, _ejFileexplorerMin) { +define(['exports', '../common/common', 'ej.fileexplorer.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejFileExplorer = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejFileExplorer = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejFileExplorer = exports.ejFileExplorer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'file-explorer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejFileExplorer, _WidgetBase); function ejFileExplorer(element) { - _classCallCheck(this, _ejFileExplorer); + _classCallCheck(this, ejFileExplorer); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejFileExplorer = ejFileExplorer; - ejFileExplorer = _commonCommon.inject(Element)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _commonCommon.generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' })(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'file-explorer')(ejFileExplorer) || ejFileExplorer; return ejFileExplorer; - })(_commonCommon.WidgetBase); - - exports.ejFileExplorer = ejFileExplorer; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/gantt/gantt.js b/dist/amd/gantt/gantt.js index 247238324..ac033781c 100644 --- a/dist/amd/gantt/gantt.js +++ b/dist/amd/gantt/gantt.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.gantt.min'], function (exports, _commonCommon, _ejGanttMin) { +define(['exports', '../common/common', 'ej.gantt.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejGantt = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejGantt = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejGantt = exports.ejGantt = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'gantt'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejGantt, _WidgetBase); function ejGantt(element) { - _classCallCheck(this, _ejGantt); + _classCallCheck(this, ejGantt); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejGantt = ejGantt; - ejGantt = _commonCommon.inject(Element)(ejGantt) || ejGantt; - ejGantt = _commonCommon.generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])(ejGantt) || ejGantt; - ejGantt = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejGantt) || ejGantt; - ejGantt = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'gantt')(ejGantt) || ejGantt; return ejGantt; - })(_commonCommon.WidgetBase); - - exports.ejGantt = ejGantt; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/grid/column.js b/dist/amd/grid/column.js index 2ad63085f..e2484bddb 100644 --- a/dist/amd/grid/column.js +++ b/dist/amd/grid/column.js @@ -1,45 +1,81 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Column = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return desc; + } - var Column = (function () { - var _instanceInitializers = {}; + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } + var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; + + var Column = exports.Column = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'column'), _dec3 = (0, _common.generateBindables)('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width']), _dec4 = (0, _common.children)(_common.constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Column() { - _classCallCheck(this, _Column); + _classCallCheck(this, Column); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Column.prototype.setTemplates = function setTemplates() { if (this.template[0]) { - var util = new _commonCommon.Util(); + var util = new _common.Util(); this[util.getBindablePropertyName('template')] = this.template[0].template; } }; - _createDecoratedClass(Column, [{ - key: 'template', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Column = Column; - Column = _commonCommon.generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])(Column) || Column; - Column = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'column')(Column) || Column; - Column = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Column) || Column; return Column; - })(); - - exports.Column = Column; + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/grid/grid.js b/dist/amd/grid/grid.js index 1bb5ec8a2..33bda6e92 100644 --- a/dist/amd/grid/grid.js +++ b/dist/amd/grid/grid.js @@ -1,51 +1,109 @@ -define(['exports', '../common/common', 'ej.grid.min'], function (exports, _commonCommon, _ejGridMin) { +define(['exports', '../common/common', 'ej.grid.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejGrid = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejGrid, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejGrid, [{ - key: 'columns', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejGrid = exports.ejGrid = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'grid'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element, _common.TemplatingEngine), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejGrid, _WidgetBase); function ejGrid(element, templateEngine) { - _classCallCheck(this, _ejGrid); + _classCallCheck(this, ejGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new _commonCommon.TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new _common.TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejGrid = ejGrid; - ejGrid = _commonCommon.inject(Element, _commonCommon.TemplatingEngine)(ejGrid) || ejGrid; - ejGrid = _commonCommon.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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejGrid) || ejGrid; - ejGrid = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejGrid) || ejGrid; - ejGrid = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'grid')(ejGrid) || ejGrid; return ejGrid; - })(_commonCommon.WidgetBase); - - exports.ejGrid = ejGrid; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/groupbutton/groupbutton.js b/dist/amd/groupbutton/groupbutton.js index db7cb89af..61b2a7c43 100644 --- a/dist/amd/groupbutton/groupbutton.js +++ b/dist/amd/groupbutton/groupbutton.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.groupbutton.min'], function (exports, _commonCommon, _ejGroupbuttonMin) { +define(['exports', '../common/common', 'ej.groupbutton.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejGroupButton = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejGroupButton = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejGroupButton = exports.ejGroupButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'group-button'), _dec2 = (0, _common.generateBindables)('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejGroupButton, _WidgetBase); function ejGroupButton(element) { - _classCallCheck(this, _ejGroupButton); + _classCallCheck(this, ejGroupButton); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejGroupButton = ejGroupButton; - ejGroupButton = _commonCommon.inject(Element)(ejGroupButton) || ejGroupButton; - ejGroupButton = _commonCommon.generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' })(ejGroupButton) || ejGroupButton; - ejGroupButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'group-button')(ejGroupButton) || ejGroupButton; return ejGroupButton; - })(_commonCommon.WidgetBase); - - exports.ejGroupButton = ejGroupButton; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/index.js b/dist/amd/index.js index bd6744e1e..66275969f 100644 --- a/dist/amd/index.js +++ b/dist/amd/index.js @@ -1,9 +1,10 @@ define(['exports', './config-builder'], function (exports, _configBuilder) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); exports.configure = configure; - function configure(aurelia, configCallback) { var builder = new _configBuilder.EjConfigBuilder(); diff --git a/dist/amd/kanban/kanban.js b/dist/amd/kanban/kanban.js index 9b72baaf4..85dd4debe 100644 --- a/dist/amd/kanban/kanban.js +++ b/dist/amd/kanban/kanban.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'ej.kanban.min'], function (exports, _commonCommon, _ejKanbanMin) { +define(['exports', '../common/common', 'ej.kanban.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejKanban = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejKanban = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejKanban, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejKanban, [{ - key: 'columns', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'kanban-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejKanban = exports.ejKanban = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'kanban'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'kanban-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejKanban, _WidgetBase); function ejKanban(element) { - _classCallCheck(this, _ejKanban); + _classCallCheck(this, ejKanban); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + return _this; } - var _ejKanban = ejKanban; - ejKanban = _commonCommon.inject(Element)(ejKanban) || ejKanban; - ejKanban = _commonCommon.generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejKanban) || ejKanban; - ejKanban = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejKanban) || ejKanban; - ejKanban = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'kanban')(ejKanban) || ejKanban; return ejKanban; - })(_commonCommon.WidgetBase); - - exports.ejKanban = ejKanban; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/kanban/kanbancolumn.js b/dist/amd/kanban/kanbancolumn.js index 9cf239b49..65e822b12 100644 --- a/dist/amd/kanban/kanbancolumn.js +++ b/dist/amd/kanban/kanbancolumn.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.KanbanColumn = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var KanbanColumn = (function () { - function KanbanColumn() { - _classCallCheck(this, _KanbanColumn); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _KanbanColumn = KanbanColumn; - KanbanColumn = _commonCommon.generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])(KanbanColumn) || KanbanColumn; - KanbanColumn = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'kanban-column')(KanbanColumn) || KanbanColumn; - KanbanColumn = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(KanbanColumn) || KanbanColumn; - return KanbanColumn; - })(); + var _dec, _dec2, _dec3, _class; - exports.KanbanColumn = KanbanColumn; + var KanbanColumn = exports.KanbanColumn = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'kanban-column'), _dec3 = (0, _common.generateBindables)('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec(_class = _dec2(_class = _dec3(_class = function KanbanColumn() { + _classCallCheck(this, KanbanColumn); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/lineargauge/lineargauge.js b/dist/amd/lineargauge/lineargauge.js index efc59189f..9e100a139 100644 --- a/dist/amd/lineargauge/lineargauge.js +++ b/dist/amd/lineargauge/lineargauge.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.lineargauge.min'], function (exports, _commonCommon, _datavisualizationEjLineargaugeMin) { +define(['exports', '../common/common', 'datavisualization/ej.lineargauge.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejLinearGauge = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejLinearGauge = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejLinearGauge = exports.ejLinearGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'linear-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejLinearGauge, _WidgetBase); function ejLinearGauge(element) { - _classCallCheck(this, _ejLinearGauge); + _classCallCheck(this, ejLinearGauge); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejLinearGauge = ejLinearGauge; - ejLinearGauge = _commonCommon.inject(Element)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _commonCommon.generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'linear-gauge')(ejLinearGauge) || ejLinearGauge; return ejLinearGauge; - })(_commonCommon.WidgetBase); - - exports.ejLinearGauge = ejLinearGauge; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/listbox/listbox.js b/dist/amd/listbox/listbox.js index a56298d51..8c0ee317a 100644 --- a/dist/amd/listbox/listbox.js +++ b/dist/amd/listbox/listbox.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.listbox.min'], function (exports, _commonCommon, _ejListboxMin) { +define(['exports', '../common/common', 'ej.listbox.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejListBox = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejListBox = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejListBox = exports.ejListBox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'list-box'), _dec2 = (0, _common.generateBindables)('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejListBox, _WidgetBase); function ejListBox(element) { - _classCallCheck(this, _ejListBox); + _classCallCheck(this, ejListBox); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejListBox = ejListBox; - ejListBox = _commonCommon.inject(Element)(ejListBox) || ejListBox; - ejListBox = _commonCommon.generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejListBox) || ejListBox; - ejListBox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'list-box')(ejListBox) || ejListBox; return ejListBox; - })(_commonCommon.WidgetBase); - - exports.ejListBox = ejListBox; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/listview/listview.js b/dist/amd/listview/listview.js index eb9298d25..93788a53a 100644 --- a/dist/amd/listview/listview.js +++ b/dist/amd/listview/listview.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.listview.min'], function (exports, _commonCommon, _ejListviewMin) { +define(['exports', '../common/common', 'ej.listview.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejListView = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejListView = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejListView = exports.ejListView = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'list-view'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejListView, _WidgetBase); function ejListView(element) { - _classCallCheck(this, _ejListView); + _classCallCheck(this, ejListView); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejListView = ejListView; - ejListView = _commonCommon.inject(Element)(ejListView) || ejListView; - ejListView = _commonCommon.generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])(ejListView) || ejListView; - ejListView = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejListView) || ejListView; - ejListView = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'list-view')(ejListView) || ejListView; return ejListView; - })(_commonCommon.WidgetBase); - - exports.ejListView = ejListView; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/map/layer.js b/dist/amd/map/layer.js index 0d277c7b8..3d5cf9144 100644 --- a/dist/amd/map/layer.js +++ b/dist/amd/map/layer.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Layer = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var Layer = (function () { - function Layer() { - _classCallCheck(this, _Layer); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _Layer = Layer; - Layer = _commonCommon.generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])(Layer) || Layer; - Layer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'layer')(Layer) || Layer; - Layer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Layer) || Layer; - return Layer; - })(); + var _dec, _dec2, _dec3, _class; - exports.Layer = Layer; + var Layer = exports.Layer = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'layer'), _dec3 = (0, _common.generateBindables)('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate']), _dec(_class = _dec2(_class = _dec3(_class = function Layer() { + _classCallCheck(this, Layer); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/map/map.js b/dist/amd/map/map.js index 3612185d7..c947005b7 100644 --- a/dist/amd/map/map.js +++ b/dist/amd/map/map.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'datavisualization/ej.map.min'], function (exports, _commonCommon, _datavisualizationEjMapMin) { +define(['exports', '../common/common', 'datavisualization/ej.map.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejMap = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejMap = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejMap, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejMap, [{ - key: 'layers', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'layer')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejMap = exports.ejMap = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'map'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'layer'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejMap, _WidgetBase); function ejMap(element) { - _classCallCheck(this, _ejMap); + _classCallCheck(this, ejMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'layers', _instanceInitializers); + _initDefineProp(_this, 'layers', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'layers'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'layers'; + return _this; } - var _ejMap = ejMap; - ejMap = _commonCommon.inject(Element)(ejMap) || ejMap; - ejMap = _commonCommon.generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])(ejMap) || ejMap; - ejMap = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejMap) || ejMap; - ejMap = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'map')(ejMap) || ejMap; return ejMap; - })(_commonCommon.WidgetBase); - - exports.ejMap = ejMap; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'layers', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/maskedit/maskedit.js b/dist/amd/maskedit/maskedit.js index 1d0a5c281..960ae1a64 100644 --- a/dist/amd/maskedit/maskedit.js +++ b/dist/amd/maskedit/maskedit.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.maskedit.min'], function (exports, _commonCommon, _ejMaskeditMin) { +define(['exports', '../common/common', 'ej.maskedit.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejMaskEdit = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejMaskEdit = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejMaskEdit = exports.ejMaskEdit = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'mask-edit'), _dec2 = (0, _common.generateBindables)('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMaskEdit, _WidgetBase); function ejMaskEdit(element) { - _classCallCheck(this, _ejMaskEdit); + _classCallCheck(this, ejMaskEdit); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejMaskEdit = ejMaskEdit; - ejMaskEdit = _commonCommon.inject(Element)(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = _commonCommon.generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'mask-edit')(ejMaskEdit) || ejMaskEdit; return ejMaskEdit; - })(_commonCommon.WidgetBase); - - exports.ejMaskEdit = ejMaskEdit; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/menu/menu.js b/dist/amd/menu/menu.js index 0c3b42319..dfaca6921 100644 --- a/dist/amd/menu/menu.js +++ b/dist/amd/menu/menu.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.menu.min'], function (exports, _commonCommon, _ejMenuMin) { +define(['exports', '../common/common', 'ej.menu.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejMenu = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejMenu = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejMenu = exports.ejMenu = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'menu'), _dec2 = (0, _common.generateBindables)('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMenu, _WidgetBase); function ejMenu(element) { - _classCallCheck(this, _ejMenu); + _classCallCheck(this, ejMenu); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejMenu = ejMenu; - ejMenu = _commonCommon.inject(Element)(ejMenu) || ejMenu; - ejMenu = _commonCommon.generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' })(ejMenu) || ejMenu; - ejMenu = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'menu')(ejMenu) || ejMenu; return ejMenu; - })(_commonCommon.WidgetBase); - - exports.ejMenu = ejMenu; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/navigationdrawer/navigationdrawer.js b/dist/amd/navigationdrawer/navigationdrawer.js index 28e0d5f87..848420655 100644 --- a/dist/amd/navigationdrawer/navigationdrawer.js +++ b/dist/amd/navigationdrawer/navigationdrawer.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.navigationdrawer.min'], function (exports, _commonCommon, _ejNavigationdrawerMin) { +define(['exports', '../common/common', 'ej.navigationdrawer.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejNavigationDrawer = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejNavigationDrawer = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejNavigationDrawer = exports.ejNavigationDrawer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'navigation-drawer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejNavigationDrawer, _WidgetBase); function ejNavigationDrawer(element) { - _classCallCheck(this, _ejNavigationDrawer); + _classCallCheck(this, ejNavigationDrawer); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejNavigationDrawer = ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.inject(Element)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'navigation-drawer')(ejNavigationDrawer) || ejNavigationDrawer; return ejNavigationDrawer; - })(_commonCommon.WidgetBase); - - exports.ejNavigationDrawer = ejNavigationDrawer; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/numerictextbox/numerictextbox.js b/dist/amd/numerictextbox/numerictextbox.js index 6cdbc8e07..973fdb54c 100644 --- a/dist/amd/numerictextbox/numerictextbox.js +++ b/dist/amd/numerictextbox/numerictextbox.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.editor.min'], function (exports, _commonCommon, _ejEditorMin) { +define(['exports', '../common/common', 'ej.editor.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejNumericTextbox = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejNumericTextbox = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejNumericTextbox = exports.ejNumericTextbox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'numeric-textbox'), _dec2 = (0, _common.generateBindables)('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejNumericTextbox, _WidgetBase); function ejNumericTextbox(element) { - _classCallCheck(this, _ejNumericTextbox); + _classCallCheck(this, ejNumericTextbox); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejNumericTextbox = ejNumericTextbox; - ejNumericTextbox = _commonCommon.inject(Element)(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = _commonCommon.generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'numeric-textbox')(ejNumericTextbox) || ejNumericTextbox; return ejNumericTextbox; - })(_commonCommon.WidgetBase); - - exports.ejNumericTextbox = ejNumericTextbox; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/overview/overview.js b/dist/amd/overview/overview.js index 38ee6a40b..d478782e8 100644 --- a/dist/amd/overview/overview.js +++ b/dist/amd/overview/overview.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.diagram.min'], function (exports, _commonCommon, _datavisualizationEjDiagramMin) { +define(['exports', '../common/common', 'datavisualization/ej.diagram.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejOverview = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejOverview = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejOverview = exports.ejOverview = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'overview'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejOverview, _WidgetBase); function ejOverview(element) { - _classCallCheck(this, _ejOverview); + _classCallCheck(this, ejOverview); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejOverview = ejOverview; - ejOverview = _commonCommon.inject(Element)(ejOverview) || ejOverview; - ejOverview = _commonCommon.generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' })(ejOverview) || ejOverview; - ejOverview = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejOverview) || ejOverview; - ejOverview = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'overview')(ejOverview) || ejOverview; return ejOverview; - })(_commonCommon.WidgetBase); - - exports.ejOverview = ejOverview; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/pdfviewer/pdfviewer.js b/dist/amd/pdfviewer/pdfviewer.js index f3db6ae7e..aa2fe20b2 100644 --- a/dist/amd/pdfviewer/pdfviewer.js +++ b/dist/amd/pdfviewer/pdfviewer.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.pdfviewer.min'], function (exports, _commonCommon, _ejPdfviewerMin) { +define(['exports', '../common/common', 'ej.pdfviewer.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejPdfViewer = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejPdfViewer = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejPdfViewer = exports.ejPdfViewer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pdf-viewer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPdfViewer, _WidgetBase); function ejPdfViewer(element) { - _classCallCheck(this, _ejPdfViewer); + _classCallCheck(this, ejPdfViewer); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejPdfViewer = ejPdfViewer; - ejPdfViewer = _commonCommon.inject(Element)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _commonCommon.generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pdf-viewer')(ejPdfViewer) || ejPdfViewer; return ejPdfViewer; - })(_commonCommon.WidgetBase); - - exports.ejPdfViewer = ejPdfViewer; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/percentagetextbox/percentagetextbox.js b/dist/amd/percentagetextbox/percentagetextbox.js index 70bdf580d..2cec58eb5 100644 --- a/dist/amd/percentagetextbox/percentagetextbox.js +++ b/dist/amd/percentagetextbox/percentagetextbox.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.editor.min'], function (exports, _commonCommon, _ejEditorMin) { +define(['exports', '../common/common', 'ej.editor.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejPercentageTextbox = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejPercentageTextbox = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejPercentageTextbox = exports.ejPercentageTextbox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'percentage-textbox'), _dec2 = (0, _common.generateBindables)('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejPercentageTextbox, _WidgetBase); function ejPercentageTextbox(element) { - _classCallCheck(this, _ejPercentageTextbox); + _classCallCheck(this, ejPercentageTextbox); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejPercentageTextbox = ejPercentageTextbox; - ejPercentageTextbox = _commonCommon.inject(Element)(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = _commonCommon.generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'percentage-textbox')(ejPercentageTextbox) || ejPercentageTextbox; return ejPercentageTextbox; - })(_commonCommon.WidgetBase); - - exports.ejPercentageTextbox = ejPercentageTextbox; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/pivotchart/pivotchart.js b/dist/amd/pivotchart/pivotchart.js index 9a6801b8e..c3cca89d0 100644 --- a/dist/amd/pivotchart/pivotchart.js +++ b/dist/amd/pivotchart/pivotchart.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.pivotchart.min'], function (exports, _commonCommon, _ejPivotchartMin) { +define(['exports', '../common/common', 'ej.pivotchart.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejPivotChart = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejPivotChart = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejPivotChart = exports.ejPivotChart = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-chart'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotChart, _WidgetBase); function ejPivotChart(element) { - _classCallCheck(this, _ejPivotChart); + _classCallCheck(this, ejPivotChart); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejPivotChart = ejPivotChart; - ejPivotChart = _commonCommon.inject(Element)(ejPivotChart) || ejPivotChart; - ejPivotChart = _commonCommon.generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])(ejPivotChart) || ejPivotChart; - ejPivotChart = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotChart) || ejPivotChart; - ejPivotChart = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-chart')(ejPivotChart) || ejPivotChart; return ejPivotChart; - })(_commonCommon.WidgetBase); - - exports.ejPivotChart = ejPivotChart; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/pivotgauge/pivotgauge.js b/dist/amd/pivotgauge/pivotgauge.js index 4c01c457e..adfd36df9 100644 --- a/dist/amd/pivotgauge/pivotgauge.js +++ b/dist/amd/pivotgauge/pivotgauge.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.pivotgauge.min'], function (exports, _commonCommon, _ejPivotgaugeMin) { +define(['exports', '../common/common', 'ej.pivotgauge.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejPivotGauge = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejPivotGauge = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejPivotGauge = exports.ejPivotGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGauge, _WidgetBase); function ejPivotGauge(element) { - _classCallCheck(this, _ejPivotGauge); + _classCallCheck(this, ejPivotGauge); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejPivotGauge = ejPivotGauge; - ejPivotGauge = _commonCommon.inject(Element)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _commonCommon.generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-gauge')(ejPivotGauge) || ejPivotGauge; return ejPivotGauge; - })(_commonCommon.WidgetBase); - - exports.ejPivotGauge = ejPivotGauge; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/pivotgrid/pivotgrid.js b/dist/amd/pivotgrid/pivotgrid.js index beb8fcb05..5ef3dc482 100644 --- a/dist/amd/pivotgrid/pivotgrid.js +++ b/dist/amd/pivotgrid/pivotgrid.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.pivotgrid.min'], function (exports, _commonCommon, _ejPivotgridMin) { +define(['exports', '../common/common', 'ej.pivotgrid.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejPivotGrid = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejPivotGrid = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejPivotGrid = exports.ejPivotGrid = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-grid'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGrid, _WidgetBase); function ejPivotGrid(element) { - _classCallCheck(this, _ejPivotGrid); + _classCallCheck(this, ejPivotGrid); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejPivotGrid = ejPivotGrid; - ejPivotGrid = _commonCommon.inject(Element)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _commonCommon.generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' })(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-grid')(ejPivotGrid) || ejPivotGrid; return ejPivotGrid; - })(_commonCommon.WidgetBase); - - exports.ejPivotGrid = ejPivotGrid; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/pivotschemadesigner/pivotschemadesigner.js b/dist/amd/pivotschemadesigner/pivotschemadesigner.js index e3d68659e..b3aba3960 100644 --- a/dist/amd/pivotschemadesigner/pivotschemadesigner.js +++ b/dist/amd/pivotschemadesigner/pivotschemadesigner.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.pivotschemadesigner.min'], function (exports, _commonCommon, _ejPivotschemadesignerMin) { +define(['exports', '../common/common', 'ej.pivotschemadesigner.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejPivotSchemaDesigner = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejPivotSchemaDesigner = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejPivotSchemaDesigner = exports.ejPivotSchemaDesigner = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-schema-designer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotSchemaDesigner, _WidgetBase); function ejPivotSchemaDesigner(element) { - _classCallCheck(this, _ejPivotSchemaDesigner); + _classCallCheck(this, ejPivotSchemaDesigner); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejPivotSchemaDesigner = ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.inject(Element)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-schema-designer')(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; return ejPivotSchemaDesigner; - })(_commonCommon.WidgetBase); - - exports.ejPivotSchemaDesigner = ejPivotSchemaDesigner; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/progressbar/progressbar.js b/dist/amd/progressbar/progressbar.js index 76f6ff9ee..f6539778a 100644 --- a/dist/amd/progressbar/progressbar.js +++ b/dist/amd/progressbar/progressbar.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.progressbar.min'], function (exports, _commonCommon, _ejProgressbarMin) { +define(['exports', '../common/common', 'ej.progressbar.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejProgressBar = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejProgressBar = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejProgressBar = exports.ejProgressBar = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'progress-bar'), _dec2 = (0, _common.generateBindables)('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejProgressBar, _WidgetBase); function ejProgressBar(element) { - _classCallCheck(this, _ejProgressBar); + _classCallCheck(this, ejProgressBar); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejProgressBar = ejProgressBar; - ejProgressBar = _commonCommon.inject(Element)(ejProgressBar) || ejProgressBar; - ejProgressBar = _commonCommon.generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' })(ejProgressBar) || ejProgressBar; - ejProgressBar = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'progress-bar')(ejProgressBar) || ejProgressBar; return ejProgressBar; - })(_commonCommon.WidgetBase); - - exports.ejProgressBar = ejProgressBar; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/radialmenu/item.js b/dist/amd/radialmenu/item.js index de33ec29e..7b3a6240a 100644 --- a/dist/amd/radialmenu/item.js +++ b/dist/amd/radialmenu/item.js @@ -1,45 +1,81 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Item = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return desc; + } - var Item = (function () { - var _instanceInitializers = {}; + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } + var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; + + var Item = exports.Item = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'item'), _dec3 = (0, _common.generateBindables)('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings']), _dec4 = (0, _common.children)(_common.constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Item() { - _classCallCheck(this, _Item); + _classCallCheck(this, Item); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Item.prototype.setTemplates = function setTemplates() { if (this.template[0]) { - var util = new _commonCommon.Util(); + var util = new _common.Util(); this[util.getBindablePropertyName('template')] = this.template[0].template; } }; - _createDecoratedClass(Item, [{ - key: 'template', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Item = Item; - Item = _commonCommon.generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])(Item) || Item; - Item = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'item')(Item) || Item; - Item = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Item) || Item; return Item; - })(); - - exports.Item = Item; + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/radialmenu/radialmenu.js b/dist/amd/radialmenu/radialmenu.js index 6ab2e52fa..0af67eb6c 100644 --- a/dist/amd/radialmenu/radialmenu.js +++ b/dist/amd/radialmenu/radialmenu.js @@ -1,51 +1,109 @@ -define(['exports', '../common/common', 'ej.radialmenu.min'], function (exports, _commonCommon, _ejRadialmenuMin) { +define(['exports', '../common/common', 'ej.radialmenu.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRadialMenu = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejRadialMenu = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejRadialMenu, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejRadialMenu, [{ - key: 'items', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'item')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejRadialMenu = exports.ejRadialMenu = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'radial-menu'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec4 = (0, _common.inject)(Element, _common.TemplatingEngine), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'item'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejRadialMenu, _WidgetBase); function ejRadialMenu(element, templateEngine) { - _classCallCheck(this, _ejRadialMenu); + _classCallCheck(this, ejRadialMenu); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'items', _instanceInitializers); + _initDefineProp(_this, 'items', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'items'; - this.templateProcessor = new _commonCommon.TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'items'; + _this.templateProcessor = new _common.TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejRadialMenu = ejRadialMenu; - ejRadialMenu = _commonCommon.inject(Element, _commonCommon.TemplatingEngine)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _commonCommon.generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'radial-menu')(ejRadialMenu) || ejRadialMenu; return ejRadialMenu; - })(_commonCommon.WidgetBase); - - exports.ejRadialMenu = ejRadialMenu; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'items', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/radialslider/radialslider.js b/dist/amd/radialslider/radialslider.js index 9f8a4d499..3087552c4 100644 --- a/dist/amd/radialslider/radialslider.js +++ b/dist/amd/radialslider/radialslider.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.radialslider.min'], function (exports, _commonCommon, _ejRadialsliderMin) { +define(['exports', '../common/common', 'ej.radialslider.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRadialSlider = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejRadialSlider = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejRadialSlider = exports.ejRadialSlider = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'radial-slider'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRadialSlider, _WidgetBase); function ejRadialSlider(element) { - _classCallCheck(this, _ejRadialSlider); + _classCallCheck(this, ejRadialSlider); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejRadialSlider = ejRadialSlider; - ejRadialSlider = _commonCommon.inject(Element)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _commonCommon.generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'radial-slider')(ejRadialSlider) || ejRadialSlider; return ejRadialSlider; - })(_commonCommon.WidgetBase); - - exports.ejRadialSlider = ejRadialSlider; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/radiobutton/radiobutton.js b/dist/amd/radiobutton/radiobutton.js index 80581b1a0..1a169e221 100644 --- a/dist/amd/radiobutton/radiobutton.js +++ b/dist/amd/radiobutton/radiobutton.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.radiobutton.min'], function (exports, _commonCommon, _ejRadiobuttonMin) { +define(['exports', '../common/common', 'ej.radiobutton.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRadioButton = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejRadioButton = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejRadioButton = exports.ejRadioButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'radio-button'), _dec2 = (0, _common.generateBindables)('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRadioButton, _WidgetBase); function ejRadioButton(element) { - _classCallCheck(this, _ejRadioButton); + _classCallCheck(this, ejRadioButton); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejRadioButton = ejRadioButton; - ejRadioButton = _commonCommon.inject(Element)(ejRadioButton) || ejRadioButton; - ejRadioButton = _commonCommon.generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' })(ejRadioButton) || ejRadioButton; - ejRadioButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'radio-button')(ejRadioButton) || ejRadioButton; return ejRadioButton; - })(_commonCommon.WidgetBase); - - exports.ejRadioButton = ejRadioButton; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/rangenavigator/rangenavigator.js b/dist/amd/rangenavigator/rangenavigator.js index 4ec41b83c..5788d6226 100644 --- a/dist/amd/rangenavigator/rangenavigator.js +++ b/dist/amd/rangenavigator/rangenavigator.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'datavisualization/ej.rangenavigator.min'], function (exports, _commonCommon, _datavisualizationEjRangenavigatorMin) { +define(['exports', '../common/common', 'datavisualization/ej.rangenavigator.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRangeNavigator = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejRangeNavigator = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejRangeNavigator, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejRangeNavigator, [{ - key: 'series', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'range-series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejRangeNavigator = exports.ejRangeNavigator = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'range-navigator'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'range-series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejRangeNavigator, _WidgetBase); function ejRangeNavigator(element) { - _classCallCheck(this, _ejRangeNavigator); + _classCallCheck(this, ejRangeNavigator); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejRangeNavigator = ejRangeNavigator; - ejRangeNavigator = _commonCommon.inject(Element)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _commonCommon.generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' })(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'range-navigator')(ejRangeNavigator) || ejRangeNavigator; return ejRangeNavigator; - })(_commonCommon.WidgetBase); - - exports.ejRangeNavigator = ejRangeNavigator; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/rangenavigator/rangeseries.js b/dist/amd/rangenavigator/rangeseries.js index c1ff92248..d87e988b3 100644 --- a/dist/amd/rangenavigator/rangeseries.js +++ b/dist/amd/rangenavigator/rangeseries.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.RangeSeries = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var RangeSeries = (function () { - function RangeSeries() { - _classCallCheck(this, _RangeSeries); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _RangeSeries = RangeSeries; - RangeSeries = _commonCommon.generateBindables('series', [])(RangeSeries) || RangeSeries; - RangeSeries = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'range-series')(RangeSeries) || RangeSeries; - RangeSeries = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(RangeSeries) || RangeSeries; - return RangeSeries; - })(); + var _dec, _dec2, _dec3, _class; - exports.RangeSeries = RangeSeries; + var RangeSeries = exports.RangeSeries = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'range-series'), _dec3 = (0, _common.generateBindables)('series', []), _dec(_class = _dec2(_class = _dec3(_class = function RangeSeries() { + _classCallCheck(this, RangeSeries); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/rating/rating.js b/dist/amd/rating/rating.js index eb8aaa990..a9a6379d2 100644 --- a/dist/amd/rating/rating.js +++ b/dist/amd/rating/rating.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.rating.min'], function (exports, _commonCommon, _ejRatingMin) { +define(['exports', '../common/common', 'ej.rating.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRating = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejRating = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejRating = exports.ejRating = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'rating'), _dec2 = (0, _common.generateBindables)('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRating, _WidgetBase); function ejRating(element) { - _classCallCheck(this, _ejRating); + _classCallCheck(this, ejRating); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejRating = ejRating; - ejRating = _commonCommon.inject(Element)(ejRating) || ejRating; - ejRating = _commonCommon.generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])(ejRating) || ejRating; - ejRating = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'rating')(ejRating) || ejRating; return ejRating; - })(_commonCommon.WidgetBase); - - exports.ejRating = ejRating; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/reportviewer/reportviewer.js b/dist/amd/reportviewer/reportviewer.js index 1648b3245..d852eeeb5 100644 --- a/dist/amd/reportviewer/reportviewer.js +++ b/dist/amd/reportviewer/reportviewer.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.reportviewer.min'], function (exports, _commonCommon, _ejReportviewerMin) { +define(['exports', '../common/common', 'ej.reportviewer.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejReportViewer = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejReportViewer = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejReportViewer = exports.ejReportViewer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'report-viewer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejReportViewer, _WidgetBase); function ejReportViewer(element) { - _classCallCheck(this, _ejReportViewer); + _classCallCheck(this, ejReportViewer); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejReportViewer = ejReportViewer; - ejReportViewer = _commonCommon.inject(Element)(ejReportViewer) || ejReportViewer; - ejReportViewer = _commonCommon.generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])(ejReportViewer) || ejReportViewer; - ejReportViewer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejReportViewer) || ejReportViewer; - ejReportViewer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'report-viewer')(ejReportViewer) || ejReportViewer; return ejReportViewer; - })(_commonCommon.WidgetBase); - - exports.ejReportViewer = ejReportViewer; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/ribbon/ribbon.js b/dist/amd/ribbon/ribbon.js index 9b01e475b..479a167a4 100644 --- a/dist/amd/ribbon/ribbon.js +++ b/dist/amd/ribbon/ribbon.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.ribbon.min'], function (exports, _commonCommon, _ejRibbonMin) { +define(['exports', '../common/common', 'ej.ribbon.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRibbon = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejRibbon = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejRibbon = exports.ejRibbon = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'ribbon'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRibbon, _WidgetBase); function ejRibbon(element) { - _classCallCheck(this, _ejRibbon); + _classCallCheck(this, ejRibbon); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejRibbon = ejRibbon; - ejRibbon = _commonCommon.inject(Element)(ejRibbon) || ejRibbon; - ejRibbon = _commonCommon.generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])(ejRibbon) || ejRibbon; - ejRibbon = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRibbon) || ejRibbon; - ejRibbon = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'ribbon')(ejRibbon) || ejRibbon; return ejRibbon; - })(_commonCommon.WidgetBase); - - exports.ejRibbon = ejRibbon; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/rotator/rotator.js b/dist/amd/rotator/rotator.js index d0acaa5d2..9993aa348 100644 --- a/dist/amd/rotator/rotator.js +++ b/dist/amd/rotator/rotator.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.rotator.min'], function (exports, _commonCommon, _ejRotatorMin) { +define(['exports', '../common/common', 'ej.rotator.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRotator = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejRotator = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejRotator = exports.ejRotator = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'rotator'), _dec2 = (0, _common.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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRotator, _WidgetBase); function ejRotator(element) { - _classCallCheck(this, _ejRotator); + _classCallCheck(this, ejRotator); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejRotator = ejRotator; - ejRotator = _commonCommon.inject(Element)(ejRotator) || ejRotator; - ejRotator = _commonCommon.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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' })(ejRotator) || ejRotator; - ejRotator = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'rotator')(ejRotator) || ejRotator; return ejRotator; - })(_commonCommon.WidgetBase); - - exports.ejRotator = ejRotator; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/rte/rte.js b/dist/amd/rte/rte.js index 10b3667e1..2fb8e30b3 100644 --- a/dist/amd/rte/rte.js +++ b/dist/amd/rte/rte.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.rte.min'], function (exports, _commonCommon, _ejRteMin) { +define(['exports', '../common/common', 'ej.rte.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejRte = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejRte = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejRte = exports.ejRte = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'rte'), _dec2 = (0, _common.generateBindables)('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRte, _WidgetBase); function ejRte(element) { - _classCallCheck(this, _ejRte); + _classCallCheck(this, ejRte); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejRte = ejRte; - ejRte = _commonCommon.inject(Element)(ejRte) || ejRte; - ejRte = _commonCommon.generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' })(ejRte) || ejRte; - ejRte = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'rte')(ejRte) || ejRte; return ejRte; - })(_commonCommon.WidgetBase); - - exports.ejRte = ejRte; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/schedule/schedule.js b/dist/amd/schedule/schedule.js index 529ccedf0..6035c5440 100644 --- a/dist/amd/schedule/schedule.js +++ b/dist/amd/schedule/schedule.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'ej.schedule.min'], function (exports, _commonCommon, _ejScheduleMin) { +define(['exports', '../common/common', 'ej.schedule.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSchedule = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejSchedule = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejSchedule, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejSchedule, [{ - key: 'resources', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'schedule-resource')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejSchedule = exports.ejSchedule = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'schedule'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' }), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'schedule-resource'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejSchedule, _WidgetBase); function ejSchedule(element) { - _classCallCheck(this, _ejSchedule); + _classCallCheck(this, ejSchedule); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'resources', _instanceInitializers); + _initDefineProp(_this, 'resources', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'resources'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'resources'; + return _this; } - var _ejSchedule = ejSchedule; - ejSchedule = _commonCommon.inject(Element)(ejSchedule) || ejSchedule; - ejSchedule = _commonCommon.generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' })(ejSchedule) || ejSchedule; - ejSchedule = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSchedule) || ejSchedule; - ejSchedule = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'schedule')(ejSchedule) || ejSchedule; return ejSchedule; - })(_commonCommon.WidgetBase); - - exports.ejSchedule = ejSchedule; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'resources', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/schedule/scheduleresource.js b/dist/amd/schedule/scheduleresource.js index ce6344220..701ce97df 100644 --- a/dist/amd/schedule/scheduleresource.js +++ b/dist/amd/schedule/scheduleresource.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ScheduleResource = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var ScheduleResource = (function () { - function ScheduleResource() { - _classCallCheck(this, _ScheduleResource); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _ScheduleResource = ScheduleResource; - ScheduleResource = _commonCommon.generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])(ScheduleResource) || ScheduleResource; - ScheduleResource = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'schedule-resource')(ScheduleResource) || ScheduleResource; - ScheduleResource = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ScheduleResource) || ScheduleResource; - return ScheduleResource; - })(); + var _dec, _dec2, _dec3, _class; - exports.ScheduleResource = ScheduleResource; + var ScheduleResource = exports.ScheduleResource = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'schedule-resource'), _dec3 = (0, _common.generateBindables)('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings']), _dec(_class = _dec2(_class = _dec3(_class = function ScheduleResource() { + _classCallCheck(this, ScheduleResource); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/scroller/scroller.js b/dist/amd/scroller/scroller.js index 99dc086d2..49b9f6cdd 100644 --- a/dist/amd/scroller/scroller.js +++ b/dist/amd/scroller/scroller.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'common/ej.scroller.min'], function (exports, _commonCommon, _commonEjScrollerMin) { +define(['exports', '../common/common', 'common/ej.scroller.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejScroller = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejScroller = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejScroller = exports.ejScroller = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'scroller'), _dec2 = (0, _common.generateBindables)('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejScroller, _WidgetBase); function ejScroller(element) { - _classCallCheck(this, _ejScroller); + _classCallCheck(this, ejScroller); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejScroller = ejScroller; - ejScroller = _commonCommon.inject(Element)(ejScroller) || ejScroller; - ejScroller = _commonCommon.generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' })(ejScroller) || ejScroller; - ejScroller = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'scroller')(ejScroller) || ejScroller; return ejScroller; - })(_commonCommon.WidgetBase); - - exports.ejScroller = ejScroller; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/slider/slider.js b/dist/amd/slider/slider.js index 08f176da2..c7365ec84 100644 --- a/dist/amd/slider/slider.js +++ b/dist/amd/slider/slider.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.slider.min'], function (exports, _commonCommon, _ejSliderMin) { +define(['exports', '../common/common', 'ej.slider.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSlider = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejSlider = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejSlider = exports.ejSlider = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'slider'), _dec2 = (0, _common.generateBindables)('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSlider, _WidgetBase); function ejSlider(element) { - _classCallCheck(this, _ejSlider); + _classCallCheck(this, ejSlider); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejSlider = ejSlider; - ejSlider = _commonCommon.inject(Element)(ejSlider) || ejSlider; - ejSlider = _commonCommon.generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejSlider) || ejSlider; - ejSlider = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'slider')(ejSlider) || ejSlider; return ejSlider; - })(_commonCommon.WidgetBase); - - exports.ejSlider = ejSlider; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/sparkline/sparkline.js b/dist/amd/sparkline/sparkline.js index 98c2cfaad..65f472099 100644 --- a/dist/amd/sparkline/sparkline.js +++ b/dist/amd/sparkline/sparkline.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.sparkline.min'], function (exports, _commonCommon, _datavisualizationEjSparklineMin) { +define(['exports', '../common/common', 'datavisualization/ej.sparkline.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSparkline = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejSparkline = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejSparkline = exports.ejSparkline = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'sparkline'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSparkline, _WidgetBase); function ejSparkline(element) { - _classCallCheck(this, _ejSparkline); + _classCallCheck(this, ejSparkline); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejSparkline = ejSparkline; - ejSparkline = _commonCommon.inject(Element)(ejSparkline) || ejSparkline; - ejSparkline = _commonCommon.generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])(ejSparkline) || ejSparkline; - ejSparkline = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSparkline) || ejSparkline; - ejSparkline = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'sparkline')(ejSparkline) || ejSparkline; return ejSparkline; - })(_commonCommon.WidgetBase); - - exports.ejSparkline = ejSparkline; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/splitbutton/splitbutton.js b/dist/amd/splitbutton/splitbutton.js index 71301bfce..ee606be0d 100644 --- a/dist/amd/splitbutton/splitbutton.js +++ b/dist/amd/splitbutton/splitbutton.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.splitbutton.min'], function (exports, _commonCommon, _ejSplitbuttonMin) { +define(['exports', '../common/common', 'ej.splitbutton.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSplitButton = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejSplitButton = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejSplitButton = exports.ejSplitButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'split-button'), _dec2 = (0, _common.generateBindables)('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSplitButton, _WidgetBase); function ejSplitButton(element) { - _classCallCheck(this, _ejSplitButton); + _classCallCheck(this, ejSplitButton); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejSplitButton = ejSplitButton; - ejSplitButton = _commonCommon.inject(Element)(ejSplitButton) || ejSplitButton; - ejSplitButton = _commonCommon.generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejSplitButton) || ejSplitButton; - ejSplitButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'split-button')(ejSplitButton) || ejSplitButton; return ejSplitButton; - })(_commonCommon.WidgetBase); - - exports.ejSplitButton = ejSplitButton; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/splitter/splitter.js b/dist/amd/splitter/splitter.js index d0725c865..1d5b1161d 100644 --- a/dist/amd/splitter/splitter.js +++ b/dist/amd/splitter/splitter.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.splitter.min'], function (exports, _commonCommon, _ejSplitterMin) { +define(['exports', '../common/common', 'ej.splitter.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSplitter = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejSplitter = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejSplitter = exports.ejSplitter = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'splitter'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSplitter, _WidgetBase); function ejSplitter(element) { - _classCallCheck(this, _ejSplitter); + _classCallCheck(this, ejSplitter); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejSplitter = ejSplitter; - ejSplitter = _commonCommon.inject(Element)(ejSplitter) || ejSplitter; - ejSplitter = _commonCommon.generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' })(ejSplitter) || ejSplitter; - ejSplitter = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSplitter) || ejSplitter; - ejSplitter = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'splitter')(ejSplitter) || ejSplitter; return ejSplitter; - })(_commonCommon.WidgetBase); - - exports.ejSplitter = ejSplitter; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/spreadsheet/sheet.js b/dist/amd/spreadsheet/sheet.js index 92abfcf31..254051811 100644 --- a/dist/amd/spreadsheet/sheet.js +++ b/dist/amd/spreadsheet/sheet.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Sheet = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var Sheet = (function () { - function Sheet() { - _classCallCheck(this, _Sheet); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _Sheet = Sheet; - Sheet = _commonCommon.generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])(Sheet) || Sheet; - Sheet = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'sheet')(Sheet) || Sheet; - Sheet = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Sheet) || Sheet; - return Sheet; - })(); + var _dec, _dec2, _dec3, _class; - exports.Sheet = Sheet; + var Sheet = exports.Sheet = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'sheet'), _dec3 = (0, _common.generateBindables)('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell']), _dec(_class = _dec2(_class = _dec3(_class = function Sheet() { + _classCallCheck(this, Sheet); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/spreadsheet/spreadsheet.js b/dist/amd/spreadsheet/spreadsheet.js index 16baed470..fb8d5b186 100644 --- a/dist/amd/spreadsheet/spreadsheet.js +++ b/dist/amd/spreadsheet/spreadsheet.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'ej.spreadsheet.min'], function (exports, _commonCommon, _ejSpreadsheetMin) { +define(['exports', '../common/common', 'ej.spreadsheet.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSpreadsheet = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejSpreadsheet = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejSpreadsheet, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejSpreadsheet, [{ - key: 'sheets', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'sheet')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejSpreadsheet = exports.ejSpreadsheet = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'spreadsheet'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'sheet'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejSpreadsheet, _WidgetBase); function ejSpreadsheet(element) { - _classCallCheck(this, _ejSpreadsheet); + _classCallCheck(this, ejSpreadsheet); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'sheets', _instanceInitializers); + _initDefineProp(_this, 'sheets', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'sheets'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'sheets'; + return _this; } - var _ejSpreadsheet = ejSpreadsheet; - ejSpreadsheet = _commonCommon.inject(Element)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _commonCommon.generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'spreadsheet')(ejSpreadsheet) || ejSpreadsheet; return ejSpreadsheet; - })(_commonCommon.WidgetBase); - - exports.ejSpreadsheet = ejSpreadsheet; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'sheets', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/symbolpalette/symbolpalette.js b/dist/amd/symbolpalette/symbolpalette.js index 135141004..12757c736 100644 --- a/dist/amd/symbolpalette/symbolpalette.js +++ b/dist/amd/symbolpalette/symbolpalette.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'datavisualization/ej.diagram.min'], function (exports, _commonCommon, _datavisualizationEjDiagramMin) { +define(['exports', '../common/common', 'datavisualization/ej.diagram.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejSymbolPalette = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejSymbolPalette = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejSymbolPalette = exports.ejSymbolPalette = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'symbol-palette'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSymbolPalette, _WidgetBase); function ejSymbolPalette(element) { - _classCallCheck(this, _ejSymbolPalette); + _classCallCheck(this, ejSymbolPalette); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejSymbolPalette = ejSymbolPalette; - ejSymbolPalette = _commonCommon.inject(Element)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _commonCommon.generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'symbol-palette')(ejSymbolPalette) || ejSymbolPalette; return ejSymbolPalette; - })(_commonCommon.WidgetBase); - - exports.ejSymbolPalette = ejSymbolPalette; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/tab/tab.js b/dist/amd/tab/tab.js index d33e3af79..ccd4814f7 100644 --- a/dist/amd/tab/tab.js +++ b/dist/amd/tab/tab.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.tab.min'], function (exports, _commonCommon, _ejTabMin) { +define(['exports', '../common/common', 'ej.tab.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTab = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejTab = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejTab = exports.ejTab = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tab'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTab, _WidgetBase); function ejTab(element) { - _classCallCheck(this, _ejTab); + _classCallCheck(this, ejTab); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejTab = ejTab; - ejTab = _commonCommon.inject(Element)(ejTab) || ejTab; - ejTab = _commonCommon.generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' })(ejTab) || ejTab; - ejTab = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTab) || ejTab; - ejTab = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tab')(ejTab) || ejTab; return ejTab; - })(_commonCommon.WidgetBase); - - exports.ejTab = ejTab; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/tagcloud/tagcloud.js b/dist/amd/tagcloud/tagcloud.js index 729c8689d..a973004d3 100644 --- a/dist/amd/tagcloud/tagcloud.js +++ b/dist/amd/tagcloud/tagcloud.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.tagcloud.min'], function (exports, _commonCommon, _ejTagcloudMin) { +define(['exports', '../common/common', 'ej.tagcloud.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTagCloud = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejTagCloud = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejTagCloud = exports.ejTagCloud = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tag-cloud'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTagCloud, _WidgetBase); function ejTagCloud(element) { - _classCallCheck(this, _ejTagCloud); + _classCallCheck(this, ejTagCloud); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejTagCloud = ejTagCloud; - ejTagCloud = _commonCommon.inject(Element)(ejTagCloud) || ejTagCloud; - ejTagCloud = _commonCommon.generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' })(ejTagCloud) || ejTagCloud; - ejTagCloud = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTagCloud) || ejTagCloud; - ejTagCloud = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tag-cloud')(ejTagCloud) || ejTagCloud; return ejTagCloud; - })(_commonCommon.WidgetBase); - - exports.ejTagCloud = ejTagCloud; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/tile/tile.js b/dist/amd/tile/tile.js index c3033cbfd..f0777946d 100644 --- a/dist/amd/tile/tile.js +++ b/dist/amd/tile/tile.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.tile.min'], function (exports, _commonCommon, _ejTileMin) { +define(['exports', '../common/common', 'ej.tile.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTile = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejTile = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejTile = exports.ejTile = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tile'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTile, _WidgetBase); function ejTile(element) { - _classCallCheck(this, _ejTile); + _classCallCheck(this, ejTile); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejTile = ejTile; - ejTile = _commonCommon.inject(Element)(ejTile) || ejTile; - ejTile = _commonCommon.generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])(ejTile) || ejTile; - ejTile = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTile) || ejTile; - ejTile = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tile')(ejTile) || ejTile; return ejTile; - })(_commonCommon.WidgetBase); - - exports.ejTile = ejTile; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/timepicker/timepicker.js b/dist/amd/timepicker/timepicker.js index 9af957275..e44d3ef6a 100644 --- a/dist/amd/timepicker/timepicker.js +++ b/dist/amd/timepicker/timepicker.js @@ -1,29 +1,56 @@ -define(['exports', '../common/common', 'ej.timepicker.min'], function (exports, _commonCommon, _ejTimepickerMin) { +define(['exports', '../common/common', 'ej.timepicker.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTimePicker = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejTimePicker = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejTimePicker = exports.ejTimePicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'time-picker'), _dec2 = (0, _common.generateBindables)('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTimePicker, _WidgetBase); function ejTimePicker(element) { - _classCallCheck(this, _ejTimePicker); + _classCallCheck(this, ejTimePicker); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejTimePicker = ejTimePicker; - ejTimePicker = _commonCommon.inject(Element)(ejTimePicker) || ejTimePicker; - ejTimePicker = _commonCommon.generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejTimePicker) || ejTimePicker; - ejTimePicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'time-picker')(ejTimePicker) || ejTimePicker; return ejTimePicker; - })(_commonCommon.WidgetBase); - - exports.ejTimePicker = ejTimePicker; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/togglebutton/togglebutton.js b/dist/amd/togglebutton/togglebutton.js index 55ce999ed..721d6e828 100644 --- a/dist/amd/togglebutton/togglebutton.js +++ b/dist/amd/togglebutton/togglebutton.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.togglebutton.min'], function (exports, _commonCommon, _ejTogglebuttonMin) { +define(['exports', '../common/common', 'ej.togglebutton.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejToggleButton = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejToggleButton = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejToggleButton = exports.ejToggleButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'toggle-button'), _dec2 = (0, _common.generateBindables)('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToggleButton, _WidgetBase); function ejToggleButton(element) { - _classCallCheck(this, _ejToggleButton); + _classCallCheck(this, ejToggleButton); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejToggleButton = ejToggleButton; - ejToggleButton = _commonCommon.inject(Element)(ejToggleButton) || ejToggleButton; - ejToggleButton = _commonCommon.generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejToggleButton) || ejToggleButton; - ejToggleButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'toggle-button')(ejToggleButton) || ejToggleButton; return ejToggleButton; - })(_commonCommon.WidgetBase); - - exports.ejToggleButton = ejToggleButton; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/toolbar/toolbar.js b/dist/amd/toolbar/toolbar.js index 550ebc688..a4ce1dca7 100644 --- a/dist/amd/toolbar/toolbar.js +++ b/dist/amd/toolbar/toolbar.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.toolbar.min'], function (exports, _commonCommon, _ejToolbarMin) { +define(['exports', '../common/common', 'ej.toolbar.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejToolbar = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejToolbar = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejToolbar = exports.ejToolbar = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'toolbar'), _dec2 = (0, _common.generateBindables)('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToolbar, _WidgetBase); function ejToolbar(element) { - _classCallCheck(this, _ejToolbar); + _classCallCheck(this, ejToolbar); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejToolbar = ejToolbar; - ejToolbar = _commonCommon.inject(Element)(ejToolbar) || ejToolbar; - ejToolbar = _commonCommon.generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejToolbar) || ejToolbar; - ejToolbar = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'toolbar')(ejToolbar) || ejToolbar; return ejToolbar; - })(_commonCommon.WidgetBase); - - exports.ejToolbar = ejToolbar; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/tooltip/tooltip.js b/dist/amd/tooltip/tooltip.js index e2cab417b..9325f41b8 100644 --- a/dist/amd/tooltip/tooltip.js +++ b/dist/amd/tooltip/tooltip.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.tooltip.min'], function (exports, _commonCommon, _ejTooltipMin) { +define(['exports', '../common/common', 'ej.tooltip.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTooltip = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejTooltip = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejTooltip = exports.ejTooltip = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'tooltip'), _dec2 = (0, _common.generateBindables)('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTooltip, _WidgetBase); function ejTooltip(element) { - _classCallCheck(this, _ejTooltip); + _classCallCheck(this, ejTooltip); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejTooltip = ejTooltip; - ejTooltip = _commonCommon.inject(Element)(ejTooltip) || ejTooltip; - ejTooltip = _commonCommon.generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTooltip) || ejTooltip; - ejTooltip = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'tooltip')(ejTooltip) || ejTooltip; return ejTooltip; - })(_commonCommon.WidgetBase); - - exports.ejTooltip = ejTooltip; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/treegrid/treegrid.js b/dist/amd/treegrid/treegrid.js index 6ff183c13..eaeb6e978 100644 --- a/dist/amd/treegrid/treegrid.js +++ b/dist/amd/treegrid/treegrid.js @@ -1,51 +1,109 @@ -define(['exports', '../common/common', 'ej.treegrid.min'], function (exports, _commonCommon, _ejTreegridMin) { +define(['exports', '../common/common', 'ej.treegrid.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTreeGrid = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejTreeGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejTreeGrid, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejTreeGrid, [{ - key: 'columns', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'tree-grid-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejTreeGrid = exports.ejTreeGrid = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tree-grid'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' }), _dec4 = (0, _common.inject)(Element, _common.TemplatingEngine), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'tree-grid-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejTreeGrid, _WidgetBase); function ejTreeGrid(element, templateEngine) { - _classCallCheck(this, _ejTreeGrid); + _classCallCheck(this, ejTreeGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new _commonCommon.TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new _common.TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejTreeGrid = ejTreeGrid; - ejTreeGrid = _commonCommon.inject(Element, _commonCommon.TemplatingEngine)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _commonCommon.generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' })(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tree-grid')(ejTreeGrid) || ejTreeGrid; return ejTreeGrid; - })(_commonCommon.WidgetBase); - - exports.ejTreeGrid = ejTreeGrid; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/treegrid/treegridcolumn.js b/dist/amd/treegrid/treegridcolumn.js index 9c865afe4..69d15fd65 100644 --- a/dist/amd/treegrid/treegridcolumn.js +++ b/dist/amd/treegrid/treegridcolumn.js @@ -1,45 +1,81 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.TreeGridColumn = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return desc; + } - var TreeGridColumn = (function () { - var _instanceInitializers = {}; + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } + var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; + + var TreeGridColumn = exports.TreeGridColumn = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'tree-grid-column'), _dec3 = (0, _common.generateBindables)('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing']), _dec4 = (0, _common.children)(_common.constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function TreeGridColumn() { - _classCallCheck(this, _TreeGridColumn); + _classCallCheck(this, TreeGridColumn); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } TreeGridColumn.prototype.setTemplates = function setTemplates() { if (this.template[0]) { - var util = new _commonCommon.Util(); + var util = new _common.Util(); this[util.getBindablePropertyName('template')] = this.template[0].template; } }; - _createDecoratedClass(TreeGridColumn, [{ - key: 'template', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _TreeGridColumn = TreeGridColumn; - TreeGridColumn = _commonCommon.generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tree-grid-column')(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(TreeGridColumn) || TreeGridColumn; return TreeGridColumn; - })(); - - exports.TreeGridColumn = TreeGridColumn; + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/treemap/level.js b/dist/amd/treemap/level.js index a9d5a89a4..a0ae2f54c 100644 --- a/dist/amd/treemap/level.js +++ b/dist/amd/treemap/level.js @@ -1,21 +1,20 @@ -define(['exports', '../common/common'], function (exports, _commonCommon) { +define(['exports', '../common/common'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Level = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - var Level = (function () { - function Level() { - _classCallCheck(this, _Level); + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); } + } - var _Level = Level; - Level = _commonCommon.generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])(Level) || Level; - Level = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'level')(Level) || Level; - Level = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Level) || Level; - return Level; - })(); + var _dec, _dec2, _dec3, _class; - exports.Level = Level; + var Level = exports.Level = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'level'), _dec3 = (0, _common.generateBindables)('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec(_class = _dec2(_class = _dec3(_class = function Level() { + _classCallCheck(this, Level); + }) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/treemap/treemap.js b/dist/amd/treemap/treemap.js index cff0bcdf6..86d16c0fe 100644 --- a/dist/amd/treemap/treemap.js +++ b/dist/amd/treemap/treemap.js @@ -1,49 +1,107 @@ -define(['exports', '../common/common', 'datavisualization/ej.treemap.min'], function (exports, _commonCommon, _datavisualizationEjTreemapMin) { +define(['exports', '../common/common', 'datavisualization/ej.treemap.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTreeMap = undefined; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } - var ejTreeMap = (function (_WidgetBase) { - var _instanceInitializers = {}; + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - _inherits(ejTreeMap, _WidgetBase); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } - _createDecoratedClass(ejTreeMap, [{ - key: 'levels', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'level')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; + + var ejTreeMap = exports.ejTreeMap = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tree-map'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'level'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejTreeMap, _WidgetBase); function ejTreeMap(element) { - _classCallCheck(this, _ejTreeMap); + _classCallCheck(this, ejTreeMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'levels', _instanceInitializers); + _initDefineProp(_this, 'levels', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'levels'; + return _this; } - var _ejTreeMap = ejTreeMap; - ejTreeMap = _commonCommon.inject(Element)(ejTreeMap) || ejTreeMap; - ejTreeMap = _commonCommon.generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])(ejTreeMap) || ejTreeMap; - ejTreeMap = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTreeMap) || ejTreeMap; - ejTreeMap = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tree-map')(ejTreeMap) || ejTreeMap; return ejTreeMap; - })(_commonCommon.WidgetBase); - - exports.ejTreeMap = ejTreeMap; + }(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'levels', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/treeview/treeview.js b/dist/amd/treeview/treeview.js index 21df81135..3e7b7a8cb 100644 --- a/dist/amd/treeview/treeview.js +++ b/dist/amd/treeview/treeview.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.treeview.min'], function (exports, _commonCommon, _ejTreeviewMin) { +define(['exports', '../common/common', 'ej.treeview.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejTreeView = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejTreeView = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejTreeView = exports.ejTreeView = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'tree-view'), _dec2 = (0, _common.generateBindables)('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTreeView, _WidgetBase); function ejTreeView(element) { - _classCallCheck(this, _ejTreeView); + _classCallCheck(this, ejTreeView); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejTreeView = ejTreeView; - ejTreeView = _commonCommon.inject(Element)(ejTreeView) || ejTreeView; - ejTreeView = _commonCommon.generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTreeView) || ejTreeView; - ejTreeView = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'tree-view')(ejTreeView) || ejTreeView; return ejTreeView; - })(_commonCommon.WidgetBase); - - exports.ejTreeView = ejTreeView; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/uploadbox/uploadbox.js b/dist/amd/uploadbox/uploadbox.js index 02e082b43..c6dcdbae7 100644 --- a/dist/amd/uploadbox/uploadbox.js +++ b/dist/amd/uploadbox/uploadbox.js @@ -1,29 +1,55 @@ -define(['exports', '../common/common', 'ej.uploadbox.min'], function (exports, _commonCommon, _ejUploadboxMin) { +define(['exports', '../common/common', 'ej.uploadbox.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejUploadbox = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejUploadbox = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _dec4, _class; + + var ejUploadbox = exports.ejUploadbox = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'uploadbox'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejUploadbox, _WidgetBase); function ejUploadbox(element) { - _classCallCheck(this, _ejUploadbox); + _classCallCheck(this, ejUploadbox); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejUploadbox = ejUploadbox; - ejUploadbox = _commonCommon.inject(Element)(ejUploadbox) || ejUploadbox; - ejUploadbox = _commonCommon.generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' })(ejUploadbox) || ejUploadbox; - ejUploadbox = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejUploadbox) || ejUploadbox; - ejUploadbox = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'uploadbox')(ejUploadbox) || ejUploadbox; return ejUploadbox; - })(_commonCommon.WidgetBase); - - exports.ejUploadbox = ejUploadbox; + }(_common.WidgetBase)) || _class) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/amd/waitingpopup/waitingpopup.js b/dist/amd/waitingpopup/waitingpopup.js index 47e1405b0..395ed5ca9 100644 --- a/dist/amd/waitingpopup/waitingpopup.js +++ b/dist/amd/waitingpopup/waitingpopup.js @@ -1,28 +1,55 @@ -define(['exports', '../common/common', 'ej.waitingpopup.min'], function (exports, _commonCommon, _ejWaitingpopupMin) { +define(['exports', '../common/common', 'ej.waitingpopup.min'], function (exports, _common) { 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.ejWaitingPopup = undefined; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } - var ejWaitingPopup = (function (_WidgetBase) { + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _dec3, _class; + + var ejWaitingPopup = exports.ejWaitingPopup = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'waiting-popup'), _dec2 = (0, _common.generateBindables)('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejWaitingPopup, _WidgetBase); function ejWaitingPopup(element) { - _classCallCheck(this, _ejWaitingPopup); + _classCallCheck(this, ejWaitingPopup); - _WidgetBase.call(this); - this.element = element; + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); + + _this.element = element; + return _this; } - var _ejWaitingPopup = ejWaitingPopup; - ejWaitingPopup = _commonCommon.inject(Element)(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = _commonCommon.generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'waiting-popup')(ejWaitingPopup) || ejWaitingPopup; return ejWaitingPopup; - })(_commonCommon.WidgetBase); - - exports.ejWaitingPopup = ejWaitingPopup; + }(_common.WidgetBase)) || _class) || _class) || _class); }); \ No newline at end of file diff --git a/dist/aurelia-syncfusion-bridge.d.ts b/dist/aurelia-syncfusion-bridge.d.ts index ab090199d..1ebdde829 100644 --- a/dist/aurelia-syncfusion-bridge.d.ts +++ b/dist/aurelia-syncfusion-bridge.d.ts @@ -1,8 +1,27 @@ declare module 'aurelia-syncfusion-bridge' { - import { customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, BindableProperty, HtmlBehaviorResource, noView, processContent, TargetInstruction } from 'aurelia-templating'; - import { inject, Container } from 'aurelia-dependency-injection'; - import { metadata } from 'aurelia-metadata'; - import { TaskQueue } from 'aurelia-task-queue'; + import { + customAttribute, + bindable, + customElement, + children, + TemplatingEngine, + inlineView, + BindableProperty, + HtmlBehaviorResource, + noView, + processContent, + TargetInstruction + } from 'aurelia-templating'; + import { + inject, + Container + } from 'aurelia-dependency-injection'; + import { + metadata + } from 'aurelia-metadata'; + import { + TaskQueue + } from 'aurelia-task-queue'; import 'ej.accordion.min'; import 'ej.autocomplete.min'; import 'datavisualization/ej.barcode.min'; @@ -157,47 +176,63 @@ declare module 'aurelia-syncfusion-bridge' { } export function configure(aurelia: any, configCallback?: ((builder: EjConfigBuilder) => void)): any; export class ejAccordion extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejAutocomplete extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBarcode extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBulletGraph extends WidgetBase { qualitativeRanges: any; - constructor(element: any); + constructor(element?: any); } export class QualitativeRange { + } export class ejButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejChart extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class Series { + } export class ejCheckBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejCircularGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejColorPicker extends WidgetBase { - constructor(element: any); - } + constructor(element?: any); + } + export { + customAttribute, + bindable, + inject, + WidgetBase, + constants, + generateBindables, + inlineView, + customElement, + children, + TemplatingEngine, + TemplateProcessor, + Util + }; export const constants: any; - export function generateBindables(controlName: any, inputs: any, twoWayProperties: any, abbrevProperties: any): any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: 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; + export function getEventOption(element?: any): any; /** * Fire DOM event on an element @@ -207,24 +242,25 @@ declare module 'aurelia-syncfusion-bridge' { */ export function fireEvent(element: Element, name: string, data?: any): any; export class TemplateProcessor { - constructor(context: any, templateEngine: any); + constructor(context?: any, templateEngine?: any); initTemplate(): any; initWidgetDependancies(): any; - renderStringTemplate(self: any, selector: any, data: any, index: any): any; - compileTemplate(element: any): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; clearTempalte(): any; - unbindViews(obj: any): any; + unbindViews(obj?: any): any; } export class Template { template: any; - constructor(target: any); + constructor(target?: any); } export class Util { getBindablePropertyName(propertyName: string): string; - getOptions(model: any, properties: any): any; - getControlPropertyName(options: any, propertyName: any): any; - hasValue(prop: any): any; - processData(value: any): any; + _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 { @@ -232,16 +268,16 @@ declare module 'aurelia-syncfusion-bridge' { * To Create an widget * @param option Object which contains Element in which widget will be created */ - createWidget(option: any): any; + createWidget(option?: any): any; createTwoWays(): any; - addTwoways(prop: any): 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; + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; attached(): any; /** @@ -250,35 +286,35 @@ declare module 'aurelia-syncfusion-bridge' { * @param newValue New value of the property * @param oldvalue Pld value of the property */ - propertyChanged(property: any, newValue: any, oldValue: any): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class ejCurrencyTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDatePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDateTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDiagram extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDialog extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDropDownList extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejFileExplorer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejGantt extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Column { template: any; @@ -286,67 +322,69 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejGroupButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejKanban extends WidgetBase { columns: any; - constructor(element: any); + constructor(element?: any); } export class KanbanColumn { + } export class ejLinearGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Layer { + } export class ejMap extends WidgetBase { layers: any; - constructor(element: any); + constructor(element?: any); } export class ejMaskEdit extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejMenu extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNavigationDrawer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNumericTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejOverview extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPdfViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPercentageTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotChart extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGrid extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotSchemaDesigner extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejProgressBar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Item { template: any; @@ -354,107 +392,111 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejRadialMenu extends WidgetBase { items: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejRadialSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRadioButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class RangeSeries { + } export class ejRating extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejReportViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRibbon extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRotator extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRte extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSchedule extends WidgetBase { resources: any; - constructor(element: any); + constructor(element?: any); } export class ScheduleResource { + } export class ejScroller extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSparkline extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitter extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Sheet { + } export class ejSpreadsheet extends WidgetBase { sheets: any; - constructor(element: any); + constructor(element?: any); } export class ejSymbolPalette extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTab extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTagCloud extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTile extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToggleButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToolbar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTooltip extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTreeGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class TreeGridColumn { template: any; setTemplates(): any; } export class Level { + } export class ejTreeMap extends WidgetBase { levels: any; - constructor(element: any); + constructor(element?: any); } export class ejTreeView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejUploadbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejWaitingPopup extends WidgetBase { - constructor(element: any); + constructor(element?: any); } } \ No newline at end of file diff --git a/dist/commonjs/accordion/accordion.js b/dist/commonjs/accordion/accordion.js index 81d9c9070..c01141df3 100644 --- a/dist/commonjs/accordion/accordion.js +++ b/dist/commonjs/accordion/accordion.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejAccordion = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.accordion.min'); -var ejAccordion = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejAccordion = exports.ejAccordion = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'accordion'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejAccordion, _WidgetBase); function ejAccordion(element) { - _classCallCheck(this, _ejAccordion); + _classCallCheck(this, ejAccordion); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAccordion = ejAccordion; - ejAccordion = _commonCommon.inject(Element)(ejAccordion) || ejAccordion; - ejAccordion = _commonCommon.generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' })(ejAccordion) || ejAccordion; - ejAccordion = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejAccordion) || ejAccordion; - ejAccordion = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'accordion')(ejAccordion) || ejAccordion; return ejAccordion; -})(_commonCommon.WidgetBase); - -exports.ejAccordion = ejAccordion; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/aurelia-syncfusion-bridge.d.ts b/dist/commonjs/aurelia-syncfusion-bridge.d.ts index ab090199d..99e8fb87a 100644 --- a/dist/commonjs/aurelia-syncfusion-bridge.d.ts +++ b/dist/commonjs/aurelia-syncfusion-bridge.d.ts @@ -1,8 +1,31 @@ +declare module 'aurelia-binding' { +export class Lexer {} +export class ParserImplementation {} +} declare module 'aurelia-syncfusion-bridge' { - import { customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, BindableProperty, HtmlBehaviorResource, noView, processContent, TargetInstruction } from 'aurelia-templating'; - import { inject, Container } from 'aurelia-dependency-injection'; - import { metadata } from 'aurelia-metadata'; - import { TaskQueue } from 'aurelia-task-queue'; + import { + customAttribute, + bindable, + customElement, + children, + TemplatingEngine, + inlineView, + BindableProperty, + HtmlBehaviorResource, + noView, + processContent, + TargetInstruction + } from 'aurelia-templating'; + import { + inject, + Container + } from 'aurelia-dependency-injection'; + import { + metadata + } from 'aurelia-metadata'; + import { + TaskQueue + } from 'aurelia-task-queue'; import 'ej.accordion.min'; import 'ej.autocomplete.min'; import 'datavisualization/ej.barcode.min'; @@ -157,47 +180,63 @@ declare module 'aurelia-syncfusion-bridge' { } export function configure(aurelia: any, configCallback?: ((builder: EjConfigBuilder) => void)): any; export class ejAccordion extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejAutocomplete extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBarcode extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBulletGraph extends WidgetBase { qualitativeRanges: any; - constructor(element: any); + constructor(element?: any); } export class QualitativeRange { + } export class ejButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejChart extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class Series { + } export class ejCheckBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejCircularGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejColorPicker extends WidgetBase { - constructor(element: any); - } + constructor(element?: any); + } + export { + customAttribute, + bindable, + inject, + WidgetBase, + constants, + generateBindables, + inlineView, + customElement, + children, + TemplatingEngine, + TemplateProcessor, + Util + }; export const constants: any; - export function generateBindables(controlName: any, inputs: any, twoWayProperties: any, abbrevProperties: any): any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: 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; + export function getEventOption(element?: any): any; /** * Fire DOM event on an element @@ -207,24 +246,25 @@ declare module 'aurelia-syncfusion-bridge' { */ export function fireEvent(element: Element, name: string, data?: any): any; export class TemplateProcessor { - constructor(context: any, templateEngine: any); + constructor(context?: any, templateEngine?: any); initTemplate(): any; initWidgetDependancies(): any; - renderStringTemplate(self: any, selector: any, data: any, index: any): any; - compileTemplate(element: any): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; clearTempalte(): any; - unbindViews(obj: any): any; + unbindViews(obj?: any): any; } export class Template { template: any; - constructor(target: any); + constructor(target?: any); } export class Util { getBindablePropertyName(propertyName: string): string; - getOptions(model: any, properties: any): any; - getControlPropertyName(options: any, propertyName: any): any; - hasValue(prop: any): any; - processData(value: any): any; + _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 { @@ -232,16 +272,16 @@ declare module 'aurelia-syncfusion-bridge' { * To Create an widget * @param option Object which contains Element in which widget will be created */ - createWidget(option: any): any; + createWidget(option?: any): any; createTwoWays(): any; - addTwoways(prop: any): 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; + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; attached(): any; /** @@ -250,35 +290,35 @@ declare module 'aurelia-syncfusion-bridge' { * @param newValue New value of the property * @param oldvalue Pld value of the property */ - propertyChanged(property: any, newValue: any, oldValue: any): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class ejCurrencyTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDatePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDateTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDiagram extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDialog extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDropDownList extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejFileExplorer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejGantt extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Column { template: any; @@ -286,67 +326,69 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejGroupButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejKanban extends WidgetBase { columns: any; - constructor(element: any); + constructor(element?: any); } export class KanbanColumn { + } export class ejLinearGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Layer { + } export class ejMap extends WidgetBase { layers: any; - constructor(element: any); + constructor(element?: any); } export class ejMaskEdit extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejMenu extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNavigationDrawer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNumericTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejOverview extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPdfViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPercentageTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotChart extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGrid extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotSchemaDesigner extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejProgressBar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Item { template: any; @@ -354,107 +396,111 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejRadialMenu extends WidgetBase { items: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejRadialSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRadioButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class RangeSeries { + } export class ejRating extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejReportViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRibbon extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRotator extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRte extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSchedule extends WidgetBase { resources: any; - constructor(element: any); + constructor(element?: any); } export class ScheduleResource { + } export class ejScroller extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSparkline extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitter extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Sheet { + } export class ejSpreadsheet extends WidgetBase { sheets: any; - constructor(element: any); + constructor(element?: any); } export class ejSymbolPalette extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTab extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTagCloud extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTile extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToggleButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToolbar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTooltip extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTreeGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class TreeGridColumn { template: any; setTemplates(): any; } export class Level { + } export class ejTreeMap extends WidgetBase { levels: any; - constructor(element: any); + constructor(element?: any); } export class ejTreeView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejUploadbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejWaitingPopup extends WidgetBase { - constructor(element: any); + constructor(element?: any); } } \ No newline at end of file diff --git a/dist/commonjs/autocomplete/autocomplete.js b/dist/commonjs/autocomplete/autocomplete.js index c6434f2b8..e686f4d14 100644 --- a/dist/commonjs/autocomplete/autocomplete.js +++ b/dist/commonjs/autocomplete/autocomplete.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejAutocomplete = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.autocomplete.min'); -var ejAutocomplete = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejAutocomplete = exports.ejAutocomplete = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'autocomplete'), _dec2 = (0, _common.generateBindables)('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejAutocomplete, _WidgetBase); function ejAutocomplete(element) { - _classCallCheck(this, _ejAutocomplete); + _classCallCheck(this, ejAutocomplete); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAutocomplete = ejAutocomplete; - ejAutocomplete = _commonCommon.inject(Element)(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = _commonCommon.generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' })(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'autocomplete')(ejAutocomplete) || ejAutocomplete; return ejAutocomplete; -})(_commonCommon.WidgetBase); - -exports.ejAutocomplete = ejAutocomplete; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/barcode/barcode.js b/dist/commonjs/barcode/barcode.js index e56c2cbfc..acf09b7d4 100644 --- a/dist/commonjs/barcode/barcode.js +++ b/dist/commonjs/barcode/barcode.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejBarcode = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.barcode.min'); -var ejBarcode = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejBarcode = exports.ejBarcode = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'barcode'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejBarcode, _WidgetBase); function ejBarcode(element) { - _classCallCheck(this, _ejBarcode); + _classCallCheck(this, ejBarcode); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejBarcode = ejBarcode; - ejBarcode = _commonCommon.inject(Element)(ejBarcode) || ejBarcode; - ejBarcode = _commonCommon.generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])(ejBarcode) || ejBarcode; - ejBarcode = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejBarcode) || ejBarcode; - ejBarcode = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'barcode')(ejBarcode) || ejBarcode; return ejBarcode; -})(_commonCommon.WidgetBase); - -exports.ejBarcode = ejBarcode; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/bulletgraph/bulletgraph.js b/dist/commonjs/bulletgraph/bulletgraph.js index b52ab15bd..80ac6fae7 100644 --- a/dist/commonjs/bulletgraph/bulletgraph.js +++ b/dist/commonjs/bulletgraph/bulletgraph.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejBulletGraph = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('datavisualization/ej.bulletgraph.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('datavisualization/ej.bulletgraph.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejBulletGraph = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejBulletGraph, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejBulletGraph, [{ - key: 'qualitativeRanges', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'qualitative-range')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejBulletGraph = exports.ejBulletGraph = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'bullet-graph'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'qualitative-range'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejBulletGraph, _WidgetBase); function ejBulletGraph(element) { - _classCallCheck(this, _ejBulletGraph); + _classCallCheck(this, ejBulletGraph); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'qualitativeRanges', _instanceInitializers); + _initDefineProp(_this, 'qualitativeRanges', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'qualitativeRanges'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'qualitativeRanges'; + return _this; } - var _ejBulletGraph = ejBulletGraph; - ejBulletGraph = _commonCommon.inject(Element)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _commonCommon.generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'bullet-graph')(ejBulletGraph) || ejBulletGraph; return ejBulletGraph; -})(_commonCommon.WidgetBase); - -exports.ejBulletGraph = ejBulletGraph; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'qualitativeRanges', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/bulletgraph/qualitativerange.js b/dist/commonjs/bulletgraph/qualitativerange.js index 2c2a31a9f..92b131a34 100644 --- a/dist/commonjs/bulletgraph/qualitativerange.js +++ b/dist/commonjs/bulletgraph/qualitativerange.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.QualitativeRange = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var QualitativeRange = (function () { - function QualitativeRange() { - _classCallCheck(this, _QualitativeRange); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _QualitativeRange = QualitativeRange; - QualitativeRange = _commonCommon.generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])(QualitativeRange) || QualitativeRange; - QualitativeRange = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'qualitative-range')(QualitativeRange) || QualitativeRange; - QualitativeRange = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(QualitativeRange) || QualitativeRange; - return QualitativeRange; -})(); - -exports.QualitativeRange = QualitativeRange; \ No newline at end of file +var QualitativeRange = exports.QualitativeRange = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'qualitative-range'), _dec3 = (0, _common.generateBindables)('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke']), _dec(_class = _dec2(_class = _dec3(_class = function QualitativeRange() { + _classCallCheck(this, QualitativeRange); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/button/button.js b/dist/commonjs/button/button.js index 9f20062ea..e9f7c193a 100644 --- a/dist/commonjs/button/button.js +++ b/dist/commonjs/button/button.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejButton = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.button.min'); -var ejButton = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejButton = exports.ejButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'button'), _dec2 = (0, _common.generateBindables)('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejButton, _WidgetBase); function ejButton(element) { - _classCallCheck(this, _ejButton); + _classCallCheck(this, ejButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejButton = ejButton; - ejButton = _commonCommon.inject(Element)(ejButton) || ejButton; - ejButton = _commonCommon.generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejButton) || ejButton; - ejButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'button')(ejButton) || ejButton; return ejButton; -})(_commonCommon.WidgetBase); - -exports.ejButton = ejButton; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/chart/chart.js b/dist/commonjs/chart/chart.js index 9e5363664..b7bcba74f 100644 --- a/dist/commonjs/chart/chart.js +++ b/dist/commonjs/chart/chart.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejChart = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('datavisualization/ej.chart.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('datavisualization/ej.chart.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejChart = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejChart, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejChart, [{ - key: 'series', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejChart = exports.ejChart = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'chart'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejChart, _WidgetBase); function ejChart(element) { - _classCallCheck(this, _ejChart); + _classCallCheck(this, ejChart); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejChart = ejChart; - ejChart = _commonCommon.inject(Element)(ejChart) || ejChart; - ejChart = _commonCommon.generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])(ejChart) || ejChart; - ejChart = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejChart) || ejChart; - ejChart = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'chart')(ejChart) || ejChart; return ejChart; -})(_commonCommon.WidgetBase); - -exports.ejChart = ejChart; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/chart/series.js b/dist/commonjs/chart/series.js index e8da24a09..d16c4d315 100644 --- a/dist/commonjs/chart/series.js +++ b/dist/commonjs/chart/series.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Series = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var Series = (function () { - function Series() { - _classCallCheck(this, _Series); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _Series = Series; - Series = _commonCommon.generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])(Series) || Series; - Series = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'series')(Series) || Series; - Series = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Series) || Series; - return Series; -})(); - -exports.Series = Series; \ No newline at end of file +var Series = exports.Series = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'series'), _dec3 = (0, _common.generateBindables)('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings']), _dec(_class = _dec2(_class = _dec3(_class = function Series() { + _classCallCheck(this, Series); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/checkbox/checkbox.js b/dist/commonjs/checkbox/checkbox.js index 68d314bcf..11a6997ff 100644 --- a/dist/commonjs/checkbox/checkbox.js +++ b/dist/commonjs/checkbox/checkbox.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejCheckBox = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.checkbox.min'); -var ejCheckBox = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejCheckBox = exports.ejCheckBox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'check-box'), _dec2 = (0, _common.generateBindables)('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCheckBox, _WidgetBase); function ejCheckBox(element) { - _classCallCheck(this, _ejCheckBox); + _classCallCheck(this, ejCheckBox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejCheckBox = ejCheckBox; - ejCheckBox = _commonCommon.inject(Element)(ejCheckBox) || ejCheckBox; - ejCheckBox = _commonCommon.generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' })(ejCheckBox) || ejCheckBox; - ejCheckBox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'check-box')(ejCheckBox) || ejCheckBox; return ejCheckBox; -})(_commonCommon.WidgetBase); - -exports.ejCheckBox = ejCheckBox; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/circulargauge/circulargauge.js b/dist/commonjs/circulargauge/circulargauge.js index d8e153da5..acce1152c 100644 --- a/dist/commonjs/circulargauge/circulargauge.js +++ b/dist/commonjs/circulargauge/circulargauge.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejCircularGauge = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.circulargauge.min'); -var ejCircularGauge = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejCircularGauge = exports.ejCircularGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'circular-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejCircularGauge, _WidgetBase); function ejCircularGauge(element) { - _classCallCheck(this, _ejCircularGauge); + _classCallCheck(this, ejCircularGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejCircularGauge = ejCircularGauge; - ejCircularGauge = _commonCommon.inject(Element)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _commonCommon.generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'circular-gauge')(ejCircularGauge) || ejCircularGauge; return ejCircularGauge; -})(_commonCommon.WidgetBase); - -exports.ejCircularGauge = ejCircularGauge; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/colorpicker/colorpicker.js b/dist/commonjs/colorpicker/colorpicker.js index 645a3692a..bff0b0d05 100644 --- a/dist/commonjs/colorpicker/colorpicker.js +++ b/dist/commonjs/colorpicker/colorpicker.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejColorPicker = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.colorpicker.min'); -var ejColorPicker = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejColorPicker = exports.ejColorPicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'color-picker'), _dec2 = (0, _common.generateBindables)('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejColorPicker, _WidgetBase); function ejColorPicker(element) { - _classCallCheck(this, _ejColorPicker); + _classCallCheck(this, ejColorPicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejColorPicker = ejColorPicker; - ejColorPicker = _commonCommon.inject(Element)(ejColorPicker) || ejColorPicker; - ejColorPicker = _commonCommon.generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])(ejColorPicker) || ejColorPicker; - ejColorPicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'color-picker')(ejColorPicker) || ejColorPicker; return ejColorPicker; -})(_commonCommon.WidgetBase); - -exports.ejColorPicker = ejColorPicker; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/common/common.js b/dist/commonjs/common/common.js index 347a01ae3..a35f676cf 100644 --- a/dist/commonjs/common/common.js +++ b/dist/commonjs/common/common.js @@ -1,6 +1,9 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Util = exports.TemplateProcessor = exports.TemplatingEngine = exports.children = exports.customElement = exports.inlineView = exports.generateBindables = exports.constants = exports.WidgetBase = exports.inject = exports.bindable = exports.customAttribute = undefined; var _aureliaTemplating = require('aurelia-templating'); diff --git a/dist/commonjs/common/constants.js b/dist/commonjs/common/constants.js index b0643d881..b3fd5f87c 100644 --- a/dist/commonjs/common/constants.js +++ b/dist/commonjs/common/constants.js @@ -1,11 +1,12 @@ 'use strict'; -exports.__esModule = true; -var constants = { +Object.defineProperty(exports, "__esModule", { + value: true +}); +var constants = exports.constants = { eventPrefix: 'e-on-', bindablePrefix: 'e-', attributePrefix: 'ej-', elementPrefix: 'ej-', aureliaTemplateString: '' -}; -exports.constants = constants; \ No newline at end of file +}; \ No newline at end of file diff --git a/dist/commonjs/common/decorators.js b/dist/commonjs/common/decorators.js index 0fce078f4..98fd3a5c2 100644 --- a/dist/commonjs/common/decorators.js +++ b/dist/commonjs/common/decorators.js @@ -1,6 +1,8 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); exports.generateBindables = generateBindables; exports.delayed = delayed; diff --git a/dist/commonjs/common/events.js b/dist/commonjs/common/events.js index f52e05325..8ba7232b1 100644 --- a/dist/commonjs/common/events.js +++ b/dist/commonjs/common/events.js @@ -1,6 +1,8 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); exports.getEventOption = getEventOption; exports.fireEvent = fireEvent; @@ -11,14 +13,14 @@ var _aureliaDependencyInjection = require('aurelia-dependency-injection'); var _constants = require('./constants'); function getEventOption(element) { - var name = undefined; - var attr = undefined; + 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.Util); - var _loop = function (i, len) { + var _loop = function _loop(i, len) { attr = attributes[i]; name = attr.name; if (!name.startsWith(_constants.constants.eventPrefix)) { @@ -38,7 +40,6 @@ function getEventOption(element) { } return option; } - function fireEvent(element, name) { var data = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; diff --git a/dist/commonjs/common/template-processor.js b/dist/commonjs/common/template-processor.js index 88c1308c5..b80c8d3d4 100644 --- a/dist/commonjs/common/template-processor.js +++ b/dist/commonjs/common/template-processor.js @@ -1,22 +1,27 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TemplateProcessor = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _class; var _aureliaDependencyInjection = require('aurelia-dependency-injection'); -var _commonUtil = require('../common/util'); +var _util = require('../common/util'); var _aureliaTemplating = require('aurelia-templating'); -var TemplateProcessor = (function () { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var TemplateProcessor = exports.TemplateProcessor = (_dec = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, _util.Util), _dec(_class = function () { function TemplateProcessor(context, templateEngine) { - _classCallCheck(this, _TemplateProcessor); + _classCallCheck(this, TemplateProcessor); this.context = context; this.templatingEngine = templateEngine; - this.util = new _commonUtil.Util(); + this.util = new _util.Util(); } TemplateProcessor.prototype.initTemplate = function initTemplate() { @@ -92,9 +97,5 @@ var TemplateProcessor = (function () { } }; - var _TemplateProcessor = TemplateProcessor; - TemplateProcessor = _aureliaDependencyInjection.inject(_aureliaTemplating.TemplatingEngine, _commonUtil.Util)(TemplateProcessor) || TemplateProcessor; return TemplateProcessor; -})(); - -exports.TemplateProcessor = TemplateProcessor; \ No newline at end of file +}()) || _class); \ No newline at end of file diff --git a/dist/commonjs/common/template.js b/dist/commonjs/common/template.js index 487e281d8..9f4ac1fe4 100644 --- a/dist/commonjs/common/template.js +++ b/dist/commonjs/common/template.js @@ -1,12 +1,11 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Template = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; var _aureliaDependencyInjection = require('aurelia-dependency-injection'); @@ -14,36 +13,64 @@ var _aureliaTemplating = require('aurelia-templating'); var _constants = require('./constants'); -var Template = (function () { - var _instanceInitializers = {}; +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - _createDecoratedClass(Template, [{ - key: 'template', - decorators: [_aureliaTemplating.bindable], - initializer: null, - enumerable: true - }], null, _instanceInitializers); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; - function Template(target) { - _classCallCheck(this, _Template); + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } - this.template = target.elementInstruction.template; + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; } - var _Template = Template; - Template = _aureliaDependencyInjection.inject(_aureliaTemplating.TargetInstruction)(Template) || Template; - Template = _aureliaTemplating.processContent(function (compiler, resources, element, instruction) { - var html = element.innerHTML; - if (html !== '') { - instruction.template = html; - } - element.innerHTML = ''; - })(Template) || Template; - Template = _aureliaTemplating.noView()(Template) || Template; - Template = _aureliaTemplating.customElement(_constants.constants.elementPrefix + 'template')(Template) || Template; - return Template; -})(); - -exports.Template = Template; \ No newline at end of file + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var Template = exports.Template = (_dec = (0, _aureliaTemplating.customElement)(_constants.constants.elementPrefix + 'template'), _dec2 = (0, _aureliaTemplating.noView)(), _dec3 = (0, _aureliaTemplating.processContent)(function (compiler, resources, element, instruction) { + var html = element.innerHTML; + if (html !== '') { + instruction.template = html; + } + element.innerHTML = ''; +}), _dec4 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function Template(target) { + _classCallCheck(this, Template); + + _initDefineProp(this, 'template', _descriptor, this); + + this.template = target.elementInstruction.template; +}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_aureliaTemplating.bindable], { + enumerable: true, + initializer: null +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/common/util.js b/dist/commonjs/common/util.js index cadc20000..d8c60ff53 100644 --- a/dist/commonjs/common/util.js +++ b/dist/commonjs/common/util.js @@ -1,12 +1,15 @@ 'use strict'; -exports.__esModule = true; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Util = undefined; var _constants = require('./constants'); -var Util = (function () { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var Util = exports.Util = function () { function Util() { _classCallCheck(this, Util); } @@ -24,7 +27,7 @@ var Util = (function () { Util.prototype.getOptions = function getOptions(model, properties) { var bindableproperites = {}; - var value = undefined; + var value = void 0; for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; @@ -55,7 +58,7 @@ var Util = (function () { }; Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { - var property = undefined; + var property = void 0; for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { var _ref2; @@ -94,6 +97,4 @@ var Util = (function () { }; return Util; -})(); - -exports.Util = Util; \ No newline at end of file +}(); \ No newline at end of file diff --git a/dist/commonjs/common/widget-base.js b/dist/commonjs/common/widget-base.js index a3ae435e9..e93c4c2d9 100644 --- a/dist/commonjs/common/widget-base.js +++ b/dist/commonjs/common/widget-base.js @@ -1,20 +1,51 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.WidgetBase = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _desc, _value, _class; var _events = require('./events'); -var _commonUtil = require('../common/util'); +var _util = require('../common/util'); -var _commonDecorators = require('../common/decorators'); +var _decorators = require('../common/decorators'); -var firstValue = {}; +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} -var WidgetBase = (function () { +var firstValue = {}; +var WidgetBase = exports.WidgetBase = (_dec = (0, _decorators.delayed)(), (_class = function () { function WidgetBase() { _classCallCheck(this, WidgetBase); } @@ -69,21 +100,21 @@ var WidgetBase = (function () { } value = newVal; if (!isApp && model.util.hasValue(newVal)) { - var viewModelProp = model.util.getBindablePropertyName(prop); - model[viewModelProp] = newVal; + var _viewModelProp = model.util.getBindablePropertyName(prop); + model[_viewModelProp] = newVal; } return null; }; }; WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { - var propOptions = undefined; + var propOptions = void 0; if (this.ejOptions) { propOptions = this.ejOptions; } else { propOptions = this.util.getOptions(this, this.controlProperties); } - var eventOption = _events.getEventOption(element); + var eventOption = (0, _events.getEventOption)(element); if (this.hasChildProperty) { this.getChildProperties(propOptions); } @@ -103,9 +134,19 @@ var WidgetBase = (function () { } }; + WidgetBase.prototype.attached = function attached() { + if (this.templateProcessor) { + this[this.childPropertyName].forEach(function (template) { + return template.setTemplates(); + }); + } + this.util = new _util.Util(); + this.createWidget({ element: this.element }); + }; + WidgetBase.prototype.propertyChanged = function propertyChanged(property, newValue, oldValue) { if (this.widget) { - var modelValue = undefined; + var modelValue = void 0; var prop = this.util.getControlPropertyName(this, property); if (prop) { if (prop !== 'options') { @@ -136,21 +177,5 @@ var WidgetBase = (function () { } }; - _createDecoratedClass(WidgetBase, [{ - key: 'attached', - decorators: [_commonDecorators.delayed()], - value: function attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(function (template) { - return template.setTemplates(); - }); - } - this.util = new _commonUtil.Util(); - this.createWidget({ element: this.element }); - } - }]); - return WidgetBase; -})(); - -exports.WidgetBase = WidgetBase; \ No newline at end of file +}(), (_applyDecoratedDescriptor(_class.prototype, 'attached', [_dec], Object.getOwnPropertyDescriptor(_class.prototype, 'attached'), _class.prototype)), _class)); \ No newline at end of file diff --git a/dist/commonjs/config-builder.js b/dist/commonjs/config-builder.js index 901243601..17ccf62e7 100644 --- a/dist/commonjs/config-builder.js +++ b/dist/commonjs/config-builder.js @@ -1,10 +1,12 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var EjConfigBuilder = (function () { +var EjConfigBuilder = exports.EjConfigBuilder = function () { function EjConfigBuilder() { _classCallCheck(this, EjConfigBuilder); @@ -369,6 +371,4 @@ var EjConfigBuilder = (function () { }; return EjConfigBuilder; -})(); - -exports.EjConfigBuilder = EjConfigBuilder; \ No newline at end of file +}(); \ No newline at end of file diff --git a/dist/commonjs/currencytextbox/currencytextbox.js b/dist/commonjs/currencytextbox/currencytextbox.js index 7d2fc9f2b..39aef1a5f 100644 --- a/dist/commonjs/currencytextbox/currencytextbox.js +++ b/dist/commonjs/currencytextbox/currencytextbox.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejCurrencyTextbox = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.editor.min'); -var ejCurrencyTextbox = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejCurrencyTextbox = exports.ejCurrencyTextbox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'currency-textbox'), _dec2 = (0, _common.generateBindables)('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCurrencyTextbox, _WidgetBase); function ejCurrencyTextbox(element) { - _classCallCheck(this, _ejCurrencyTextbox); + _classCallCheck(this, ejCurrencyTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejCurrencyTextbox = ejCurrencyTextbox; - ejCurrencyTextbox = _commonCommon.inject(Element)(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = _commonCommon.generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'currency-textbox')(ejCurrencyTextbox) || ejCurrencyTextbox; return ejCurrencyTextbox; -})(_commonCommon.WidgetBase); - -exports.ejCurrencyTextbox = ejCurrencyTextbox; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/datepicker/datepicker.js b/dist/commonjs/datepicker/datepicker.js index 1042d6b07..029c223ca 100644 --- a/dist/commonjs/datepicker/datepicker.js +++ b/dist/commonjs/datepicker/datepicker.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejDatePicker = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.datepicker.min'); -var ejDatePicker = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejDatePicker = exports.ejDatePicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'date-picker'), _dec2 = (0, _common.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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDatePicker, _WidgetBase); function ejDatePicker(element) { - _classCallCheck(this, _ejDatePicker); + _classCallCheck(this, ejDatePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDatePicker = ejDatePicker; - ejDatePicker = _commonCommon.inject(Element)(ejDatePicker) || ejDatePicker; - ejDatePicker = _commonCommon.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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDatePicker) || ejDatePicker; - ejDatePicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'date-picker')(ejDatePicker) || ejDatePicker; return ejDatePicker; -})(_commonCommon.WidgetBase); - -exports.ejDatePicker = ejDatePicker; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/datetimepicker/datetimepicker.js b/dist/commonjs/datetimepicker/datetimepicker.js index 87fb7fbfc..68e3489a9 100644 --- a/dist/commonjs/datetimepicker/datetimepicker.js +++ b/dist/commonjs/datetimepicker/datetimepicker.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejDateTimePicker = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.datetimepicker.min'); -var ejDateTimePicker = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejDateTimePicker = exports.ejDateTimePicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'date-time-picker'), _dec2 = (0, _common.generateBindables)('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDateTimePicker, _WidgetBase); function ejDateTimePicker(element) { - _classCallCheck(this, _ejDateTimePicker); + _classCallCheck(this, ejDateTimePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDateTimePicker = ejDateTimePicker; - ejDateTimePicker = _commonCommon.inject(Element)(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = _commonCommon.generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'date-time-picker')(ejDateTimePicker) || ejDateTimePicker; return ejDateTimePicker; -})(_commonCommon.WidgetBase); - -exports.ejDateTimePicker = ejDateTimePicker; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/diagram/diagram.js b/dist/commonjs/diagram/diagram.js index 3e1cab61c..15cd231ec 100644 --- a/dist/commonjs/diagram/diagram.js +++ b/dist/commonjs/diagram/diagram.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejDiagram = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.diagram.min'); -var ejDiagram = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejDiagram = exports.ejDiagram = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'diagram'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDiagram, _WidgetBase); function ejDiagram(element) { - _classCallCheck(this, _ejDiagram); + _classCallCheck(this, ejDiagram); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDiagram = ejDiagram; - ejDiagram = _commonCommon.inject(Element)(ejDiagram) || ejDiagram; - ejDiagram = _commonCommon.generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])(ejDiagram) || ejDiagram; - ejDiagram = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejDiagram) || ejDiagram; - ejDiagram = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'diagram')(ejDiagram) || ejDiagram; return ejDiagram; -})(_commonCommon.WidgetBase); - -exports.ejDiagram = ejDiagram; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/dialog/dialog.js b/dist/commonjs/dialog/dialog.js index 875f57ea7..27819fae5 100644 --- a/dist/commonjs/dialog/dialog.js +++ b/dist/commonjs/dialog/dialog.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejDialog = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.dialog.min'); -var ejDialog = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejDialog = exports.ejDialog = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'dialog'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDialog, _WidgetBase); function ejDialog(element) { - _classCallCheck(this, _ejDialog); + _classCallCheck(this, ejDialog); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDialog = ejDialog; - ejDialog = _commonCommon.inject(Element)(ejDialog) || ejDialog; - ejDialog = _commonCommon.generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' })(ejDialog) || ejDialog; - ejDialog = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejDialog) || ejDialog; - ejDialog = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'dialog')(ejDialog) || ejDialog; return ejDialog; -})(_commonCommon.WidgetBase); - -exports.ejDialog = ejDialog; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/digitalgauge/digitalgauge.js b/dist/commonjs/digitalgauge/digitalgauge.js index 6d1545cab..0242814f1 100644 --- a/dist/commonjs/digitalgauge/digitalgauge.js +++ b/dist/commonjs/digitalgauge/digitalgauge.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejDigitalGauge = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.digitalgauge.min'); -var ejDigitalGauge = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejDigitalGauge = exports.ejDigitalGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'digital-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDigitalGauge, _WidgetBase); function ejDigitalGauge(element) { - _classCallCheck(this, _ejDigitalGauge); + _classCallCheck(this, ejDigitalGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDigitalGauge = ejDigitalGauge; - ejDigitalGauge = _commonCommon.inject(Element)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _commonCommon.generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'digital-gauge')(ejDigitalGauge) || ejDigitalGauge; return ejDigitalGauge; -})(_commonCommon.WidgetBase); - -exports.ejDigitalGauge = ejDigitalGauge; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/dropdownlist/dropdownlist.js b/dist/commonjs/dropdownlist/dropdownlist.js index 41ae483ec..46609a386 100644 --- a/dist/commonjs/dropdownlist/dropdownlist.js +++ b/dist/commonjs/dropdownlist/dropdownlist.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejDropDownList = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.dropdownlist.min'); -var ejDropDownList = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejDropDownList = exports.ejDropDownList = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'drop-down-list'), _dec2 = (0, _common.generateBindables)('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDropDownList, _WidgetBase); function ejDropDownList(element) { - _classCallCheck(this, _ejDropDownList); + _classCallCheck(this, ejDropDownList); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDropDownList = ejDropDownList; - ejDropDownList = _commonCommon.inject(Element)(ejDropDownList) || ejDropDownList; - ejDropDownList = _commonCommon.generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' })(ejDropDownList) || ejDropDownList; - ejDropDownList = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'drop-down-list')(ejDropDownList) || ejDropDownList; return ejDropDownList; -})(_commonCommon.WidgetBase); - -exports.ejDropDownList = ejDropDownList; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/fileexplorer/fileexplorer.js b/dist/commonjs/fileexplorer/fileexplorer.js index 0dad545ae..2f6fc4bd4 100644 --- a/dist/commonjs/fileexplorer/fileexplorer.js +++ b/dist/commonjs/fileexplorer/fileexplorer.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejFileExplorer = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.fileexplorer.min'); -var ejFileExplorer = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejFileExplorer = exports.ejFileExplorer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'file-explorer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejFileExplorer, _WidgetBase); function ejFileExplorer(element) { - _classCallCheck(this, _ejFileExplorer); + _classCallCheck(this, ejFileExplorer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejFileExplorer = ejFileExplorer; - ejFileExplorer = _commonCommon.inject(Element)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _commonCommon.generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' })(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'file-explorer')(ejFileExplorer) || ejFileExplorer; return ejFileExplorer; -})(_commonCommon.WidgetBase); - -exports.ejFileExplorer = ejFileExplorer; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/gantt/gantt.js b/dist/commonjs/gantt/gantt.js index 6d1eda5ad..16641ef8f 100644 --- a/dist/commonjs/gantt/gantt.js +++ b/dist/commonjs/gantt/gantt.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejGantt = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.gantt.min'); -var ejGantt = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejGantt = exports.ejGantt = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'gantt'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejGantt, _WidgetBase); function ejGantt(element) { - _classCallCheck(this, _ejGantt); + _classCallCheck(this, ejGantt); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejGantt = ejGantt; - ejGantt = _commonCommon.inject(Element)(ejGantt) || ejGantt; - ejGantt = _commonCommon.generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])(ejGantt) || ejGantt; - ejGantt = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejGantt) || ejGantt; - ejGantt = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'gantt')(ejGantt) || ejGantt; return ejGantt; -})(_commonCommon.WidgetBase); - -exports.ejGantt = ejGantt; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/grid/column.js b/dist/commonjs/grid/column.js index 52f59a9b5..9f43e47bb 100644 --- a/dist/commonjs/grid/column.js +++ b/dist/commonjs/grid/column.js @@ -1,45 +1,77 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Column = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var Column = (function () { - var _instanceInitializers = {}; +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var Column = exports.Column = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'column'), _dec3 = (0, _common.generateBindables)('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width']), _dec4 = (0, _common.children)(_common.constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Column() { - _classCallCheck(this, _Column); + _classCallCheck(this, Column); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Column.prototype.setTemplates = function setTemplates() { if (this.template[0]) { - var util = new _commonCommon.Util(); + var util = new _common.Util(); this[util.getBindablePropertyName('template')] = this.template[0].template; } }; - _createDecoratedClass(Column, [{ - key: 'template', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Column = Column; - Column = _commonCommon.generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])(Column) || Column; - Column = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'column')(Column) || Column; - Column = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Column) || Column; return Column; -})(); - -exports.Column = Column; \ No newline at end of file +}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/grid/grid.js b/dist/commonjs/grid/grid.js index 4670d5702..83e87019c 100644 --- a/dist/commonjs/grid/grid.js +++ b/dist/commonjs/grid/grid.js @@ -1,53 +1,87 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejGrid = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('ej.grid.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('ej.grid.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejGrid, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejGrid, [{ - key: 'columns', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejGrid = exports.ejGrid = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'grid'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element, _common.TemplatingEngine), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejGrid, _WidgetBase); function ejGrid(element, templateEngine) { - _classCallCheck(this, _ejGrid); + _classCallCheck(this, ejGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new _commonCommon.TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new _common.TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejGrid = ejGrid; - ejGrid = _commonCommon.inject(Element, _commonCommon.TemplatingEngine)(ejGrid) || ejGrid; - ejGrid = _commonCommon.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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejGrid) || ejGrid; - ejGrid = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejGrid) || ejGrid; - ejGrid = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'grid')(ejGrid) || ejGrid; return ejGrid; -})(_commonCommon.WidgetBase); - -exports.ejGrid = ejGrid; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/groupbutton/groupbutton.js b/dist/commonjs/groupbutton/groupbutton.js index 34b0b5f19..17b70d7ca 100644 --- a/dist/commonjs/groupbutton/groupbutton.js +++ b/dist/commonjs/groupbutton/groupbutton.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejGroupButton = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.groupbutton.min'); -var ejGroupButton = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejGroupButton = exports.ejGroupButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'group-button'), _dec2 = (0, _common.generateBindables)('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejGroupButton, _WidgetBase); function ejGroupButton(element) { - _classCallCheck(this, _ejGroupButton); + _classCallCheck(this, ejGroupButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejGroupButton = ejGroupButton; - ejGroupButton = _commonCommon.inject(Element)(ejGroupButton) || ejGroupButton; - ejGroupButton = _commonCommon.generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' })(ejGroupButton) || ejGroupButton; - ejGroupButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'group-button')(ejGroupButton) || ejGroupButton; return ejGroupButton; -})(_commonCommon.WidgetBase); - -exports.ejGroupButton = ejGroupButton; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js index d93183143..07b150075 100644 --- a/dist/commonjs/index.js +++ b/dist/commonjs/index.js @@ -1,6 +1,8 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); exports.configure = configure; var _configBuilder = require('./config-builder'); diff --git a/dist/commonjs/kanban/kanban.js b/dist/commonjs/kanban/kanban.js index 311e0c5ce..1871d4ae3 100644 --- a/dist/commonjs/kanban/kanban.js +++ b/dist/commonjs/kanban/kanban.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejKanban = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('ej.kanban.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('ej.kanban.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejKanban = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejKanban, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejKanban, [{ - key: 'columns', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'kanban-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejKanban = exports.ejKanban = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'kanban'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'kanban-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejKanban, _WidgetBase); function ejKanban(element) { - _classCallCheck(this, _ejKanban); + _classCallCheck(this, ejKanban); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + return _this; } - var _ejKanban = ejKanban; - ejKanban = _commonCommon.inject(Element)(ejKanban) || ejKanban; - ejKanban = _commonCommon.generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejKanban) || ejKanban; - ejKanban = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejKanban) || ejKanban; - ejKanban = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'kanban')(ejKanban) || ejKanban; return ejKanban; -})(_commonCommon.WidgetBase); - -exports.ejKanban = ejKanban; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/kanban/kanbancolumn.js b/dist/commonjs/kanban/kanbancolumn.js index 52fc771fd..7b95979f7 100644 --- a/dist/commonjs/kanban/kanbancolumn.js +++ b/dist/commonjs/kanban/kanbancolumn.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.KanbanColumn = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var KanbanColumn = (function () { - function KanbanColumn() { - _classCallCheck(this, _KanbanColumn); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _KanbanColumn = KanbanColumn; - KanbanColumn = _commonCommon.generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])(KanbanColumn) || KanbanColumn; - KanbanColumn = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'kanban-column')(KanbanColumn) || KanbanColumn; - KanbanColumn = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(KanbanColumn) || KanbanColumn; - return KanbanColumn; -})(); - -exports.KanbanColumn = KanbanColumn; \ No newline at end of file +var KanbanColumn = exports.KanbanColumn = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'kanban-column'), _dec3 = (0, _common.generateBindables)('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec(_class = _dec2(_class = _dec3(_class = function KanbanColumn() { + _classCallCheck(this, KanbanColumn); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/lineargauge/lineargauge.js b/dist/commonjs/lineargauge/lineargauge.js index 54a1d2946..1fca9b6c6 100644 --- a/dist/commonjs/lineargauge/lineargauge.js +++ b/dist/commonjs/lineargauge/lineargauge.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejLinearGauge = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.lineargauge.min'); -var ejLinearGauge = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejLinearGauge = exports.ejLinearGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'linear-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejLinearGauge, _WidgetBase); function ejLinearGauge(element) { - _classCallCheck(this, _ejLinearGauge); + _classCallCheck(this, ejLinearGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejLinearGauge = ejLinearGauge; - ejLinearGauge = _commonCommon.inject(Element)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _commonCommon.generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'linear-gauge')(ejLinearGauge) || ejLinearGauge; return ejLinearGauge; -})(_commonCommon.WidgetBase); - -exports.ejLinearGauge = ejLinearGauge; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/listbox/listbox.js b/dist/commonjs/listbox/listbox.js index 56a35c055..6cd410b92 100644 --- a/dist/commonjs/listbox/listbox.js +++ b/dist/commonjs/listbox/listbox.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejListBox = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.listbox.min'); -var ejListBox = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejListBox = exports.ejListBox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'list-box'), _dec2 = (0, _common.generateBindables)('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejListBox, _WidgetBase); function ejListBox(element) { - _classCallCheck(this, _ejListBox); + _classCallCheck(this, ejListBox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejListBox = ejListBox; - ejListBox = _commonCommon.inject(Element)(ejListBox) || ejListBox; - ejListBox = _commonCommon.generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejListBox) || ejListBox; - ejListBox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'list-box')(ejListBox) || ejListBox; return ejListBox; -})(_commonCommon.WidgetBase); - -exports.ejListBox = ejListBox; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/listview/listview.js b/dist/commonjs/listview/listview.js index 9c0f37dd7..45715fac0 100644 --- a/dist/commonjs/listview/listview.js +++ b/dist/commonjs/listview/listview.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejListView = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.listview.min'); -var ejListView = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejListView = exports.ejListView = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'list-view'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejListView, _WidgetBase); function ejListView(element) { - _classCallCheck(this, _ejListView); + _classCallCheck(this, ejListView); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejListView = ejListView; - ejListView = _commonCommon.inject(Element)(ejListView) || ejListView; - ejListView = _commonCommon.generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])(ejListView) || ejListView; - ejListView = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejListView) || ejListView; - ejListView = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'list-view')(ejListView) || ejListView; return ejListView; -})(_commonCommon.WidgetBase); - -exports.ejListView = ejListView; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/map/layer.js b/dist/commonjs/map/layer.js index 69120baf5..3a45741bf 100644 --- a/dist/commonjs/map/layer.js +++ b/dist/commonjs/map/layer.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Layer = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var Layer = (function () { - function Layer() { - _classCallCheck(this, _Layer); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _Layer = Layer; - Layer = _commonCommon.generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])(Layer) || Layer; - Layer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'layer')(Layer) || Layer; - Layer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Layer) || Layer; - return Layer; -})(); - -exports.Layer = Layer; \ No newline at end of file +var Layer = exports.Layer = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'layer'), _dec3 = (0, _common.generateBindables)('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate']), _dec(_class = _dec2(_class = _dec3(_class = function Layer() { + _classCallCheck(this, Layer); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/map/map.js b/dist/commonjs/map/map.js index dcbd929c8..a7e62b8f2 100644 --- a/dist/commonjs/map/map.js +++ b/dist/commonjs/map/map.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejMap = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('datavisualization/ej.map.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('datavisualization/ej.map.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejMap = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejMap, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejMap, [{ - key: 'layers', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'layer')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejMap = exports.ejMap = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'map'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'layer'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejMap, _WidgetBase); function ejMap(element) { - _classCallCheck(this, _ejMap); + _classCallCheck(this, ejMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'layers', _instanceInitializers); + _initDefineProp(_this, 'layers', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'layers'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'layers'; + return _this; } - var _ejMap = ejMap; - ejMap = _commonCommon.inject(Element)(ejMap) || ejMap; - ejMap = _commonCommon.generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])(ejMap) || ejMap; - ejMap = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejMap) || ejMap; - ejMap = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'map')(ejMap) || ejMap; return ejMap; -})(_commonCommon.WidgetBase); - -exports.ejMap = ejMap; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'layers', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/maskedit/maskedit.js b/dist/commonjs/maskedit/maskedit.js index 82e62057a..5920dc098 100644 --- a/dist/commonjs/maskedit/maskedit.js +++ b/dist/commonjs/maskedit/maskedit.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejMaskEdit = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.maskedit.min'); -var ejMaskEdit = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejMaskEdit = exports.ejMaskEdit = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'mask-edit'), _dec2 = (0, _common.generateBindables)('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMaskEdit, _WidgetBase); function ejMaskEdit(element) { - _classCallCheck(this, _ejMaskEdit); + _classCallCheck(this, ejMaskEdit); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejMaskEdit = ejMaskEdit; - ejMaskEdit = _commonCommon.inject(Element)(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = _commonCommon.generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'mask-edit')(ejMaskEdit) || ejMaskEdit; return ejMaskEdit; -})(_commonCommon.WidgetBase); - -exports.ejMaskEdit = ejMaskEdit; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/menu/menu.js b/dist/commonjs/menu/menu.js index 5495c2f33..52c0371e0 100644 --- a/dist/commonjs/menu/menu.js +++ b/dist/commonjs/menu/menu.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejMenu = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.menu.min'); -var ejMenu = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejMenu = exports.ejMenu = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'menu'), _dec2 = (0, _common.generateBindables)('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMenu, _WidgetBase); function ejMenu(element) { - _classCallCheck(this, _ejMenu); + _classCallCheck(this, ejMenu); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejMenu = ejMenu; - ejMenu = _commonCommon.inject(Element)(ejMenu) || ejMenu; - ejMenu = _commonCommon.generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' })(ejMenu) || ejMenu; - ejMenu = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'menu')(ejMenu) || ejMenu; return ejMenu; -})(_commonCommon.WidgetBase); - -exports.ejMenu = ejMenu; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/navigationdrawer/navigationdrawer.js b/dist/commonjs/navigationdrawer/navigationdrawer.js index 78e08665b..f86f939f1 100644 --- a/dist/commonjs/navigationdrawer/navigationdrawer.js +++ b/dist/commonjs/navigationdrawer/navigationdrawer.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejNavigationDrawer = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.navigationdrawer.min'); -var ejNavigationDrawer = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejNavigationDrawer = exports.ejNavigationDrawer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'navigation-drawer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejNavigationDrawer, _WidgetBase); function ejNavigationDrawer(element) { - _classCallCheck(this, _ejNavigationDrawer); + _classCallCheck(this, ejNavigationDrawer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejNavigationDrawer = ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.inject(Element)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'navigation-drawer')(ejNavigationDrawer) || ejNavigationDrawer; return ejNavigationDrawer; -})(_commonCommon.WidgetBase); - -exports.ejNavigationDrawer = ejNavigationDrawer; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/numerictextbox/numerictextbox.js b/dist/commonjs/numerictextbox/numerictextbox.js index bc9dd3bd2..2eebf9df8 100644 --- a/dist/commonjs/numerictextbox/numerictextbox.js +++ b/dist/commonjs/numerictextbox/numerictextbox.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejNumericTextbox = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.editor.min'); -var ejNumericTextbox = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejNumericTextbox = exports.ejNumericTextbox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'numeric-textbox'), _dec2 = (0, _common.generateBindables)('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejNumericTextbox, _WidgetBase); function ejNumericTextbox(element) { - _classCallCheck(this, _ejNumericTextbox); + _classCallCheck(this, ejNumericTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejNumericTextbox = ejNumericTextbox; - ejNumericTextbox = _commonCommon.inject(Element)(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = _commonCommon.generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'numeric-textbox')(ejNumericTextbox) || ejNumericTextbox; return ejNumericTextbox; -})(_commonCommon.WidgetBase); - -exports.ejNumericTextbox = ejNumericTextbox; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/overview/overview.js b/dist/commonjs/overview/overview.js index f7f5f6b7e..c5aa8fa68 100644 --- a/dist/commonjs/overview/overview.js +++ b/dist/commonjs/overview/overview.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejOverview = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.diagram.min'); -var ejOverview = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejOverview = exports.ejOverview = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'overview'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejOverview, _WidgetBase); function ejOverview(element) { - _classCallCheck(this, _ejOverview); + _classCallCheck(this, ejOverview); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejOverview = ejOverview; - ejOverview = _commonCommon.inject(Element)(ejOverview) || ejOverview; - ejOverview = _commonCommon.generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' })(ejOverview) || ejOverview; - ejOverview = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejOverview) || ejOverview; - ejOverview = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'overview')(ejOverview) || ejOverview; return ejOverview; -})(_commonCommon.WidgetBase); - -exports.ejOverview = ejOverview; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/pdfviewer/pdfviewer.js b/dist/commonjs/pdfviewer/pdfviewer.js index fab8e32fc..55bf5c8b5 100644 --- a/dist/commonjs/pdfviewer/pdfviewer.js +++ b/dist/commonjs/pdfviewer/pdfviewer.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejPdfViewer = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.pdfviewer.min'); -var ejPdfViewer = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejPdfViewer = exports.ejPdfViewer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pdf-viewer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPdfViewer, _WidgetBase); function ejPdfViewer(element) { - _classCallCheck(this, _ejPdfViewer); + _classCallCheck(this, ejPdfViewer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPdfViewer = ejPdfViewer; - ejPdfViewer = _commonCommon.inject(Element)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _commonCommon.generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pdf-viewer')(ejPdfViewer) || ejPdfViewer; return ejPdfViewer; -})(_commonCommon.WidgetBase); - -exports.ejPdfViewer = ejPdfViewer; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/percentagetextbox/percentagetextbox.js b/dist/commonjs/percentagetextbox/percentagetextbox.js index b5ccd1abb..d85931b48 100644 --- a/dist/commonjs/percentagetextbox/percentagetextbox.js +++ b/dist/commonjs/percentagetextbox/percentagetextbox.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejPercentageTextbox = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.editor.min'); -var ejPercentageTextbox = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejPercentageTextbox = exports.ejPercentageTextbox = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'percentage-textbox'), _dec2 = (0, _common.generateBindables)('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejPercentageTextbox, _WidgetBase); function ejPercentageTextbox(element) { - _classCallCheck(this, _ejPercentageTextbox); + _classCallCheck(this, ejPercentageTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejPercentageTextbox = ejPercentageTextbox; - ejPercentageTextbox = _commonCommon.inject(Element)(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = _commonCommon.generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'percentage-textbox')(ejPercentageTextbox) || ejPercentageTextbox; return ejPercentageTextbox; -})(_commonCommon.WidgetBase); - -exports.ejPercentageTextbox = ejPercentageTextbox; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/pivotchart/pivotchart.js b/dist/commonjs/pivotchart/pivotchart.js index 858eb3c40..1ea64b041 100644 --- a/dist/commonjs/pivotchart/pivotchart.js +++ b/dist/commonjs/pivotchart/pivotchart.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejPivotChart = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.pivotchart.min'); -var ejPivotChart = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejPivotChart = exports.ejPivotChart = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-chart'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotChart, _WidgetBase); function ejPivotChart(element) { - _classCallCheck(this, _ejPivotChart); + _classCallCheck(this, ejPivotChart); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotChart = ejPivotChart; - ejPivotChart = _commonCommon.inject(Element)(ejPivotChart) || ejPivotChart; - ejPivotChart = _commonCommon.generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])(ejPivotChart) || ejPivotChart; - ejPivotChart = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotChart) || ejPivotChart; - ejPivotChart = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-chart')(ejPivotChart) || ejPivotChart; return ejPivotChart; -})(_commonCommon.WidgetBase); - -exports.ejPivotChart = ejPivotChart; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/pivotgauge/pivotgauge.js b/dist/commonjs/pivotgauge/pivotgauge.js index 30ec97f02..71af8f662 100644 --- a/dist/commonjs/pivotgauge/pivotgauge.js +++ b/dist/commonjs/pivotgauge/pivotgauge.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejPivotGauge = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.pivotgauge.min'); -var ejPivotGauge = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejPivotGauge = exports.ejPivotGauge = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-gauge'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGauge, _WidgetBase); function ejPivotGauge(element) { - _classCallCheck(this, _ejPivotGauge); + _classCallCheck(this, ejPivotGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotGauge = ejPivotGauge; - ejPivotGauge = _commonCommon.inject(Element)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _commonCommon.generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-gauge')(ejPivotGauge) || ejPivotGauge; return ejPivotGauge; -})(_commonCommon.WidgetBase); - -exports.ejPivotGauge = ejPivotGauge; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/pivotgrid/pivotgrid.js b/dist/commonjs/pivotgrid/pivotgrid.js index 48873dbec..1923bf97c 100644 --- a/dist/commonjs/pivotgrid/pivotgrid.js +++ b/dist/commonjs/pivotgrid/pivotgrid.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejPivotGrid = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.pivotgrid.min'); -var ejPivotGrid = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejPivotGrid = exports.ejPivotGrid = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-grid'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGrid, _WidgetBase); function ejPivotGrid(element) { - _classCallCheck(this, _ejPivotGrid); + _classCallCheck(this, ejPivotGrid); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotGrid = ejPivotGrid; - ejPivotGrid = _commonCommon.inject(Element)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _commonCommon.generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' })(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-grid')(ejPivotGrid) || ejPivotGrid; return ejPivotGrid; -})(_commonCommon.WidgetBase); - -exports.ejPivotGrid = ejPivotGrid; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/pivotschemadesigner/pivotschemadesigner.js b/dist/commonjs/pivotschemadesigner/pivotschemadesigner.js index b72d55e4d..2550acf25 100644 --- a/dist/commonjs/pivotschemadesigner/pivotschemadesigner.js +++ b/dist/commonjs/pivotschemadesigner/pivotschemadesigner.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejPivotSchemaDesigner = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.pivotschemadesigner.min'); -var ejPivotSchemaDesigner = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejPivotSchemaDesigner = exports.ejPivotSchemaDesigner = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'pivot-schema-designer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotSchemaDesigner, _WidgetBase); function ejPivotSchemaDesigner(element) { - _classCallCheck(this, _ejPivotSchemaDesigner); + _classCallCheck(this, ejPivotSchemaDesigner); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotSchemaDesigner = ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.inject(Element)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'pivot-schema-designer')(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; return ejPivotSchemaDesigner; -})(_commonCommon.WidgetBase); - -exports.ejPivotSchemaDesigner = ejPivotSchemaDesigner; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/progressbar/progressbar.js b/dist/commonjs/progressbar/progressbar.js index f6109d2ad..1a3f2a1a4 100644 --- a/dist/commonjs/progressbar/progressbar.js +++ b/dist/commonjs/progressbar/progressbar.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejProgressBar = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.progressbar.min'); -var ejProgressBar = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejProgressBar = exports.ejProgressBar = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'progress-bar'), _dec2 = (0, _common.generateBindables)('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejProgressBar, _WidgetBase); function ejProgressBar(element) { - _classCallCheck(this, _ejProgressBar); + _classCallCheck(this, ejProgressBar); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejProgressBar = ejProgressBar; - ejProgressBar = _commonCommon.inject(Element)(ejProgressBar) || ejProgressBar; - ejProgressBar = _commonCommon.generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' })(ejProgressBar) || ejProgressBar; - ejProgressBar = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'progress-bar')(ejProgressBar) || ejProgressBar; return ejProgressBar; -})(_commonCommon.WidgetBase); - -exports.ejProgressBar = ejProgressBar; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/radialmenu/item.js b/dist/commonjs/radialmenu/item.js index cc4ab0975..1a04735ad 100644 --- a/dist/commonjs/radialmenu/item.js +++ b/dist/commonjs/radialmenu/item.js @@ -1,45 +1,77 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Item = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var Item = (function () { - var _instanceInitializers = {}; +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var Item = exports.Item = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'item'), _dec3 = (0, _common.generateBindables)('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings']), _dec4 = (0, _common.children)(_common.constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Item() { - _classCallCheck(this, _Item); + _classCallCheck(this, Item); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Item.prototype.setTemplates = function setTemplates() { if (this.template[0]) { - var util = new _commonCommon.Util(); + var util = new _common.Util(); this[util.getBindablePropertyName('template')] = this.template[0].template; } }; - _createDecoratedClass(Item, [{ - key: 'template', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Item = Item; - Item = _commonCommon.generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])(Item) || Item; - Item = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'item')(Item) || Item; - Item = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Item) || Item; return Item; -})(); - -exports.Item = Item; \ No newline at end of file +}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/radialmenu/radialmenu.js b/dist/commonjs/radialmenu/radialmenu.js index fd236946f..d8c029667 100644 --- a/dist/commonjs/radialmenu/radialmenu.js +++ b/dist/commonjs/radialmenu/radialmenu.js @@ -1,53 +1,87 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRadialMenu = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('ej.radialmenu.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('ej.radialmenu.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejRadialMenu = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejRadialMenu, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejRadialMenu, [{ - key: 'items', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'item')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejRadialMenu = exports.ejRadialMenu = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'radial-menu'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec4 = (0, _common.inject)(Element, _common.TemplatingEngine), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'item'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejRadialMenu, _WidgetBase); function ejRadialMenu(element, templateEngine) { - _classCallCheck(this, _ejRadialMenu); + _classCallCheck(this, ejRadialMenu); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'items', _instanceInitializers); + _initDefineProp(_this, 'items', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'items'; - this.templateProcessor = new _commonCommon.TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'items'; + _this.templateProcessor = new _common.TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejRadialMenu = ejRadialMenu; - ejRadialMenu = _commonCommon.inject(Element, _commonCommon.TemplatingEngine)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _commonCommon.generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'radial-menu')(ejRadialMenu) || ejRadialMenu; return ejRadialMenu; -})(_commonCommon.WidgetBase); - -exports.ejRadialMenu = ejRadialMenu; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'items', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/radialslider/radialslider.js b/dist/commonjs/radialslider/radialslider.js index bcdc735d8..b0cb04d5c 100644 --- a/dist/commonjs/radialslider/radialslider.js +++ b/dist/commonjs/radialslider/radialslider.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRadialSlider = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.radialslider.min'); -var ejRadialSlider = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejRadialSlider = exports.ejRadialSlider = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'radial-slider'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRadialSlider, _WidgetBase); function ejRadialSlider(element) { - _classCallCheck(this, _ejRadialSlider); + _classCallCheck(this, ejRadialSlider); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRadialSlider = ejRadialSlider; - ejRadialSlider = _commonCommon.inject(Element)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _commonCommon.generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'radial-slider')(ejRadialSlider) || ejRadialSlider; return ejRadialSlider; -})(_commonCommon.WidgetBase); - -exports.ejRadialSlider = ejRadialSlider; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/radiobutton/radiobutton.js b/dist/commonjs/radiobutton/radiobutton.js index 9b81c1774..42f228ba9 100644 --- a/dist/commonjs/radiobutton/radiobutton.js +++ b/dist/commonjs/radiobutton/radiobutton.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRadioButton = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.radiobutton.min'); -var ejRadioButton = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejRadioButton = exports.ejRadioButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'radio-button'), _dec2 = (0, _common.generateBindables)('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRadioButton, _WidgetBase); function ejRadioButton(element) { - _classCallCheck(this, _ejRadioButton); + _classCallCheck(this, ejRadioButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRadioButton = ejRadioButton; - ejRadioButton = _commonCommon.inject(Element)(ejRadioButton) || ejRadioButton; - ejRadioButton = _commonCommon.generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' })(ejRadioButton) || ejRadioButton; - ejRadioButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'radio-button')(ejRadioButton) || ejRadioButton; return ejRadioButton; -})(_commonCommon.WidgetBase); - -exports.ejRadioButton = ejRadioButton; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/rangenavigator/rangenavigator.js b/dist/commonjs/rangenavigator/rangenavigator.js index bcc67bf81..1d3d09b53 100644 --- a/dist/commonjs/rangenavigator/rangenavigator.js +++ b/dist/commonjs/rangenavigator/rangenavigator.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRangeNavigator = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('datavisualization/ej.rangenavigator.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('datavisualization/ej.rangenavigator.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejRangeNavigator = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejRangeNavigator, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejRangeNavigator, [{ - key: 'series', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'range-series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejRangeNavigator = exports.ejRangeNavigator = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'range-navigator'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'range-series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejRangeNavigator, _WidgetBase); function ejRangeNavigator(element) { - _classCallCheck(this, _ejRangeNavigator); + _classCallCheck(this, ejRangeNavigator); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejRangeNavigator = ejRangeNavigator; - ejRangeNavigator = _commonCommon.inject(Element)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _commonCommon.generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' })(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'range-navigator')(ejRangeNavigator) || ejRangeNavigator; return ejRangeNavigator; -})(_commonCommon.WidgetBase); - -exports.ejRangeNavigator = ejRangeNavigator; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/rangenavigator/rangeseries.js b/dist/commonjs/rangenavigator/rangeseries.js index 20eb60c86..b97b15a95 100644 --- a/dist/commonjs/rangenavigator/rangeseries.js +++ b/dist/commonjs/rangenavigator/rangeseries.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.RangeSeries = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var RangeSeries = (function () { - function RangeSeries() { - _classCallCheck(this, _RangeSeries); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _RangeSeries = RangeSeries; - RangeSeries = _commonCommon.generateBindables('series', [])(RangeSeries) || RangeSeries; - RangeSeries = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'range-series')(RangeSeries) || RangeSeries; - RangeSeries = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(RangeSeries) || RangeSeries; - return RangeSeries; -})(); - -exports.RangeSeries = RangeSeries; \ No newline at end of file +var RangeSeries = exports.RangeSeries = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'range-series'), _dec3 = (0, _common.generateBindables)('series', []), _dec(_class = _dec2(_class = _dec3(_class = function RangeSeries() { + _classCallCheck(this, RangeSeries); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/rating/rating.js b/dist/commonjs/rating/rating.js index 16be99bf6..da1a9609f 100644 --- a/dist/commonjs/rating/rating.js +++ b/dist/commonjs/rating/rating.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRating = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.rating.min'); -var ejRating = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejRating = exports.ejRating = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'rating'), _dec2 = (0, _common.generateBindables)('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRating, _WidgetBase); function ejRating(element) { - _classCallCheck(this, _ejRating); + _classCallCheck(this, ejRating); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRating = ejRating; - ejRating = _commonCommon.inject(Element)(ejRating) || ejRating; - ejRating = _commonCommon.generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])(ejRating) || ejRating; - ejRating = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'rating')(ejRating) || ejRating; return ejRating; -})(_commonCommon.WidgetBase); - -exports.ejRating = ejRating; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/reportviewer/reportviewer.js b/dist/commonjs/reportviewer/reportviewer.js index 55c5846c1..717d82c33 100644 --- a/dist/commonjs/reportviewer/reportviewer.js +++ b/dist/commonjs/reportviewer/reportviewer.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejReportViewer = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.reportviewer.min'); -var ejReportViewer = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejReportViewer = exports.ejReportViewer = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'report-viewer'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejReportViewer, _WidgetBase); function ejReportViewer(element) { - _classCallCheck(this, _ejReportViewer); + _classCallCheck(this, ejReportViewer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejReportViewer = ejReportViewer; - ejReportViewer = _commonCommon.inject(Element)(ejReportViewer) || ejReportViewer; - ejReportViewer = _commonCommon.generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])(ejReportViewer) || ejReportViewer; - ejReportViewer = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejReportViewer) || ejReportViewer; - ejReportViewer = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'report-viewer')(ejReportViewer) || ejReportViewer; return ejReportViewer; -})(_commonCommon.WidgetBase); - -exports.ejReportViewer = ejReportViewer; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/ribbon/ribbon.js b/dist/commonjs/ribbon/ribbon.js index 60c5fdcb1..41f2e78af 100644 --- a/dist/commonjs/ribbon/ribbon.js +++ b/dist/commonjs/ribbon/ribbon.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRibbon = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.ribbon.min'); -var ejRibbon = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejRibbon = exports.ejRibbon = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'ribbon'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRibbon, _WidgetBase); function ejRibbon(element) { - _classCallCheck(this, _ejRibbon); + _classCallCheck(this, ejRibbon); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRibbon = ejRibbon; - ejRibbon = _commonCommon.inject(Element)(ejRibbon) || ejRibbon; - ejRibbon = _commonCommon.generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])(ejRibbon) || ejRibbon; - ejRibbon = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejRibbon) || ejRibbon; - ejRibbon = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'ribbon')(ejRibbon) || ejRibbon; return ejRibbon; -})(_commonCommon.WidgetBase); - -exports.ejRibbon = ejRibbon; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/rotator/rotator.js b/dist/commonjs/rotator/rotator.js index 145c090bb..a02264348 100644 --- a/dist/commonjs/rotator/rotator.js +++ b/dist/commonjs/rotator/rotator.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRotator = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.rotator.min'); -var ejRotator = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejRotator = exports.ejRotator = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'rotator'), _dec2 = (0, _common.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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRotator, _WidgetBase); function ejRotator(element) { - _classCallCheck(this, _ejRotator); + _classCallCheck(this, ejRotator); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRotator = ejRotator; - ejRotator = _commonCommon.inject(Element)(ejRotator) || ejRotator; - ejRotator = _commonCommon.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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' })(ejRotator) || ejRotator; - ejRotator = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'rotator')(ejRotator) || ejRotator; return ejRotator; -})(_commonCommon.WidgetBase); - -exports.ejRotator = ejRotator; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/rte/rte.js b/dist/commonjs/rte/rte.js index 3262ffa98..551478c22 100644 --- a/dist/commonjs/rte/rte.js +++ b/dist/commonjs/rte/rte.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejRte = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.rte.min'); -var ejRte = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejRte = exports.ejRte = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'rte'), _dec2 = (0, _common.generateBindables)('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRte, _WidgetBase); function ejRte(element) { - _classCallCheck(this, _ejRte); + _classCallCheck(this, ejRte); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRte = ejRte; - ejRte = _commonCommon.inject(Element)(ejRte) || ejRte; - ejRte = _commonCommon.generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' })(ejRte) || ejRte; - ejRte = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'rte')(ejRte) || ejRte; return ejRte; -})(_commonCommon.WidgetBase); - -exports.ejRte = ejRte; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/schedule/schedule.js b/dist/commonjs/schedule/schedule.js index ccf300822..32dbd9bd0 100644 --- a/dist/commonjs/schedule/schedule.js +++ b/dist/commonjs/schedule/schedule.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSchedule = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('ej.schedule.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('ej.schedule.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejSchedule = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejSchedule, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejSchedule, [{ - key: 'resources', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'schedule-resource')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejSchedule = exports.ejSchedule = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'schedule'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' }), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'schedule-resource'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejSchedule, _WidgetBase); function ejSchedule(element) { - _classCallCheck(this, _ejSchedule); + _classCallCheck(this, ejSchedule); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'resources', _instanceInitializers); + _initDefineProp(_this, 'resources', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'resources'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'resources'; + return _this; } - var _ejSchedule = ejSchedule; - ejSchedule = _commonCommon.inject(Element)(ejSchedule) || ejSchedule; - ejSchedule = _commonCommon.generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' })(ejSchedule) || ejSchedule; - ejSchedule = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSchedule) || ejSchedule; - ejSchedule = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'schedule')(ejSchedule) || ejSchedule; return ejSchedule; -})(_commonCommon.WidgetBase); - -exports.ejSchedule = ejSchedule; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'resources', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/schedule/scheduleresource.js b/dist/commonjs/schedule/scheduleresource.js index 1d22d549a..85d63b858 100644 --- a/dist/commonjs/schedule/scheduleresource.js +++ b/dist/commonjs/schedule/scheduleresource.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ScheduleResource = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var ScheduleResource = (function () { - function ScheduleResource() { - _classCallCheck(this, _ScheduleResource); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _ScheduleResource = ScheduleResource; - ScheduleResource = _commonCommon.generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])(ScheduleResource) || ScheduleResource; - ScheduleResource = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'schedule-resource')(ScheduleResource) || ScheduleResource; - ScheduleResource = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ScheduleResource) || ScheduleResource; - return ScheduleResource; -})(); - -exports.ScheduleResource = ScheduleResource; \ No newline at end of file +var ScheduleResource = exports.ScheduleResource = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'schedule-resource'), _dec3 = (0, _common.generateBindables)('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings']), _dec(_class = _dec2(_class = _dec3(_class = function ScheduleResource() { + _classCallCheck(this, ScheduleResource); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/scroller/scroller.js b/dist/commonjs/scroller/scroller.js index e854da65f..571e2a51d 100644 --- a/dist/commonjs/scroller/scroller.js +++ b/dist/commonjs/scroller/scroller.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejScroller = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('common/ej.scroller.min'); -var ejScroller = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejScroller = exports.ejScroller = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'scroller'), _dec2 = (0, _common.generateBindables)('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejScroller, _WidgetBase); function ejScroller(element) { - _classCallCheck(this, _ejScroller); + _classCallCheck(this, ejScroller); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejScroller = ejScroller; - ejScroller = _commonCommon.inject(Element)(ejScroller) || ejScroller; - ejScroller = _commonCommon.generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' })(ejScroller) || ejScroller; - ejScroller = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'scroller')(ejScroller) || ejScroller; return ejScroller; -})(_commonCommon.WidgetBase); - -exports.ejScroller = ejScroller; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/slider/slider.js b/dist/commonjs/slider/slider.js index 392982746..16c331de2 100644 --- a/dist/commonjs/slider/slider.js +++ b/dist/commonjs/slider/slider.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSlider = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.slider.min'); -var ejSlider = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejSlider = exports.ejSlider = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'slider'), _dec2 = (0, _common.generateBindables)('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSlider, _WidgetBase); function ejSlider(element) { - _classCallCheck(this, _ejSlider); + _classCallCheck(this, ejSlider); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSlider = ejSlider; - ejSlider = _commonCommon.inject(Element)(ejSlider) || ejSlider; - ejSlider = _commonCommon.generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejSlider) || ejSlider; - ejSlider = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'slider')(ejSlider) || ejSlider; return ejSlider; -})(_commonCommon.WidgetBase); - -exports.ejSlider = ejSlider; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/sparkline/sparkline.js b/dist/commonjs/sparkline/sparkline.js index 855850152..a1b16986c 100644 --- a/dist/commonjs/sparkline/sparkline.js +++ b/dist/commonjs/sparkline/sparkline.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSparkline = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.sparkline.min'); -var ejSparkline = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejSparkline = exports.ejSparkline = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'sparkline'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSparkline, _WidgetBase); function ejSparkline(element) { - _classCallCheck(this, _ejSparkline); + _classCallCheck(this, ejSparkline); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSparkline = ejSparkline; - ejSparkline = _commonCommon.inject(Element)(ejSparkline) || ejSparkline; - ejSparkline = _commonCommon.generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])(ejSparkline) || ejSparkline; - ejSparkline = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSparkline) || ejSparkline; - ejSparkline = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'sparkline')(ejSparkline) || ejSparkline; return ejSparkline; -})(_commonCommon.WidgetBase); - -exports.ejSparkline = ejSparkline; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/splitbutton/splitbutton.js b/dist/commonjs/splitbutton/splitbutton.js index f495261b4..8c0e76f5f 100644 --- a/dist/commonjs/splitbutton/splitbutton.js +++ b/dist/commonjs/splitbutton/splitbutton.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSplitButton = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.splitbutton.min'); -var ejSplitButton = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejSplitButton = exports.ejSplitButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'split-button'), _dec2 = (0, _common.generateBindables)('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSplitButton, _WidgetBase); function ejSplitButton(element) { - _classCallCheck(this, _ejSplitButton); + _classCallCheck(this, ejSplitButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSplitButton = ejSplitButton; - ejSplitButton = _commonCommon.inject(Element)(ejSplitButton) || ejSplitButton; - ejSplitButton = _commonCommon.generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejSplitButton) || ejSplitButton; - ejSplitButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'split-button')(ejSplitButton) || ejSplitButton; return ejSplitButton; -})(_commonCommon.WidgetBase); - -exports.ejSplitButton = ejSplitButton; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/splitter/splitter.js b/dist/commonjs/splitter/splitter.js index 3c55d4f5f..a914a60fc 100644 --- a/dist/commonjs/splitter/splitter.js +++ b/dist/commonjs/splitter/splitter.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSplitter = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.splitter.min'); -var ejSplitter = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejSplitter = exports.ejSplitter = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'splitter'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSplitter, _WidgetBase); function ejSplitter(element) { - _classCallCheck(this, _ejSplitter); + _classCallCheck(this, ejSplitter); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSplitter = ejSplitter; - ejSplitter = _commonCommon.inject(Element)(ejSplitter) || ejSplitter; - ejSplitter = _commonCommon.generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' })(ejSplitter) || ejSplitter; - ejSplitter = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSplitter) || ejSplitter; - ejSplitter = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'splitter')(ejSplitter) || ejSplitter; return ejSplitter; -})(_commonCommon.WidgetBase); - -exports.ejSplitter = ejSplitter; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/spreadsheet/sheet.js b/dist/commonjs/spreadsheet/sheet.js index 5bf1957d2..dab7b83a0 100644 --- a/dist/commonjs/spreadsheet/sheet.js +++ b/dist/commonjs/spreadsheet/sheet.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Sheet = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var Sheet = (function () { - function Sheet() { - _classCallCheck(this, _Sheet); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _Sheet = Sheet; - Sheet = _commonCommon.generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])(Sheet) || Sheet; - Sheet = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'sheet')(Sheet) || Sheet; - Sheet = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Sheet) || Sheet; - return Sheet; -})(); - -exports.Sheet = Sheet; \ No newline at end of file +var Sheet = exports.Sheet = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'sheet'), _dec3 = (0, _common.generateBindables)('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell']), _dec(_class = _dec2(_class = _dec3(_class = function Sheet() { + _classCallCheck(this, Sheet); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/spreadsheet/spreadsheet.js b/dist/commonjs/spreadsheet/spreadsheet.js index 8db023be1..0cffc062b 100644 --- a/dist/commonjs/spreadsheet/spreadsheet.js +++ b/dist/commonjs/spreadsheet/spreadsheet.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSpreadsheet = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('ej.spreadsheet.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('ej.spreadsheet.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejSpreadsheet = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejSpreadsheet, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejSpreadsheet, [{ - key: 'sheets', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'sheet')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejSpreadsheet = exports.ejSpreadsheet = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'spreadsheet'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'sheet'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejSpreadsheet, _WidgetBase); function ejSpreadsheet(element) { - _classCallCheck(this, _ejSpreadsheet); + _classCallCheck(this, ejSpreadsheet); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'sheets', _instanceInitializers); + _initDefineProp(_this, 'sheets', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'sheets'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'sheets'; + return _this; } - var _ejSpreadsheet = ejSpreadsheet; - ejSpreadsheet = _commonCommon.inject(Element)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _commonCommon.generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'spreadsheet')(ejSpreadsheet) || ejSpreadsheet; return ejSpreadsheet; -})(_commonCommon.WidgetBase); - -exports.ejSpreadsheet = ejSpreadsheet; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'sheets', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/symbolpalette/symbolpalette.js b/dist/commonjs/symbolpalette/symbolpalette.js index 323f4f3a2..f43c13143 100644 --- a/dist/commonjs/symbolpalette/symbolpalette.js +++ b/dist/commonjs/symbolpalette/symbolpalette.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejSymbolPalette = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('datavisualization/ej.diagram.min'); -var ejSymbolPalette = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejSymbolPalette = exports.ejSymbolPalette = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'symbol-palette'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSymbolPalette, _WidgetBase); function ejSymbolPalette(element) { - _classCallCheck(this, _ejSymbolPalette); + _classCallCheck(this, ejSymbolPalette); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSymbolPalette = ejSymbolPalette; - ejSymbolPalette = _commonCommon.inject(Element)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _commonCommon.generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'symbol-palette')(ejSymbolPalette) || ejSymbolPalette; return ejSymbolPalette; -})(_commonCommon.WidgetBase); - -exports.ejSymbolPalette = ejSymbolPalette; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/tab/tab.js b/dist/commonjs/tab/tab.js index c593bb370..97be834c7 100644 --- a/dist/commonjs/tab/tab.js +++ b/dist/commonjs/tab/tab.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTab = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.tab.min'); -var ejTab = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejTab = exports.ejTab = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tab'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTab, _WidgetBase); function ejTab(element) { - _classCallCheck(this, _ejTab); + _classCallCheck(this, ejTab); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTab = ejTab; - ejTab = _commonCommon.inject(Element)(ejTab) || ejTab; - ejTab = _commonCommon.generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' })(ejTab) || ejTab; - ejTab = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTab) || ejTab; - ejTab = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tab')(ejTab) || ejTab; return ejTab; -})(_commonCommon.WidgetBase); - -exports.ejTab = ejTab; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/tagcloud/tagcloud.js b/dist/commonjs/tagcloud/tagcloud.js index a9cfa44aa..e1270ea50 100644 --- a/dist/commonjs/tagcloud/tagcloud.js +++ b/dist/commonjs/tagcloud/tagcloud.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTagCloud = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.tagcloud.min'); -var ejTagCloud = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejTagCloud = exports.ejTagCloud = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tag-cloud'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTagCloud, _WidgetBase); function ejTagCloud(element) { - _classCallCheck(this, _ejTagCloud); + _classCallCheck(this, ejTagCloud); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTagCloud = ejTagCloud; - ejTagCloud = _commonCommon.inject(Element)(ejTagCloud) || ejTagCloud; - ejTagCloud = _commonCommon.generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' })(ejTagCloud) || ejTagCloud; - ejTagCloud = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTagCloud) || ejTagCloud; - ejTagCloud = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tag-cloud')(ejTagCloud) || ejTagCloud; return ejTagCloud; -})(_commonCommon.WidgetBase); - -exports.ejTagCloud = ejTagCloud; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/tile/tile.js b/dist/commonjs/tile/tile.js index 8efbbdc6b..36483756b 100644 --- a/dist/commonjs/tile/tile.js +++ b/dist/commonjs/tile/tile.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTile = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.tile.min'); -var ejTile = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejTile = exports.ejTile = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tile'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTile, _WidgetBase); function ejTile(element) { - _classCallCheck(this, _ejTile); + _classCallCheck(this, ejTile); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTile = ejTile; - ejTile = _commonCommon.inject(Element)(ejTile) || ejTile; - ejTile = _commonCommon.generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])(ejTile) || ejTile; - ejTile = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTile) || ejTile; - ejTile = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tile')(ejTile) || ejTile; return ejTile; -})(_commonCommon.WidgetBase); - -exports.ejTile = ejTile; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/timepicker/timepicker.js b/dist/commonjs/timepicker/timepicker.js index 49ba03eab..abb18c109 100644 --- a/dist/commonjs/timepicker/timepicker.js +++ b/dist/commonjs/timepicker/timepicker.js @@ -1,31 +1,34 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTimePicker = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.timepicker.min'); -var ejTimePicker = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejTimePicker = exports.ejTimePicker = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'time-picker'), _dec2 = (0, _common.generateBindables)('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTimePicker, _WidgetBase); function ejTimePicker(element) { - _classCallCheck(this, _ejTimePicker); + _classCallCheck(this, ejTimePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejTimePicker = ejTimePicker; - ejTimePicker = _commonCommon.inject(Element)(ejTimePicker) || ejTimePicker; - ejTimePicker = _commonCommon.generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejTimePicker) || ejTimePicker; - ejTimePicker = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'time-picker')(ejTimePicker) || ejTimePicker; return ejTimePicker; -})(_commonCommon.WidgetBase); - -exports.ejTimePicker = ejTimePicker; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/togglebutton/togglebutton.js b/dist/commonjs/togglebutton/togglebutton.js index 8d468e4dc..72b15d212 100644 --- a/dist/commonjs/togglebutton/togglebutton.js +++ b/dist/commonjs/togglebutton/togglebutton.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejToggleButton = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.togglebutton.min'); -var ejToggleButton = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejToggleButton = exports.ejToggleButton = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'toggle-button'), _dec2 = (0, _common.generateBindables)('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToggleButton, _WidgetBase); function ejToggleButton(element) { - _classCallCheck(this, _ejToggleButton); + _classCallCheck(this, ejToggleButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejToggleButton = ejToggleButton; - ejToggleButton = _commonCommon.inject(Element)(ejToggleButton) || ejToggleButton; - ejToggleButton = _commonCommon.generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejToggleButton) || ejToggleButton; - ejToggleButton = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'toggle-button')(ejToggleButton) || ejToggleButton; return ejToggleButton; -})(_commonCommon.WidgetBase); - -exports.ejToggleButton = ejToggleButton; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/toolbar/toolbar.js b/dist/commonjs/toolbar/toolbar.js index 26f4ec4f8..efbcb9fe4 100644 --- a/dist/commonjs/toolbar/toolbar.js +++ b/dist/commonjs/toolbar/toolbar.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejToolbar = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.toolbar.min'); -var ejToolbar = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejToolbar = exports.ejToolbar = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'toolbar'), _dec2 = (0, _common.generateBindables)('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToolbar, _WidgetBase); function ejToolbar(element) { - _classCallCheck(this, _ejToolbar); + _classCallCheck(this, ejToolbar); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejToolbar = ejToolbar; - ejToolbar = _commonCommon.inject(Element)(ejToolbar) || ejToolbar; - ejToolbar = _commonCommon.generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejToolbar) || ejToolbar; - ejToolbar = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'toolbar')(ejToolbar) || ejToolbar; return ejToolbar; -})(_commonCommon.WidgetBase); - -exports.ejToolbar = ejToolbar; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/tooltip/tooltip.js b/dist/commonjs/tooltip/tooltip.js index 6b191370e..a8526e201 100644 --- a/dist/commonjs/tooltip/tooltip.js +++ b/dist/commonjs/tooltip/tooltip.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTooltip = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.tooltip.min'); -var ejTooltip = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejTooltip = exports.ejTooltip = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'tooltip'), _dec2 = (0, _common.generateBindables)('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTooltip, _WidgetBase); function ejTooltip(element) { - _classCallCheck(this, _ejTooltip); + _classCallCheck(this, ejTooltip); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTooltip = ejTooltip; - ejTooltip = _commonCommon.inject(Element)(ejTooltip) || ejTooltip; - ejTooltip = _commonCommon.generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTooltip) || ejTooltip; - ejTooltip = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'tooltip')(ejTooltip) || ejTooltip; return ejTooltip; -})(_commonCommon.WidgetBase); - -exports.ejTooltip = ejTooltip; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/treegrid/treegrid.js b/dist/commonjs/treegrid/treegrid.js index 3e0e048d8..482ff00d0 100644 --- a/dist/commonjs/treegrid/treegrid.js +++ b/dist/commonjs/treegrid/treegrid.js @@ -1,53 +1,87 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTreeGrid = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('ej.treegrid.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('ej.treegrid.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejTreeGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejTreeGrid, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejTreeGrid, [{ - key: 'columns', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'tree-grid-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejTreeGrid = exports.ejTreeGrid = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tree-grid'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' }), _dec4 = (0, _common.inject)(Element, _common.TemplatingEngine), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'tree-grid-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejTreeGrid, _WidgetBase); function ejTreeGrid(element, templateEngine) { - _classCallCheck(this, _ejTreeGrid); + _classCallCheck(this, ejTreeGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new _commonCommon.TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new _common.TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejTreeGrid = ejTreeGrid; - ejTreeGrid = _commonCommon.inject(Element, _commonCommon.TemplatingEngine)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _commonCommon.generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' })(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tree-grid')(ejTreeGrid) || ejTreeGrid; return ejTreeGrid; -})(_commonCommon.WidgetBase); - -exports.ejTreeGrid = ejTreeGrid; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/treegrid/treegridcolumn.js b/dist/commonjs/treegrid/treegridcolumn.js index f658a00b0..235438b8f 100644 --- a/dist/commonjs/treegrid/treegridcolumn.js +++ b/dist/commonjs/treegrid/treegridcolumn.js @@ -1,45 +1,77 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TreeGridColumn = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var TreeGridColumn = (function () { - var _instanceInitializers = {}; +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var TreeGridColumn = exports.TreeGridColumn = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'tree-grid-column'), _dec3 = (0, _common.generateBindables)('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing']), _dec4 = (0, _common.children)(_common.constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function TreeGridColumn() { - _classCallCheck(this, _TreeGridColumn); + _classCallCheck(this, TreeGridColumn); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } TreeGridColumn.prototype.setTemplates = function setTemplates() { if (this.template[0]) { - var util = new _commonCommon.Util(); + var util = new _common.Util(); this[util.getBindablePropertyName('template')] = this.template[0].template; } }; - _createDecoratedClass(TreeGridColumn, [{ - key: 'template', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _TreeGridColumn = TreeGridColumn; - TreeGridColumn = _commonCommon.generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tree-grid-column')(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(TreeGridColumn) || TreeGridColumn; return TreeGridColumn; -})(); - -exports.TreeGridColumn = TreeGridColumn; \ No newline at end of file +}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/treemap/level.js b/dist/commonjs/treemap/level.js index 7e0e49958..7ad9945b6 100644 --- a/dist/commonjs/treemap/level.js +++ b/dist/commonjs/treemap/level.js @@ -1,21 +1,16 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Level = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); -var Level = (function () { - function Level() { - _classCallCheck(this, _Level); - } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var _Level = Level; - Level = _commonCommon.generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])(Level) || Level; - Level = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'level')(Level) || Level; - Level = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(Level) || Level; - return Level; -})(); - -exports.Level = Level; \ No newline at end of file +var Level = exports.Level = (_dec = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec2 = (0, _common.customElement)(_common.constants.elementPrefix + 'level'), _dec3 = (0, _common.generateBindables)('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec(_class = _dec2(_class = _dec3(_class = function Level() { + _classCallCheck(this, Level); +}) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/treemap/treemap.js b/dist/commonjs/treemap/treemap.js index 866929ead..6ad07c185 100644 --- a/dist/commonjs/treemap/treemap.js +++ b/dist/commonjs/treemap/treemap.js @@ -1,51 +1,85 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTreeMap = undefined; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +var _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _common = require('../common/common'); -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } +require('datavisualization/ej.treemap.min'); -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} -var _commonCommon = require('../common/common'); +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -require('datavisualization/ej.treemap.min'); +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } -var ejTreeMap = (function (_WidgetBase) { - var _instanceInitializers = {}; +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - _inherits(ejTreeMap, _WidgetBase); +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); - _createDecoratedClass(ejTreeMap, [{ - key: 'levels', - decorators: [_commonCommon.children(_commonCommon.constants.elementPrefix + 'level')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +var ejTreeMap = exports.ejTreeMap = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'tree-map'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath']), _dec4 = (0, _common.inject)(Element), _dec5 = (0, _common.children)(_common.constants.elementPrefix + 'level'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { + _inherits(ejTreeMap, _WidgetBase); function ejTreeMap(element) { - _classCallCheck(this, _ejTreeMap); + _classCallCheck(this, ejTreeMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'levels', _instanceInitializers); + _initDefineProp(_this, 'levels', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'levels'; + return _this; } - var _ejTreeMap = ejTreeMap; - ejTreeMap = _commonCommon.inject(Element)(ejTreeMap) || ejTreeMap; - ejTreeMap = _commonCommon.generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])(ejTreeMap) || ejTreeMap; - ejTreeMap = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejTreeMap) || ejTreeMap; - ejTreeMap = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'tree-map')(ejTreeMap) || ejTreeMap; return ejTreeMap; -})(_commonCommon.WidgetBase); - -exports.ejTreeMap = ejTreeMap; \ No newline at end of file +}(_common.WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'levels', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class2)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/treeview/treeview.js b/dist/commonjs/treeview/treeview.js index 6e70fd3b3..f52808f56 100644 --- a/dist/commonjs/treeview/treeview.js +++ b/dist/commonjs/treeview/treeview.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejTreeView = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.treeview.min'); -var ejTreeView = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejTreeView = exports.ejTreeView = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'tree-view'), _dec2 = (0, _common.generateBindables)('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTreeView, _WidgetBase); function ejTreeView(element) { - _classCallCheck(this, _ejTreeView); + _classCallCheck(this, ejTreeView); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTreeView = ejTreeView; - ejTreeView = _commonCommon.inject(Element)(ejTreeView) || ejTreeView; - ejTreeView = _commonCommon.generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTreeView) || ejTreeView; - ejTreeView = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'tree-view')(ejTreeView) || ejTreeView; return ejTreeView; -})(_commonCommon.WidgetBase); - -exports.ejTreeView = ejTreeView; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/uploadbox/uploadbox.js b/dist/commonjs/uploadbox/uploadbox.js index e0018dfbb..41359029d 100644 --- a/dist/commonjs/uploadbox/uploadbox.js +++ b/dist/commonjs/uploadbox/uploadbox.js @@ -1,31 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejUploadbox = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _dec4, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.uploadbox.min'); -var ejUploadbox = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejUploadbox = exports.ejUploadbox = (_dec = (0, _common.customElement)(_common.constants.elementPrefix + 'uploadbox'), _dec2 = (0, _common.inlineView)('' + _common.constants.aureliaTemplateString), _dec3 = (0, _common.generateBindables)('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejUploadbox, _WidgetBase); function ejUploadbox(element) { - _classCallCheck(this, _ejUploadbox); + _classCallCheck(this, ejUploadbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejUploadbox = ejUploadbox; - ejUploadbox = _commonCommon.inject(Element)(ejUploadbox) || ejUploadbox; - ejUploadbox = _commonCommon.generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' })(ejUploadbox) || ejUploadbox; - ejUploadbox = _commonCommon.inlineView('' + _commonCommon.constants.aureliaTemplateString)(ejUploadbox) || ejUploadbox; - ejUploadbox = _commonCommon.customElement(_commonCommon.constants.elementPrefix + 'uploadbox')(ejUploadbox) || ejUploadbox; return ejUploadbox; -})(_commonCommon.WidgetBase); - -exports.ejUploadbox = ejUploadbox; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/commonjs/waitingpopup/waitingpopup.js b/dist/commonjs/waitingpopup/waitingpopup.js index 902e4c35a..0044577db 100644 --- a/dist/commonjs/waitingpopup/waitingpopup.js +++ b/dist/commonjs/waitingpopup/waitingpopup.js @@ -1,30 +1,33 @@ 'use strict'; -exports.__esModule = true; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ejWaitingPopup = undefined; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } +var _dec, _dec2, _dec3, _class; -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var _commonCommon = require('../common/common'); +var _common = require('../common/common'); require('ej.waitingpopup.min'); -var ejWaitingPopup = (function (_WidgetBase) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var ejWaitingPopup = exports.ejWaitingPopup = (_dec = (0, _common.customAttribute)(_common.constants.attributePrefix + 'waiting-popup'), _dec2 = (0, _common.generateBindables)('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text']), _dec3 = (0, _common.inject)(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejWaitingPopup, _WidgetBase); function ejWaitingPopup(element) { - _classCallCheck(this, _ejWaitingPopup); + _classCallCheck(this, ejWaitingPopup); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejWaitingPopup = ejWaitingPopup; - ejWaitingPopup = _commonCommon.inject(Element)(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = _commonCommon.generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = _commonCommon.customAttribute(_commonCommon.constants.attributePrefix + 'waiting-popup')(ejWaitingPopup) || ejWaitingPopup; return ejWaitingPopup; -})(_commonCommon.WidgetBase); - -exports.ejWaitingPopup = ejWaitingPopup; \ No newline at end of file +}(_common.WidgetBase)) || _class) || _class) || _class); \ No newline at end of file diff --git a/dist/dev/accordion/accordion.js b/dist/dev/accordion/accordion.js index 1df5f947d..f1fd76ed4 100644 --- a/dist/dev/accordion/accordion.js +++ b/dist/dev/accordion/accordion.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.accordion.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejAccordion; +System.register(['../common/common', 'ej.accordion.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejAccordion; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.accordion.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejAccordionMin) {}], execute: function () { - ejAccordion = (function (_WidgetBase) { + _export('ejAccordion', ejAccordion = (_dec = customElement(constants.elementPrefix + 'accordion'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejAccordion, _WidgetBase); function ejAccordion(element) { - _classCallCheck(this, _ejAccordion); + _classCallCheck(this, ejAccordion); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAccordion = ejAccordion; - ejAccordion = inject(Element)(ejAccordion) || ejAccordion; - ejAccordion = generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' })(ejAccordion) || ejAccordion; - ejAccordion = inlineView('' + constants.aureliaTemplateString)(ejAccordion) || ejAccordion; - ejAccordion = customElement(constants.elementPrefix + 'accordion')(ejAccordion) || ejAccordion; return ejAccordion; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejAccordion', ejAccordion); } diff --git a/dist/dev/aurelia-syncfusion-bridge.d.ts b/dist/dev/aurelia-syncfusion-bridge.d.ts index ab090199d..99e8fb87a 100644 --- a/dist/dev/aurelia-syncfusion-bridge.d.ts +++ b/dist/dev/aurelia-syncfusion-bridge.d.ts @@ -1,8 +1,31 @@ +declare module 'aurelia-binding' { +export class Lexer {} +export class ParserImplementation {} +} declare module 'aurelia-syncfusion-bridge' { - import { customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, BindableProperty, HtmlBehaviorResource, noView, processContent, TargetInstruction } from 'aurelia-templating'; - import { inject, Container } from 'aurelia-dependency-injection'; - import { metadata } from 'aurelia-metadata'; - import { TaskQueue } from 'aurelia-task-queue'; + import { + customAttribute, + bindable, + customElement, + children, + TemplatingEngine, + inlineView, + BindableProperty, + HtmlBehaviorResource, + noView, + processContent, + TargetInstruction + } from 'aurelia-templating'; + import { + inject, + Container + } from 'aurelia-dependency-injection'; + import { + metadata + } from 'aurelia-metadata'; + import { + TaskQueue + } from 'aurelia-task-queue'; import 'ej.accordion.min'; import 'ej.autocomplete.min'; import 'datavisualization/ej.barcode.min'; @@ -157,47 +180,63 @@ declare module 'aurelia-syncfusion-bridge' { } export function configure(aurelia: any, configCallback?: ((builder: EjConfigBuilder) => void)): any; export class ejAccordion extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejAutocomplete extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBarcode extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBulletGraph extends WidgetBase { qualitativeRanges: any; - constructor(element: any); + constructor(element?: any); } export class QualitativeRange { + } export class ejButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejChart extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class Series { + } export class ejCheckBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejCircularGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejColorPicker extends WidgetBase { - constructor(element: any); - } + constructor(element?: any); + } + export { + customAttribute, + bindable, + inject, + WidgetBase, + constants, + generateBindables, + inlineView, + customElement, + children, + TemplatingEngine, + TemplateProcessor, + Util + }; export const constants: any; - export function generateBindables(controlName: any, inputs: any, twoWayProperties: any, abbrevProperties: any): any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: 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; + export function getEventOption(element?: any): any; /** * Fire DOM event on an element @@ -207,24 +246,25 @@ declare module 'aurelia-syncfusion-bridge' { */ export function fireEvent(element: Element, name: string, data?: any): any; export class TemplateProcessor { - constructor(context: any, templateEngine: any); + constructor(context?: any, templateEngine?: any); initTemplate(): any; initWidgetDependancies(): any; - renderStringTemplate(self: any, selector: any, data: any, index: any): any; - compileTemplate(element: any): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; clearTempalte(): any; - unbindViews(obj: any): any; + unbindViews(obj?: any): any; } export class Template { template: any; - constructor(target: any); + constructor(target?: any); } export class Util { getBindablePropertyName(propertyName: string): string; - getOptions(model: any, properties: any): any; - getControlPropertyName(options: any, propertyName: any): any; - hasValue(prop: any): any; - processData(value: any): any; + _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 { @@ -232,16 +272,16 @@ declare module 'aurelia-syncfusion-bridge' { * To Create an widget * @param option Object which contains Element in which widget will be created */ - createWidget(option: any): any; + createWidget(option?: any): any; createTwoWays(): any; - addTwoways(prop: any): 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; + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; attached(): any; /** @@ -250,35 +290,35 @@ declare module 'aurelia-syncfusion-bridge' { * @param newValue New value of the property * @param oldvalue Pld value of the property */ - propertyChanged(property: any, newValue: any, oldValue: any): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class ejCurrencyTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDatePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDateTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDiagram extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDialog extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDropDownList extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejFileExplorer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejGantt extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Column { template: any; @@ -286,67 +326,69 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejGroupButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejKanban extends WidgetBase { columns: any; - constructor(element: any); + constructor(element?: any); } export class KanbanColumn { + } export class ejLinearGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Layer { + } export class ejMap extends WidgetBase { layers: any; - constructor(element: any); + constructor(element?: any); } export class ejMaskEdit extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejMenu extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNavigationDrawer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNumericTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejOverview extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPdfViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPercentageTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotChart extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGrid extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotSchemaDesigner extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejProgressBar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Item { template: any; @@ -354,107 +396,111 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejRadialMenu extends WidgetBase { items: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejRadialSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRadioButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class RangeSeries { + } export class ejRating extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejReportViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRibbon extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRotator extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRte extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSchedule extends WidgetBase { resources: any; - constructor(element: any); + constructor(element?: any); } export class ScheduleResource { + } export class ejScroller extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSparkline extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitter extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Sheet { + } export class ejSpreadsheet extends WidgetBase { sheets: any; - constructor(element: any); + constructor(element?: any); } export class ejSymbolPalette extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTab extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTagCloud extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTile extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToggleButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToolbar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTooltip extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTreeGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class TreeGridColumn { template: any; setTemplates(): any; } export class Level { + } export class ejTreeMap extends WidgetBase { levels: any; - constructor(element: any); + constructor(element?: any); } export class ejTreeView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejUploadbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejWaitingPopup extends WidgetBase { - constructor(element: any); + constructor(element?: any); } } \ No newline at end of file diff --git a/dist/dev/autocomplete/autocomplete.js b/dist/dev/autocomplete/autocomplete.js index a089d0432..fef879792 100644 --- a/dist/dev/autocomplete/autocomplete.js +++ b/dist/dev/autocomplete/autocomplete.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.autocomplete.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejAutocomplete; +System.register(['../common/common', 'ej.autocomplete.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejAutocomplete; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.autocomplete.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejAutocompleteMin) {}], execute: function () { - ejAutocomplete = (function (_WidgetBase) { + _export('ejAutocomplete', ejAutocomplete = (_dec = customAttribute(constants.attributePrefix + 'autocomplete'), _dec2 = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejAutocomplete, _WidgetBase); function ejAutocomplete(element) { - _classCallCheck(this, _ejAutocomplete); + _classCallCheck(this, ejAutocomplete); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAutocomplete = ejAutocomplete; - ejAutocomplete = inject(Element)(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' })(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = customAttribute(constants.attributePrefix + 'autocomplete')(ejAutocomplete) || ejAutocomplete; return ejAutocomplete; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejAutocomplete', ejAutocomplete); } diff --git a/dist/dev/barcode/barcode.js b/dist/dev/barcode/barcode.js index 2fdfa2b4a..2ea160df9 100644 --- a/dist/dev/barcode/barcode.js +++ b/dist/dev/barcode/barcode.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.barcode.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejBarcode; +System.register(['../common/common', 'datavisualization/ej.barcode.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejBarcode; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.barcode.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjBarcodeMin) {}], execute: function () { - ejBarcode = (function (_WidgetBase) { + _export('ejBarcode', ejBarcode = (_dec = customElement(constants.elementPrefix + 'barcode'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejBarcode, _WidgetBase); function ejBarcode(element) { - _classCallCheck(this, _ejBarcode); + _classCallCheck(this, ejBarcode); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejBarcode = ejBarcode; - ejBarcode = inject(Element)(ejBarcode) || ejBarcode; - ejBarcode = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])(ejBarcode) || ejBarcode; - ejBarcode = inlineView('' + constants.aureliaTemplateString)(ejBarcode) || ejBarcode; - ejBarcode = customElement(constants.elementPrefix + 'barcode')(ejBarcode) || ejBarcode; return ejBarcode; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejBarcode', ejBarcode); } diff --git a/dist/dev/bulletgraph/bulletgraph.js b/dist/dev/bulletgraph/bulletgraph.js index d191cfd4c..8653ce62b 100644 --- a/dist/dev/bulletgraph/bulletgraph.js +++ b/dist/dev/bulletgraph/bulletgraph.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.bulletgraph.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejBulletGraph; +System.register(['../common/common', 'datavisualization/ej.bulletgraph.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejBulletGraph; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.bulletgraph.min'], fu children = _commonCommon.children; }, function (_datavisualizationEjBulletgraphMin) {}], execute: function () { - ejBulletGraph = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejBulletGraph', ejBulletGraph = (_dec = customElement(constants.elementPrefix + 'bullet-graph'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'qualitative-range'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejBulletGraph, _WidgetBase); - _createDecoratedClass(ejBulletGraph, [{ - key: 'qualitativeRanges', - decorators: [children(constants.elementPrefix + 'qualitative-range')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejBulletGraph(element) { - _classCallCheck(this, _ejBulletGraph); + _classCallCheck(this, ejBulletGraph); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'qualitativeRanges', _instanceInitializers); + _initDefineProp(_this, 'qualitativeRanges', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'qualitativeRanges'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'qualitativeRanges'; + return _this; } - var _ejBulletGraph = ejBulletGraph; - ejBulletGraph = inject(Element)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = inlineView('' + constants.aureliaTemplateString)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = customElement(constants.elementPrefix + 'bullet-graph')(ejBulletGraph) || ejBulletGraph; return ejBulletGraph; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'qualitativeRanges', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejBulletGraph', ejBulletGraph); } diff --git a/dist/dev/bulletgraph/qualitativerange.js b/dist/dev/bulletgraph/qualitativerange.js index 9b76aaa54..bffdf5711 100644 --- a/dist/dev/bulletgraph/qualitativerange.js +++ b/dist/dev/bulletgraph/qualitativerange.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, QualitativeRange; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, QualitativeRange; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - QualitativeRange = (function () { - function QualitativeRange() { - _classCallCheck(this, _QualitativeRange); - } - - var _QualitativeRange = QualitativeRange; - QualitativeRange = generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])(QualitativeRange) || QualitativeRange; - QualitativeRange = customElement(constants.elementPrefix + 'qualitative-range')(QualitativeRange) || QualitativeRange; - QualitativeRange = inlineView('' + constants.aureliaTemplateString)(QualitativeRange) || QualitativeRange; - return QualitativeRange; - })(); + _export('QualitativeRange', QualitativeRange = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'qualitative-range'), _dec3 = generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke']), _dec(_class = _dec2(_class = _dec3(_class = function QualitativeRange() { + _classCallCheck(this, QualitativeRange); + }) || _class) || _class) || _class)); _export('QualitativeRange', QualitativeRange); } diff --git a/dist/dev/button/button.js b/dist/dev/button/button.js index 687c1fa6e..1795792e3 100644 --- a/dist/dev/button/button.js +++ b/dist/dev/button/button.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.button.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejButton; +System.register(['../common/common', 'ej.button.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.button.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejButtonMin) {}], execute: function () { - ejButton = (function (_WidgetBase) { + _export('ejButton', ejButton = (_dec = customAttribute(constants.attributePrefix + 'button'), _dec2 = generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejButton, _WidgetBase); function ejButton(element) { - _classCallCheck(this, _ejButton); + _classCallCheck(this, ejButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejButton = ejButton; - ejButton = inject(Element)(ejButton) || ejButton; - ejButton = generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejButton) || ejButton; - ejButton = customAttribute(constants.attributePrefix + 'button')(ejButton) || ejButton; return ejButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejButton', ejButton); } diff --git a/dist/dev/chart/chart.js b/dist/dev/chart/chart.js index a3a116051..f133ddc6a 100644 --- a/dist/dev/chart/chart.js +++ b/dist/dev/chart/chart.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.chart.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejChart; +System.register(['../common/common', 'datavisualization/ej.chart.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejChart; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.chart.min'], function children = _commonCommon.children; }, function (_datavisualizationEjChartMin) {}], execute: function () { - ejChart = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejChart', ejChart = (_dec = customElement(constants.elementPrefix + 'chart'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejChart, _WidgetBase); - _createDecoratedClass(ejChart, [{ - key: 'series', - decorators: [children(constants.elementPrefix + 'series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejChart(element) { - _classCallCheck(this, _ejChart); + _classCallCheck(this, ejChart); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejChart = ejChart; - ejChart = inject(Element)(ejChart) || ejChart; - ejChart = generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])(ejChart) || ejChart; - ejChart = inlineView('' + constants.aureliaTemplateString)(ejChart) || ejChart; - ejChart = customElement(constants.elementPrefix + 'chart')(ejChart) || ejChart; return ejChart; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejChart', ejChart); } diff --git a/dist/dev/chart/series.js b/dist/dev/chart/series.js index 55a58aa16..7280edb56 100644 --- a/dist/dev/chart/series.js +++ b/dist/dev/chart/series.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Series; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Series; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Series = (function () { - function Series() { - _classCallCheck(this, _Series); - } - - var _Series = Series; - Series = generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])(Series) || Series; - Series = customElement(constants.elementPrefix + 'series')(Series) || Series; - Series = inlineView('' + constants.aureliaTemplateString)(Series) || Series; - return Series; - })(); + _export('Series', Series = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'series'), _dec3 = generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings']), _dec(_class = _dec2(_class = _dec3(_class = function Series() { + _classCallCheck(this, Series); + }) || _class) || _class) || _class)); _export('Series', Series); } diff --git a/dist/dev/checkbox/checkbox.js b/dist/dev/checkbox/checkbox.js index f66afbb70..1c6a7eddd 100644 --- a/dist/dev/checkbox/checkbox.js +++ b/dist/dev/checkbox/checkbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.checkbox.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejCheckBox; +System.register(['../common/common', 'ej.checkbox.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejCheckBox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.checkbox.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejCheckboxMin) {}], execute: function () { - ejCheckBox = (function (_WidgetBase) { + _export('ejCheckBox', ejCheckBox = (_dec = customAttribute(constants.attributePrefix + 'check-box'), _dec2 = generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCheckBox, _WidgetBase); function ejCheckBox(element) { - _classCallCheck(this, _ejCheckBox); + _classCallCheck(this, ejCheckBox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejCheckBox = ejCheckBox; - ejCheckBox = inject(Element)(ejCheckBox) || ejCheckBox; - ejCheckBox = generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' })(ejCheckBox) || ejCheckBox; - ejCheckBox = customAttribute(constants.attributePrefix + 'check-box')(ejCheckBox) || ejCheckBox; return ejCheckBox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejCheckBox', ejCheckBox); } diff --git a/dist/dev/circulargauge/circulargauge.js b/dist/dev/circulargauge/circulargauge.js index e5eb34e9e..860ddf06b 100644 --- a/dist/dev/circulargauge/circulargauge.js +++ b/dist/dev/circulargauge/circulargauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.circulargauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejCircularGauge; +System.register(['../common/common', 'datavisualization/ej.circulargauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejCircularGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.circulargauge.min'], generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjCirculargaugeMin) {}], execute: function () { - ejCircularGauge = (function (_WidgetBase) { + _export('ejCircularGauge', ejCircularGauge = (_dec = customElement(constants.elementPrefix + 'circular-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejCircularGauge, _WidgetBase); function ejCircularGauge(element) { - _classCallCheck(this, _ejCircularGauge); + _classCallCheck(this, ejCircularGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejCircularGauge = ejCircularGauge; - ejCircularGauge = inject(Element)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = inlineView('' + constants.aureliaTemplateString)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = customElement(constants.elementPrefix + 'circular-gauge')(ejCircularGauge) || ejCircularGauge; return ejCircularGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejCircularGauge', ejCircularGauge); } diff --git a/dist/dev/colorpicker/colorpicker.js b/dist/dev/colorpicker/colorpicker.js index bdf6e4af4..83bc89b17 100644 --- a/dist/dev/colorpicker/colorpicker.js +++ b/dist/dev/colorpicker/colorpicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.colorpicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejColorPicker; +System.register(['../common/common', 'ej.colorpicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejColorPicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.colorpicker.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejColorpickerMin) {}], execute: function () { - ejColorPicker = (function (_WidgetBase) { + _export('ejColorPicker', ejColorPicker = (_dec = customAttribute(constants.attributePrefix + 'color-picker'), _dec2 = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejColorPicker, _WidgetBase); function ejColorPicker(element) { - _classCallCheck(this, _ejColorPicker); + _classCallCheck(this, ejColorPicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejColorPicker = ejColorPicker; - ejColorPicker = inject(Element)(ejColorPicker) || ejColorPicker; - ejColorPicker = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])(ejColorPicker) || ejColorPicker; - ejColorPicker = customAttribute(constants.attributePrefix + 'color-picker')(ejColorPicker) || ejColorPicker; return ejColorPicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejColorPicker', ejColorPicker); } diff --git a/dist/dev/common/common.js b/dist/dev/common/common.js index 2d5701c64..da85c606f 100644 --- a/dist/dev/common/common.js +++ b/dist/dev/common/common.js @@ -1,5 +1,7 @@ -System.register(['aurelia-templating', 'aurelia-dependency-injection', './widget-base', './constants', './decorators', './template-processor', './util'], function (_export) { - 'use strict'; +'use strict'; + +System.register(['aurelia-templating', 'aurelia-dependency-injection', './widget-base', './constants', './decorators', './template-processor', './util'], function (_export, _context) { + "use strict"; var customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, inject, WidgetBase, constants, generateBindables, TemplateProcessor, Util; return { diff --git a/dist/dev/common/constants.js b/dist/dev/common/constants.js index a99fb4c14..f74bdabe9 100644 --- a/dist/dev/common/constants.js +++ b/dist/dev/common/constants.js @@ -1,17 +1,19 @@ -System.register([], function (_export) { - 'use strict'; +'use strict'; + +System.register([], function (_export, _context) { + "use strict"; var constants; return { setters: [], execute: function () { - constants = { + _export('constants', constants = { eventPrefix: 'e-on-', bindablePrefix: 'e-', attributePrefix: 'ej-', elementPrefix: 'ej-', aureliaTemplateString: '' - }; + }); _export('constants', constants); } diff --git a/dist/dev/common/decorators.js b/dist/dev/common/decorators.js index 02405e963..c658f1221 100644 --- a/dist/dev/common/decorators.js +++ b/dist/dev/common/decorators.js @@ -1,64 +1,9 @@ -System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-metadata', 'aurelia-task-queue', './util'], function (_export) { - 'use strict'; +'use strict'; - var BindableProperty, HtmlBehaviorResource, Container, metadata, TaskQueue, Util; - - _export('generateBindables', generateBindables); - - _export('delayed', delayed); - - function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) { - return function (target, key, descriptor) { - var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); - var container = Container.instance || new Container(); - var util = container.get(Util); - inputs.push('options'); - var len = inputs.length; - 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]; - } - var nameOrConfigOrTarget = { - name: util.getBindablePropertyName(option) - }; - var prop = new BindableProperty(nameOrConfigOrTarget); - prop.registerWith(target, behaviorResource, descriptor); - } - } - }; - } - - function delayed() { - return function (target, key, descriptor) { - var taskQueue = (Container.instance || new Container()).get(TaskQueue); - var ptr = descriptor.value; - - descriptor.value = function () { - var _this = this; - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - if (this.childPropertyName) { - taskQueue.queueTask(function () { - return ptr.apply(_this, args); - }); - } else { - ptr.apply(this, args); - } - }; - - return descriptor; - }; - } +System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-metadata', 'aurelia-task-queue', './util'], function (_export, _context) { + "use strict"; + var BindableProperty, HtmlBehaviorResource, Container, metadata, TaskQueue, Util; return { setters: [function (_aureliaTemplating) { BindableProperty = _aureliaTemplating.BindableProperty; @@ -72,7 +17,63 @@ System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia- }, function (_util) { Util = _util.Util; }], - execute: function () {} + execute: function () { + function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) { + return function (target, key, descriptor) { + var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); + var container = Container.instance || new Container(); + var util = container.get(Util); + inputs.push('options'); + var len = inputs.length; + 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]; + } + var nameOrConfigOrTarget = { + name: util.getBindablePropertyName(option) + }; + var prop = new BindableProperty(nameOrConfigOrTarget); + prop.registerWith(target, behaviorResource, descriptor); + } + } + }; + } + + _export('generateBindables', generateBindables); + + function delayed() { + return function (target, key, descriptor) { + var taskQueue = (Container.instance || new Container()).get(TaskQueue); + var ptr = descriptor.value; + + descriptor.value = function () { + var _this = this; + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + if (this.childPropertyName) { + taskQueue.queueTask(function () { + return ptr.apply(_this, args); + }); + } else { + ptr.apply(this, args); + } + }; + + return descriptor; + }; + } + + _export('delayed', delayed); + } }; }); //# sourceMappingURL=../dist/dev/common/decorators.js.map diff --git a/dist/dev/common/events.js b/dist/dev/common/events.js index 74b0510d7..715ba8515 100644 --- a/dist/dev/common/events.js +++ b/dist/dev/common/events.js @@ -1,52 +1,9 @@ -System.register(['./util', 'aurelia-dependency-injection', './constants'], function (_export) { - 'use strict'; +'use strict'; - var Util, Container, constants; - - _export('getEventOption', getEventOption); - - _export('fireEvent', fireEvent); - - function getEventOption(element) { - var name = undefined; - var attr = undefined; - var attributes = element.attributes; - var option = {}; - var container = Container.instance || new Container(); - var util = container.get(Util); - - var _loop = function (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); - }; - }; - - for (var i = 0, len = attributes.length; i < len; i++) { - var _ret = _loop(i, len); - - if (_ret === 'continue') continue; - } - 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; - } +System.register(['./util', 'aurelia-dependency-injection', './constants'], function (_export, _context) { + "use strict"; + var Util, Container, constants; return { setters: [function (_util) { Util = _util.Util; @@ -55,7 +12,51 @@ System.register(['./util', 'aurelia-dependency-injection', './constants'], funct }, function (_constants) { constants = _constants.constants; }], - execute: function () {} + execute: function () { + function getEventOption(element) { + var name = void 0; + var attr = void 0; + var attributes = element.attributes; + var option = {}; + var container = Container.instance || new Container(); + var util = container.get(Util); + + 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); + }; + }; + + for (var i = 0, len = attributes.length; i < len; i++) { + var _ret = _loop(i, len); + + if (_ret === 'continue') continue; + } + return option; + } + + _export('getEventOption', getEventOption); + + 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; + } + + _export('fireEvent', fireEvent); + } }; }); //# sourceMappingURL=../dist/dev/common/events.js.map diff --git a/dist/dev/common/template-processor.js b/dist/dev/common/template-processor.js index c9aca863f..d80f4a837 100644 --- a/dist/dev/common/template-processor.js +++ b/dist/dev/common/template-processor.js @@ -1,9 +1,15 @@ -System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-templating'], function (_export) { - 'use strict'; +'use strict'; - var inject, Util, TemplatingEngine, TemplateProcessor; +System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-templating'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inject, Util, TemplatingEngine, _dec, _class, TemplateProcessor; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_aureliaDependencyInjection) { @@ -14,9 +20,9 @@ System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-temp TemplatingEngine = _aureliaTemplating.TemplatingEngine; }], execute: function () { - TemplateProcessor = (function () { + _export('TemplateProcessor', TemplateProcessor = (_dec = inject(TemplatingEngine, Util), _dec(_class = function () { function TemplateProcessor(context, templateEngine) { - _classCallCheck(this, _TemplateProcessor); + _classCallCheck(this, TemplateProcessor); this.context = context; this.templatingEngine = templateEngine; @@ -96,10 +102,8 @@ System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-temp } }; - var _TemplateProcessor = TemplateProcessor; - TemplateProcessor = inject(TemplatingEngine, Util)(TemplateProcessor) || TemplateProcessor; return TemplateProcessor; - })(); + }()) || _class)); _export('TemplateProcessor', TemplateProcessor); } diff --git a/dist/dev/common/template.js b/dist/dev/common/template.js index b3abda423..80c18bf43 100644 --- a/dist/dev/common/template.js +++ b/dist/dev/common/template.js @@ -1,13 +1,58 @@ -System.register(['aurelia-dependency-injection', 'aurelia-templating', './constants'], function (_export) { - 'use strict'; +'use strict'; - var inject, customElement, bindable, noView, processContent, TargetInstruction, constants, Template; +System.register(['aurelia-dependency-injection', 'aurelia-templating', './constants'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, customElement, bindable, noView, processContent, TargetInstruction, constants, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, Template; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_aureliaDependencyInjection) { @@ -22,37 +67,22 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', './consta constants = _constants.constants; }], execute: function () { - Template = (function () { - var _instanceInitializers = {}; - - _createDecoratedClass(Template, [{ - key: 'template', - decorators: [bindable], - initializer: null, - enumerable: true - }], null, _instanceInitializers); - - function Template(target) { - _classCallCheck(this, _Template); - - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); - - this.template = target.elementInstruction.template; + _export('Template', Template = (_dec = customElement(constants.elementPrefix + 'template'), _dec2 = noView(), _dec3 = processContent(function (compiler, resources, element, instruction) { + var html = element.innerHTML; + if (html !== '') { + instruction.template = html; } + element.innerHTML = ''; + }), _dec4 = inject(TargetInstruction), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function Template(target) { + _classCallCheck(this, Template); + + _initDefineProp(this, 'template', _descriptor, this); - var _Template = Template; - Template = inject(TargetInstruction)(Template) || Template; - Template = processContent(function (compiler, resources, element, instruction) { - var html = element.innerHTML; - if (html !== '') { - instruction.template = html; - } - element.innerHTML = ''; - })(Template) || Template; - Template = noView()(Template) || Template; - Template = customElement(constants.elementPrefix + 'template')(Template) || Template; - return Template; - })(); + this.template = target.elementInstruction.template; + }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [bindable], { + enumerable: true, + initializer: null + })), _class2)) || _class) || _class) || _class) || _class)); _export('Template', Template); } diff --git a/dist/dev/common/util.js b/dist/dev/common/util.js index baf54cf1a..0fb551fef 100644 --- a/dist/dev/common/util.js +++ b/dist/dev/common/util.js @@ -1,16 +1,22 @@ -System.register(['./constants'], function (_export) { - 'use strict'; +'use strict'; + +System.register(['./constants'], function (_export, _context) { + "use strict"; var constants, Util; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_constants) { constants = _constants.constants; }], execute: function () { - Util = (function () { + _export('Util', Util = function () { function Util() { _classCallCheck(this, Util); } @@ -28,7 +34,7 @@ System.register(['./constants'], function (_export) { Util.prototype.getOptions = function getOptions(model, properties) { var bindableproperites = {}; - var value = undefined; + var value = void 0; for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; @@ -59,7 +65,7 @@ System.register(['./constants'], function (_export) { }; Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { - var property = undefined; + var property = void 0; for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { var _ref2; @@ -98,7 +104,7 @@ System.register(['./constants'], function (_export) { }; return Util; - })(); + }()); _export('Util', Util); } diff --git a/dist/dev/common/widget-base.js b/dist/dev/common/widget-base.js index 3369a3ec5..9218a06b9 100644 --- a/dist/dev/common/widget-base.js +++ b/dist/dev/common/widget-base.js @@ -1,11 +1,44 @@ -System.register(['./events', '../common/util', '../common/decorators'], function (_export) { - 'use strict'; +'use strict'; - var getEventOption, Util, delayed, firstValue, WidgetBase; +System.register(['./events', '../common/util', '../common/decorators'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var getEventOption, Util, delayed, _dec, _desc, _value, _class, firstValue, WidgetBase; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } return { setters: [function (_events) { @@ -18,7 +51,7 @@ System.register(['./events', '../common/util', '../common/decorators'], function execute: function () { firstValue = {}; - WidgetBase = (function () { + _export('WidgetBase', WidgetBase = (_dec = delayed(), (_class = function () { function WidgetBase() { _classCallCheck(this, WidgetBase); } @@ -73,15 +106,15 @@ System.register(['./events', '../common/util', '../common/decorators'], function } value = newVal; if (!isApp && model.util.hasValue(newVal)) { - var viewModelProp = model.util.getBindablePropertyName(prop); - model[viewModelProp] = newVal; + var _viewModelProp = model.util.getBindablePropertyName(prop); + model[_viewModelProp] = newVal; } return null; }; }; WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { - var propOptions = undefined; + var propOptions = void 0; if (this.ejOptions) { propOptions = this.ejOptions; } else { @@ -107,9 +140,19 @@ System.register(['./events', '../common/util', '../common/decorators'], function } }; + 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.propertyChanged = function propertyChanged(property, newValue, oldValue) { if (this.widget) { - var modelValue = undefined; + var modelValue = void 0; var prop = this.util.getControlPropertyName(this, property); if (prop) { if (prop !== 'options') { @@ -140,22 +183,8 @@ System.register(['./events', '../common/util', '../common/decorators'], function } }; - _createDecoratedClass(WidgetBase, [{ - key: 'attached', - decorators: [delayed()], - value: function attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(function (template) { - return template.setTemplates(); - }); - } - this.util = new Util(); - this.createWidget({ element: this.element }); - } - }]); - return WidgetBase; - })(); + }(), (_applyDecoratedDescriptor(_class.prototype, 'attached', [_dec], Object.getOwnPropertyDescriptor(_class.prototype, 'attached'), _class.prototype)), _class))); _export('WidgetBase', WidgetBase); } diff --git a/dist/dev/config-builder.js b/dist/dev/config-builder.js index 851794243..da6dd985f 100644 --- a/dist/dev/config-builder.js +++ b/dist/dev/config-builder.js @@ -1,14 +1,20 @@ -System.register([], function (_export) { - 'use strict'; +'use strict'; + +System.register([], function (_export, _context) { + "use strict"; var EjConfigBuilder; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [], execute: function () { - EjConfigBuilder = (function () { + _export('EjConfigBuilder', EjConfigBuilder = function () { function EjConfigBuilder() { _classCallCheck(this, EjConfigBuilder); @@ -373,7 +379,7 @@ System.register([], function (_export) { }; return EjConfigBuilder; - })(); + }()); _export('EjConfigBuilder', EjConfigBuilder); } diff --git a/dist/dev/currencytextbox/currencytextbox.js b/dist/dev/currencytextbox/currencytextbox.js index 65630530c..e1d5fc4e3 100644 --- a/dist/dev/currencytextbox/currencytextbox.js +++ b/dist/dev/currencytextbox/currencytextbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.editor.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejCurrencyTextbox; +System.register(['../common/common', 'ej.editor.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejCurrencyTextbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.editor.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejEditorMin) {}], execute: function () { - ejCurrencyTextbox = (function (_WidgetBase) { + _export('ejCurrencyTextbox', ejCurrencyTextbox = (_dec = customAttribute(constants.attributePrefix + 'currency-textbox'), _dec2 = generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCurrencyTextbox, _WidgetBase); function ejCurrencyTextbox(element) { - _classCallCheck(this, _ejCurrencyTextbox); + _classCallCheck(this, ejCurrencyTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejCurrencyTextbox = ejCurrencyTextbox; - ejCurrencyTextbox = inject(Element)(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = customAttribute(constants.attributePrefix + 'currency-textbox')(ejCurrencyTextbox) || ejCurrencyTextbox; return ejCurrencyTextbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejCurrencyTextbox', ejCurrencyTextbox); } diff --git a/dist/dev/datepicker/datepicker.js b/dist/dev/datepicker/datepicker.js index f57d30a22..0212f17ef 100644 --- a/dist/dev/datepicker/datepicker.js +++ b/dist/dev/datepicker/datepicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.datepicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejDatePicker; +System.register(['../common/common', 'ej.datepicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejDatePicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.datepicker.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejDatepickerMin) {}], execute: function () { - ejDatePicker = (function (_WidgetBase) { + _export('ejDatePicker', ejDatePicker = (_dec = customAttribute(constants.attributePrefix + 'date-picker'), _dec2 = 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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDatePicker, _WidgetBase); function ejDatePicker(element) { - _classCallCheck(this, _ejDatePicker); + _classCallCheck(this, ejDatePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDatePicker = ejDatePicker; - ejDatePicker = inject(Element)(ejDatePicker) || ejDatePicker; - ejDatePicker = 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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDatePicker) || ejDatePicker; - ejDatePicker = customAttribute(constants.attributePrefix + 'date-picker')(ejDatePicker) || ejDatePicker; return ejDatePicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejDatePicker', ejDatePicker); } diff --git a/dist/dev/datetimepicker/datetimepicker.js b/dist/dev/datetimepicker/datetimepicker.js index 4982828f9..897b8de1b 100644 --- a/dist/dev/datetimepicker/datetimepicker.js +++ b/dist/dev/datetimepicker/datetimepicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.datetimepicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejDateTimePicker; +System.register(['../common/common', 'ej.datetimepicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejDateTimePicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.datetimepicker.min'], function (_export generateBindables = _commonCommon.generateBindables; }, function (_ejDatetimepickerMin) {}], execute: function () { - ejDateTimePicker = (function (_WidgetBase) { + _export('ejDateTimePicker', ejDateTimePicker = (_dec = customAttribute(constants.attributePrefix + 'date-time-picker'), _dec2 = generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDateTimePicker, _WidgetBase); function ejDateTimePicker(element) { - _classCallCheck(this, _ejDateTimePicker); + _classCallCheck(this, ejDateTimePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDateTimePicker = ejDateTimePicker; - ejDateTimePicker = inject(Element)(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = customAttribute(constants.attributePrefix + 'date-time-picker')(ejDateTimePicker) || ejDateTimePicker; return ejDateTimePicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejDateTimePicker', ejDateTimePicker); } diff --git a/dist/dev/diagram/diagram.js b/dist/dev/diagram/diagram.js index d763cf839..d083ff428 100644 --- a/dist/dev/diagram/diagram.js +++ b/dist/dev/diagram/diagram.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejDiagram; +System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejDiagram; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.diagram.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDiagramMin) {}], execute: function () { - ejDiagram = (function (_WidgetBase) { + _export('ejDiagram', ejDiagram = (_dec = customElement(constants.elementPrefix + 'diagram'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDiagram, _WidgetBase); function ejDiagram(element) { - _classCallCheck(this, _ejDiagram); + _classCallCheck(this, ejDiagram); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDiagram = ejDiagram; - ejDiagram = inject(Element)(ejDiagram) || ejDiagram; - ejDiagram = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])(ejDiagram) || ejDiagram; - ejDiagram = inlineView('' + constants.aureliaTemplateString)(ejDiagram) || ejDiagram; - ejDiagram = customElement(constants.elementPrefix + 'diagram')(ejDiagram) || ejDiagram; return ejDiagram; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejDiagram', ejDiagram); } diff --git a/dist/dev/dialog/dialog.js b/dist/dev/dialog/dialog.js index 7ed74f3b2..527e27449 100644 --- a/dist/dev/dialog/dialog.js +++ b/dist/dev/dialog/dialog.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.dialog.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejDialog; +System.register(['../common/common', 'ej.dialog.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejDialog; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.dialog.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejDialogMin) {}], execute: function () { - ejDialog = (function (_WidgetBase) { + _export('ejDialog', ejDialog = (_dec = customElement(constants.elementPrefix + 'dialog'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDialog, _WidgetBase); function ejDialog(element) { - _classCallCheck(this, _ejDialog); + _classCallCheck(this, ejDialog); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDialog = ejDialog; - ejDialog = inject(Element)(ejDialog) || ejDialog; - ejDialog = generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' })(ejDialog) || ejDialog; - ejDialog = inlineView('' + constants.aureliaTemplateString)(ejDialog) || ejDialog; - ejDialog = customElement(constants.elementPrefix + 'dialog')(ejDialog) || ejDialog; return ejDialog; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejDialog', ejDialog); } diff --git a/dist/dev/digitalgauge/digitalgauge.js b/dist/dev/digitalgauge/digitalgauge.js index 11597d540..499e4ea59 100644 --- a/dist/dev/digitalgauge/digitalgauge.js +++ b/dist/dev/digitalgauge/digitalgauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.digitalgauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejDigitalGauge; +System.register(['../common/common', 'datavisualization/ej.digitalgauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejDigitalGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.digitalgauge.min'], f generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDigitalgaugeMin) {}], execute: function () { - ejDigitalGauge = (function (_WidgetBase) { + _export('ejDigitalGauge', ejDigitalGauge = (_dec = customElement(constants.elementPrefix + 'digital-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDigitalGauge, _WidgetBase); function ejDigitalGauge(element) { - _classCallCheck(this, _ejDigitalGauge); + _classCallCheck(this, ejDigitalGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDigitalGauge = ejDigitalGauge; - ejDigitalGauge = inject(Element)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = inlineView('' + constants.aureliaTemplateString)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = customElement(constants.elementPrefix + 'digital-gauge')(ejDigitalGauge) || ejDigitalGauge; return ejDigitalGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejDigitalGauge', ejDigitalGauge); } diff --git a/dist/dev/dist/dev/accordion/accordion.js.map b/dist/dev/dist/dev/accordion/accordion.js.map index 61f34db12..587fb0eaf 100644 --- a/dist/dev/dist/dev/accordion/accordion.js.map +++ b/dist/dev/dist/dev/accordion/accordion.js.map @@ -1 +1 @@ -{"version":3,"sources":["accordion/accordion.js"],"names":[],"mappings":";;;mFAQa,WAAW;;;;;;;;oCARhB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,iBAAW;kBAAX,WAAW;;AACX,iBADA,WAAW,CACV,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;2BAJU,WAAW;AAAX,mBAAW,GADvB,MAAM,CAAC,OAAO,CAAC,CACH,WAAW,KAAX,WAAW;AAAX,mBAAW,GAFvB,iBAAiB,CAAC,aAAa,EAAE,CAAC,cAAc,EAAE,yBAAyB,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEhc,WAAW,KAAX,WAAW;AAAX,mBAAW,GAHvB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,WAAW,KAAX,WAAW;AAAX,mBAAW,GAJvB,aAAa,CAAI,SAAS,CAAC,aAAa,eAAY,CAIxC,WAAW,KAAX,WAAW;eAAX,WAAW;SAAS,UAAU","file":"accordion/accordion.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.accordion.min';\r\n\r\n@customElement(`${constants.elementPrefix}accordion`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejAccordion extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["accordion/accordion.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;6BAQrD,W,WAJZ,cAAiB,UAAU,aAA3B,e,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,aAAlB,EAAiC,CAAC,cAAD,EAAiB,yBAAjB,EAA4C,eAA5C,EAA6D,aAA7D,EAA4E,UAA5E,EAAwF,YAAxF,EAAsG,eAAtG,EAAuH,iBAAvH,EAA0I,SAA1I,EAAqJ,cAArJ,EAAqK,oBAArK,EAA2L,mBAA3L,EAAgN,WAAhN,EAA6N,QAA7N,EAAuO,aAAvO,EAAsP,YAAtP,EAAoQ,QAApQ,EAA8Q,kBAA9Q,EAAkS,gBAAlS,EAAoT,mBAApT,EAAyU,eAAzU,EAA0V,iBAA1V,EAA6W,mBAA7W,EAAkY,OAAlY,CAAjC,EAA6a,EAA7a,EAAib,EAAC,aAAa,WAAd,EAAjb,C,UACA,OAAO,OAAP,C;;;AAEC,6BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ8B,U","file":"accordion/accordion.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.accordion.min';\r\n\r\n@customElement(`${constants.elementPrefix}accordion`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejAccordion extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/autocomplete/autocomplete.js.map b/dist/dev/dist/dev/autocomplete/autocomplete.js.map index a0b91f19e..403364b87 100644 --- a/dist/dev/dist/dev/autocomplete/autocomplete.js.map +++ b/dist/dev/dist/dev/autocomplete/autocomplete.js.map @@ -1 +1 @@ -{"version":3,"sources":["autocomplete/autocomplete.js"],"names":[],"mappings":";;;yEAOa,cAAc;;;;;;;;sCAPnB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE,UAAU,EAAE,YAAY,EAAE,wBAAwB,EAAE,eAAe,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,SAAS,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAElvB,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,eAAe,CAAI,SAAS,CAAC,eAAe,kBAAe,CAG/C,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"autocomplete/autocomplete.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.autocomplete.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}autocomplete`)\r\n@generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejAutocomplete extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["autocomplete/autocomplete.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAO3C,c,WAHZ,gBAAmB,UAAU,eAA7B,kB,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,YAAD,EAAe,aAAf,EAA8B,cAA9B,EAA8C,aAA9C,EAA6D,WAA7D,EAA0E,qBAA1E,EAAiG,UAAjG,EAA6G,YAA7G,EAA2H,wBAA3H,EAAqJ,eAArJ,EAAsK,iBAAtK,EAAyL,gBAAzL,EAA2M,SAA3M,EAAsN,gBAAtN,EAAwO,mBAAxO,EAA6P,WAA7P,EAA0Q,QAA1Q,EAAoR,YAApR,EAAkS,QAAlS,EAA4S,iBAA5S,EAA+T,YAA/T,EAA6U,cAA7U,EAA6V,iBAA7V,EAAgX,qBAAhX,EAAuY,aAAvY,EAAsZ,YAAtZ,EAAoa,OAApa,EAA6a,UAA7a,EAAyb,kBAAzb,EAA6c,qBAA7c,EAAoe,iBAApe,EAAuf,iBAAvf,EAA0gB,mBAA1gB,EAA+hB,eAA/hB,EAAgjB,WAAhjB,EAA6jB,UAA7jB,EAAykB,mBAAzkB,EAA8lB,iBAA9lB,EAAinB,OAAjnB,EAA0nB,SAA1nB,EAAqoB,eAAroB,EAAspB,OAAtpB,CAApC,EAAosB,CAAC,OAAD,EAAU,kBAAV,CAApsB,EAAmuB,EAAC,aAAa,WAAd,EAAnuB,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"autocomplete/autocomplete.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.autocomplete.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}autocomplete`)\r\n@generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejAutocomplete extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/barcode/barcode.js.map b/dist/dev/dist/dev/barcode/barcode.js.map index 1ddf03f6d..c0adf8250 100644 --- a/dist/dev/dist/dev/barcode/barcode.js.map +++ b/dist/dev/dist/dev/barcode/barcode.js.map @@ -1 +1 @@ -{"version":3,"sources":["barcode/barcode.js"],"names":[],"mappings":";;;mFAQa,SAAS;;;;;;;;oCARd,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,eAAS;kBAAT,SAAS;;AACT,iBADA,SAAS,CACR,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;yBAJU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,wBAAwB,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,uBAAuB,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC,CAElP,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,SAAS,KAAT,SAAS;AAAT,iBAAS,GAJrB,aAAa,CAAI,SAAS,CAAC,aAAa,aAAU,CAItC,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"barcode/barcode.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.barcode.min';\r\n\r\n@customElement(`${constants.elementPrefix}barcode`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])\r\n@inject(Element)\r\nexport class ejBarcode extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["barcode/barcode.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;2BAQrD,S,WAJZ,cAAiB,UAAU,aAA3B,a,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,WAAlB,EAA+B,CAAC,wBAAD,EAA2B,WAA3B,EAAwC,cAAxC,EAAwD,aAAxD,EAAuE,SAAvE,EAAkF,uBAAlF,EAA2G,eAA3G,EAA4H,gBAA5H,EAA8I,WAA9I,EAA2J,eAA3J,EAA4K,MAA5K,EAAoL,WAApL,EAAiM,cAAjM,EAAiN,YAAjN,CAA/B,C,UACA,OAAO,OAAP,C;;;AAEC,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ4B,U","file":"barcode/barcode.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.barcode.min';\r\n\r\n@customElement(`${constants.elementPrefix}barcode`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])\r\n@inject(Element)\r\nexport class ejBarcode extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/bulletgraph/bulletgraph.js.map b/dist/dev/dist/dev/bulletgraph/bulletgraph.js.map index e33fcce12..76d8f923e 100644 --- a/dist/dev/dist/dev/bulletgraph/bulletgraph.js.map +++ b/dist/dev/dist/dev/bulletgraph/bulletgraph.js.map @@ -1 +1 @@ -{"version":3,"sources":["bulletgraph/bulletgraph.js"],"names":[],"mappings":";;;6FAQa,aAAa;;;;;;;;;;;;6BARlB,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,mBAAa;;;kBAAb,aAAa;;8BAAb,aAAa;;uBACvB,QAAQ,CAAI,SAAS,CAAC,aAAa,uBAAoB;;mBAAqB,EAAE;;;;;AACpE,iBAFA,aAAa,CAEZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,mBAAmB,CAAC;SAC9C;;6BAPU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,0BAA0B,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,eAAe,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAE7V,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,aAAa,KAAb,aAAa;AAAb,qBAAa,GAJzB,aAAa,CAAI,SAAS,CAAC,aAAa,kBAAe,CAI3C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"bulletgraph/bulletgraph.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.bulletgraph.min';\r\n\r\n@customElement(`${constants.elementPrefix}bullet-graph`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])\r\n@inject(Element)\r\nexport class ejBulletGraph extends WidgetBase {\r\n @children(`${constants.elementPrefix}qualitative-range`) qualitativeRanges = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'qualitativeRanges';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["bulletgraph/bulletgraph.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;+BAQxE,a,WAJZ,cAAiB,UAAU,aAA3B,kB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,eAAlB,EAAmC,CAAC,0BAAD,EAA6B,yBAA7B,EAAwD,iBAAxD,EAA2E,yBAA3E,EAAsG,iBAAtG,EAAyH,eAAzH,EAA0I,QAA1I,EAAoJ,cAApJ,EAAoK,aAApK,EAAmL,mBAAnL,EAAwM,sBAAxM,EAAgO,yBAAhO,EAA2P,2BAA3P,EAAwR,OAAxR,EAAiS,iBAAjS,EAAoT,OAApT,EAA6T,OAA7T,CAAnC,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,uB;;;AACD,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,mBAAzB;AAJmB;AAKpB;;;QAPgC,U;;;iBAC4C,E","file":"bulletgraph/bulletgraph.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.bulletgraph.min';\r\n\r\n@customElement(`${constants.elementPrefix}bullet-graph`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])\r\n@inject(Element)\r\nexport class ejBulletGraph extends WidgetBase {\r\n @children(`${constants.elementPrefix}qualitative-range`) qualitativeRanges = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'qualitativeRanges';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/bulletgraph/qualitativerange.js.map b/dist/dev/dist/dev/bulletgraph/qualitativerange.js.map index 039334464..b2e243ee5 100644 --- a/dist/dev/dist/dev/bulletgraph/qualitativerange.js.map +++ b/dist/dev/dist/dev/bulletgraph/qualitativerange.js.map @@ -1 +1 @@ -{"version":3,"sources":["bulletgraph/qualitativerange.js"],"names":[],"mappings":";;;+DAMa,gBAAgB;;;;;;iCANrB,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,sBAAgB;iBAAhB,gBAAgB;;;;gCAAhB,gBAAgB;AAAhB,wBAAgB,GAF5B,iBAAiB,CAAC,mBAAmB,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC,CAEvE,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAH5B,aAAa,CAAI,SAAS,CAAC,aAAa,uBAAoB,CAGhD,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAJ5B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,gBAAgB,KAAhB,gBAAgB;eAAhB,gBAAgB","file":"bulletgraph/qualitativerange.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}qualitative-range`)\r\n@generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])\r\n\r\nexport class QualitativeRange {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["bulletgraph/qualitativerange.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;kCAMjC,gB,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,uB,UACA,kBAAkB,mBAAlB,EAAuC,CAAC,UAAD,EAAa,cAAb,EAA6B,aAA7B,CAAvC,C","file":"bulletgraph/qualitativerange.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}qualitative-range`)\r\n@generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])\r\n\r\nexport class QualitativeRange {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/button/button.js.map b/dist/dev/dist/dev/button/button.js.map index 82e178061..cf7440758 100644 --- a/dist/dev/dist/dev/button/button.js.map +++ b/dist/dev/dist/dev/button/button.js.map @@ -1 +1 @@ -{"version":3,"sources":["button/button.js"],"names":[],"mappings":";;;yEAOa,QAAQ;;;;;;;;sCAPb,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,cAAQ;kBAAR,QAAQ;;AACR,iBADA,QAAQ,CACP,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;wBAJU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,OAAO,CAAC,CACH,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAFpB,iBAAiB,CAAC,UAAU,EAAE,CAAC,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAErQ,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAHpB,eAAe,CAAI,SAAS,CAAC,eAAe,YAAS,CAGzC,QAAQ,KAAR,QAAQ;eAAR,QAAQ;SAAS,UAAU","file":"button/button.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.button.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}button`)\r\n@generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["button/button.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;0BAO3C,Q,WAHZ,gBAAmB,UAAU,eAA7B,Y,UACA,kBAAkB,UAAlB,EAA8B,CAAC,aAAD,EAAgB,UAAhB,EAA4B,SAA5B,EAAuC,WAAvC,EAAoD,QAApD,EAA8D,gBAA9D,EAAgF,eAAhF,EAAiG,YAAjG,EAA+G,cAA/G,EAA+H,mBAA/H,EAAoJ,MAApJ,EAA4J,YAA5J,EAA0K,MAA1K,EAAkL,cAAlL,EAAkM,MAAlM,EAA0M,OAA1M,CAA9B,EAAkP,EAAlP,EAAsP,EAAC,aAAa,WAAd,EAAtP,C,UACA,OAAO,OAAP,C;;;AAEC,0BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ2B,U","file":"button/button.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.button.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}button`)\r\n@generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/chart/chart.js.map b/dist/dev/dist/dev/chart/chart.js.map index d8c1c153b..f6aa2953d 100644 --- a/dist/dev/dist/dev/chart/chart.js.map +++ b/dist/dev/dist/dev/chart/chart.js.map @@ -1 +1 @@ -{"version":3,"sources":["chart/chart.js"],"names":[],"mappings":";;;6FAQa,OAAO;;;;;;;;;;;;6BARZ,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,aAAO;;;kBAAP,OAAO;;8BAAP,OAAO;;uBACjB,QAAQ,CAAI,SAAS,CAAC,aAAa,YAAS;;mBAAU,EAAE;;;;;AAC9C,iBAFA,OAAO,CAEN,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,QAAQ,CAAC;SACnC;;uBAPU,OAAO;AAAP,eAAO,GADnB,MAAM,CAAC,OAAO,CAAC,CACH,OAAO,KAAP,OAAO;AAAP,eAAO,GAFnB,iBAAiB,CAAC,SAAS,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,WAAW,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,2BAA2B,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAEld,OAAO,KAAP,OAAO;AAAP,eAAO,GAHnB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,OAAO,KAAP,OAAO;AAAP,eAAO,GAJnB,aAAa,CAAI,SAAS,CAAC,aAAa,WAAQ,CAIpC,OAAO,KAAP,OAAO;eAAP,OAAO;SAAS,UAAU","file":"chart/chart.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.chart.min';\r\n\r\n@customElement(`${constants.elementPrefix}chart`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])\r\n@inject(Element)\r\nexport class ejChart extends WidgetBase {\r\n @children(`${constants.elementPrefix}series`) series = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'series';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["chart/chart.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;yBAQxE,O,WAJZ,cAAiB,UAAU,aAA3B,W,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,SAAlB,EAA6B,CAAC,aAAD,EAAgB,oBAAhB,EAAsC,QAAtC,EAAgD,gBAAhD,EAAkE,WAAlE,EAA+E,mBAA/E,EAAoG,qBAApG,EAA2H,WAA3H,EAAwI,OAAxI,EAAiJ,UAAjJ,EAA6J,uBAA7J,EAAsL,gBAAtL,EAAwM,YAAxM,EAAsN,cAAtN,EAAsO,QAAtO,EAAgP,QAAhP,EAA0P,SAA1P,EAAqQ,QAArQ,EAA+Q,kBAA/Q,EAAmS,cAAnS,EAAmT,cAAnT,EAAmU,UAAnU,EAA+U,gBAA/U,EAAiW,QAAjW,EAA2W,2BAA3W,EAAwY,MAAxY,EAAgZ,OAAhZ,EAAyZ,MAAzZ,EAAia,OAAja,EAA0a,UAA1a,EAAsb,SAAtb,CAA7B,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,Y;;;AACD,yBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,QAAzB;AAJmB;AAKpB;;;QAP0B,U;;;iBAC4B,E","file":"chart/chart.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.chart.min';\r\n\r\n@customElement(`${constants.elementPrefix}chart`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])\r\n@inject(Element)\r\nexport class ejChart extends WidgetBase {\r\n @children(`${constants.elementPrefix}series`) series = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'series';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/chart/series.js.map b/dist/dev/dist/dev/chart/series.js.map index 8b1e19184..6be594f8e 100644 --- a/dist/dev/dist/dev/chart/series.js.map +++ b/dist/dev/dist/dev/chart/series.js.map @@ -1 +1 @@ -{"version":3,"sources":["chart/series.js"],"names":[],"mappings":";;;+DAMa,MAAM;;;;;;iCANX,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,YAAM;iBAAN,MAAM;;;;sBAAN,MAAM;AAAN,cAAM,GAFlB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,eAAe,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,qBAAqB,EAAE,cAAc,EAAE,UAAU,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,CAAC,CAAC,CAEnvB,MAAM,KAAN,MAAM;AAAN,cAAM,GAHlB,aAAa,CAAI,SAAS,CAAC,aAAa,YAAS,CAGrC,MAAM,KAAN,MAAM;AAAN,cAAM,GAJlB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,MAAM,KAAN,MAAM;eAAN,MAAM","file":"chart/series.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}series`)\r\n@generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])\r\n\r\nexport class Series {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["chart/series.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;wBAMjC,M,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,Y,UACA,kBAAkB,QAAlB,EAA4B,CAAC,eAAD,EAAkB,QAAlB,EAA4B,eAA5B,EAA6C,WAA7C,EAA0D,YAA1D,EAAwE,qBAAxE,EAA+F,cAA/F,EAA+G,UAA/G,EAA2H,iBAA3H,EAA8I,mBAA9I,EAAmK,UAAnK,EAA+K,SAA/K,EAA0L,YAA1L,EAAwM,cAAxM,EAAwN,eAAxN,EAAyO,MAAzO,EAAiP,MAAjP,EAAyP,cAAzP,EAAyQ,aAAzQ,EAAwR,UAAxR,EAAoS,UAApS,EAAgT,YAAhT,EAA8T,cAA9T,EAA8U,eAA9U,EAA+V,SAA/V,EAA0W,UAA1W,EAAsX,QAAtX,EAAgY,MAAhY,EAAwY,SAAxY,EAAmZ,SAAnZ,EAA8Z,gBAA9Z,EAAgb,oBAAhb,EAAsc,cAAtc,EAAsd,eAAtd,EAAue,UAAve,EAAmf,QAAnf,EAA6f,aAA7f,EAA4gB,OAA5gB,EAAqhB,YAArhB,EAAmiB,SAAniB,EAA8iB,MAA9iB,EAAsjB,YAAtjB,EAAokB,iBAApkB,EAAulB,WAAvlB,EAAomB,OAApmB,EAA6mB,WAA7mB,EAA0nB,OAA1nB,EAAmoB,MAAnoB,EAA2oB,KAA3oB,EAAkpB,MAAlpB,EAA0pB,OAA1pB,EAAmqB,MAAnqB,EAA2qB,YAA3qB,EAAyrB,mBAAzrB,EAA8sB,mBAA9sB,CAA5B,C","file":"chart/series.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}series`)\r\n@generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])\r\n\r\nexport class Series {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/checkbox/checkbox.js.map b/dist/dev/dist/dev/checkbox/checkbox.js.map index 355d401e5..1cf312b99 100644 --- a/dist/dev/dist/dev/checkbox/checkbox.js.map +++ b/dist/dev/dist/dev/checkbox/checkbox.js.map @@ -1 +1 @@ -{"version":3,"sources":["checkbox/checkbox.js"],"names":[],"mappings":";;;yEAOa,UAAU;;;;;;;;sCAPf,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEpS,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,eAAe,CAAI,SAAS,CAAC,eAAe,eAAY,CAG5C,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"checkbox/checkbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.checkbox.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}check-box`)\r\n@generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejCheckBox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["checkbox/checkbox.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAO3C,U,WAHZ,gBAAmB,UAAU,eAA7B,e,UACA,kBAAkB,YAAlB,EAAgC,CAAC,SAAD,EAAY,YAAZ,EAA0B,UAA1B,EAAsC,SAAtC,EAAiD,mBAAjD,EAAsE,WAAtE,EAAmF,gBAAnF,EAAqG,gBAArG,EAAuH,IAAvH,EAA6H,UAA7H,EAAyI,MAAzI,EAAiJ,mBAAjJ,EAAsK,MAAtK,EAA8K,MAA9K,EAAsL,mBAAtL,EAA2M,iBAA3M,EAA8N,OAA9N,CAAhC,EAAwQ,CAAC,SAAD,CAAxQ,EAAqR,EAAC,aAAa,WAAd,EAArR,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"checkbox/checkbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.checkbox.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}check-box`)\r\n@generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejCheckBox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/circulargauge/circulargauge.js.map b/dist/dev/dist/dev/circulargauge/circulargauge.js.map index fb3fc40d6..cb03fa318 100644 --- a/dist/dev/dist/dev/circulargauge/circulargauge.js.map +++ b/dist/dev/dist/dev/circulargauge/circulargauge.js.map @@ -1 +1 @@ -{"version":3,"sources":["circulargauge/circulargauge.js"],"names":[],"mappings":";;;mFAQa,eAAe;;;;;;;;oCARpB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,qBAAe;kBAAf,eAAe;;AACf,iBADA,eAAe,CACd,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;+BAJU,eAAe;AAAf,uBAAe,GAD3B,MAAM,CAAC,OAAO,CAAC,CACH,eAAe,KAAf,eAAe;AAAf,uBAAe,GAF3B,iBAAiB,CAAC,iBAAiB,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,0BAA0B,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAE7V,eAAe,KAAf,eAAe;AAAf,uBAAe,GAH3B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,eAAe,KAAf,eAAe;AAAf,uBAAe,GAJ3B,aAAa,CAAI,SAAS,CAAC,aAAa,oBAAiB,CAI7C,eAAe,KAAf,eAAe;eAAf,eAAe;SAAS,UAAU","file":"circulargauge/circulargauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.circulargauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}circular-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])\r\n@inject(Element)\r\nexport class ejCircularGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["circulargauge/circulargauge.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;iCAQrD,e,WAJZ,cAAiB,UAAU,aAA3B,oB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,iBAAlB,EAAqC,CAAC,gBAAD,EAAmB,iBAAnB,EAAsC,oBAAtC,EAA4D,iBAA5D,EAA+E,OAA/E,EAAwF,eAAxF,EAAyG,QAAzG,EAAmH,kBAAnH,EAAuI,kBAAvI,EAA2J,cAA3J,EAA2K,SAA3K,EAAsL,SAAtL,EAAiM,0BAAjM,EAA6N,QAA7N,EAAuO,UAAvO,EAAmP,QAAnP,EAA6P,OAA7P,EAAsQ,SAAtQ,EAAiR,OAAjR,EAA0R,OAA1R,CAArC,EAAyU,CAAC,OAAD,EAAU,SAAV,EAAqB,SAArB,CAAzU,C,UACA,OAAO,OAAP,C;;;AAEC,iCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJkC,U","file":"circulargauge/circulargauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.circulargauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}circular-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])\r\n@inject(Element)\r\nexport class ejCircularGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/colorpicker/colorpicker.js.map b/dist/dev/dist/dev/colorpicker/colorpicker.js.map index dba175a76..6cbaea89b 100644 --- a/dist/dev/dist/dev/colorpicker/colorpicker.js.map +++ b/dist/dev/dist/dev/colorpicker/colorpicker.js.map @@ -1 +1 @@ -{"version":3,"sources":["colorpicker/colorpicker.js"],"names":[],"mappings":";;;yEAOa,aAAa;;;;;;;;sCAPlB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,mBAAa;kBAAb,aAAa;;AACb,iBADA,aAAa,CACZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;6BAJU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAEjX,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,eAAe,CAAI,SAAS,CAAC,eAAe,kBAAe,CAG/C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"colorpicker/colorpicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.colorpicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}color-picker`)\r\n@generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])\r\n@inject(Element)\r\nexport class ejColorPicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["colorpicker/colorpicker.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;+BAO3C,a,WAHZ,gBAAmB,UAAU,eAA7B,kB,UACA,kBAAkB,eAAlB,EAAmC,CAAC,YAAD,EAAe,YAAf,EAA6B,SAA7B,EAAwC,UAAxC,EAAoD,QAApD,EAA8D,eAA9D,EAA+E,SAA/E,EAA0F,eAA1F,EAA2G,gBAA3G,EAA6H,WAA7H,EAA0I,cAA1I,EAA0J,SAA1J,EAAqK,YAArK,EAAmL,iBAAnL,EAAsM,iBAAtM,EAAyN,aAAzN,EAAwO,kBAAxO,EAA4P,cAA5P,EAA4Q,aAA5Q,EAA2R,UAA3R,EAAuS,aAAvS,EAAsT,OAAtT,CAAnC,EAAmW,CAAC,OAAD,EAAU,cAAV,CAAnW,C,UACA,OAAO,OAAP,C;;;AAEC,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJgC,U","file":"colorpicker/colorpicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.colorpicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}color-picker`)\r\n@generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])\r\n@inject(Element)\r\nexport class ejColorPicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/common.js.map b/dist/dev/dist/dev/common/common.js.map index 4858641eb..af870140f 100644 --- a/dist/dev/dist/dev/common/common.js.map +++ b/dist/dev/dist/dev/common/common.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/common.js"],"names":[],"mappings":";;;;;;2CAAQ,eAAe;oCAAE,QAAQ;yCAAE,aAAa;oCAAE,QAAQ;4CAAE,gBAAgB;sCAAE,UAAU;;2CAChF,MAAM;;+BAEN,UAAU;;6BACV,SAAS;;sCACT,iBAAiB;;6CACjB,iBAAiB;;mBACjB,IAAI;;;iCAEJ,eAAe;;0BAAE,QAAQ;;wBAAE,MAAM;;4BAAE,UAAU;;2BAAE,SAAS;;mCAAE,iBAAiB;;4BAAE,UAAU;;+BAAE,aAAa;;0BAAE,QAAQ;;kCAAE,gBAAgB;;mCAAE,iBAAiB;;sBAAE,IAAI","file":"common/common.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, bindable, customElement, children, TemplatingEngine, inlineView} from 'aurelia-templating';\r\nimport {inject} from 'aurelia-dependency-injection';\r\n\r\nimport {WidgetBase} from './widget-base';\r\nimport {constants} from './constants';\r\nimport {generateBindables} from './decorators';\r\nimport {TemplateProcessor} from './template-processor';\r\nimport {Util} from './util';\r\n\r\nexport {customAttribute, bindable, inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, Util};\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/common.js"],"names":[],"mappings":";;;;;;;;AAAQ,qB,sBAAA,e;AAAiB,c,sBAAA,Q;AAAU,mB,sBAAA,a;AAAe,c,sBAAA,Q;AAAU,sB,sBAAA,gB;AAAkB,gB,sBAAA,U;;AACtE,Y,+BAAA,M;;AAEA,gB,eAAA,U;;AACA,e,cAAA,S;;AACA,uB,eAAA,iB;;AACA,uB,sBAAA,iB;;AACA,U,SAAA,I;;;iCAEA,e;;0BAAiB,Q;;wBAAU,M;;4BAAQ,U;;2BAAY,S;;mCAAW,iB;;4BAAmB,U;;+BAAY,a;;0BAAe,Q;;kCAAU,gB;;mCAAkB,iB;;sBAAmB,I","file":"common/common.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, bindable, customElement, children, TemplatingEngine, inlineView} from 'aurelia-templating';\r\nimport {inject} from 'aurelia-dependency-injection';\r\n\r\nimport {WidgetBase} from './widget-base';\r\nimport {constants} from './constants';\r\nimport {generateBindables} from './decorators';\r\nimport {TemplateProcessor} from './template-processor';\r\nimport {Util} from './util';\r\n\r\nexport {customAttribute, bindable, inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, Util};\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/constants.js.map b/dist/dev/dist/dev/common/constants.js.map index de891e650..f1868daf3 100644 --- a/dist/dev/dist/dev/common/constants.js.map +++ b/dist/dev/dist/dev/common/constants.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/constants.js"],"names":[],"mappings":";;;MAAa,SAAS;;;;AAAT,eAAS,GAAG;AACvB,mBAAW,EAAE,OAAO;AACpB,sBAAc,EAAE,IAAI;AACpB,uBAAe,EAAE,KAAK;AACtB,qBAAa,EAAE,KAAK;AACpB,6BAAqB,EAAE,oCAAoC;OAC5D","file":"common/constants.js","sourceRoot":"/source/","sourcesContent":["export const constants = {\r\n eventPrefix: 'e-on-',\r\n bindablePrefix: 'e-',\r\n attributePrefix: 'ej-',\r\n elementPrefix: 'ej-',\r\n aureliaTemplateString: ''\r\n};\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/constants.js"],"names":[],"mappings":";;;;;;;;;2BAAa,S,GAAY;AACvB,qBAAa,OADU;AAEvB,wBAAgB,IAFO;AAGvB,yBAAiB,KAHM;AAIvB,uBAAe,KAJQ;AAKvB,+BAAuB;AALA,O","file":"common/constants.js","sourceRoot":"/source/","sourcesContent":["export const constants = {\r\n eventPrefix: 'e-on-',\r\n bindablePrefix: 'e-',\r\n attributePrefix: 'ej-',\r\n elementPrefix: 'ej-',\r\n aureliaTemplateString: ''\r\n};\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/decorators.js.map b/dist/dev/dist/dev/common/decorators.js.map index 54288af61..538958dc7 100644 --- a/dist/dev/dist/dev/common/decorators.js.map +++ b/dist/dev/dist/dev/common/decorators.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/decorators.js"],"names":[],"mappings":";;;;;;;;;AAMO,WAAS,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE;AACzF,WAAO,UAAS,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE;AACvC,UAAI,gBAAgB,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,EAAE,MAAM,CAAC,CAAC;AAChG,UAAI,SAAS,GAAI,SAAS,CAAC,QAAQ,IAAI,IAAI,SAAS,EAAE,AAAC,CAAC;AACxD,UAAI,IAAI,GAAG,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC/B,YAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACvB,UAAI,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;AACxB,YAAM,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AAC3C,YAAM,CAAC,SAAS,CAAC,OAAO,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,EAAE,CAAC;AACpE,YAAM,CAAC,SAAS,CAAC,gBAAgB,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,EAAE,CAAC;AAC7E,UAAI,GAAG,EAAE;AACP,cAAM,CAAC,SAAS,CAAC,iBAAiB,GAAG,MAAM,CAAC;AAC5C,aAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;AAC5B,cAAI,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AACvB,cAAI,gBAAgB,IAAI,MAAM,IAAI,gBAAgB,EAAE;AAClD,kBAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;WACnC;AACD,cAAI,oBAAoB,GAAG;AACzB,gBAAI,EAAE,IAAI,CAAC,uBAAuB,CAAC,MAAM,CAAC;WAC3C,CAAC;AACF,cAAI,IAAI,GAAG,IAAI,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACtD,cAAI,CAAC,YAAY,CAAC,MAAM,EAAE,gBAAgB,EAAE,UAAU,CAAC,CAAC;SACzD;OACF;KACF,CAAC;GACH;;AAEM,WAAS,OAAO,GAAG;AACxB,WAAO,UAAS,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE;AACvC,UAAI,SAAS,GAAG,CAAC,SAAS,CAAC,QAAQ,IAAI,IAAI,SAAS,EAAE,CAAA,CAAE,GAAG,CAAC,SAAS,CAAC,CAAC;AACvE,UAAI,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;;AAE3B,gBAAU,CAAC,KAAK,GAAG,YAAkB;;;0CAAN,IAAI;AAAJ,cAAI;;;AACjC,YAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,mBAAS,CAAC,SAAS,CAAC;mBAAM,GAAG,CAAC,KAAK,QAAO,IAAI,CAAC;WAAA,CAAC,CAAC;SAClD,MAAK;AACJ,aAAG,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SACvB;OACF,CAAC;;AAEF,aAAO,UAAU,CAAC;KACnB,CAAC;GACH;;;;4CAhDO,gBAAgB;gDAAE,oBAAoB;;8CACtC,SAAS;;kCACT,QAAQ;;oCACR,SAAS;;mBACT,IAAI","file":"common/decorators.js","sourceRoot":"/source/","sourcesContent":["import {BindableProperty, HtmlBehaviorResource} from 'aurelia-templating';\r\nimport {Container} from 'aurelia-dependency-injection';\r\nimport {metadata} from 'aurelia-metadata';\r\nimport {TaskQueue} from 'aurelia-task-queue';\r\nimport {Util} from './util';\r\n\r\nexport function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) {\r\n return function(target, key, descriptor) {\r\n let behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target);\r\n let container = (Container.instance || new Container());\r\n let util = container.get(Util);\r\n inputs.push('options');\r\n let len = inputs.length;\r\n target.prototype.controlName = controlName;\r\n target.prototype.twoWays = twoWayProperties ? twoWayProperties : [];\r\n target.prototype.abbrevProperties = abbrevProperties ? abbrevProperties : [];\r\n if (len) {\r\n target.prototype.controlProperties = inputs;\r\n for (let i = 0; i < len; i++) {\r\n let option = inputs[i];\r\n if (abbrevProperties && option in abbrevProperties) {\r\n option = abbrevProperties[option];\r\n }\r\n let nameOrConfigOrTarget = {\r\n name: util.getBindablePropertyName(option)\r\n };\r\n let prop = new BindableProperty(nameOrConfigOrTarget);\r\n prop.registerWith(target, behaviorResource, descriptor);\r\n }\r\n }\r\n };\r\n}\r\n\r\nexport function delayed() {\r\n return function(target, key, descriptor) {\r\n let taskQueue = (Container.instance || new Container()).get(TaskQueue);\r\n let ptr = descriptor.value;\r\n\r\n descriptor.value = function(...args) {\r\n if (this.childPropertyName) {\r\n taskQueue.queueTask(() => ptr.apply(this, args));\r\n }else {\r\n ptr.apply(this, args);\r\n }\r\n };\r\n\r\n return descriptor;\r\n };\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/decorators.js"],"names":[],"mappings":";;;;;;;;AAAQ,sB,sBAAA,gB;AAAkB,0B,sBAAA,oB;;AAClB,e,+BAAA,S;;AACA,c,oBAAA,Q;;AACA,e,qBAAA,S;;AACA,U,SAAA,I;;;AAED,eAAS,iBAAT,CAA2B,WAA3B,EAAwC,MAAxC,EAAgD,gBAAhD,EAAkE,gBAAlE,EAAoF;AACzF,eAAO,UAAS,MAAT,EAAiB,GAAjB,EAAsB,UAAtB,EAAkC;AACvC,cAAI,mBAAmB,SAAS,cAAT,CAAwB,SAAS,QAAjC,EAA2C,oBAA3C,EAAiE,MAAjE,CAAvB;AACA,cAAI,YAAa,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvC;AACA,cAAI,OAAO,UAAU,GAAV,CAAc,IAAd,CAAX;AACA,iBAAO,IAAP,CAAY,SAAZ;AACA,cAAI,MAAM,OAAO,MAAjB;AACA,iBAAO,SAAP,CAAiB,WAAjB,GAA+B,WAA/B;AACA,iBAAO,SAAP,CAAiB,OAAjB,GAA2B,mBAAmB,gBAAnB,GAAsC,EAAjE;AACA,iBAAO,SAAP,CAAiB,gBAAjB,GAAoC,mBAAmB,gBAAnB,GAAsC,EAA1E;AACA,cAAI,GAAJ,EAAS;AACP,mBAAO,SAAP,CAAiB,iBAAjB,GAAqC,MAArC;AACA,iBAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,GAApB,EAAyB,GAAzB,EAA8B;AAC5B,kBAAI,SAAS,OAAO,CAAP,CAAb;AACA,kBAAI,oBAAoB,UAAU,gBAAlC,EAAoD;AAClD,yBAAS,iBAAiB,MAAjB,CAAT;AACD;AACD,kBAAI,uBAAuB;AACzB,sBAAM,KAAK,uBAAL,CAA6B,MAA7B;AADmB,eAA3B;AAGA,kBAAI,OAAO,IAAI,gBAAJ,CAAqB,oBAArB,CAAX;AACA,mBAAK,YAAL,CAAkB,MAAlB,EAA0B,gBAA1B,EAA4C,UAA5C;AACD;AACF;AACF,SAvBD;AAwBD;;;;AAEM,eAAS,OAAT,GAAmB;AACxB,eAAO,UAAS,MAAT,EAAiB,GAAjB,EAAsB,UAAtB,EAAkC;AACvC,cAAI,YAAY,CAAC,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvB,EAAwC,GAAxC,CAA4C,SAA5C,CAAhB;AACA,cAAI,MAAM,WAAW,KAArB;;AAEA,qBAAW,KAAX,GAAmB,YAAkB;AAAA;;AAAA,8CAAN,IAAM;AAAN,kBAAM;AAAA;;AACnC,gBAAI,KAAK,iBAAT,EAA4B;AAC1B,wBAAU,SAAV,CAAoB;AAAA,uBAAM,IAAI,KAAJ,QAAgB,IAAhB,CAAN;AAAA,eAApB;AACD,aAFD,MAEM;AACJ,kBAAI,KAAJ,CAAU,IAAV,EAAgB,IAAhB;AACD;AACF,WAND;;AAQA,iBAAO,UAAP;AACD,SAbD;AAcD","file":"common/decorators.js","sourceRoot":"/source/","sourcesContent":["import {BindableProperty, HtmlBehaviorResource} from 'aurelia-templating';\r\nimport {Container} from 'aurelia-dependency-injection';\r\nimport {metadata} from 'aurelia-metadata';\r\nimport {TaskQueue} from 'aurelia-task-queue';\r\nimport {Util} from './util';\r\n\r\nexport function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) {\r\n return function(target, key, descriptor) {\r\n let behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target);\r\n let container = (Container.instance || new Container());\r\n let util = container.get(Util);\r\n inputs.push('options');\r\n let len = inputs.length;\r\n target.prototype.controlName = controlName;\r\n target.prototype.twoWays = twoWayProperties ? twoWayProperties : [];\r\n target.prototype.abbrevProperties = abbrevProperties ? abbrevProperties : [];\r\n if (len) {\r\n target.prototype.controlProperties = inputs;\r\n for (let i = 0; i < len; i++) {\r\n let option = inputs[i];\r\n if (abbrevProperties && option in abbrevProperties) {\r\n option = abbrevProperties[option];\r\n }\r\n let nameOrConfigOrTarget = {\r\n name: util.getBindablePropertyName(option)\r\n };\r\n let prop = new BindableProperty(nameOrConfigOrTarget);\r\n prop.registerWith(target, behaviorResource, descriptor);\r\n }\r\n }\r\n };\r\n}\r\n\r\nexport function delayed() {\r\n return function(target, key, descriptor) {\r\n let taskQueue = (Container.instance || new Container()).get(TaskQueue);\r\n let ptr = descriptor.value;\r\n\r\n descriptor.value = function(...args) {\r\n if (this.childPropertyName) {\r\n taskQueue.queueTask(() => ptr.apply(this, args));\r\n }else {\r\n ptr.apply(this, args);\r\n }\r\n };\r\n\r\n return descriptor;\r\n };\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/events.js.map b/dist/dev/dist/dev/common/events.js.map index 086d6bc57..632e20d59 100644 --- a/dist/dev/dist/dev/common/events.js.map +++ b/dist/dev/dist/dev/common/events.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/events.js"],"names":[],"mappings":";;;;;;;;;AAQO,WAAS,cAAc,CAAC,OAAO,EAAE;AACtC,QAAI,IAAI,YAAA,CAAC;AACT,QAAI,IAAI,YAAA,CAAC;AACT,QAAI,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;AACpC,QAAI,MAAM,GAAG,EAAE,CAAC;AAChB,QAAI,SAAS,GAAI,SAAS,CAAC,QAAQ,IAAI,IAAI,SAAS,EAAE,AAAC,CAAC;AACxD,QAAI,IAAI,GAAG,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;;0BACtB,CAAC,EAAM,GAAG;AACjB,UAAI,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;AACrB,UAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AACjB,UAAI,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE;AAC3C,0BAAS;OACV;AACD,UAAI,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,UAAI,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnF,YAAM,CAAC,SAAS,CAAC,GAAG,UAAA,CAAC;eAAI,SAAS,CAAC,OAAO,EAAE,eAAe,EAAE,CAAC,CAAC;OAAA,CAAC;;;AARlE,SAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;uBAA9C,CAAC,EAAM,GAAG;;+BAIf,SAAS;KAKZ;AACD,WAAO,MAAM,CAAC;GACf;;AAOM,WAAS,SAAS,CAAC,OAAgB,EAAE,IAAY,EAAc;QAAZ,IAAK,yDAAG,EAAE;;AAClE,QAAI,KAAK,GAAG,IAAI,WAAW,CAAC,IAAI,EAAE;AAChC,YAAM,EAAE,IAAI;AACZ,aAAO,EAAE,IAAI;KACd,CAAC,CAAC;AACH,WAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAC7B,WAAO,KAAK,CAAC;GACd;;;;mBAxCO,IAAI;;8CACJ,SAAS;;6BACT,SAAS","file":"common/events.js","sourceRoot":"/source/","sourcesContent":["import {Util} from './util';\r\nimport {Container} from 'aurelia-dependency-injection';\r\nimport {constants} from './constants';\r\n\r\n/**\r\n* To get binded events from the element\r\n* @param element The Element from which events acquired\r\n*/\r\nexport function getEventOption(element) {\r\n let name;\r\n let attr;\r\n let attributes = element.attributes;\r\n let option = {};\r\n let container = (Container.instance || new Container());\r\n let util = container.get(Util);\r\n for (let i = 0, len = attributes.length; i < len; i++) {\r\n attr = attributes[i];\r\n name = attr.name;\r\n if (!name.startsWith(constants.eventPrefix)) {\r\n continue;\r\n }\r\n let actualEventName = name.split('.')[0];//Event name with constants event prefix\r\n let eventName = util._unhyphenate(actualEventName.split(constants.eventPrefix)[1]);\r\n option[eventName] = e => fireEvent(element, actualEventName, e); // eslint-disable-line no-loop-func\r\n }\r\n return option;\r\n}\r\n/**\r\n* Fire DOM event on an element\r\n* @param element The Element which the DOM event will be fired on\r\n* @param name The Event's name\r\n* @param data Addition data to attach to an event\r\n*/\r\nexport function fireEvent(element: Element, name: string, data? = {}) {\r\n let event = new CustomEvent(name, {\r\n detail: data,\r\n bubbles: true\r\n });\r\n element.dispatchEvent(event);\r\n return event;\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/events.js"],"names":[],"mappings":";;;;;;;;AAAQ,U,SAAA,I;;AACA,e,+BAAA,S;;AACA,e,cAAA,S;;;AAMD,eAAS,cAAT,CAAwB,OAAxB,EAAiC;AACtC,YAAI,aAAJ;AACA,YAAI,aAAJ;AACA,YAAI,aAAa,QAAQ,UAAzB;AACA,YAAI,SAAS,EAAb;AACA,YAAI,YAAa,UAAU,QAAV,IAAsB,IAAI,SAAJ,EAAvC;AACA,YAAI,OAAO,UAAU,GAAV,CAAc,IAAd,CAAX;;AANsC,mCAO7B,CAP6B,EAOtB,GAPsB;AAQpC,iBAAO,WAAW,CAAX,CAAP;AACA,iBAAO,KAAK,IAAZ;AACA,cAAI,CAAC,KAAK,UAAL,CAAgB,UAAU,WAA1B,CAAL,EAA6C;AAC3C;AACD;AACD,cAAI,kBAAkB,KAAK,KAAL,CAAW,GAAX,EAAgB,CAAhB,CAAtB;AACA,cAAI,YAAY,KAAK,YAAL,CAAkB,gBAAgB,KAAhB,CAAsB,UAAU,WAAhC,EAA6C,CAA7C,CAAlB,CAAhB;AACA,iBAAO,SAAP,IAAoB;AAAA,mBAAK,UAAU,OAAV,EAAmB,eAAnB,EAAoC,CAApC,CAAL;AAAA,WAApB;AAfoC;;AAOtC,aAAK,IAAI,IAAI,CAAR,EAAW,MAAM,WAAW,MAAjC,EAAyC,IAAI,GAA7C,EAAkD,GAAlD,EAAuD;AAAA,2BAA9C,CAA8C,EAAvC,GAAuC;;AAAA,mCAInD;AAKH;AACD,eAAO,MAAP;AACD;;;;AAOM,eAAS,SAAT,CAAmB,OAAnB,EAAqC,IAArC,EAA+D;AAAA,YAAZ,IAAY,yDAAJ,EAAI;;AACpE,YAAI,QAAQ,IAAI,WAAJ,CAAgB,IAAhB,EAAsB;AAChC,kBAAQ,IADwB;AAEhC,mBAAS;AAFuB,SAAtB,CAAZ;AAIA,gBAAQ,aAAR,CAAsB,KAAtB;AACA,eAAO,KAAP;AACD","file":"common/events.js","sourceRoot":"/source/","sourcesContent":["import {Util} from './util';\r\nimport {Container} from 'aurelia-dependency-injection';\r\nimport {constants} from './constants';\r\n\r\n/**\r\n* To get binded events from the element\r\n* @param element The Element from which events acquired\r\n*/\r\nexport function getEventOption(element) {\r\n let name;\r\n let attr;\r\n let attributes = element.attributes;\r\n let option = {};\r\n let container = (Container.instance || new Container());\r\n let util = container.get(Util);\r\n for (let i = 0, len = attributes.length; i < len; i++) {\r\n attr = attributes[i];\r\n name = attr.name;\r\n if (!name.startsWith(constants.eventPrefix)) {\r\n continue;\r\n }\r\n let actualEventName = name.split('.')[0];//Event name with constants event prefix\r\n let eventName = util._unhyphenate(actualEventName.split(constants.eventPrefix)[1]);\r\n option[eventName] = e => fireEvent(element, actualEventName, e); // eslint-disable-line no-loop-func\r\n }\r\n return option;\r\n}\r\n/**\r\n* Fire DOM event on an element\r\n* @param element The Element which the DOM event will be fired on\r\n* @param name The Event's name\r\n* @param data Addition data to attach to an event\r\n*/\r\nexport function fireEvent(element: Element, name: string, data? = {}) {\r\n let event = new CustomEvent(name, {\r\n detail: data,\r\n bubbles: true\r\n });\r\n element.dispatchEvent(event);\r\n return event;\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/template-processor.js.map b/dist/dev/dist/dev/common/template-processor.js.map index 2de69b754..3e20a562f 100644 --- a/dist/dev/dist/dev/common/template-processor.js.map +++ b/dist/dev/dist/dev/common/template-processor.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/template-processor.js"],"names":[],"mappings":";;;sCAIa,iBAAiB;;;;;;2CAJtB,MAAM;;yBACN,IAAI;;4CACJ,gBAAgB;;;AAEX,uBAAiB;AAEjB,iBAFA,iBAAiB,CAEhB,OAAO,EAAE,cAAc,EAAE;;;AACnC,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC;AACvC,cAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;SACxB;;AANU,yBAAiB,WAQ5B,YAAY,GAAA,wBAAG;AACb,cAAI,KAAK,GAAG,IAAI,CAAC;AACjB,YAAE,CAAC,QAAQ,CAAC,MAAM,GAAG,UAAS,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE;AACzD,mBAAO,KAAK,CAAC,oBAAoB,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;WAChE,CAAC;SACH;;AAbU,yBAAiB,WAe5B,sBAAsB,GAAA,kCAAG;AACvB,cAAK,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE;AACxC,gBAAI,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;WACnD;AACD,cAAI,KAAK,GAAI,IAAI,CAAC,OAAO,CAAC;AAC1B,cAAI,OAAO,GAAI,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC;AAC3C,iBAAO,CAAC,EAAE,CAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG,SAAS,EAAE,YAAW;AACjE,gBAAI,KAAK,CAAC,MAAM,CAAC,eAAe,EAAE;AAChC,mBAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;aAClD;WACF,CAAC,CAAC;SACJ;;AA1BU,yBAAiB,WA4B5B,oBAAoB,GAAA,8BAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE;AAChD,cAAI,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC;AAC1C,cAAI,CAAC,cAAc,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;AAChD,0BAAc,GAAG,cAAc,IAAI,EAAE,CAAC;AACtC,0BAAc,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AACnF,gBAAI,CAAC,eAAe,GAAG,cAAc,CAAC;WACvC;AACD,cAAI,KAAK,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AACrC,cAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AAC7B,iBAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;WAC9B,MAAM;AACL,iBAAK,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,CAAC;WACzB;AACD,cAAI,UAAU,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;AACpC,cAAI,WAAW,GAAG,cAAc,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC,GAAG,GAAG,wBAAwB,GAAG,UAAU,GAAG,QAAQ,CAAC;AACnH,iBAAO,WAAW,CAAC;SACpB;;AA5CU,yBAAiB,WA8C5B,eAAe,GAAA,yBAAC,OAAO,EAAE;AACvB,cAAI,SAAS,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;AACxD,cAAI,cAAc,GAAI,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC;AAC1D,eAAK,IAAI,QAAQ,IAAI,cAAc,EAAE;AACnC,gBAAI,WAAW,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC;AACvE,gBAAI,WAAW,CAAC,MAAM,EAAE;AACtB,mBAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC3C,oBAAI,IAAI,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AACzD,oBAAI,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AAChD,8BAAc,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;eAC1C;aACF,MAAM;AACL,kBAAI,CAAC,WAAW,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC3C,qBAAO,cAAc,CAAC,QAAQ,CAAC,CAAC;aACjC;WACF;SACF;;AA9DU,yBAAiB,WAgE5B,aAAa,GAAA,yBAAG;AACd,cAAI,cAAc,GAAI,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC;AAC1D,cAAI,cAAc,IAAI,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,EAAE;AACxD,iBAAK,IAAI,CAAC,IAAI,cAAc,EAAE;AAC5B,kBAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC,qBAAO,cAAc,CAAC,CAAC,CAAC,CAAC;aAC1B;WACF;SACF;;AAxEU,yBAAiB,WA0E5B,WAAW,GAAA,qBAAC,GAAG,EAAE;AACf,eAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACzC,gBAAI,IAAI,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACxB,gBAAI,CAAC,MAAM,EAAE,CAAC;WACf;SACF;;iCA/EU,iBAAiB;AAAjB,yBAAiB,GAD7B,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAClB,iBAAiB,KAAjB,iBAAiB;eAAjB,iBAAiB","file":"common/template-processor.js","sourceRoot":"/source/","sourcesContent":["import {inject} from 'aurelia-dependency-injection';\r\nimport {Util} from '../common/util';\r\nimport {TemplatingEngine} from 'aurelia-templating';\r\n@inject(TemplatingEngine, Util)\r\nexport class TemplateProcessor {\r\n\r\n constructor(context, templateEngine) {\r\n this.context = context;\r\n this.templatingEngine = templateEngine;\r\n this.util = new Util();\r\n }\r\n\r\n initTemplate() {\r\n let proxy = this;\r\n ej.template.render = function(self, selector, data, index) {\r\n return proxy.renderStringTemplate(self, selector, data, index);\r\n };\r\n }\r\n\r\n initWidgetDependancies() {\r\n if ( this.context.widget.aureliaTemplate) {\r\n this.compileTemplate(this.context.widget.element);\r\n }\r\n let proxy = this.context;\r\n let element = this.context.widget.element;\r\n element.on( this.context.widget.pluginName + 'refresh', function() {\r\n if (proxy.widget.aureliaTemplate) {\r\n proxy.templateProcessor.compileTemplate(element);\r\n }\r\n });\r\n }\r\n\r\n renderStringTemplate(self, selector, data, index) {\r\n let templateObject = self.aureliaTemplate;\r\n if (!templateObject || !templateObject[selector]) {\r\n templateObject = templateObject || {};\r\n templateObject[selector] = { key: ej.getGuid('aurtmpl'), itemData: [], views: [] };\r\n self.aureliaTemplate = templateObject;\r\n }\r\n let scope = templateObject[selector];\r\n if (this.util.hasValue(index)) {\r\n scope.itemData[index] = data;\r\n } else {\r\n scope.itemData = [data];\r\n }\r\n let actElement = $(selector).html();\r\n let tempElement = \"
\" + actElement + '
';\r\n return tempElement;\r\n }\r\n\r\n compileTemplate(element) {\r\n let templates = $(element).find('.ej-aurelia-template');\r\n let templateObject = this.context.widget.aureliaTemplate;\r\n for (let template in templateObject) {\r\n let tmplElement = templates.filter('.' + templateObject[template].key);\r\n if (tmplElement.length) {\r\n for (let i = 0; i < tmplElement.length; i++) {\r\n let view = this.templatingEngine.enhance(tmplElement[i]);\r\n view.bind(templateObject[template].itemData[i]);\r\n templateObject[template].views[i] = view;\r\n }\r\n } else {\r\n this.unbindViews(templateObject[template]);\r\n delete templateObject[template];\r\n }\r\n }\r\n }\r\n\r\n clearTempalte() {\r\n let templateObject = this.context.widget.aureliaTemplate;\r\n if (templateObject && Object.keys(templateObject).length) {\r\n for (let t in templateObject) {\r\n this.unbindViews(templateObject[t]);\r\n delete templateObject[t];\r\n }\r\n }\r\n }\r\n\r\n unbindViews(obj) {\r\n for (let i = 0; i < obj.views.length; i++) {\r\n let view = obj.views[i];\r\n view.unbind();\r\n }\r\n }\r\n\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/template-processor.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,Y,+BAAA,M;;AACA,U,eAAA,I;;AACA,sB,sBAAA,gB;;;mCAEK,iB,WADZ,OAAO,gBAAP,EAAyB,IAAzB,C;AAGC,mCAAY,OAAZ,EAAqB,cAArB,EAAqC;AAAA;;AACnC,eAAK,OAAL,GAAe,OAAf;AACA,eAAK,gBAAL,GAAwB,cAAxB;AACA,eAAK,IAAL,GAAY,IAAI,IAAJ,EAAZ;AACD;;oCAED,Y,2BAAe;AACb,cAAI,QAAQ,IAAZ;AACA,aAAG,QAAH,CAAY,MAAZ,GAAqB,UAAS,IAAT,EAAe,QAAf,EAAyB,IAAzB,EAA+B,KAA/B,EAAsC;AACzD,mBAAO,MAAM,oBAAN,CAA2B,IAA3B,EAAiC,QAAjC,EAA2C,IAA3C,EAAiD,KAAjD,CAAP;AACD,WAFD;AAGD,S;;oCAED,sB,qCAAyB;AACvB,cAAK,KAAK,OAAL,CAAa,MAAb,CAAoB,eAAzB,EAA0C;AACxC,iBAAK,eAAL,CAAqB,KAAK,OAAL,CAAa,MAAb,CAAoB,OAAzC;AACD;AACD,cAAI,QAAS,KAAK,OAAlB;AACA,cAAI,UAAW,KAAK,OAAL,CAAa,MAAb,CAAoB,OAAnC;AACA,kBAAQ,EAAR,CAAY,KAAK,OAAL,CAAa,MAAb,CAAoB,UAApB,GAAiC,SAA7C,EAAwD,YAAW;AACjE,gBAAI,MAAM,MAAN,CAAa,eAAjB,EAAkC;AAChC,oBAAM,iBAAN,CAAwB,eAAxB,CAAwC,OAAxC;AACD;AACF,WAJD;AAKD,S;;oCAED,oB,iCAAqB,I,EAAM,Q,EAAU,I,EAAM,K,EAAO;AAChD,cAAI,iBAAiB,KAAK,eAA1B;AACA,cAAI,CAAC,cAAD,IAAmB,CAAC,eAAe,QAAf,CAAxB,EAAkD;AAChD,6BAAiB,kBAAkB,EAAnC;AACA,2BAAe,QAAf,IAA2B,EAAE,KAAK,GAAG,OAAH,CAAW,SAAX,CAAP,EAA8B,UAAU,EAAxC,EAA4C,OAAO,EAAnD,EAA3B;AACA,iBAAK,eAAL,GAAuB,cAAvB;AACD;AACD,cAAI,QAAQ,eAAe,QAAf,CAAZ;AACA,cAAI,KAAK,IAAL,CAAU,QAAV,CAAmB,KAAnB,CAAJ,EAA+B;AAC7B,kBAAM,QAAN,CAAe,KAAf,IAAwB,IAAxB;AACD,WAFD,MAEO;AACL,kBAAM,QAAN,GAAiB,CAAC,IAAD,CAAjB;AACD;AACD,cAAI,aAAa,EAAE,QAAF,EAAY,IAAZ,EAAjB;AACA,cAAI,cAAc,iBAAiB,eAAe,QAAf,EAAyB,GAA1C,GAAgD,wBAAhD,GAA2E,UAA3E,GAAwF,QAA1G;AACA,iBAAO,WAAP;AACD,S;;oCAED,e,4BAAgB,O,EAAS;AACvB,cAAI,YAAY,EAAE,OAAF,EAAW,IAAX,CAAgB,sBAAhB,CAAhB;AACA,cAAI,iBAAkB,KAAK,OAAL,CAAa,MAAb,CAAoB,eAA1C;AACA,eAAK,IAAI,QAAT,IAAqB,cAArB,EAAqC;AACnC,gBAAI,cAAc,UAAU,MAAV,CAAiB,MAAM,eAAe,QAAf,EAAyB,GAAhD,CAAlB;AACA,gBAAI,YAAY,MAAhB,EAAwB;AACtB,mBAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,YAAY,MAAhC,EAAwC,GAAxC,EAA6C;AAC3C,oBAAI,OAAO,KAAK,gBAAL,CAAsB,OAAtB,CAA8B,YAAY,CAAZ,CAA9B,CAAX;AACA,qBAAK,IAAL,CAAU,eAAe,QAAf,EAAyB,QAAzB,CAAkC,CAAlC,CAAV;AACA,+BAAe,QAAf,EAAyB,KAAzB,CAA+B,CAA/B,IAAoC,IAApC;AACD;AACF,aAND,MAMO;AACL,mBAAK,WAAL,CAAiB,eAAe,QAAf,CAAjB;AACA,qBAAO,eAAe,QAAf,CAAP;AACD;AACF;AACF,S;;oCAED,a,4BAAgB;AACd,cAAI,iBAAkB,KAAK,OAAL,CAAa,MAAb,CAAoB,eAA1C;AACA,cAAI,kBAAkB,OAAO,IAAP,CAAY,cAAZ,EAA4B,MAAlD,EAA0D;AACxD,iBAAK,IAAI,CAAT,IAAc,cAAd,EAA8B;AAC5B,mBAAK,WAAL,CAAiB,eAAe,CAAf,CAAjB;AACA,qBAAO,eAAe,CAAf,CAAP;AACD;AACF;AACF,S;;oCAED,W,wBAAY,G,EAAK;AACf,eAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,IAAI,KAAJ,CAAU,MAA9B,EAAsC,GAAtC,EAA2C;AACzC,gBAAI,OAAO,IAAI,KAAJ,CAAU,CAAV,CAAX;AACA,iBAAK,MAAL;AACD;AACF,S","file":"common/template-processor.js","sourceRoot":"/source/","sourcesContent":["import {inject} from 'aurelia-dependency-injection';\r\nimport {Util} from '../common/util';\r\nimport {TemplatingEngine} from 'aurelia-templating';\r\n@inject(TemplatingEngine, Util)\r\nexport class TemplateProcessor {\r\n\r\n constructor(context, templateEngine) {\r\n this.context = context;\r\n this.templatingEngine = templateEngine;\r\n this.util = new Util();\r\n }\r\n\r\n initTemplate() {\r\n let proxy = this;\r\n ej.template.render = function(self, selector, data, index) {\r\n return proxy.renderStringTemplate(self, selector, data, index);\r\n };\r\n }\r\n\r\n initWidgetDependancies() {\r\n if ( this.context.widget.aureliaTemplate) {\r\n this.compileTemplate(this.context.widget.element);\r\n }\r\n let proxy = this.context;\r\n let element = this.context.widget.element;\r\n element.on( this.context.widget.pluginName + 'refresh', function() {\r\n if (proxy.widget.aureliaTemplate) {\r\n proxy.templateProcessor.compileTemplate(element);\r\n }\r\n });\r\n }\r\n\r\n renderStringTemplate(self, selector, data, index) {\r\n let templateObject = self.aureliaTemplate;\r\n if (!templateObject || !templateObject[selector]) {\r\n templateObject = templateObject || {};\r\n templateObject[selector] = { key: ej.getGuid('aurtmpl'), itemData: [], views: [] };\r\n self.aureliaTemplate = templateObject;\r\n }\r\n let scope = templateObject[selector];\r\n if (this.util.hasValue(index)) {\r\n scope.itemData[index] = data;\r\n } else {\r\n scope.itemData = [data];\r\n }\r\n let actElement = $(selector).html();\r\n let tempElement = \"
\" + actElement + '
';\r\n return tempElement;\r\n }\r\n\r\n compileTemplate(element) {\r\n let templates = $(element).find('.ej-aurelia-template');\r\n let templateObject = this.context.widget.aureliaTemplate;\r\n for (let template in templateObject) {\r\n let tmplElement = templates.filter('.' + templateObject[template].key);\r\n if (tmplElement.length) {\r\n for (let i = 0; i < tmplElement.length; i++) {\r\n let view = this.templatingEngine.enhance(tmplElement[i]);\r\n view.bind(templateObject[template].itemData[i]);\r\n templateObject[template].views[i] = view;\r\n }\r\n } else {\r\n this.unbindViews(templateObject[template]);\r\n delete templateObject[template];\r\n }\r\n }\r\n }\r\n\r\n clearTempalte() {\r\n let templateObject = this.context.widget.aureliaTemplate;\r\n if (templateObject && Object.keys(templateObject).length) {\r\n for (let t in templateObject) {\r\n this.unbindViews(templateObject[t]);\r\n delete templateObject[t];\r\n }\r\n }\r\n }\r\n\r\n unbindViews(obj) {\r\n for (let i = 0; i < obj.views.length; i++) {\r\n let view = obj.views[i];\r\n view.unbind();\r\n }\r\n }\r\n\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/template.js.map b/dist/dev/dist/dev/common/template.js.map index c7c35167f..a2ffe3d8e 100644 --- a/dist/dev/dist/dev/common/template.js.map +++ b/dist/dev/dist/dev/common/template.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/template.js"],"names":[],"mappings":";;;6FAaa,QAAQ;;;;;;;;;;2CAbb,MAAM;;yCACN,aAAa;oCAAE,QAAQ;kCAAE,MAAM;0CAAE,cAAc;6CAAE,iBAAiB;;6BAClE,SAAS;;;AAWJ,cAAQ;;;8BAAR,QAAQ;;uBAClB,QAAQ;;;;;AACE,iBAFA,QAAQ,CAEP,MAAM,EAAE;;;;;AAClB,cAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC,QAAQ,CAAC;SACpD;;wBAJU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,iBAAiB,CAAC,CACb,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GARpB,cAAc,CAAC,UAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAK;AAC7D,cAAI,IAAI,GAAG,OAAO,CAAC,SAAS,CAAC;AAC7B,cAAI,IAAI,KAAK,EAAE,EAAE;AACf,uBAAW,CAAC,QAAQ,GAAG,IAAI,CAAC;WAC7B;AACD,iBAAO,CAAC,SAAS,GAAG,EAAE,CAAC;SACxB,CAAC,CAEW,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GATpB,MAAM,EAAE,CASI,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAVpB,aAAa,CAAI,SAAS,CAAC,aAAa,cAAW,CAUvC,QAAQ,KAAR,QAAQ;eAAR,QAAQ","file":"common/template.js","sourceRoot":"/source/","sourcesContent":["import {inject} from 'aurelia-dependency-injection';\r\nimport {customElement, bindable, noView, processContent, TargetInstruction} from 'aurelia-templating';\r\nimport {constants} from './constants';\r\n@customElement(`${constants.elementPrefix}template`)\r\n@noView()\r\n@processContent((compiler, resources, element, instruction) => {\r\n let html = element.innerHTML;\r\n if (html !== '') {\r\n instruction.template = html;\r\n }\r\n element.innerHTML = '';\r\n})\r\n@inject(TargetInstruction)\r\nexport class Template {\r\n @bindable template;\r\n constructor(target) {\r\n this.template = target.elementInstruction.template;\r\n }\r\n\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/template.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,+BAAA,M;;AACA,mB,sBAAA,a;AAAe,c,sBAAA,Q;AAAU,Y,sBAAA,M;AAAQ,oB,sBAAA,c;AAAgB,uB,sBAAA,iB;;AACjD,e,cAAA,S;;;0BAWK,Q,WAVZ,cAAiB,UAAU,aAA3B,c,UACA,Q,UACA,eAAe,UAAC,QAAD,EAAW,SAAX,EAAsB,OAAtB,EAA+B,WAA/B,EAA+C;AAC7D,YAAI,OAAO,QAAQ,SAAnB;AACA,YAAI,SAAS,EAAb,EAAiB;AACf,sBAAY,QAAZ,GAAuB,IAAvB;AACD;AACD,gBAAQ,SAAR,GAAoB,EAApB;AACD,OANA,C,UAOA,OAAO,iBAAP,C,wEAGC,kBAAY,MAAZ,EAAoB;AAAA;;AAAA;;AAClB,aAAK,QAAL,GAAgB,OAAO,kBAAP,CAA0B,QAA1C;AACD,O,2EAHA,Q","file":"common/template.js","sourceRoot":"/source/","sourcesContent":["import {inject} from 'aurelia-dependency-injection';\r\nimport {customElement, bindable, noView, processContent, TargetInstruction} from 'aurelia-templating';\r\nimport {constants} from './constants';\r\n@customElement(`${constants.elementPrefix}template`)\r\n@noView()\r\n@processContent((compiler, resources, element, instruction) => {\r\n let html = element.innerHTML;\r\n if (html !== '') {\r\n instruction.template = html;\r\n }\r\n element.innerHTML = '';\r\n})\r\n@inject(TargetInstruction)\r\nexport class Template {\r\n @bindable template;\r\n constructor(target) {\r\n this.template = target.elementInstruction.template;\r\n }\r\n\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/util.js.map b/dist/dev/dist/dev/common/util.js.map index 8afe98345..f135052cd 100644 --- a/dist/dev/dist/dev/common/util.js.map +++ b/dist/dev/dist/dev/common/util.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/util.js"],"names":[],"mappings":";;;iBAEa,IAAI;;;;;;6BAFT,SAAS;;;AAEJ,UAAI;iBAAJ,IAAI;gCAAJ,IAAI;;;AAAJ,YAAI,WAEf,uBAAuB,GAAA,iCAAC,YAAoB,EAAU;AACpD,cAAI,IAAI,QAAM,SAAS,CAAC,cAAc,GAAG,YAAY,AAAE,CAAC;AACxD,iBAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAChC;;AALU,YAAI,WAOf,YAAY,GAAA,sBAAC,IAAY,EAAU;AACjC,iBAAO,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,UAAC,CAAC;mBAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;WAAA,CAAC,CAAC;SAC7D;;AATU,YAAI,WAWf,UAAU,GAAA,oBAAC,KAAK,EAAE,UAAU,EAAG;AAC7B,cAAI,kBAAkB,GAAG,EAAE,CAAC;AAC5B,cAAI,KAAK,YAAA,CAAC;AACV,+BAAiB,UAAU,kHAAE;;;;;;;;;;;;gBAApB,IAAI;;AACX,gBAAI,KAAK,CAAC,gBAAgB,IAAI,IAAI,IAAI,KAAK,CAAC,gBAAgB,EAAE;AAC5D,mBAAK,GAAG,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aAC3E,MAAK;AACJ,mBAAK,GAAG,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC;aACnD;AACD,gBAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACxB,kBAAI,OAAO,KAAK,KAAK,QAAQ,EAAG;AAC9B,qBAAK,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;eACjC;AACD,gCAAkB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;aAClC;WACF;AACD,iBAAO,kBAAkB,CAAC;SAC3B;;AA5BU,YAAI,WA8Bf,sBAAsB,GAAA,gCAAC,OAAO,EAAE,YAAY,EAAE;AAC5C,cAAI,QAAQ,YAAA,CAAC;AACb,gCAAiB,OAAO,CAAC,iBAAiB,yHAAE;;;;;;;;;;;;gBAAnC,IAAI;;AACX,gBAAI,YAAY,KAAK,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,EAAE;AACvD,sBAAQ,GAAG,IAAI,CAAC;AAChB,oBAAM;aACP;WACF;AACD,iBAAO,QAAQ,CAAC;SACjB;;AAvCU,YAAI,WAyCf,QAAQ,GAAA,kBAAC,IAAI,EAAE;AACb,iBAAO,OAAQ,IAAI,AAAC,KAAK,WAAW,IAAI,IAAI,KAAK,IAAI,CAAC;SACvD;;AA3CU,YAAI,WA6Cf,WAAW,GAAA,qBAAC,KAAK,EAAE;AACjB,cAAI,KAAK,KAAK,MAAM,EAAE;AACpB,mBAAO,IAAI,CAAC;WACb,MAAM,IAAI,KAAK,KAAK,OAAO,EAAE;AAC5B,mBAAO,KAAK,CAAC;WACd,MAAM,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,KAAK,EAAE;AAChC,mBAAO,CAAC,KAAK,CAAC;WACf;AACD,iBAAO,KAAK,CAAC;SACd;;eAtDU,IAAI","file":"common/util.js","sourceRoot":"/source/","sourcesContent":["import {constants} from './constants';\r\n\r\nexport class Util {\r\n\r\n getBindablePropertyName(propertyName: string): string {\r\n let name = `${constants.bindablePrefix}${propertyName}`;\r\n return this._unhyphenate(name);\r\n }\r\n\r\n _unhyphenate(name: string): string {\r\n return name.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\r\n }\r\n\r\n getOptions(model, properties ) {\r\n let bindableproperites = {};\r\n let value;\r\n for (let prop of properties) {\r\n if (model.abbrevProperties && prop in model.abbrevProperties) {\r\n value = model[this.getBindablePropertyName(model.abbrevProperties[prop])];\r\n }else {\r\n value = model[this.getBindablePropertyName(prop)];\r\n }\r\n if (this.hasValue(value)) {\r\n if (typeof value === 'string' ) {\r\n value = this.processData(value);\r\n }\r\n bindableproperites[prop] = value;\r\n }\r\n }\r\n return bindableproperites;\r\n }\r\n\r\n getControlPropertyName(options, propertyName) {\r\n let property;\r\n for (let prop of options.controlProperties) {\r\n if (propertyName === this.getBindablePropertyName(prop)) {\r\n property = prop;\r\n break;\r\n }\r\n }\r\n return property;\r\n }\r\n\r\n hasValue(prop) {\r\n return typeof (prop) !== 'undefined' && prop !== null;\r\n }\r\n\r\n processData(value) {\r\n if (value === 'true') {\r\n return true;\r\n } else if (value === 'false') {\r\n return false;\r\n } else if (+value + '' === value) {\r\n return +value;\r\n }\r\n return value;\r\n }\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/util.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,e,cAAA,S;;;sBAEK,I;;;;;uBAEX,uB,oCAAwB,Y,EAA8B;AACpD,cAAI,YAAU,UAAU,cAApB,GAAqC,YAAzC;AACA,iBAAO,KAAK,YAAL,CAAkB,IAAlB,CAAP;AACD,S;;uBAED,Y,yBAAa,I,EAAsB;AACjC,iBAAO,KAAK,OAAL,CAAa,WAAb,EAA0B,UAAC,CAAD;AAAA,mBAAO,EAAE,CAAF,EAAK,WAAL,EAAP;AAAA,WAA1B,CAAP;AACD,S;;uBAED,U,uBAAW,K,EAAO,U,EAAa;AAC7B,cAAI,qBAAqB,EAAzB;AACA,cAAI,cAAJ;AACA,+BAAiB,UAAjB,kHAA6B;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,gBAApB,IAAoB;;AAC3B,gBAAI,MAAM,gBAAN,IAA0B,QAAQ,MAAM,gBAA5C,EAA8D;AAC5D,sBAAQ,MAAM,KAAK,uBAAL,CAA6B,MAAM,gBAAN,CAAuB,IAAvB,CAA7B,CAAN,CAAR;AACD,aAFD,MAEM;AACJ,sBAAQ,MAAM,KAAK,uBAAL,CAA6B,IAA7B,CAAN,CAAR;AACD;AACD,gBAAI,KAAK,QAAL,CAAc,KAAd,CAAJ,EAA0B;AACxB,kBAAI,OAAO,KAAP,KAAiB,QAArB,EAAgC;AAC9B,wBAAQ,KAAK,WAAL,CAAiB,KAAjB,CAAR;AACD;AACD,iCAAmB,IAAnB,IAA2B,KAA3B;AACD;AACF;AACD,iBAAO,kBAAP;AACD,S;;uBAED,sB,mCAAuB,O,EAAS,Y,EAAc;AAC5C,cAAI,iBAAJ;AACA,gCAAiB,QAAQ,iBAAzB,yHAA4C;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,gBAAnC,IAAmC;;AAC1C,gBAAI,iBAAiB,KAAK,uBAAL,CAA6B,IAA7B,CAArB,EAAyD;AACvD,yBAAW,IAAX;AACA;AACD;AACF;AACD,iBAAO,QAAP;AACD,S;;uBAED,Q,qBAAS,I,EAAM;AACb,iBAAO,OAAQ,IAAR,KAAkB,WAAlB,IAAiC,SAAS,IAAjD;AACD,S;;uBAED,W,wBAAY,K,EAAO;AACjB,cAAI,UAAU,MAAd,EAAsB;AACpB,mBAAO,IAAP;AACD,WAFD,MAEO,IAAI,UAAU,OAAd,EAAuB;AAC5B,mBAAO,KAAP;AACD,WAFM,MAEA,IAAI,CAAC,KAAD,GAAS,EAAT,KAAgB,KAApB,EAA2B;AAChC,mBAAO,CAAC,KAAR;AACD;AACD,iBAAO,KAAP;AACD,S","file":"common/util.js","sourceRoot":"/source/","sourcesContent":["import {constants} from './constants';\r\n\r\nexport class Util {\r\n\r\n getBindablePropertyName(propertyName: string): string {\r\n let name = `${constants.bindablePrefix}${propertyName}`;\r\n return this._unhyphenate(name);\r\n }\r\n\r\n _unhyphenate(name: string): string {\r\n return name.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\r\n }\r\n\r\n getOptions(model, properties ) {\r\n let bindableproperites = {};\r\n let value;\r\n for (let prop of properties) {\r\n if (model.abbrevProperties && prop in model.abbrevProperties) {\r\n value = model[this.getBindablePropertyName(model.abbrevProperties[prop])];\r\n }else {\r\n value = model[this.getBindablePropertyName(prop)];\r\n }\r\n if (this.hasValue(value)) {\r\n if (typeof value === 'string' ) {\r\n value = this.processData(value);\r\n }\r\n bindableproperites[prop] = value;\r\n }\r\n }\r\n return bindableproperites;\r\n }\r\n\r\n getControlPropertyName(options, propertyName) {\r\n let property;\r\n for (let prop of options.controlProperties) {\r\n if (propertyName === this.getBindablePropertyName(prop)) {\r\n property = prop;\r\n break;\r\n }\r\n }\r\n return property;\r\n }\r\n\r\n hasValue(prop) {\r\n return typeof (prop) !== 'undefined' && prop !== null;\r\n }\r\n\r\n processData(value) {\r\n if (value === 'true') {\r\n return true;\r\n } else if (value === 'false') {\r\n return false;\r\n } else if (+value + '' === value) {\r\n return +value;\r\n }\r\n return value;\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/common/widget-base.js.map b/dist/dev/dist/dev/common/widget-base.js.map index 14f865a2b..d01288517 100644 --- a/dist/dev/dist/dev/common/widget-base.js.map +++ b/dist/dev/dist/dev/common/widget-base.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/widget-base.js"],"names":[],"mappings":";;;qCAII,UAAU,EACD,UAAU;;;;;;;;+BALf,cAAc;;yBACd,IAAI;;kCACJ,OAAO;;;AAEX,gBAAU,GAAG,EAAE;;AACN,gBAAU;iBAAV,UAAU;gCAAV,UAAU;;;AAAV,kBAAU,WAKrB,YAAY,GAAA,sBAAC,MAAM,EAAE;;;AACnB,cAAI,CAAC,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACvD,cAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AACrC,gBAAI,CAAC,aAAa,EAAE,CAAC;WACtB;AACD,cAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AACjG,cAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,gBAAI,CAAC,iBAAiB,CAAC,sBAAsB,EAAE,CAAC;WACjD;AACD,cAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,gBAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,UAAC,GAAG,EAAK;AACnC,kBAAI,QAAQ,SAAQ,EAAE;AACpB,sBAAK,MAAK,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC;eAC9D;aACF,CAAC;WACH;SACF;;AArBU,kBAAU,WAuBrB,aAAa,GAAA,yBAAG;AACd,cAAI,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;AAC3B,cAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AAC3B,cAAI,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;AACzB,eAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;AAC5B,gBAAI,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AACtB,cAAE,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;WACrD;SACF;;AA/BU,kBAAU,WAiCrB,UAAU,GAAA,oBAAC,IAAI,EAAE;AACf,cAAI,KAAK,GAAG,IAAI,CAAC;AACjB,cAAI,KAAK,GAAG,UAAU,CAAC;AACvB,iBAAO,UAAS,MAAM,EAAE,KAAK,EAAE;AAC7B,gBAAI,KAAK,KAAK,UAAU,EAAE;AACxB,kBAAI,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;AAC7D,mBAAK,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AAC7B,kBAAI,KAAK,KAAK,SAAS,EAAE;AACvB,qBAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;eAC7B;AACD,qBAAO,KAAK,CAAC;aACd;AACD,gBAAI,MAAM,KAAK,SAAS,EAAE;AACxB,qBAAO,KAAK,CAAC;aACd;AACD,gBAAI,KAAK,KAAK,MAAM,EAAE;AACpB,qBAAO,IAAI,CAAC;aACb;AACD,iBAAK,GAAG,MAAM,CAAC;AACf,gBAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAG;AAC1C,kBAAI,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;AAC7D,mBAAK,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC;aAC/B;AACD,mBAAO,IAAI,CAAC;WACb,CAAC;SACH;;AA1DU,kBAAU,WA+DrB,gBAAgB,GAAA,0BAAC,OAAO,EAAE;AACxB,cAAI,WAAW,YAAA,CAAC;AAChB,cAAI,IAAI,CAAC,SAAS,EAAE;AAClB,uBAAW,GAAG,IAAI,CAAC,SAAS,CAAC;WAC9B,MAAM;AACL,uBAAW,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;WAClE;AACD,cAAI,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;AAC1C,cAAI,IAAI,CAAC,gBAAgB,EAAE;AACzB,gBAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC;WACtC;AACD,iBAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;SACpD;;AA3EU,kBAAU,WA6ErB,kBAAkB,GAAA,4BAAC,OAAO,EAAE;AAC1B,cAAI,YAAY,GAAG,IAAI,CAAC,iBAAiB,CAAC;AAC1C,cAAI,eAAe,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC;AACzC,cAAI,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC;AACjC,cAAI,GAAG,EAAE;AACP,mBAAO,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;AAC3B,gBAAI,eAAe,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC;AAC3D,iBAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;AAC5B,qBAAO,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC;aACvF;WACF;SACF;;AAxFU,kBAAU,WAwGrB,eAAe,GAAA,yBAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;AAC5C,cAAI,IAAI,CAAC,MAAM,EAAE;AACf,gBAAI,UAAU,YAAA,CAAC;AACf,gBAAI,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC5D,gBAAI,IAAI,EAAE;AACR,kBAAI,IAAI,KAAK,SAAS,EAAE;AACtB,0BAAU,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACrC,oBAAI,QAAQ,GAAG,OAAO,UAAU,KAAK,UAAU,CAAC;AAChD,oBAAI,QAAQ,EAAE;AACZ,4BAAU,GAAG,UAAU,EAAE,CAAC;iBAC3B;AACD,oBAAI,UAAU,KAAK,QAAQ,EAAE;AAC3B,sBAAI,QAAQ,EAAE;AACZ,4BAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;mBAClC;AACD,sBAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;iBACpC;eACF,MAAM;AACL,oBAAI,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;eAC9B;aACF;WACF;SACF;;AA9HU,kBAAU,WA+HrB,QAAQ,GAAA,oBAAG;AACT,cAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,gBAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,CAAC;WACxC;AACD,cAAI,IAAI,CAAC,MAAM,EAAE;AACf,gBAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;WACvB;SACF;;8BAtIU,UAAU;;uBA0FpB,OAAO,EAAE;iBACF,oBAAG;AACT,gBAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,kBAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,UAAA,QAAQ;uBAAI,QAAQ,CAAC,YAAY,EAAE;eAAA,CAAC,CAAC;aAC3E;AACD,gBAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;AACvB,gBAAI,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;WAC9C;;;eAjGU,UAAU","file":"common/widget-base.js","sourceRoot":"/source/","sourcesContent":["import {getEventOption} from './events';\r\nimport {Util} from '../common/util';\r\nimport {delayed} from '../common/decorators';\r\n\r\nlet firstValue = {};\r\nexport class WidgetBase {\r\n/**\r\n* To Create an widget\r\n* @param option Object which contains Element in which widget will be created\r\n*/\r\n createWidget(option) {\r\n this.allOption = this.getWidgetOptions(option.element);\r\n if (!this.ejOptions && !this.isEditor) {\r\n this.createTwoWays();\r\n }\r\n this.widget = jQuery($(option.element))[this.controlName](this.allOption).data(this.controlName);\r\n if (this.templateProcessor) {\r\n this.templateProcessor.initWidgetDependancies();\r\n }\r\n if (this.isEditor) {\r\n this.widget.model._change = (evt) => {\r\n if ('eValue' in this) {\r\n this[this.util.getBindablePropertyName('value')] = evt.value;\r\n }\r\n };\r\n }\r\n }\r\n\r\n createTwoWays() {\r\n let model = this.allOption;\r\n let twoWays = this.twoWays;\r\n let len = twoWays.length;\r\n for (let i = 0; i < len; i++) {\r\n let prop = twoWays[i];\r\n ej.createObject(prop, this.addTwoways(prop), model);\r\n }\r\n }\r\n\r\n addTwoways(prop) {\r\n let model = this;\r\n let value = firstValue;\r\n return function(newVal, isApp) {\r\n if (value === firstValue) {\r\n let viewModelProp = model.util.getBindablePropertyName(prop);\r\n value = model[viewModelProp];\r\n if (value === undefined) {\r\n value = this.defaults[prop];\r\n }\r\n return value;\r\n }\r\n if (newVal === undefined) {\r\n return value;\r\n }\r\n if (value === newVal) {\r\n return null;\r\n }\r\n value = newVal;\r\n if (!isApp && model.util.hasValue(newVal) ) {\r\n let viewModelProp = model.util.getBindablePropertyName(prop);\r\n model[viewModelProp] = newVal;\r\n }\r\n return null;\r\n };\r\n }\r\n/**\r\n* To get property and event options from the element\r\n* @param element Element from which options are acquired\r\n*/\r\n getWidgetOptions(element) {\r\n let propOptions;\r\n if (this.ejOptions) {\r\n propOptions = this.ejOptions;\r\n } else {\r\n propOptions = this.util.getOptions(this, this.controlProperties);\r\n }\r\n let eventOption = getEventOption(element);\r\n if (this.hasChildProperty) {\r\n this.getChildProperties(propOptions);\r\n }\r\n return Object.assign({}, propOptions, eventOption);\r\n }\r\n\r\n getChildProperties(options) {\r\n let PropertyName = this.childPropertyName;\r\n let childCollection = this[PropertyName];\r\n let len = childCollection.length;\r\n if (len) {\r\n options[PropertyName] = [];\r\n let childProperties = childCollection[0].controlProperties;\r\n for (let i = 0; i < len; i++) {\r\n options[PropertyName].push(this.util.getOptions(childCollection[i], childProperties));\r\n }\r\n }\r\n }\r\n\r\n @delayed()\r\n attached() {\r\n if (this.templateProcessor) {\r\n this[this.childPropertyName].forEach(template => template.setTemplates());\r\n }\r\n this.util = new Util();\r\n this.createWidget({ element: this.element });\r\n }\r\n/**\r\n * To change widget model value\r\n * @param property The viewModel property name\r\n * @param newValue New value of the property\r\n * @param oldvalue Pld value of the property\r\n */\r\n propertyChanged(property, newValue, oldValue) {\r\n if (this.widget) {\r\n let modelValue;\r\n let prop = this.util.getControlPropertyName(this, property);\r\n if (prop) {\r\n if (prop !== 'options') {\r\n modelValue = this.widget.model[prop];\r\n let isTwoway = typeof modelValue === 'function';\r\n if (isTwoway) {\r\n modelValue = modelValue();\r\n }\r\n if (modelValue !== newValue) {\r\n if (isTwoway) {\r\n newValue = this.addTwoways(prop);\r\n }\r\n this.widget.option(prop, newValue);\r\n }\r\n } else {\r\n this.widget.option(newValue);\r\n }\r\n }\r\n }\r\n }\r\n detached() {\r\n if (this.templateProcessor) {\r\n this.templateProcessor.clearTempalte();\r\n }\r\n if (this.widget) {\r\n this.widget.destroy();\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["common/widget-base.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,oB,WAAA,c;;AACA,U,eAAA,I;;AACA,a,qBAAA,O;;;AAEJ,gB,GAAa,E;;4BACJ,U,WA0FV,S;;;;;6BArFD,Y,yBAAa,M,EAAQ;AAAA;;AACnB,eAAK,SAAL,GAAiB,KAAK,gBAAL,CAAsB,OAAO,OAA7B,CAAjB;AACA,cAAI,CAAC,KAAK,SAAN,IAAmB,CAAC,KAAK,QAA7B,EAAuC;AACrC,iBAAK,aAAL;AACD;AACD,eAAK,MAAL,GAAc,OAAO,EAAE,OAAO,OAAT,CAAP,EAA0B,KAAK,WAA/B,EAA4C,KAAK,SAAjD,EAA4D,IAA5D,CAAiE,KAAK,WAAtE,CAAd;AACA,cAAI,KAAK,iBAAT,EAA4B;AAC1B,iBAAK,iBAAL,CAAuB,sBAAvB;AACD;AACD,cAAI,KAAK,QAAT,EAAmB;AACjB,iBAAK,MAAL,CAAY,KAAZ,CAAkB,OAAlB,GAA4B,UAAC,GAAD,EAAS;AACnC,kBAAI,iBAAJ,EAAsB;AACpB,sBAAK,MAAK,IAAL,CAAU,uBAAV,CAAkC,OAAlC,CAAL,IAAmD,IAAI,KAAvD;AACD;AACF,aAJD;AAKD;AACF,S;;6BAED,a,4BAAgB;AACd,cAAI,QAAQ,KAAK,SAAjB;AACA,cAAI,UAAU,KAAK,OAAnB;AACA,cAAI,MAAM,QAAQ,MAAlB;AACA,eAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,GAApB,EAAyB,GAAzB,EAA8B;AAC5B,gBAAI,OAAO,QAAQ,CAAR,CAAX;AACA,eAAG,YAAH,CAAgB,IAAhB,EAAsB,KAAK,UAAL,CAAgB,IAAhB,CAAtB,EAA6C,KAA7C;AACD;AACF,S;;6BAED,U,uBAAW,I,EAAM;AACf,cAAI,QAAQ,IAAZ;AACA,cAAI,QAAQ,UAAZ;AACA,iBAAO,UAAS,MAAT,EAAiB,KAAjB,EAAwB;AAC7B,gBAAI,UAAU,UAAd,EAA0B;AACxB,kBAAI,gBAAgB,MAAM,IAAN,CAAW,uBAAX,CAAmC,IAAnC,CAApB;AACA,sBAAQ,MAAM,aAAN,CAAR;AACA,kBAAI,UAAU,SAAd,EAAyB;AACvB,wBAAQ,KAAK,QAAL,CAAc,IAAd,CAAR;AACD;AACD,qBAAO,KAAP;AACD;AACD,gBAAI,WAAW,SAAf,EAA0B;AACxB,qBAAO,KAAP;AACD;AACD,gBAAI,UAAU,MAAd,EAAsB;AACpB,qBAAO,IAAP;AACD;AACD,oBAAQ,MAAR;AACA,gBAAI,CAAC,KAAD,IAAU,MAAM,IAAN,CAAW,QAAX,CAAoB,MAApB,CAAd,EAA4C;AAC1C,kBAAI,iBAAgB,MAAM,IAAN,CAAW,uBAAX,CAAmC,IAAnC,CAApB;AACA,oBAAM,cAAN,IAAuB,MAAvB;AACD;AACD,mBAAO,IAAP;AACD,WArBD;AAsBD,S;;6BAKD,gB,6BAAiB,O,EAAS;AACxB,cAAI,oBAAJ;AACA,cAAI,KAAK,SAAT,EAAoB;AAClB,0BAAc,KAAK,SAAnB;AACD,WAFD,MAEO;AACL,0BAAc,KAAK,IAAL,CAAU,UAAV,CAAqB,IAArB,EAA2B,KAAK,iBAAhC,CAAd;AACD;AACD,cAAI,cAAc,eAAe,OAAf,CAAlB;AACA,cAAI,KAAK,gBAAT,EAA2B;AACzB,iBAAK,kBAAL,CAAwB,WAAxB;AACD;AACD,iBAAO,OAAO,MAAP,CAAc,EAAd,EAAkB,WAAlB,EAA+B,WAA/B,CAAP;AACD,S;;6BAED,kB,+BAAmB,O,EAAS;AAC1B,cAAI,eAAe,KAAK,iBAAxB;AACA,cAAI,kBAAkB,KAAK,YAAL,CAAtB;AACA,cAAI,MAAM,gBAAgB,MAA1B;AACA,cAAI,GAAJ,EAAS;AACP,oBAAQ,YAAR,IAAwB,EAAxB;AACA,gBAAI,kBAAkB,gBAAgB,CAAhB,EAAmB,iBAAzC;AACA,iBAAK,IAAI,IAAI,CAAb,EAAgB,IAAI,GAApB,EAAyB,GAAzB,EAA8B;AAC5B,sBAAQ,YAAR,EAAsB,IAAtB,CAA2B,KAAK,IAAL,CAAU,UAAV,CAAqB,gBAAgB,CAAhB,CAArB,EAAyC,eAAzC,CAA3B;AACD;AACF;AACF,S;;6BAGD,Q,uBAAW;AACT,cAAI,KAAK,iBAAT,EAA4B;AAC1B,iBAAK,KAAK,iBAAV,EAA6B,OAA7B,CAAqC;AAAA,qBAAY,SAAS,YAAT,EAAZ;AAAA,aAArC;AACD;AACD,eAAK,IAAL,GAAY,IAAI,IAAJ,EAAZ;AACA,eAAK,YAAL,CAAkB,EAAE,SAAS,KAAK,OAAhB,EAAlB;AACD,S;;6BAOD,e,4BAAgB,Q,EAAU,Q,EAAU,Q,EAAU;AAC5C,cAAI,KAAK,MAAT,EAAiB;AACf,gBAAI,mBAAJ;AACA,gBAAI,OAAO,KAAK,IAAL,CAAU,sBAAV,CAAiC,IAAjC,EAAuC,QAAvC,CAAX;AACA,gBAAI,IAAJ,EAAU;AACR,kBAAI,SAAS,SAAb,EAAwB;AACtB,6BAAa,KAAK,MAAL,CAAY,KAAZ,CAAkB,IAAlB,CAAb;AACA,oBAAI,WAAW,OAAO,UAAP,KAAsB,UAArC;AACA,oBAAI,QAAJ,EAAc;AACZ,+BAAa,YAAb;AACD;AACD,oBAAI,eAAe,QAAnB,EAA6B;AAC3B,sBAAI,QAAJ,EAAc;AACZ,+BAAW,KAAK,UAAL,CAAgB,IAAhB,CAAX;AACD;AACD,uBAAK,MAAL,CAAY,MAAZ,CAAmB,IAAnB,EAAyB,QAAzB;AACD;AACF,eAZD,MAYO;AACL,qBAAK,MAAL,CAAY,MAAZ,CAAmB,QAAnB;AACD;AACF;AACF;AACF,S;;6BACD,Q,uBAAW;AACT,cAAI,KAAK,iBAAT,EAA4B;AAC1B,iBAAK,iBAAL,CAAuB,aAAvB;AACD;AACD,cAAI,KAAK,MAAT,EAAiB;AACf,iBAAK,MAAL,CAAY,OAAZ;AACD;AACF,S","file":"common/widget-base.js","sourceRoot":"/source/","sourcesContent":["import {getEventOption} from './events';\r\nimport {Util} from '../common/util';\r\nimport {delayed} from '../common/decorators';\r\n\r\nlet firstValue = {};\r\nexport class WidgetBase {\r\n/**\r\n* To Create an widget\r\n* @param option Object which contains Element in which widget will be created\r\n*/\r\n createWidget(option) {\r\n this.allOption = this.getWidgetOptions(option.element);\r\n if (!this.ejOptions && !this.isEditor) {\r\n this.createTwoWays();\r\n }\r\n this.widget = jQuery($(option.element))[this.controlName](this.allOption).data(this.controlName);\r\n if (this.templateProcessor) {\r\n this.templateProcessor.initWidgetDependancies();\r\n }\r\n if (this.isEditor) {\r\n this.widget.model._change = (evt) => {\r\n if ('eValue' in this) {\r\n this[this.util.getBindablePropertyName('value')] = evt.value;\r\n }\r\n };\r\n }\r\n }\r\n\r\n createTwoWays() {\r\n let model = this.allOption;\r\n let twoWays = this.twoWays;\r\n let len = twoWays.length;\r\n for (let i = 0; i < len; i++) {\r\n let prop = twoWays[i];\r\n ej.createObject(prop, this.addTwoways(prop), model);\r\n }\r\n }\r\n\r\n addTwoways(prop) {\r\n let model = this;\r\n let value = firstValue;\r\n return function(newVal, isApp) {\r\n if (value === firstValue) {\r\n let viewModelProp = model.util.getBindablePropertyName(prop);\r\n value = model[viewModelProp];\r\n if (value === undefined) {\r\n value = this.defaults[prop];\r\n }\r\n return value;\r\n }\r\n if (newVal === undefined) {\r\n return value;\r\n }\r\n if (value === newVal) {\r\n return null;\r\n }\r\n value = newVal;\r\n if (!isApp && model.util.hasValue(newVal) ) {\r\n let viewModelProp = model.util.getBindablePropertyName(prop);\r\n model[viewModelProp] = newVal;\r\n }\r\n return null;\r\n };\r\n }\r\n/**\r\n* To get property and event options from the element\r\n* @param element Element from which options are acquired\r\n*/\r\n getWidgetOptions(element) {\r\n let propOptions;\r\n if (this.ejOptions) {\r\n propOptions = this.ejOptions;\r\n } else {\r\n propOptions = this.util.getOptions(this, this.controlProperties);\r\n }\r\n let eventOption = getEventOption(element);\r\n if (this.hasChildProperty) {\r\n this.getChildProperties(propOptions);\r\n }\r\n return Object.assign({}, propOptions, eventOption);\r\n }\r\n\r\n getChildProperties(options) {\r\n let PropertyName = this.childPropertyName;\r\n let childCollection = this[PropertyName];\r\n let len = childCollection.length;\r\n if (len) {\r\n options[PropertyName] = [];\r\n let childProperties = childCollection[0].controlProperties;\r\n for (let i = 0; i < len; i++) {\r\n options[PropertyName].push(this.util.getOptions(childCollection[i], childProperties));\r\n }\r\n }\r\n }\r\n\r\n @delayed()\r\n attached() {\r\n if (this.templateProcessor) {\r\n this[this.childPropertyName].forEach(template => template.setTemplates());\r\n }\r\n this.util = new Util();\r\n this.createWidget({ element: this.element });\r\n }\r\n/**\r\n * To change widget model value\r\n * @param property The viewModel property name\r\n * @param newValue New value of the property\r\n * @param oldvalue Pld value of the property\r\n */\r\n propertyChanged(property, newValue, oldValue) {\r\n if (this.widget) {\r\n let modelValue;\r\n let prop = this.util.getControlPropertyName(this, property);\r\n if (prop) {\r\n if (prop !== 'options') {\r\n modelValue = this.widget.model[prop];\r\n let isTwoway = typeof modelValue === 'function';\r\n if (isTwoway) {\r\n modelValue = modelValue();\r\n }\r\n if (modelValue !== newValue) {\r\n if (isTwoway) {\r\n newValue = this.addTwoways(prop);\r\n }\r\n this.widget.option(prop, newValue);\r\n }\r\n } else {\r\n this.widget.option(newValue);\r\n }\r\n }\r\n }\r\n }\r\n detached() {\r\n if (this.templateProcessor) {\r\n this.templateProcessor.clearTempalte();\r\n }\r\n if (this.widget) {\r\n this.widget.destroy();\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/config-builder.js.map b/dist/dev/dist/dev/config-builder.js.map index d5368ebe0..3cc0da08c 100644 --- a/dist/dev/dist/dev/config-builder.js.map +++ b/dist/dev/dist/dev/config-builder.js.map @@ -1 +1 @@ -{"version":3,"sources":["config-builder.js"],"names":[],"mappings":";;;MAGa,eAAe;;;;;;;AAAf,qBAAe;iBAAf,eAAe;gCAAf,eAAe;;eAE1B,SAAS,GAAa,EAAE;eACxB,kBAAkB,GAAY,IAAI;;;AAHvB,uBAAe,WAQ1B,MAAM,GAAA,kBAAqB;AACzB,cAAI,CAAC,MAAM,EAAE,CACZ,OAAO,EAAE,CACT,KAAK,EAAE,CACP,SAAS,EAAE,CACX,gBAAgB,EAAE,CAClB,SAAS,EAAE,CACX,WAAW,EAAE,CACb,eAAe,EAAE,CACjB,UAAU,EAAE,CACZ,aAAa,EAAE,CACf,eAAe,EAAE,CACjB,aAAa,EAAE,CACf,cAAc,EAAE,CAChB,UAAU,EAAE,CACZ,YAAY,EAAE,CACd,OAAO,EAAE,CACT,UAAU,EAAE,CACZ,aAAa,EAAE,CACf,QAAQ,EAAE,CACV,UAAU,EAAE,CACZ,SAAS,EAAE,CACX,WAAW,EAAE,CACb,gBAAgB,EAAE,CAClB,iBAAiB,EAAE,CACnB,mBAAmB,EAAE,CACrB,YAAY,EAAE,CACd,SAAS,EAAE,CACX,MAAM,EAAE,CACR,UAAU,EAAE,CACZ,UAAU,EAAE,CACZ,QAAQ,EAAE,CACV,QAAQ,EAAE,CACV,aAAa,EAAE,CACf,QAAQ,EAAE,CACV,SAAS,EAAE,CACX,UAAU,EAAE,CACZ,kBAAkB,EAAE,CACpB,SAAS,EAAE,CACX,KAAK,EAAE,CACP,cAAc,EAAE,CAChB,cAAc,EAAE,CAChB,YAAY,EAAE,CACd,cAAc,EAAE,CAChB,MAAM,EAAE,CACR,WAAW,EAAE,CACb,KAAK,EAAE,CACP,UAAU,EAAE,CACZ,aAAa,EAAE,CACf,cAAc,EAAE,CAChB,aAAa,EAAE,CACf,aAAa,EAAE,CACf,gBAAgB,EAAE,CAClB,aAAa,EAAE,CACf,UAAU,EAAE,CACZ,QAAQ,EAAE,CACV,QAAQ,EAAE,CACV,cAAc,EAAE,CAChB,WAAW,EAAE,CACb,YAAY,EAAE,CACd,YAAY,EAAE,CACd,qBAAqB,EAAE,CACvB,cAAc,EAAE,CAChB,cAAc,EAAE,CAChB,UAAU,EAAE,CACZ,WAAW,EAAE,CACb,SAAS,EAAE,CACX,UAAU,EAAE,CAAC;AACd,iBAAO,IAAI,CAAC;SACb;;AA7EU,uBAAe,WAkF1B,sBAAsB,GAAA,kCAAoB;AACxC,cAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;AAChC,iBAAO,IAAI,CAAC;SACb;;AArFU,uBAAe,WAsF1B,MAAM,GAAA,kBAAoB;AACxB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AACnC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AACrC,iBAAO,IAAI,CAAC;SACb;;AA1FU,uBAAe,WA2F1B,OAAO,GAAA,mBAAoB;AACzB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AACrC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;AACtC,iBAAO,IAAI,CAAC;SACb;;AA/FU,uBAAe,WAgG1B,KAAK,GAAA,iBAAoB;AACvB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AACjC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AACnC,iBAAO,IAAI,CAAC;SACb;;AApGU,uBAAe,WAqG1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,iBAAO,IAAI,CAAC;SACb;;AAzGU,uBAAe,WA0G1B,gBAAgB,GAAA,4BAAoB;AAClC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;AACvD,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;AACpD,iBAAO,IAAI,CAAC;SACb;;AA9GU,uBAAe,WA+G1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AAlHU,uBAAe,WAmH1B,WAAW,GAAA,uBAAoB;AAC7B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC7C,iBAAO,IAAI,CAAC;SACb;;AAtHU,uBAAe,WAuH1B,eAAe,GAAA,2BAAoB;AACjC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;AACrD,iBAAO,IAAI,CAAC;SACb;;AA1HU,uBAAe,WA2H1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AA9HU,uBAAe,WA+H1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;AACtD,iBAAO,IAAI,CAAC;SACb;;AAnIU,uBAAe,WAoI1B,eAAe,GAAA,2BAAoB;AACjC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;AACrD,iBAAO,IAAI,CAAC;SACb;;AAvIU,uBAAe,WAwI1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AA3IU,uBAAe,WA4I1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AA/IU,uBAAe,WAgJ1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AAnJU,uBAAe,WAoJ1B,YAAY,GAAA,wBAAoB;AAC9B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AAC/C,iBAAO,IAAI,CAAC;SACb;;AAvJU,uBAAe,WAwJ1B,OAAO,GAAA,mBAAoB;AACzB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AACrC,iBAAO,IAAI,CAAC;SACb;;AA3JU,uBAAe,WA4J1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AAhKU,uBAAe,WAiK1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AApKU,uBAAe,WAqK1B,QAAQ,GAAA,oBAAoB;AAC1B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,iBAAO,IAAI,CAAC;SACb;;AAxKU,uBAAe,WAyK1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AA5KU,uBAAe,WA6K1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AAhLU,uBAAe,WAiL1B,WAAW,GAAA,uBAAoB;AAC7B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC7C,iBAAO,IAAI,CAAC;SACb;;AApLU,uBAAe,WAqL1B,gBAAgB,GAAA,4BAAoB;AAClC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;AACvD,iBAAO,IAAI,CAAC;SACb;;AAxLU,uBAAe,WAyL1B,iBAAiB,GAAA,6BAAoB;AACnC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;AACzD,iBAAO,IAAI,CAAC;SACb;;AA5LU,uBAAe,WA6L1B,mBAAmB,GAAA,+BAAoB;AACrC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAC;AAC7D,iBAAO,IAAI,CAAC;SACb;;AAhMU,uBAAe,WAiM1B,YAAY,GAAA,wBAAoB;AAC9B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AAC/C,iBAAO,IAAI,CAAC;SACb;;AApMU,uBAAe,WAqM1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AAxMU,uBAAe,WAyM1B,MAAM,GAAA,kBAAoB;AACxB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AACnC,iBAAO,IAAI,CAAC;SACb;;AA5MU,uBAAe,WA6M1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AAhNU,uBAAe,WAiN1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AApNU,uBAAe,WAqN1B,QAAQ,GAAA,oBAAoB;AAC1B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC7C,iBAAO,IAAI,CAAC;SACb;;AAzNU,uBAAe,WA0N1B,QAAQ,GAAA,oBAAoB;AAC1B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,iBAAO,IAAI,CAAC;SACb;;AA7NU,uBAAe,WA8N1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AAlOU,uBAAe,WAmO1B,QAAQ,GAAA,oBAAoB;AAC1B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,iBAAO,IAAI,CAAC;SACb;;AAtOU,uBAAe,WAuO1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AA1OU,uBAAe,WA2O1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AA9OU,uBAAe,WA+O1B,kBAAkB,GAAA,8BAAoB;AACpC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;AAC3D,iBAAO,IAAI,CAAC;SACb;;AAlPU,uBAAe,WAmP1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AAtPU,uBAAe,WAuP1B,KAAK,GAAA,iBAAoB;AACvB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AACjC,iBAAO,IAAI,CAAC;SACb;;AA1PU,uBAAe,WA2P1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AA9PU,uBAAe,WA+P1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AAlQU,uBAAe,WAmQ1B,YAAY,GAAA,wBAAoB;AAC9B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AAC/C,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AAvQU,uBAAe,WAwQ1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AA3QU,uBAAe,WA4Q1B,MAAM,GAAA,kBAAoB;AACxB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AACnC,iBAAO,IAAI,CAAC;SACb;;AA/QU,uBAAe,WAgR1B,WAAW,GAAA,uBAAoB;AAC7B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC7C,iBAAO,IAAI,CAAC;SACb;;AAnRU,uBAAe,WAoR1B,KAAK,GAAA,iBAAoB;AACvB,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AACjC,iBAAO,IAAI,CAAC;SACb;;AAvRU,uBAAe,WAwR1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AA3RU,uBAAe,WA4R1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AA/RU,uBAAe,WAgS1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AAnSU,uBAAe,WAoS1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AAvSU,uBAAe,WAwS1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AA3SU,uBAAe,WA4S1B,gBAAgB,GAAA,4BAAoB;AAClC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;AACvD,iBAAO,IAAI,CAAC;SACb;;AA/SU,uBAAe,WAgT1B,aAAa,GAAA,yBAAoB;AAC/B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;AACjD,iBAAO,IAAI,CAAC;SACb;;AAnTU,uBAAe,WAoT1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,iBAAO,IAAI,CAAC;SACb;;AAvTU,uBAAe,WAwT1B,QAAQ,GAAA,oBAAoB;AAC1B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,iBAAO,IAAI,CAAC;SACb;;AA3TU,uBAAe,WA4T1B,QAAQ,GAAA,oBAAoB;AAC1B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACvC,iBAAO,IAAI,CAAC;SACb;;AA/TU,uBAAe,WAgU1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AAnUU,uBAAe,WAoU1B,WAAW,GAAA,uBAAoB;AAC7B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC7C,iBAAO,IAAI,CAAC;SACb;;AAvUU,uBAAe,WAwU1B,YAAY,GAAA,wBAAoB;AAC9B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AAC/C,iBAAO,IAAI,CAAC;SACb;;AA3UU,uBAAe,WA4U1B,YAAY,GAAA,wBAAoB;AAC9B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AAC/C,iBAAO,IAAI,CAAC;SACb;;AA/UU,uBAAe,WAgV1B,qBAAqB,GAAA,iCAAoB;AACvC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;AACjE,iBAAO,IAAI,CAAC;SACb;;AAnVU,uBAAe,WAoV1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AAvVU,uBAAe,WAwV1B,cAAc,GAAA,0BAAoB;AAChC,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AA3VU,uBAAe,WA4V1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAC3C,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AACnD,iBAAO,IAAI,CAAC;SACb;;AAhWU,uBAAe,WAiW1B,WAAW,GAAA,uBAAoB;AAC7B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAC7C,iBAAO,IAAI,CAAC;SACb;;AApWU,uBAAe,WAqW1B,SAAS,GAAA,qBAAoB;AAC3B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;AAxWU,uBAAe,WAyW1B,UAAU,GAAA,sBAAoB;AAC5B,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzC,iBAAO,IAAI,CAAC;SACb;;eA5WU,eAAe","file":"config-builder.js","sourceRoot":"/source/","sourcesContent":["/**\r\n* Plugin configuration builder\r\n*/\r\nexport class EjConfigBuilder {\r\n\r\n resources: string[] = [];\r\n useGlobalResources: boolean = true;\r\n\r\n /**\r\n * Globally register all EJ wrappers including templating support\r\n */\r\n useAll() : EjConfigBuilder {\r\n this.ejGrid()\r\n .ejChart()\r\n .ejMap()\r\n .ejTreeMap()\r\n .ejRangeNavigator()\r\n .ejDiagram()\r\n .ejSparkline()\r\n .ejSymbolPalette()\r\n .ejOverview()\r\n .ejBulletGraph()\r\n .ejCircularGauge()\r\n .ejLinearGauge()\r\n .ejDigitalGauge()\r\n .ejSplitter()\r\n .ejDatePicker()\r\n .ejGantt()\r\n .ejTreeGrid()\r\n .ejColorPicker()\r\n .ejDialog()\r\n .ejScroller()\r\n .ejBarcode()\r\n .ejPdfViewer()\r\n .ejNumericTextbox()\r\n .ejCurrencyTextbox()\r\n .ejPercentageTextbox()\r\n .ejTimePicker()\r\n .ejToolbar()\r\n .ejMenu()\r\n .ejMaskEdit()\r\n .ejTreeView()\r\n .ejKanban()\r\n .ejRibbon()\r\n .ejSpreadsheet()\r\n .ejRating()\r\n .ejListBox()\r\n .ejListView()\r\n .ejNavigationDrawer()\r\n .ejRotator()\r\n .ejRTE()\r\n .ejDropDownList()\r\n .ejAutocomplete()\r\n .ejRadialMenu()\r\n .ejRadialSlider()\r\n .ejTile()\r\n .ejAccordion()\r\n .ejTab()\r\n .ejCheckBox()\r\n .ejRadioButton()\r\n .ejToggleButton()\r\n .ejSplitButton()\r\n .ejGroupButton()\r\n .ejDateTimePicker()\r\n .ejProgressBar()\r\n .ejTagCloud()\r\n .ejButton()\r\n .ejSlider()\r\n .ejFileExplorer()\r\n .ejPivotGrid()\r\n .ejPivotChart()\r\n .ejPivotGauge()\r\n .ejPivotSchemaDesigner()\r\n .ejWaitingPopup()\r\n .ejReportViewer()\r\n .ejSchedule()\r\n .ejUploadbox()\r\n .ejTooltip()\r\n .ejTemplate();\r\n return this;\r\n }\r\n /**\r\n * Don't globalize any resources\r\n * Allows you to import wrappers yourself via \r\n */\r\n withoutGlobalResources(): EjConfigBuilder {\r\n this.useGlobalResources = false;\r\n return this;\r\n }\r\n ejGrid(): EjConfigBuilder {\r\n this.resources.push('./grid/grid');\r\n this.resources.push('./grid/column');\r\n return this;\r\n }\r\n ejChart(): EjConfigBuilder {\r\n this.resources.push('./chart/chart');\r\n this.resources.push('./chart/series');\r\n return this;\r\n }\r\n ejMap(): EjConfigBuilder {\r\n this.resources.push('./map/map');\r\n this.resources.push('./map/layer');\r\n return this;\r\n }\r\n ejTreeMap(): EjConfigBuilder {\r\n this.resources.push('./treemap/treemap');\r\n this.resources.push('./treemap/level');\r\n return this;\r\n }\r\n ejRangeNavigator(): EjConfigBuilder {\r\n this.resources.push('./rangenavigator/rangenavigator');\r\n this.resources.push('./rangenavigator/rangeseries');\r\n return this;\r\n }\r\n ejDiagram(): EjConfigBuilder {\r\n this.resources.push('./diagram/diagram');\r\n return this;\r\n }\r\n ejSparkline(): EjConfigBuilder {\r\n this.resources.push('./sparkline/sparkline');\r\n return this;\r\n }\r\n ejSymbolPalette(): EjConfigBuilder {\r\n this.resources.push('./symbolpalette/symbolpalette');\r\n return this;\r\n }\r\n ejOverview(): EjConfigBuilder {\r\n this.resources.push('./overview/overview');\r\n return this;\r\n }\r\n ejBulletGraph(): EjConfigBuilder {\r\n this.resources.push('./bulletgraph/bulletgraph');\r\n this.resources.push('./bulletgraph/qualitativerange');\r\n return this;\r\n }\r\n ejCircularGauge(): EjConfigBuilder {\r\n this.resources.push('./circulargauge/circulargauge');\r\n return this;\r\n }\r\n ejLinearGauge(): EjConfigBuilder {\r\n this.resources.push('./lineargauge/lineargauge');\r\n return this;\r\n }\r\n ejDigitalGauge(): EjConfigBuilder {\r\n this.resources.push('./digitalgauge/digitalgauge');\r\n return this;\r\n }\r\n ejSplitter(): EjConfigBuilder {\r\n this.resources.push('./splitter/splitter');\r\n return this;\r\n }\r\n ejDatePicker(): EjConfigBuilder {\r\n this.resources.push('./datepicker/datepicker');\r\n return this;\r\n }\r\n ejGantt(): EjConfigBuilder {\r\n this.resources.push('./gantt/gantt');\r\n return this;\r\n }\r\n ejTreeGrid(): EjConfigBuilder {\r\n this.resources.push('./treegrid/treegrid');\r\n this.resources.push('./treegrid/treegridcolumn');\r\n return this;\r\n }\r\n ejColorPicker(): EjConfigBuilder {\r\n this.resources.push('./colorpicker/colorpicker');\r\n return this;\r\n }\r\n ejDialog(): EjConfigBuilder {\r\n this.resources.push('./dialog/dialog');\r\n return this;\r\n }\r\n ejScroller(): EjConfigBuilder {\r\n this.resources.push('./scroller/scroller');\r\n return this;\r\n }\r\n ejBarcode(): EjConfigBuilder {\r\n this.resources.push('./barcode/barcode');\r\n return this;\r\n }\r\n ejPdfViewer(): EjConfigBuilder {\r\n this.resources.push('./pdfviewer/pdfviewer');\r\n return this;\r\n }\r\n ejNumericTextbox(): EjConfigBuilder {\r\n this.resources.push('./numerictextbox/numerictextbox');\r\n return this;\r\n }\r\n ejCurrencyTextbox(): EjConfigBuilder {\r\n this.resources.push('./currencytextbox/currencytextbox');\r\n return this;\r\n }\r\n ejPercentageTextbox(): EjConfigBuilder {\r\n this.resources.push('./percentagetextbox/percentagetextbox');\r\n return this;\r\n }\r\n ejTimePicker(): EjConfigBuilder {\r\n this.resources.push('./timepicker/timepicker');\r\n return this;\r\n }\r\n ejToolbar(): EjConfigBuilder {\r\n this.resources.push('./toolbar/toolbar');\r\n return this;\r\n }\r\n ejMenu(): EjConfigBuilder {\r\n this.resources.push('./menu/menu');\r\n return this;\r\n }\r\n ejMaskEdit(): EjConfigBuilder {\r\n this.resources.push('./maskedit/maskedit');\r\n return this;\r\n }\r\n ejTreeView(): EjConfigBuilder {\r\n this.resources.push('./treeview/treeview');\r\n return this;\r\n }\r\n ejKanban(): EjConfigBuilder {\r\n this.resources.push('./kanban/kanban');\r\n this.resources.push('./kanban/kanbancolumn');\r\n return this;\r\n }\r\n ejRibbon(): EjConfigBuilder {\r\n this.resources.push('./ribbon/ribbon');\r\n return this;\r\n }\r\n ejSpreadsheet(): EjConfigBuilder {\r\n this.resources.push('./spreadsheet/spreadsheet');\r\n this.resources.push('./spreadsheet/sheet');\r\n return this;\r\n }\r\n ejRating(): EjConfigBuilder {\r\n this.resources.push('./rating/rating');\r\n return this;\r\n }\r\n ejListBox(): EjConfigBuilder {\r\n this.resources.push('./listbox/listbox');\r\n return this;\r\n }\r\n ejListView(): EjConfigBuilder {\r\n this.resources.push('./listview/listview');\r\n return this;\r\n }\r\n ejNavigationDrawer(): EjConfigBuilder {\r\n this.resources.push('./navigationdrawer/navigationdrawer');\r\n return this;\r\n }\r\n ejRotator(): EjConfigBuilder {\r\n this.resources.push('./rotator/rotator');\r\n return this;\r\n }\r\n ejRTE(): EjConfigBuilder {\r\n this.resources.push('./rte/rte');\r\n return this;\r\n }\r\n ejDropDownList(): EjConfigBuilder {\r\n this.resources.push('./dropdownlist/dropdownlist');\r\n return this;\r\n }\r\n ejAutocomplete(): EjConfigBuilder {\r\n this.resources.push('./autocomplete/autocomplete');\r\n return this;\r\n }\r\n ejRadialMenu(): EjConfigBuilder {\r\n this.resources.push('./radialmenu/radialmenu');\r\n this.resources.push('./radialmenu/item');\r\n return this;\r\n }\r\n ejRadialSlider(): EjConfigBuilder {\r\n this.resources.push('./radialslider/radialslider');\r\n return this;\r\n }\r\n ejTile(): EjConfigBuilder {\r\n this.resources.push('./tile/tile');\r\n return this;\r\n }\r\n ejAccordion(): EjConfigBuilder {\r\n this.resources.push('./accordion/accordion');\r\n return this;\r\n }\r\n ejTab(): EjConfigBuilder {\r\n this.resources.push('./tab/tab');\r\n return this;\r\n }\r\n ejCheckBox(): EjConfigBuilder {\r\n this.resources.push('./checkbox/checkbox');\r\n return this;\r\n }\r\n ejRadioButton(): EjConfigBuilder {\r\n this.resources.push('./radiobutton/radiobutton');\r\n return this;\r\n }\r\n ejToggleButton(): EjConfigBuilder {\r\n this.resources.push('./togglebutton/togglebutton');\r\n return this;\r\n }\r\n ejSplitButton(): EjConfigBuilder {\r\n this.resources.push('./splitbutton/splitbutton');\r\n return this;\r\n }\r\n ejGroupButton(): EjConfigBuilder {\r\n this.resources.push('./groupbutton/groupbutton');\r\n return this;\r\n }\r\n ejDateTimePicker(): EjConfigBuilder {\r\n this.resources.push('./datetimepicker/datetimepicker');\r\n return this;\r\n }\r\n ejProgressBar(): EjConfigBuilder {\r\n this.resources.push('./progressbar/progressbar');\r\n return this;\r\n }\r\n ejTagCloud(): EjConfigBuilder {\r\n this.resources.push('./tagcloud/tagcloud');\r\n return this;\r\n }\r\n ejButton(): EjConfigBuilder {\r\n this.resources.push('./button/button');\r\n return this;\r\n }\r\n ejSlider(): EjConfigBuilder {\r\n this.resources.push('./slider/slider');\r\n return this;\r\n }\r\n ejFileExplorer(): EjConfigBuilder {\r\n this.resources.push('./fileexplorer/fileexplorer');\r\n return this;\r\n }\r\n ejPivotGrid(): EjConfigBuilder {\r\n this.resources.push('./pivotgrid/pivotgrid');\r\n return this;\r\n }\r\n ejPivotChart(): EjConfigBuilder {\r\n this.resources.push('./pivotchart/pivotchart');\r\n return this;\r\n }\r\n ejPivotGauge(): EjConfigBuilder {\r\n this.resources.push('./pivotgauge/pivotgauge');\r\n return this;\r\n }\r\n ejPivotSchemaDesigner(): EjConfigBuilder {\r\n this.resources.push('./pivotschemadesigner/pivotschemadesigner');\r\n return this;\r\n }\r\n ejWaitingPopup(): EjConfigBuilder {\r\n this.resources.push('./waitingpopup/waitingpopup');\r\n return this;\r\n }\r\n ejReportViewer(): EjConfigBuilder {\r\n this.resources.push('./reportviewer/reportviewer');\r\n return this;\r\n }\r\n ejSchedule(): EjConfigBuilder {\r\n this.resources.push('./schedule/schedule');\r\n this.resources.push('./schedule/scheduleresource');\r\n return this;\r\n }\r\n ejUploadbox(): EjConfigBuilder {\r\n this.resources.push('./uploadbox/uploadbox');\r\n return this;\r\n }\r\n ejTooltip(): EjConfigBuilder {\r\n this.resources.push('./tooltip/tooltip');\r\n return this;\r\n }\r\n ejTemplate(): EjConfigBuilder {\r\n this.resources.push('./common/template');\r\n return this;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["config-builder.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;iCAGa,e;;;;eAEX,S,GAAsB,E;eACtB,kB,GAA8B,I;;;kCAK9B,M,qBAA2B;AACzB,eAAK,MAAL,GACC,OADD,GAEC,KAFD,GAGC,SAHD,GAIC,gBAJD,GAKC,SALD,GAMC,WAND,GAOC,eAPD,GAQC,UARD,GASC,aATD,GAUC,eAVD,GAWC,aAXD,GAYC,cAZD,GAaC,UAbD,GAcC,YAdD,GAeC,OAfD,GAgBC,UAhBD,GAiBC,aAjBD,GAkBC,QAlBD,GAmBC,UAnBD,GAoBC,SApBD,GAqBC,WArBD,GAsBC,gBAtBD,GAuBC,iBAvBD,GAwBC,mBAxBD,GAyBC,YAzBD,GA0BC,SA1BD,GA2BC,MA3BD,GA4BC,UA5BD,GA6BC,UA7BD,GA8BC,QA9BD,GA+BC,QA/BD,GAgCC,aAhCD,GAiCC,QAjCD,GAkCC,SAlCD,GAmCC,UAnCD,GAoCC,kBApCD,GAqCC,SArCD,GAsCC,KAtCD,GAuCC,cAvCD,GAwCC,cAxCD,GAyCC,YAzCD,GA0CC,cA1CD,GA2CC,MA3CD,GA4CC,WA5CD,GA6CC,KA7CD,GA8CC,UA9CD,GA+CC,aA/CD,GAgDC,cAhDD,GAiDC,aAjDD,GAkDC,aAlDD,GAmDC,gBAnDD,GAoDC,aApDD,GAqDC,UArDD,GAsDC,QAtDD,GAuDC,QAvDD,GAwDC,cAxDD,GAyDC,WAzDD,GA0DC,YA1DD,GA2DC,YA3DD,GA4DC,qBA5DD,GA6DC,cA7DD,GA8DC,cA9DD,GA+DC,UA/DD,GAgEC,WAhED,GAiEC,SAjED,GAkEC,UAlED;AAmEA,iBAAO,IAAP;AACD,S;;kCAKD,sB,qCAA0C;AACxC,eAAK,kBAAL,GAA0B,KAA1B;AACA,iBAAO,IAAP;AACD,S;;kCACD,M,qBAA0B;AACxB,eAAK,SAAL,CAAe,IAAf,CAAoB,aAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,eAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,O,sBAA2B;AACzB,eAAK,SAAL,CAAe,IAAf,CAAoB,eAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,gBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,K,oBAAyB;AACvB,eAAK,SAAL,CAAe,IAAf,CAAoB,WAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,aAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,gB,+BAAoC;AAClC,eAAK,SAAL,CAAe,IAAf,CAAoB,iCAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,8BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,W,0BAA+B;AAC7B,eAAK,SAAL,CAAe,IAAf,CAAoB,uBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,e,8BAAmC;AACjC,eAAK,SAAL,CAAe,IAAf,CAAoB,+BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,gCAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,e,8BAAmC;AACjC,eAAK,SAAL,CAAe,IAAf,CAAoB,+BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Y,2BAAgC;AAC9B,eAAK,SAAL,CAAe,IAAf,CAAoB,yBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,O,sBAA2B;AACzB,eAAK,SAAL,CAAe,IAAf,CAAoB,eAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Q,uBAA4B;AAC1B,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,W,0BAA+B;AAC7B,eAAK,SAAL,CAAe,IAAf,CAAoB,uBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,gB,+BAAoC;AAClC,eAAK,SAAL,CAAe,IAAf,CAAoB,iCAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,iB,gCAAqC;AACnC,eAAK,SAAL,CAAe,IAAf,CAAoB,mCAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,mB,kCAAuC;AACrC,eAAK,SAAL,CAAe,IAAf,CAAoB,uCAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Y,2BAAgC;AAC9B,eAAK,SAAL,CAAe,IAAf,CAAoB,yBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,M,qBAA0B;AACxB,eAAK,SAAL,CAAe,IAAf,CAAoB,aAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Q,uBAA4B;AAC1B,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,uBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Q,uBAA4B;AAC1B,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Q,uBAA4B;AAC1B,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,kB,iCAAsC;AACpC,eAAK,SAAL,CAAe,IAAf,CAAoB,qCAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,K,oBAAyB;AACvB,eAAK,SAAL,CAAe,IAAf,CAAoB,WAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Y,2BAAgC;AAC9B,eAAK,SAAL,CAAe,IAAf,CAAoB,yBAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,M,qBAA0B;AACxB,eAAK,SAAL,CAAe,IAAf,CAAoB,aAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,W,0BAA+B;AAC7B,eAAK,SAAL,CAAe,IAAf,CAAoB,uBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,K,oBAAyB;AACvB,eAAK,SAAL,CAAe,IAAf,CAAoB,WAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,gB,+BAAoC;AAClC,eAAK,SAAL,CAAe,IAAf,CAAoB,iCAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,a,4BAAiC;AAC/B,eAAK,SAAL,CAAe,IAAf,CAAoB,2BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Q,uBAA4B;AAC1B,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Q,uBAA4B;AAC1B,eAAK,SAAL,CAAe,IAAf,CAAoB,iBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,W,0BAA+B;AAC7B,eAAK,SAAL,CAAe,IAAf,CAAoB,uBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Y,2BAAgC;AAC9B,eAAK,SAAL,CAAe,IAAf,CAAoB,yBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,Y,2BAAgC;AAC9B,eAAK,SAAL,CAAe,IAAf,CAAoB,yBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,qB,oCAAyC;AACvC,eAAK,SAAL,CAAe,IAAf,CAAoB,2CAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,c,6BAAkC;AAChC,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,qBAApB;AACA,eAAK,SAAL,CAAe,IAAf,CAAoB,6BAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,W,0BAA+B;AAC7B,eAAK,SAAL,CAAe,IAAf,CAAoB,uBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,S,wBAA6B;AAC3B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S;;kCACD,U,yBAA8B;AAC5B,eAAK,SAAL,CAAe,IAAf,CAAoB,mBAApB;AACA,iBAAO,IAAP;AACD,S","file":"config-builder.js","sourceRoot":"/source/","sourcesContent":["/**\r\n* Plugin configuration builder\r\n*/\r\nexport class EjConfigBuilder {\r\n\r\n resources: string[] = [];\r\n useGlobalResources: boolean = true;\r\n\r\n /**\r\n * Globally register all EJ wrappers including templating support\r\n */\r\n useAll() : EjConfigBuilder {\r\n this.ejGrid()\r\n .ejChart()\r\n .ejMap()\r\n .ejTreeMap()\r\n .ejRangeNavigator()\r\n .ejDiagram()\r\n .ejSparkline()\r\n .ejSymbolPalette()\r\n .ejOverview()\r\n .ejBulletGraph()\r\n .ejCircularGauge()\r\n .ejLinearGauge()\r\n .ejDigitalGauge()\r\n .ejSplitter()\r\n .ejDatePicker()\r\n .ejGantt()\r\n .ejTreeGrid()\r\n .ejColorPicker()\r\n .ejDialog()\r\n .ejScroller()\r\n .ejBarcode()\r\n .ejPdfViewer()\r\n .ejNumericTextbox()\r\n .ejCurrencyTextbox()\r\n .ejPercentageTextbox()\r\n .ejTimePicker()\r\n .ejToolbar()\r\n .ejMenu()\r\n .ejMaskEdit()\r\n .ejTreeView()\r\n .ejKanban()\r\n .ejRibbon()\r\n .ejSpreadsheet()\r\n .ejRating()\r\n .ejListBox()\r\n .ejListView()\r\n .ejNavigationDrawer()\r\n .ejRotator()\r\n .ejRTE()\r\n .ejDropDownList()\r\n .ejAutocomplete()\r\n .ejRadialMenu()\r\n .ejRadialSlider()\r\n .ejTile()\r\n .ejAccordion()\r\n .ejTab()\r\n .ejCheckBox()\r\n .ejRadioButton()\r\n .ejToggleButton()\r\n .ejSplitButton()\r\n .ejGroupButton()\r\n .ejDateTimePicker()\r\n .ejProgressBar()\r\n .ejTagCloud()\r\n .ejButton()\r\n .ejSlider()\r\n .ejFileExplorer()\r\n .ejPivotGrid()\r\n .ejPivotChart()\r\n .ejPivotGauge()\r\n .ejPivotSchemaDesigner()\r\n .ejWaitingPopup()\r\n .ejReportViewer()\r\n .ejSchedule()\r\n .ejUploadbox()\r\n .ejTooltip()\r\n .ejTemplate();\r\n return this;\r\n }\r\n /**\r\n * Don't globalize any resources\r\n * Allows you to import wrappers yourself via \r\n */\r\n withoutGlobalResources(): EjConfigBuilder {\r\n this.useGlobalResources = false;\r\n return this;\r\n }\r\n ejGrid(): EjConfigBuilder {\r\n this.resources.push('./grid/grid');\r\n this.resources.push('./grid/column');\r\n return this;\r\n }\r\n ejChart(): EjConfigBuilder {\r\n this.resources.push('./chart/chart');\r\n this.resources.push('./chart/series');\r\n return this;\r\n }\r\n ejMap(): EjConfigBuilder {\r\n this.resources.push('./map/map');\r\n this.resources.push('./map/layer');\r\n return this;\r\n }\r\n ejTreeMap(): EjConfigBuilder {\r\n this.resources.push('./treemap/treemap');\r\n this.resources.push('./treemap/level');\r\n return this;\r\n }\r\n ejRangeNavigator(): EjConfigBuilder {\r\n this.resources.push('./rangenavigator/rangenavigator');\r\n this.resources.push('./rangenavigator/rangeseries');\r\n return this;\r\n }\r\n ejDiagram(): EjConfigBuilder {\r\n this.resources.push('./diagram/diagram');\r\n return this;\r\n }\r\n ejSparkline(): EjConfigBuilder {\r\n this.resources.push('./sparkline/sparkline');\r\n return this;\r\n }\r\n ejSymbolPalette(): EjConfigBuilder {\r\n this.resources.push('./symbolpalette/symbolpalette');\r\n return this;\r\n }\r\n ejOverview(): EjConfigBuilder {\r\n this.resources.push('./overview/overview');\r\n return this;\r\n }\r\n ejBulletGraph(): EjConfigBuilder {\r\n this.resources.push('./bulletgraph/bulletgraph');\r\n this.resources.push('./bulletgraph/qualitativerange');\r\n return this;\r\n }\r\n ejCircularGauge(): EjConfigBuilder {\r\n this.resources.push('./circulargauge/circulargauge');\r\n return this;\r\n }\r\n ejLinearGauge(): EjConfigBuilder {\r\n this.resources.push('./lineargauge/lineargauge');\r\n return this;\r\n }\r\n ejDigitalGauge(): EjConfigBuilder {\r\n this.resources.push('./digitalgauge/digitalgauge');\r\n return this;\r\n }\r\n ejSplitter(): EjConfigBuilder {\r\n this.resources.push('./splitter/splitter');\r\n return this;\r\n }\r\n ejDatePicker(): EjConfigBuilder {\r\n this.resources.push('./datepicker/datepicker');\r\n return this;\r\n }\r\n ejGantt(): EjConfigBuilder {\r\n this.resources.push('./gantt/gantt');\r\n return this;\r\n }\r\n ejTreeGrid(): EjConfigBuilder {\r\n this.resources.push('./treegrid/treegrid');\r\n this.resources.push('./treegrid/treegridcolumn');\r\n return this;\r\n }\r\n ejColorPicker(): EjConfigBuilder {\r\n this.resources.push('./colorpicker/colorpicker');\r\n return this;\r\n }\r\n ejDialog(): EjConfigBuilder {\r\n this.resources.push('./dialog/dialog');\r\n return this;\r\n }\r\n ejScroller(): EjConfigBuilder {\r\n this.resources.push('./scroller/scroller');\r\n return this;\r\n }\r\n ejBarcode(): EjConfigBuilder {\r\n this.resources.push('./barcode/barcode');\r\n return this;\r\n }\r\n ejPdfViewer(): EjConfigBuilder {\r\n this.resources.push('./pdfviewer/pdfviewer');\r\n return this;\r\n }\r\n ejNumericTextbox(): EjConfigBuilder {\r\n this.resources.push('./numerictextbox/numerictextbox');\r\n return this;\r\n }\r\n ejCurrencyTextbox(): EjConfigBuilder {\r\n this.resources.push('./currencytextbox/currencytextbox');\r\n return this;\r\n }\r\n ejPercentageTextbox(): EjConfigBuilder {\r\n this.resources.push('./percentagetextbox/percentagetextbox');\r\n return this;\r\n }\r\n ejTimePicker(): EjConfigBuilder {\r\n this.resources.push('./timepicker/timepicker');\r\n return this;\r\n }\r\n ejToolbar(): EjConfigBuilder {\r\n this.resources.push('./toolbar/toolbar');\r\n return this;\r\n }\r\n ejMenu(): EjConfigBuilder {\r\n this.resources.push('./menu/menu');\r\n return this;\r\n }\r\n ejMaskEdit(): EjConfigBuilder {\r\n this.resources.push('./maskedit/maskedit');\r\n return this;\r\n }\r\n ejTreeView(): EjConfigBuilder {\r\n this.resources.push('./treeview/treeview');\r\n return this;\r\n }\r\n ejKanban(): EjConfigBuilder {\r\n this.resources.push('./kanban/kanban');\r\n this.resources.push('./kanban/kanbancolumn');\r\n return this;\r\n }\r\n ejRibbon(): EjConfigBuilder {\r\n this.resources.push('./ribbon/ribbon');\r\n return this;\r\n }\r\n ejSpreadsheet(): EjConfigBuilder {\r\n this.resources.push('./spreadsheet/spreadsheet');\r\n this.resources.push('./spreadsheet/sheet');\r\n return this;\r\n }\r\n ejRating(): EjConfigBuilder {\r\n this.resources.push('./rating/rating');\r\n return this;\r\n }\r\n ejListBox(): EjConfigBuilder {\r\n this.resources.push('./listbox/listbox');\r\n return this;\r\n }\r\n ejListView(): EjConfigBuilder {\r\n this.resources.push('./listview/listview');\r\n return this;\r\n }\r\n ejNavigationDrawer(): EjConfigBuilder {\r\n this.resources.push('./navigationdrawer/navigationdrawer');\r\n return this;\r\n }\r\n ejRotator(): EjConfigBuilder {\r\n this.resources.push('./rotator/rotator');\r\n return this;\r\n }\r\n ejRTE(): EjConfigBuilder {\r\n this.resources.push('./rte/rte');\r\n return this;\r\n }\r\n ejDropDownList(): EjConfigBuilder {\r\n this.resources.push('./dropdownlist/dropdownlist');\r\n return this;\r\n }\r\n ejAutocomplete(): EjConfigBuilder {\r\n this.resources.push('./autocomplete/autocomplete');\r\n return this;\r\n }\r\n ejRadialMenu(): EjConfigBuilder {\r\n this.resources.push('./radialmenu/radialmenu');\r\n this.resources.push('./radialmenu/item');\r\n return this;\r\n }\r\n ejRadialSlider(): EjConfigBuilder {\r\n this.resources.push('./radialslider/radialslider');\r\n return this;\r\n }\r\n ejTile(): EjConfigBuilder {\r\n this.resources.push('./tile/tile');\r\n return this;\r\n }\r\n ejAccordion(): EjConfigBuilder {\r\n this.resources.push('./accordion/accordion');\r\n return this;\r\n }\r\n ejTab(): EjConfigBuilder {\r\n this.resources.push('./tab/tab');\r\n return this;\r\n }\r\n ejCheckBox(): EjConfigBuilder {\r\n this.resources.push('./checkbox/checkbox');\r\n return this;\r\n }\r\n ejRadioButton(): EjConfigBuilder {\r\n this.resources.push('./radiobutton/radiobutton');\r\n return this;\r\n }\r\n ejToggleButton(): EjConfigBuilder {\r\n this.resources.push('./togglebutton/togglebutton');\r\n return this;\r\n }\r\n ejSplitButton(): EjConfigBuilder {\r\n this.resources.push('./splitbutton/splitbutton');\r\n return this;\r\n }\r\n ejGroupButton(): EjConfigBuilder {\r\n this.resources.push('./groupbutton/groupbutton');\r\n return this;\r\n }\r\n ejDateTimePicker(): EjConfigBuilder {\r\n this.resources.push('./datetimepicker/datetimepicker');\r\n return this;\r\n }\r\n ejProgressBar(): EjConfigBuilder {\r\n this.resources.push('./progressbar/progressbar');\r\n return this;\r\n }\r\n ejTagCloud(): EjConfigBuilder {\r\n this.resources.push('./tagcloud/tagcloud');\r\n return this;\r\n }\r\n ejButton(): EjConfigBuilder {\r\n this.resources.push('./button/button');\r\n return this;\r\n }\r\n ejSlider(): EjConfigBuilder {\r\n this.resources.push('./slider/slider');\r\n return this;\r\n }\r\n ejFileExplorer(): EjConfigBuilder {\r\n this.resources.push('./fileexplorer/fileexplorer');\r\n return this;\r\n }\r\n ejPivotGrid(): EjConfigBuilder {\r\n this.resources.push('./pivotgrid/pivotgrid');\r\n return this;\r\n }\r\n ejPivotChart(): EjConfigBuilder {\r\n this.resources.push('./pivotchart/pivotchart');\r\n return this;\r\n }\r\n ejPivotGauge(): EjConfigBuilder {\r\n this.resources.push('./pivotgauge/pivotgauge');\r\n return this;\r\n }\r\n ejPivotSchemaDesigner(): EjConfigBuilder {\r\n this.resources.push('./pivotschemadesigner/pivotschemadesigner');\r\n return this;\r\n }\r\n ejWaitingPopup(): EjConfigBuilder {\r\n this.resources.push('./waitingpopup/waitingpopup');\r\n return this;\r\n }\r\n ejReportViewer(): EjConfigBuilder {\r\n this.resources.push('./reportviewer/reportviewer');\r\n return this;\r\n }\r\n ejSchedule(): EjConfigBuilder {\r\n this.resources.push('./schedule/schedule');\r\n this.resources.push('./schedule/scheduleresource');\r\n return this;\r\n }\r\n ejUploadbox(): EjConfigBuilder {\r\n this.resources.push('./uploadbox/uploadbox');\r\n return this;\r\n }\r\n ejTooltip(): EjConfigBuilder {\r\n this.resources.push('./tooltip/tooltip');\r\n return this;\r\n }\r\n ejTemplate(): EjConfigBuilder {\r\n this.resources.push('./common/template');\r\n return this;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/currencytextbox/currencytextbox.js.map b/dist/dev/dist/dev/currencytextbox/currencytextbox.js.map index b7bf61c25..1653b5a39 100644 --- a/dist/dev/dist/dev/currencytextbox/currencytextbox.js.map +++ b/dist/dev/dist/dev/currencytextbox/currencytextbox.js.map @@ -1 +1 @@ -{"version":3,"sources":["currencytextbox/currencytextbox.js"],"names":[],"mappings":";;;yEAOa,iBAAiB;;;;;;;;sCAPtB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,uBAAiB;kBAAjB,iBAAiB;;AACjB,iBADA,iBAAiB,CAChB,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;iCALU,iBAAiB;AAAjB,yBAAiB,GAD7B,MAAM,CAAC,OAAO,CAAC,CACH,iBAAiB,KAAjB,iBAAiB;AAAjB,yBAAiB,GAF7B,iBAAiB,CAAC,mBAAmB,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEtc,iBAAiB,KAAjB,iBAAiB;AAAjB,yBAAiB,GAH7B,eAAe,CAAI,SAAS,CAAC,eAAe,sBAAmB,CAGnD,iBAAiB,KAAjB,iBAAiB;eAAjB,iBAAiB;SAAS,UAAU","file":"currencytextbox/currencytextbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.editor.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}currency-textbox`)\r\n@generateBindables('ejCurrencyTextbox', ['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'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejCurrencyTextbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["currencytextbox/currencytextbox.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;mCAO3C,iB,WAHZ,gBAAmB,UAAU,eAA7B,sB,UACA,kBAAkB,mBAAlB,EAAuC,CAAC,UAAD,EAAa,eAAb,EAA8B,SAA9B,EAAyC,mBAAzC,EAA8D,WAA9D,EAA2E,kBAA3E,EAA+F,WAA/F,EAA4G,gBAA5G,EAA8H,QAA9H,EAAwI,gBAAxI,EAA0J,eAA1J,EAA2K,QAA3K,EAAqL,UAArL,EAAiM,UAAjM,EAA6M,MAA7M,EAAqN,iBAArN,EAAwO,iBAAxO,EAA2P,UAA3P,EAAuQ,mBAAvQ,EAA4R,gBAA5R,EAA8S,gBAA9S,EAAgU,mBAAhU,EAAqV,iBAArV,EAAwW,OAAxW,EAAiX,eAAjX,EAAkY,OAAlY,CAAvC,EAAmb,EAAnb,EAAub,EAAC,aAAa,WAAd,EAAvb,C,UACA,OAAO,OAAP,C;;;AAEC,mCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QALoC,U","file":"currencytextbox/currencytextbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.editor.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}currency-textbox`)\r\n@generateBindables('ejCurrencyTextbox', ['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'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejCurrencyTextbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/datepicker/datepicker.js.map b/dist/dev/dist/dev/datepicker/datepicker.js.map index 1de6d64b0..afa074be6 100644 --- a/dist/dev/dist/dev/datepicker/datepicker.js.map +++ b/dist/dev/dist/dev/datepicker/datepicker.js.map @@ -1 +1 @@ -{"version":3,"sources":["datepicker/datepicker.js"],"names":[],"mappings":";;;yEAOa,YAAY;;;;;;;;sCAPjB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,kBAAY;kBAAZ,YAAY;;AACZ,iBADA,YAAY,CACX,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;4BALU,YAAY;AAAZ,oBAAY,GADxB,MAAM,CAAC,OAAO,CAAC,CACH,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAFxB,iBAAiB,CAAC,cAAc,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAElpB,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAHxB,eAAe,CAAI,SAAS,CAAC,eAAe,iBAAc,CAG9C,YAAY,KAAZ,YAAY;eAAZ,YAAY;SAAS,UAAU","file":"datepicker/datepicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.datepicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}date-picker`)\r\n@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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejDatePicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["datepicker/datepicker.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;8BAO3C,Y,WAHZ,gBAAmB,UAAU,eAA7B,iB,UACA,kBAAkB,cAAlB,EAAkC,CAAC,WAAD,EAAc,gBAAd,EAAgC,eAAhC,EAAiD,YAAjD,EAA+D,UAA/D,EAA2E,YAA3E,EAAyF,iBAAzF,EAA4G,YAA5G,EAA0H,eAA1H,EAA2I,iBAA3I,EAA8J,SAA9J,EAAyK,mBAAzK,EAA8L,WAA9L,EAA2M,kBAA3M,EAA+N,QAA/N,EAAyO,cAAzO,EAAyP,QAAzP,EAAmQ,kBAAnQ,EAAuR,kBAAvR,EAA2S,gBAA3S,EAA6T,QAA7T,EAAuU,SAAvU,EAAkV,SAAlV,EAA6V,UAA7V,EAAyW,YAAzW,EAAuX,iBAAvX,EAA0Y,iBAA1Y,EAA6Z,mBAA7Z,EAAkb,aAAlb,EAAic,cAAjc,EAAid,UAAjd,EAA6d,YAA7d,EAA2e,YAA3e,EAAyf,eAAzf,EAA0gB,mBAA1gB,EAA+hB,iBAA/hB,EAAkjB,OAAljB,EAA2jB,eAA3jB,EAA4kB,OAA5kB,CAAlC,EAAwnB,CAAC,OAAD,CAAxnB,EAAmoB,EAAC,aAAa,WAAd,EAAnoB,C,UACA,OAAO,OAAP,C;;;AAEC,8BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QAL+B,U","file":"datepicker/datepicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.datepicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}date-picker`)\r\n@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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejDatePicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/datetimepicker/datetimepicker.js.map b/dist/dev/dist/dev/datetimepicker/datetimepicker.js.map index 693346011..9b9256fcc 100644 --- a/dist/dev/dist/dev/datetimepicker/datetimepicker.js.map +++ b/dist/dev/dist/dev/datetimepicker/datetimepicker.js.map @@ -1 +1 @@ -{"version":3,"sources":["datetimepicker/datetimepicker.js"],"names":[],"mappings":";;;yEAOa,gBAAgB;;;;;;;;sCAPrB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,sBAAgB;kBAAhB,gBAAgB;;AAChB,iBADA,gBAAgB,CACf,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;gCALU,gBAAgB;AAAhB,wBAAgB,GAD5B,MAAM,CAAC,OAAO,CAAC,CACH,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAF5B,iBAAiB,CAAC,kBAAkB,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,cAAc,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAErjB,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAH5B,eAAe,CAAI,SAAS,CAAC,eAAe,sBAAmB,CAGnD,gBAAgB,KAAhB,gBAAgB;eAAhB,gBAAgB;SAAS,UAAU","file":"datetimepicker/datetimepicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.datetimepicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}date-time-picker`)\r\n@generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejDateTimePicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["datetimepicker/datetimepicker.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;kCAO3C,gB,WAHZ,gBAAmB,UAAU,eAA7B,sB,UACA,kBAAkB,kBAAlB,EAAsC,CAAC,YAAD,EAAe,UAAf,EAA2B,gBAA3B,EAA6C,iBAA7C,EAAgE,YAAhE,EAA8E,iBAA9E,EAAiG,SAAjG,EAA4G,mBAA5G,EAAiI,WAAjI,EAA8I,kBAA9I,EAAkK,cAAlK,EAAkL,QAAlL,EAA4L,gBAA5L,EAA8M,UAA9M,EAA0N,QAA1N,EAAoO,aAApO,EAAmP,aAAnP,EAAkQ,eAAlQ,EAAmR,UAAnR,EAA+R,iBAA/R,EAAkT,iBAAlT,EAAqU,mBAArU,EAA0V,UAA1V,EAAsW,YAAtW,EAAoX,YAApX,EAAkY,mBAAlY,EAAuZ,eAAvZ,EAAwa,gBAAxa,EAA0b,mBAA1b,EAA+c,iBAA/c,EAAke,OAAle,EAA2e,OAA3e,CAAtC,EAA2hB,CAAC,OAAD,CAA3hB,EAAsiB,EAAC,aAAa,WAAd,EAAtiB,C,UACA,OAAO,OAAP,C;;;AAEC,kCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QALmC,U","file":"datetimepicker/datetimepicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.datetimepicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}date-time-picker`)\r\n@generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejDateTimePicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/diagram/diagram.js.map b/dist/dev/dist/dev/diagram/diagram.js.map index 3973e4181..e4e82d607 100644 --- a/dist/dev/dist/dev/diagram/diagram.js.map +++ b/dist/dev/dist/dev/diagram/diagram.js.map @@ -1 +1 @@ -{"version":3,"sources":["diagram/diagram.js"],"names":[],"mappings":";;;mFAQa,SAAS;;;;;;;;oCARd,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,eAAS;kBAAT,SAAS;;AACT,iBADA,SAAS,CACR,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;yBAJU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,aAAa,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,UAAU,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAEnc,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,SAAS,KAAT,SAAS;AAAT,iBAAS,GAJrB,aAAa,CAAI,SAAS,CAAC,aAAa,aAAU,CAItC,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"diagram/diagram.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.diagram.min';\r\n\r\n@customElement(`${constants.elementPrefix}diagram`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])\r\n@inject(Element)\r\nexport class ejDiagram extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["diagram/diagram.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;2BAQrD,S,WAJZ,cAAiB,UAAU,aAA3B,a,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,WAAlB,EAA+B,CAAC,iBAAD,EAAoB,iBAApB,EAAuC,iBAAvC,EAA0D,gBAA1D,EAA4E,YAA5E,EAA0F,mBAA1F,EAA+G,aAA/G,EAA8H,aAA9H,EAA6I,oBAA7I,EAAmK,iBAAnK,EAAsL,UAAtL,EAAkM,kBAAlM,EAAsN,mBAAtN,EAA2O,QAA3O,EAAqP,gBAArP,EAAuQ,QAAvQ,EAAiR,QAAjR,EAA2R,OAA3R,EAAoS,cAApS,EAAoT,cAApT,EAAoU,gBAApU,EAAsV,eAAtV,EAAuW,aAAvW,EAAsX,cAAtX,EAAsY,MAAtY,EAA8Y,SAA9Y,EAAyZ,OAAzZ,EAAka,YAAla,CAA/B,C,UACA,OAAO,OAAP,C;;;AAEC,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ4B,U","file":"diagram/diagram.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.diagram.min';\r\n\r\n@customElement(`${constants.elementPrefix}diagram`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])\r\n@inject(Element)\r\nexport class ejDiagram extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/dialog/dialog.js.map b/dist/dev/dist/dev/dialog/dialog.js.map index 78627d923..8fdbf7677 100644 --- a/dist/dev/dist/dev/dialog/dialog.js.map +++ b/dist/dev/dist/dev/dialog/dialog.js.map @@ -1 +1 @@ -{"version":3,"sources":["dialog/dialog.js"],"names":[],"mappings":";;;mFAQa,QAAQ;;;;;;;;oCARb,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,cAAQ;kBAAR,QAAQ;;AACR,iBADA,QAAQ,CACP,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;wBAJU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,OAAO,CAAC,CACH,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAFpB,iBAAiB,CAAC,UAAU,EAAE,CAAC,eAAe,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAExf,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAHpB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAJpB,aAAa,CAAI,SAAS,CAAC,aAAa,YAAS,CAIrC,QAAQ,KAAR,QAAQ;eAAR,QAAQ;SAAS,UAAU","file":"dialog/dialog.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.dialog.min';\r\n\r\n@customElement(`${constants.elementPrefix}dialog`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejDialog extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["dialog/dialog.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;0BAQrD,Q,WAJZ,cAAiB,UAAU,aAA3B,Y,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,UAAlB,EAA8B,CAAC,eAAD,EAAkB,gBAAlB,EAAoC,yBAApC,EAA+D,WAA/D,EAA4E,eAA5E,EAA6F,aAA7F,EAA4G,aAA5G,EAA2H,YAA3H,EAAyI,UAAzI,EAAqJ,iBAArJ,EAAwK,SAAxK,EAAmL,aAAnL,EAAkM,mBAAlM,EAAuN,cAAvN,EAAuO,WAAvO,EAAoP,YAApP,EAAkQ,QAAlQ,EAA4Q,cAA5Q,EAA4R,QAA5R,EAAsS,WAAtS,EAAmT,UAAnT,EAA+T,WAA/T,EAA4U,UAA5U,EAAwV,UAAxV,EAAoW,YAApW,EAAkX,YAAlX,EAAgY,mBAAhY,EAAqZ,QAArZ,EAA+Z,OAA/Z,EAAwa,SAAxa,EAAmb,OAAnb,EAA4b,QAA5b,CAA9B,EAAqe,EAAre,EAAye,EAAC,aAAa,WAAd,EAAze,C,UACA,OAAO,OAAP,C;;;AAEC,0BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ2B,U","file":"dialog/dialog.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.dialog.min';\r\n\r\n@customElement(`${constants.elementPrefix}dialog`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejDialog extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/digitalgauge/digitalgauge.js.map b/dist/dev/dist/dev/digitalgauge/digitalgauge.js.map index 88d77d57e..52538848d 100644 --- a/dist/dev/dist/dev/digitalgauge/digitalgauge.js.map +++ b/dist/dev/dist/dev/digitalgauge/digitalgauge.js.map @@ -1 +1 @@ -{"version":3,"sources":["digitalgauge/digitalgauge.js"],"names":[],"mappings":";;;mFAQa,cAAc;;;;;;;;oCARnB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAEhJ,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,cAAc,KAAd,cAAc;AAAd,sBAAc,GAJ1B,aAAa,CAAI,SAAS,CAAC,aAAa,mBAAgB,CAI5C,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"digitalgauge/digitalgauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.digitalgauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}digital-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])\r\n@inject(Element)\r\nexport class ejDigitalGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["digitalgauge/digitalgauge.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAQrD,c,WAJZ,cAAiB,UAAU,aAA3B,mB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,OAAD,EAAU,QAAV,EAAoB,cAApB,EAAoC,OAApC,EAA6C,mBAA7C,EAAkE,aAAlE,EAAiF,QAAjF,EAA2F,OAA3F,EAAoG,OAApG,CAApC,EAAkJ,CAAC,OAAD,CAAlJ,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"digitalgauge/digitalgauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.digitalgauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}digital-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])\r\n@inject(Element)\r\nexport class ejDigitalGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/dropdownlist/dropdownlist.js.map b/dist/dev/dist/dev/dropdownlist/dropdownlist.js.map index b75193d24..7cb362711 100644 --- a/dist/dev/dist/dev/dropdownlist/dropdownlist.js.map +++ b/dist/dev/dist/dev/dropdownlist/dropdownlist.js.map @@ -1 +1 @@ -{"version":3,"sources":["dropdownlist/dropdownlist.js"],"names":[],"mappings":";;;yEAOa,cAAc;;;;;;;;sCAPnB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,WAAW,EAAE,qBAAqB,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,mBAAmB,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC,CAEtwB,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,eAAe,CAAI,SAAS,CAAC,eAAe,oBAAiB,CAGjD,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"dropdownlist/dropdownlist.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.dropdownlist.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}drop-down-list`)\r\n@generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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'})\r\n@inject(Element)\r\nexport class ejDropDownList extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["dropdownlist/dropdownlist.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAO3C,c,WAHZ,gBAAmB,UAAU,eAA7B,oB,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,WAAD,EAAc,qBAAd,EAAqC,UAArC,EAAiD,YAAjD,EAA+D,eAA/D,EAAgF,iBAAhF,EAAmG,SAAnG,EAA8G,yBAA9G,EAAyI,oBAAzI,EAA+J,mBAA/J,EAAoL,mBAApL,EAAyM,WAAzM,EAAsN,eAAtN,EAAuO,QAAvO,EAAiP,YAAjP,EAA+P,gBAA/P,EAAiR,QAAjR,EAA2R,gBAA3R,EAA6S,YAA7S,EAA2T,gBAA3T,EAA6U,gBAA7U,EAA+V,eAA/V,EAAgX,eAAhX,EAAiY,iBAAjY,EAAoZ,aAApZ,EAAma,YAAna,EAAib,OAAjb,EAA0b,UAA1b,EAAsc,eAAtc,EAAud,iBAAvd,EAA0e,cAA1e,EAA0f,iBAA1f,EAA6gB,mBAA7gB,EAAkiB,WAAliB,EAA+iB,UAA/iB,EAA2jB,UAA3jB,EAAukB,MAAvkB,EAA+kB,mBAA/kB,EAAomB,iBAApmB,EAAunB,OAAvnB,EAAgoB,eAAhoB,EAAipB,OAAjpB,EAA0pB,mBAA1pB,CAApC,EAAotB,CAAC,OAAD,CAAptB,EAA+tB,EAAC,aAAa,WAAd,EAA2B,YAAY,UAAvC,EAA/tB,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"dropdownlist/dropdownlist.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.dropdownlist.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}drop-down-list`)\r\n@generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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'})\r\n@inject(Element)\r\nexport class ejDropDownList extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/fileexplorer/fileexplorer.js.map b/dist/dev/dist/dev/fileexplorer/fileexplorer.js.map index 441116307..0e035a696 100644 --- a/dist/dev/dist/dev/fileexplorer/fileexplorer.js.map +++ b/dist/dev/dist/dev/fileexplorer/fileexplorer.js.map @@ -1 +1 @@ -{"version":3,"sources":["fileexplorer/fileexplorer.js"],"names":[],"mappings":";;;mFAQa,cAAc;;;;;;;;oCARnB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,qBAAqB,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,EAAE,oBAAoB,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE9gB,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,cAAc,KAAd,cAAc;AAAd,sBAAc,GAJ1B,aAAa,CAAI,SAAS,CAAC,aAAa,mBAAgB,CAI5C,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"fileexplorer/fileexplorer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.fileexplorer.min';\r\n\r\n@customElement(`${constants.elementPrefix}file-explorer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejFileExplorer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["fileexplorer/fileexplorer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAQrD,c,WAJZ,cAAiB,UAAU,aAA3B,mB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,YAAD,EAAe,cAAf,EAA+B,cAA/B,EAA+C,qBAA/C,EAAsE,UAAtE,EAAkF,cAAlF,EAAkG,WAAlG,EAA+G,WAA/G,EAA4H,gBAA5H,EAA8I,cAA9I,EAA8J,QAA9J,EAAwK,cAAxK,EAAwL,QAAxL,EAAkM,QAAlM,EAA4M,WAA5M,EAAyN,UAAzN,EAAqO,WAArO,EAAkP,UAAlP,EAA8P,MAA9P,EAAsQ,gBAAtQ,EAAwR,eAAxR,EAAyS,cAAzS,EAAyT,iBAAzT,EAA4U,YAA5U,EAA0V,mBAA1V,EAA+W,eAA/W,EAAgY,aAAhY,EAA+Y,oBAA/Y,EAAqa,OAAra,EAA8a,WAA9a,EAA2b,gBAA3b,EAA6c,OAA7c,CAApC,EAA2f,EAA3f,EAA+f,EAAC,aAAa,WAAd,EAA/f,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"fileexplorer/fileexplorer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.fileexplorer.min';\r\n\r\n@customElement(`${constants.elementPrefix}file-explorer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejFileExplorer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/gantt/gantt.js.map b/dist/dev/dist/dev/gantt/gantt.js.map index c9d989a44..ba97ce62f 100644 --- a/dist/dev/dist/dev/gantt/gantt.js.map +++ b/dist/dev/dist/dev/gantt/gantt.js.map @@ -1 +1 @@ -{"version":3,"sources":["gantt/gantt.js"],"names":[],"mappings":";;;mFAQa,OAAO;;;;;;;;oCARZ,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,aAAO;kBAAP,OAAO;;AACP,iBADA,OAAO,CACN,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;uBAJU,OAAO;AAAP,eAAO,GADnB,MAAM,CAAC,OAAO,CAAC,CACH,OAAO,KAAP,OAAO;AAAP,eAAO,GAFnB,iBAAiB,CAAC,SAAS,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,cAAc,EAAE,6BAA6B,EAAE,eAAe,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,cAAc,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,cAAc,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,iBAAiB,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,WAAW,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,cAAc,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,kBAAkB,CAAC,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC,CAErsD,OAAO,KAAP,OAAO;AAAP,eAAO,GAHnB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,OAAO,KAAP,OAAO;AAAP,eAAO,GAJnB,aAAa,CAAI,SAAS,CAAC,aAAa,WAAQ,CAIpC,OAAO,KAAP,OAAO;eAAP,OAAO;SAAS,UAAU","file":"gantt/gantt.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.gantt.min';\r\n\r\n@customElement(`${constants.elementPrefix}gantt`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])\r\n@inject(Element)\r\nexport class ejGantt extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["gantt/gantt.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;yBAQrD,O,WAJZ,cAAiB,UAAU,aAA3B,W,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,SAAlB,EAA6B,CAAC,iBAAD,EAAoB,mBAApB,EAAyC,wBAAzC,EAAmE,yBAAnE,EAA8F,mBAA9F,EAAmH,gBAAnH,EAAqI,cAArI,EAAqJ,6BAArJ,EAAoL,eAApL,EAAqM,wBAArM,EAA+N,0BAA/N,EAA2P,cAA3P,EAA2Q,yBAA3Q,EAAsS,oBAAtS,EAA4T,UAA5T,EAAwU,YAAxU,EAAsV,YAAtV,EAAoW,iBAApW,EAAuX,cAAvX,EAAuY,kBAAvY,EAA2Z,kBAA3Z,EAA+a,cAA/a,EAA+b,cAA/b,EAA+c,mBAA/c,EAAoe,mBAApe,EAAyf,2BAAzf,EAAshB,cAAthB,EAAsiB,0BAAtiB,EAAkkB,sBAAlkB,EAA0lB,sBAA1lB,EAAknB,gBAAlnB,EAAooB,mBAApoB,EAAypB,UAAzpB,EAAqqB,gBAArqB,EAAurB,QAAvrB,EAAisB,kBAAjsB,EAAqtB,6BAArtB,EAAovB,yBAApvB,EAA+wB,qBAA/wB,EAAsyB,oBAAtyB,EAA4zB,uBAA5zB,EAAq1B,mBAAr1B,EAA02B,4BAA12B,EAAw4B,8BAAx4B,EAAw6B,iBAAx6B,EAA27B,OAA37B,EAAo8B,gBAAp8B,EAAs9B,mBAAt9B,EAA2+B,qBAA3+B,EAAkgC,qBAAlgC,EAAyhC,WAAzhC,EAAsiC,wBAAtiC,EAAgkC,WAAhkC,EAA6kC,iBAA7kC,EAAgmC,wBAAhmC,EAA0nC,mBAA1nC,EAA+oC,cAA/oC,EAA+pC,kBAA/pC,EAAmrC,mBAAnrC,EAAwsC,qBAAxsC,EAA+tC,2BAA/tC,EAA4vC,oBAA5vC,EAAkxC,mBAAlxC,EAAuyC,eAAvyC,EAAwzC,cAAxzC,EAAw0C,cAAx0C,EAAw1C,kBAAx1C,EAA42C,kBAA52C,EAAg4C,YAAh4C,EAA84C,mBAA94C,EAAm6C,+BAAn6C,EAAo8C,iCAAp8C,EAAu+C,wBAAv+C,EAAigD,0BAAjgD,EAA6hD,eAA7hD,EAA8iD,iBAA9iD,EAAikD,iBAAjkD,EAAolD,iBAAplD,EAAumD,mBAAvmD,EAA4nD,kBAA5nD,CAA7B,EAA8qD,CAAC,YAAD,EAAe,kBAAf,CAA9qD,C,UACA,OAAO,OAAP,C;;;AAEC,yBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ0B,U","file":"gantt/gantt.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.gantt.min';\r\n\r\n@customElement(`${constants.elementPrefix}gantt`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])\r\n@inject(Element)\r\nexport class ejGantt extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/grid/column.js.map b/dist/dev/dist/dev/grid/column.js.map index e2a0496f0..eceb79447 100644 --- a/dist/dev/dist/dev/grid/column.js.map +++ b/dist/dev/dist/dev/grid/column.js.map @@ -1 +1 @@ -{"version":3,"sources":["grid/column.js"],"names":[],"mappings":";;;+EAMa,MAAM;;;;;;;;;;iCANX,UAAU;oCAAE,aAAa;+BAAE,QAAQ;gCAAE,SAAS;wCAAE,iBAAiB;2BAAE,IAAI;;;AAMlE,YAAM;;;iBAAN,MAAM;;;;;;AAAN,cAAM,WAEjB,YAAY,GAAA,wBAAG;AACb,cAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;AACpB,gBAAI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;AACtB,gBAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;WAC5E;SACF;;8BAPU,MAAM;;uBAChB,QAAQ,CAAI,SAAS,CAAC,aAAa,cAAW;;mBAAY,EAAE;;;;;sBADlD,MAAM;AAAN,cAAM,GAFlB,iBAAiB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,kBAAkB,EAAE,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAElhB,MAAM,KAAN,MAAM;AAAN,cAAM,GAHlB,aAAa,CAAI,SAAS,CAAC,aAAa,YAAS,CAGrC,MAAM,KAAN,MAAM;AAAN,cAAM,GAJlB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,MAAM,KAAN,MAAM;eAAN,MAAM","file":"grid/column.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, children, constants, generateBindables, Util} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}column`)\r\n@generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])\r\n\r\nexport class Column {\r\n @children(`${constants.elementPrefix}template`) template = [];\r\n setTemplates() {\r\n if (this.template[0]) {\r\n let util = new Util();\r\n this[util.getBindablePropertyName('template')] = this.template[0].template;\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["grid/column.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;AAAU,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,U,iBAAA,I;;;wBAM9D,M,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,Y,UACA,kBAAkB,SAAlB,EAA6B,CAAC,UAAD,EAAa,cAAb,EAA6B,gBAA7B,EAA+C,eAA/C,EAAgE,cAAhE,EAAgF,eAAhF,EAAiG,UAAjG,EAA6G,UAA7G,EAAyH,kBAAzH,EAA6I,YAA7I,EAA2J,cAA3J,EAA2K,mBAA3K,EAAgM,mBAAhM,EAAqN,YAArN,EAAmO,cAAnO,EAAmP,UAAnP,EAA+P,OAA/P,EAAwQ,iBAAxQ,EAA2R,iBAA3R,EAA8S,QAA9S,EAAwT,kBAAxT,EAA4U,YAA5U,EAA0V,iBAA1V,EAA6W,UAA7W,EAAyX,YAAzX,EAAuY,cAAvY,EAAuZ,qBAAvZ,EAA8a,UAA9a,EAA0b,WAA1b,EAAuc,SAAvc,EAAkd,MAAld,EAA0d,iBAA1d,EAA6e,SAA7e,EAAwf,OAAxf,CAA7B,C,UAGE,SAAY,UAAU,aAAtB,c;;;;;;;yBACD,Y,2BAAe;AACb,cAAI,KAAK,QAAL,CAAc,CAAd,CAAJ,EAAsB;AACpB,gBAAI,OAAO,IAAI,IAAJ,EAAX;AACA,iBAAK,KAAK,uBAAL,CAA6B,UAA7B,CAAL,IAAiD,KAAK,QAAL,CAAc,CAAd,EAAiB,QAAlE;AACD;AACF,S;;;;;;iBAN0D,E","file":"grid/column.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, children, constants, generateBindables, Util} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}column`)\r\n@generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])\r\n\r\nexport class Column {\r\n @children(`${constants.elementPrefix}template`) template = [];\r\n setTemplates() {\r\n if (this.template[0]) {\r\n let util = new Util();\r\n this[util.getBindablePropertyName('template')] = this.template[0].template;\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/grid/grid.js.map b/dist/dev/dist/dev/grid/grid.js.map index 98d9855f8..bef9b7f0f 100644 --- a/dist/dev/dist/dev/grid/grid.js.map +++ b/dist/dev/dist/dev/grid/grid.js.map @@ -1 +1 @@ -{"version":3,"sources":["grid/grid.js"],"names":[],"mappings":";;;kIAQa,MAAM;;;;;;;;;;;;6BARX,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;uCAAE,gBAAgB;wCAAE,iBAAiB;;;AAQrH,YAAM;;;kBAAN,MAAM;;8BAAN,MAAM;;uBAChB,QAAQ,CAAI,SAAS,CAAC,aAAa,YAAS;;mBAAW,EAAE;;;;;AAC/C,iBAFA,MAAM,CAEL,OAAO,EAAE,cAAc,EAAE;;;AACnC,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;AACnC,cAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;AACrE,cAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;SACvC;;sBATU,MAAM;AAAN,cAAM,GADlB,MAAM,CAAC,OAAO,EAAE,gBAAgB,CAAC,CACrB,MAAM,KAAN,MAAM;AAAN,cAAM,GAFlB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,kBAAkB,EAAE,eAAe,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,cAAc,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,eAAe,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,wBAAwB,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,qBAAqB,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,iCAAiC,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,mBAAmB,EAAE,aAAa,EAAE,kBAAkB,EAAE,iBAAiB,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAErkC,MAAM,KAAN,MAAM;AAAN,cAAM,GAHlB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,MAAM,KAAN,MAAM;AAAN,cAAM,GAJlB,aAAa,CAAI,SAAS,CAAC,aAAa,UAAO,CAInC,MAAM,KAAN,MAAM;eAAN,MAAM;SAAS,UAAU","file":"grid/grid.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor} from '../common/common';\r\n\r\nimport 'ej.grid.min';\r\n\r\n@customElement(`${constants.elementPrefix}grid`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], {'enableRTL': 'enableRtl'})\r\n@inject(Element, TemplatingEngine)\r\nexport class ejGrid extends WidgetBase {\r\n @children(`${constants.elementPrefix}column`) columns = [];\r\n constructor(element, templateEngine) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'columns';\r\n this.templateProcessor = new TemplateProcessor(this, templateEngine);\r\n this.templateProcessor.initTemplate();\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["grid/grid.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;AAAU,sB,iBAAA,gB;AAAkB,uB,iBAAA,iB;;;wBAQpG,M,WAJZ,cAAiB,UAAU,aAA3B,U,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,QAAlB,EAA4B,CAAC,kBAAD,EAAqB,eAArB,EAAsC,yBAAtC,EAAiE,gBAAjE,EAAmF,cAAnF,EAAmG,mBAAnG,EAAwH,aAAxH,EAAuI,iBAAvI,EAA0J,kBAA1J,EAA8K,eAA9K,EAA+L,qBAA/L,EAAsN,gBAAtN,EAAwO,gBAAxO,EAA0P,gBAA1P,EAA4Q,eAA5Q,EAA6R,wBAA7R,EAAuT,aAAvT,EAAsU,WAAtU,EAAmV,WAAnV,EAAgW,cAAhW,EAAgX,SAAhX,EAA2X,qBAA3X,EAAkZ,UAAlZ,EAA8Z,YAA9Z,EAA4a,iBAA5a,EAA+b,cAA/b,EAA+c,cAA/c,EAA+d,iCAA/d,EAAkgB,mBAAlgB,EAAuhB,mBAAvhB,EAA4iB,qBAA5iB,EAAmkB,gBAAnkB,EAAqlB,WAArlB,EAAkmB,aAAlmB,EAAinB,gBAAjnB,EAAmoB,eAAnoB,EAAopB,cAAppB,EAAoqB,aAApqB,EAAmrB,QAAnrB,EAA6rB,UAA7rB,EAAysB,cAAzsB,EAAytB,OAAztB,EAAkuB,aAAluB,EAAivB,iBAAjvB,EAAowB,gBAApwB,EAAsxB,iBAAtxB,EAAyyB,kBAAzyB,EAA6zB,mBAA7zB,EAAk1B,eAAl1B,EAAm2B,gBAAn2B,EAAq3B,mBAAr3B,EAA04B,mBAA14B,EAA+5B,aAA/5B,EAA86B,cAA96B,EAA87B,mBAA97B,EAAm9B,aAAn9B,EAAk+B,kBAAl+B,EAAs/B,iBAAt/B,CAA5B,EAAsiC,CAAC,YAAD,CAAtiC,EAAsjC,EAAC,aAAa,WAAd,EAAtjC,C,UACA,OAAO,OAAP,EAAgB,gBAAhB,C,UAEE,SAAY,UAAU,aAAtB,Y;;;AACD,wBAAY,OAAZ,EAAqB,cAArB,EAAqC;AAAA;;AAAA,uDACnC,sBADmC;;AAAA;;AAEnC,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,SAAzB;AACA,gBAAK,iBAAL,GAAyB,IAAI,iBAAJ,QAA4B,cAA5B,CAAzB;AACA,gBAAK,iBAAL,CAAuB,YAAvB;AANmC;AAOpC;;;QATyB,U;;;iBAC8B,E","file":"grid/grid.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor} from '../common/common';\r\n\r\nimport 'ej.grid.min';\r\n\r\n@customElement(`${constants.elementPrefix}grid`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], {'enableRTL': 'enableRtl'})\r\n@inject(Element, TemplatingEngine)\r\nexport class ejGrid extends WidgetBase {\r\n @children(`${constants.elementPrefix}column`) columns = [];\r\n constructor(element, templateEngine) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'columns';\r\n this.templateProcessor = new TemplateProcessor(this, templateEngine);\r\n this.templateProcessor.initTemplate();\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/groupbutton/groupbutton.js.map b/dist/dev/dist/dev/groupbutton/groupbutton.js.map index 4772d9e54..c79f8b366 100644 --- a/dist/dev/dist/dev/groupbutton/groupbutton.js.map +++ b/dist/dev/dist/dev/groupbutton/groupbutton.js.map @@ -1 +1 @@ -{"version":3,"sources":["groupbutton/groupbutton.js"],"names":[],"mappings":";;;yEAOa,aAAa;;;;;;;;sCAPlB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,mBAAa;kBAAb,aAAa;;AACb,iBADA,aAAa,CACZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;6BAJU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,aAAa,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAErN,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,eAAe,CAAI,SAAS,CAAC,eAAe,kBAAe,CAG/C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"groupbutton/groupbutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.groupbutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}group-button`)\r\n@generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejGroupButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["groupbutton/groupbutton.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;+BAO3C,a,WAHZ,gBAAmB,UAAU,eAA7B,kB,UACA,kBAAkB,eAAlB,EAAmC,CAAC,UAAD,EAAa,WAAb,EAA0B,SAA1B,EAAqC,iBAArC,EAAwD,QAAxD,EAAkE,gBAAlE,EAAoF,aAApF,EAAmG,mBAAnG,EAAwH,mBAAxH,EAA6I,MAA7I,EAAqJ,OAArJ,CAAnC,EAAkM,EAAlM,EAAsM,EAAC,aAAa,WAAd,EAAtM,C,UACA,OAAO,OAAP,C;;;AAEC,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJgC,U","file":"groupbutton/groupbutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.groupbutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}group-button`)\r\n@generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejGroupButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/index.js.map b/dist/dev/dist/dev/index.js.map index 28ce7a840..dd4f2b7b4 100644 --- a/dist/dev/dist/dev/index.js.map +++ b/dist/dev/dist/dev/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAEO,WAAS,SAAS,CAAC,OAAO,EAAE,cAAmD,EAAE;AACtF,QAAI,OAAO,GAAG,IAAI,eAAe,EAAE,CAAC;;AAEpC,QAAI,cAAc,KAAK,SAAS,IAAI,OAAO,cAAc,AAAC,KAAK,UAAU,EAAE;AACzE,oBAAc,CAAC,OAAO,CAAC,CAAC;KACzB;;AAGD,QAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;;AAElC,QAAI,OAAO,CAAC,kBAAkB,EAAE;AAC9B,aAAO,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;KACpC;GACF;;;;uCAfO,eAAe","file":"index.js","sourceRoot":"/source/","sourcesContent":["import {EjConfigBuilder} from './config-builder';\r\n\r\nexport function configure(aurelia, configCallback?: (builder: EjConfigBuilder) => void) {\r\n let builder = new EjConfigBuilder();\r\n\r\n if (configCallback !== undefined && typeof(configCallback) === 'function') {\r\n configCallback(builder);\r\n }\r\n\r\n // Pull the data off the builder\r\n let resources = builder.resources;\r\n\r\n if (builder.useGlobalResources) {\r\n aurelia.globalResources(resources);\r\n }\r\n}\r\n"]} \ No newline at end of file +{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;;AAAQ,qB,kBAAA,e;;;AAED,eAAS,SAAT,CAAmB,OAAnB,EAA4B,cAA5B,EAAiF;AACtF,YAAI,UAAU,IAAI,eAAJ,EAAd;;AAEA,YAAI,mBAAmB,SAAnB,IAAgC,OAAO,cAAP,KAA2B,UAA/D,EAA2E;AACzE,yBAAe,OAAf;AACD;;AAGD,YAAI,YAAY,QAAQ,SAAxB;;AAEA,YAAI,QAAQ,kBAAZ,EAAgC;AAC9B,kBAAQ,eAAR,CAAwB,SAAxB;AACD;AACF","file":"index.js","sourceRoot":"/source/","sourcesContent":["import {EjConfigBuilder} from './config-builder';\r\n\r\nexport function configure(aurelia, configCallback?: (builder: EjConfigBuilder) => void) {\r\n let builder = new EjConfigBuilder();\r\n\r\n if (configCallback !== undefined && typeof(configCallback) === 'function') {\r\n configCallback(builder);\r\n }\r\n\r\n // Pull the data off the builder\r\n let resources = builder.resources;\r\n\r\n if (builder.useGlobalResources) {\r\n aurelia.globalResources(resources);\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/kanban/kanban.js.map b/dist/dev/dist/dev/kanban/kanban.js.map index 4046d9def..56a29c9d3 100644 --- a/dist/dev/dist/dev/kanban/kanban.js.map +++ b/dist/dev/dist/dev/kanban/kanban.js.map @@ -1 +1 @@ -{"version":3,"sources":["kanban/kanban.js"],"names":[],"mappings":";;;6FAQa,QAAQ;;;;;;;;;;;;6BARb,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,cAAQ;;;kBAAR,QAAQ;;8BAAR,QAAQ;;uBAClB,QAAQ,CAAI,SAAS,CAAC,aAAa,mBAAgB;;mBAAW,EAAE;;;;;AACtD,iBAFA,QAAQ,CAEP,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;SACpC;;wBAPU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,OAAO,CAAC,CACH,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAFpB,iBAAiB,CAAC,UAAU,EAAE,CAAC,kBAAkB,EAAE,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,SAAS,EAAE,cAAc,EAAE,oBAAoB,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,gBAAgB,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE/jB,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAHpB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAJpB,aAAa,CAAI,SAAS,CAAC,aAAa,YAAS,CAIrC,QAAQ,KAAR,QAAQ;eAAR,QAAQ;SAAS,UAAU","file":"kanban/kanban.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'ej.kanban.min';\r\n\r\n@customElement(`${constants.elementPrefix}kanban`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejKanban extends WidgetBase {\r\n @children(`${constants.elementPrefix}kanban-column`) columns = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'columns';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["kanban/kanban.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;0BAQxE,Q,WAJZ,cAAiB,UAAU,aAA3B,Y,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,UAAlB,EAA8B,CAAC,kBAAD,EAAqB,YAArB,EAAmC,kBAAnC,EAAuD,mBAAvD,EAA4E,gBAA5E,EAA8F,gBAA9F,EAAgH,YAAhH,EAA8H,yBAA9H,EAAyJ,gBAAzJ,EAA2K,qBAA3K,EAAkM,SAAlM,EAA6M,cAA7M,EAA6N,oBAA7N,EAAmP,UAAnP,EAA+P,YAA/P,EAA6Q,WAA7Q,EAA0R,kBAA1R,EAA8S,cAA9S,EAA8T,QAA9T,EAAwU,UAAxU,EAAoV,cAApV,EAAoW,UAApW,EAAgX,gBAAhX,EAAkY,OAAlY,EAA2Y,aAA3Y,EAA0Z,gBAA1Z,EAA4a,gBAA5a,EAA8b,eAA9b,EAA+c,mBAA/c,EAAoe,iBAApe,EAAuf,QAAvf,CAA9B,EAAgiB,CAAC,YAAD,CAAhiB,EAAgjB,EAAC,aAAa,WAAd,EAAhjB,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,mB;;;AACD,0BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,SAAzB;AAJmB;AAKpB;;;QAP2B,U;;;iBACmC,E","file":"kanban/kanban.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'ej.kanban.min';\r\n\r\n@customElement(`${constants.elementPrefix}kanban`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejKanban extends WidgetBase {\r\n @children(`${constants.elementPrefix}kanban-column`) columns = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'columns';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/kanban/kanbancolumn.js.map b/dist/dev/dist/dev/kanban/kanbancolumn.js.map index 32f5ad842..1d8102e27 100644 --- a/dist/dev/dist/dev/kanban/kanbancolumn.js.map +++ b/dist/dev/dist/dev/kanban/kanbancolumn.js.map @@ -1 +1 @@ -{"version":3,"sources":["kanban/kanbancolumn.js"],"names":[],"mappings":";;;+DAMa,YAAY;;;;;;iCANjB,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,kBAAY;iBAAZ,YAAY;;;;4BAAZ,YAAY;AAAZ,oBAAY,GAFxB,iBAAiB,CAAC,SAAS,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,CAAC,CAAC,CAE5H,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAHxB,aAAa,CAAI,SAAS,CAAC,aAAa,mBAAgB,CAG5C,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAJxB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,YAAY,KAAZ,YAAY;eAAZ,YAAY","file":"kanban/kanbancolumn.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}kanban-column`)\r\n@generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])\r\n\r\nexport class KanbanColumn {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["kanban/kanbancolumn.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;8BAMjC,Y,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,mB,UACA,kBAAkB,SAAlB,EAA6B,CAAC,YAAD,EAAe,KAAf,EAAsB,aAAtB,EAAqC,aAArC,EAAoD,gBAApD,EAAsE,OAAtE,EAA+E,SAA/E,EAA0F,eAA1F,CAA7B,C","file":"kanban/kanbancolumn.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}kanban-column`)\r\n@generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])\r\n\r\nexport class KanbanColumn {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/lineargauge/lineargauge.js.map b/dist/dev/dist/dev/lineargauge/lineargauge.js.map index ea8e4fc6e..e15f82e27 100644 --- a/dist/dev/dist/dev/lineargauge/lineargauge.js.map +++ b/dist/dev/dist/dev/lineargauge/lineargauge.js.map @@ -1 +1 @@ -{"version":3,"sources":["lineargauge/lineargauge.js"],"names":[],"mappings":";;;mFAQa,aAAa;;;;;;;;oCARlB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,mBAAa;kBAAb,aAAa;;AACb,iBADA,aAAa,CACZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;6BAJU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAE,8BAA8B,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAEnY,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,aAAa,KAAb,aAAa;AAAb,qBAAa,GAJzB,aAAa,CAAI,SAAS,CAAC,aAAa,kBAAe,CAI3C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"lineargauge/lineargauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.lineargauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}linear-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])\r\n@inject(Element)\r\nexport class ejLinearGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["lineargauge/lineargauge.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;+BAQrD,a,WAJZ,cAAiB,UAAU,aAA3B,kB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,eAAlB,EAAmC,CAAC,gBAAD,EAAmB,iBAAnB,EAAsC,aAAtC,EAAqD,iBAArD,EAAwE,8BAAxE,EAAwG,cAAxG,EAAwH,OAAxH,EAAiI,QAAjI,EAA2I,YAA3I,EAAyJ,SAAzJ,EAAoK,SAApK,EAA+K,aAA/K,EAA8L,0BAA9L,EAA0N,kBAA1N,EAA8O,kBAA9O,EAAkQ,UAAlQ,EAA8Q,QAA9Q,EAAwR,OAAxR,EAAiS,WAAjS,EAA8S,SAA9S,EAAyT,OAAzT,EAAkU,OAAlU,CAAnC,EAA+W,CAAC,OAAD,EAAU,SAAV,EAAqB,SAArB,CAA/W,C,UACA,OAAO,OAAP,C;;;AAEC,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJgC,U","file":"lineargauge/lineargauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.lineargauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}linear-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])\r\n@inject(Element)\r\nexport class ejLinearGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/listbox/listbox.js.map b/dist/dev/dist/dev/listbox/listbox.js.map index 30c4fe450..a7253a4bc 100644 --- a/dist/dev/dist/dev/listbox/listbox.js.map +++ b/dist/dev/dist/dev/listbox/listbox.js.map @@ -1 +1 @@ -{"version":3,"sources":["listbox/listbox.js"],"names":[],"mappings":";;;yEAOa,SAAS;;;;;;;;sCAPd,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,eAAS;kBAAT,SAAS;;AACT,iBADA,SAAS,CACR,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;yBAJU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,EAAE,UAAU,EAAE,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC,CAEjiB,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,eAAe,CAAI,SAAS,CAAC,eAAe,cAAW,CAG3C,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"listbox/listbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.listbox.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}list-box`)\r\n@generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], {'enableRTL': 'enableRtl', 'targetID': 'targetId'})\r\n@inject(Element)\r\nexport class ejListBox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["listbox/listbox.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;2BAO3C,S,WAHZ,gBAAmB,UAAU,eAA7B,c,UACA,kBAAkB,WAAlB,EAA+B,CAAC,WAAD,EAAc,WAAd,EAA2B,qBAA3B,EAAkD,uBAAlD,EAA2E,qBAA3E,EAAkG,WAAlG,EAA+G,gBAA/G,EAAiI,UAAjI,EAA6I,YAA7I,EAA2J,SAA3J,EAAsK,yBAAtK,EAAiM,mBAAjM,EAAsN,WAAtN,EAAmO,QAAnO,EAA6O,QAA7O,EAAuP,YAAvP,EAAqQ,iBAArQ,EAAwR,kBAAxR,EAA4S,gBAA5S,EAA8T,OAA9T,EAAuU,eAAvU,EAAwV,iBAAxV,EAA2W,cAA3W,EAA2X,mBAA3X,EAAgZ,UAAhZ,EAA4Z,OAA5Z,EAAqa,mBAAra,EAA0b,OAA1b,EAAmc,UAAnc,CAA/B,EAA+e,CAAC,OAAD,CAA/e,EAA0f,EAAC,aAAa,WAAd,EAA2B,YAAY,UAAvC,EAA1f,C,UACA,OAAO,OAAP,C;;;AAEC,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ4B,U","file":"listbox/listbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.listbox.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}list-box`)\r\n@generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], {'enableRTL': 'enableRtl', 'targetID': 'targetId'})\r\n@inject(Element)\r\nexport class ejListBox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/listview/listview.js.map b/dist/dev/dist/dev/listview/listview.js.map index d3930e6b5..a1d91fba7 100644 --- a/dist/dev/dist/dev/listview/listview.js.map +++ b/dist/dev/dist/dev/listview/listview.js.map @@ -1 +1 @@ -{"version":3,"sources":["listview/listview.js"],"names":[],"mappings":";;;mFAQa,UAAU;;;;;;;;oCARf,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,sBAAsB,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC,CAE9X,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAJtB,aAAa,CAAI,SAAS,CAAC,aAAa,eAAY,CAIxC,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"listview/listview.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.listview.min';\r\n\r\n@customElement(`${constants.elementPrefix}list-view`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])\r\n@inject(Element)\r\nexport class ejListView extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["listview/listview.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAQrD,U,WAJZ,cAAiB,UAAU,aAA3B,e,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,YAAlB,EAAgC,CAAC,UAAD,EAAa,YAAb,EAA2B,YAA3B,EAAyC,aAAzC,EAAwD,iBAAxD,EAA2E,iBAA3E,EAA8F,iBAA9F,EAAiH,mBAAjH,EAAsI,eAAtI,EAAuJ,sBAAvJ,EAA+K,aAA/K,EAA8L,QAA9L,EAAwM,kBAAxM,EAA4N,kBAA5N,EAAgP,OAAhP,EAAyP,gBAAzP,EAA2Q,mBAA3Q,EAAgS,YAAhS,EAA8S,YAA9S,EAA4T,OAA5T,CAAhC,EAAsW,CAAC,YAAD,EAAe,mBAAf,CAAtW,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"listview/listview.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.listview.min';\r\n\r\n@customElement(`${constants.elementPrefix}list-view`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])\r\n@inject(Element)\r\nexport class ejListView extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/map/layer.js.map b/dist/dev/dist/dev/map/layer.js.map index eebbe7c60..91efedd6b 100644 --- a/dist/dev/dist/dev/map/layer.js.map +++ b/dist/dev/dist/dev/map/layer.js.map @@ -1 +1 @@ -{"version":3,"sources":["map/layer.js"],"names":[],"mappings":";;;+DAMa,KAAK;;;;;;iCANV,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,WAAK;iBAAL,KAAK;;;;qBAAL,KAAK;AAAL,aAAK,GAFjB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,SAAS,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC,CAE1X,KAAK,KAAL,KAAK;AAAL,aAAK,GAHjB,aAAa,CAAI,SAAS,CAAC,aAAa,WAAQ,CAGpC,KAAK,KAAL,KAAK;AAAL,aAAK,GAJjB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,KAAK,KAAL,KAAK;eAAL,KAAK","file":"map/layer.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}layer`)\r\n@generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])\r\n\r\nexport class Layer {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["map/layer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;uBAMjC,K,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,W,UACA,kBAAkB,QAAlB,EAA4B,CAAC,aAAD,EAAgB,gBAAhB,EAAkC,YAAlC,EAAgD,eAAhD,EAAiE,mBAAjE,EAAsF,kBAAtF,EAA0G,iBAA1G,EAA6H,KAA7H,EAAoI,eAApI,EAAqJ,WAArJ,EAAkK,gBAAlK,EAAoL,kBAApL,EAAwM,SAAxM,EAAmN,gBAAnN,EAAqO,mBAArO,EAA0P,eAA1P,EAA2Q,WAA3Q,EAAwR,eAAxR,EAAyS,cAAzS,EAAyT,aAAzT,EAAwU,iBAAxU,EAA2V,aAA3V,CAA5B,C","file":"map/layer.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}layer`)\r\n@generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])\r\n\r\nexport class Layer {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/map/map.js.map b/dist/dev/dist/dev/map/map.js.map index 5f3a77df2..53bd2995d 100644 --- a/dist/dev/dist/dev/map/map.js.map +++ b/dist/dev/dist/dev/map/map.js.map @@ -1 +1 @@ -{"version":3,"sources":["map/map.js"],"names":[],"mappings":";;;6FAQa,KAAK;;;;;;;;;;;;6BARV,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,WAAK;;;kBAAL,KAAK;;8BAAL,KAAK;;uBACf,QAAQ,CAAI,SAAS,CAAC,aAAa,WAAQ;;mBAAU,EAAE;;;;;AAC7C,iBAFA,KAAK,CAEJ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,QAAQ,CAAC;SACnC;;qBAPU,KAAK;AAAL,aAAK,GADjB,MAAM,CAAC,OAAO,CAAC,CACH,KAAK,KAAL,KAAK;AAAL,aAAK,GAFjB,iBAAiB,CAAC,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,QAAQ,CAAC,EAAE,CAAC,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,oCAAoC,EAAE,oCAAoC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,gCAAgC,CAAC,CAAC,CAE9iB,KAAK,KAAL,KAAK;AAAL,aAAK,GAHjB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,KAAK,KAAL,KAAK;AAAL,aAAK,GAJjB,aAAa,CAAI,SAAS,CAAC,aAAa,SAAM,CAIlC,KAAK,KAAL,KAAK;eAAL,KAAK;SAAS,UAAU","file":"map/map.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.map.min';\r\n\r\n@customElement(`${constants.elementPrefix}map`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])\r\n@inject(Element)\r\nexport class ejMap extends WidgetBase {\r\n @children(`${constants.elementPrefix}layer`) layers = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'layers';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["map/map.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;uBAQxE,K,WAJZ,cAAiB,UAAU,aAA3B,S,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,OAAlB,EAA2B,CAAC,YAAD,EAAe,cAAf,EAA+B,gBAA/B,EAAiD,iBAAjD,EAAoE,4BAApE,EAAkG,WAAlG,EAA+G,cAA/G,EAA+H,cAA/H,EAA+I,mBAA/I,EAAoK,QAApK,CAA3B,EAA0M,CAAC,cAAD,EAAiB,WAAjB,EAA8B,cAA9B,EAA8C,iBAA9C,EAAiE,oBAAjE,EAAuF,uBAAvF,EAAgH,uBAAhH,EAAyI,qBAAzI,EAAgK,yBAAhK,EAA2L,oCAA3L,EAAiO,oCAAjO,EAAuQ,+BAAvQ,EAAwS,oCAAxS,EAA8U,gCAA9U,CAA1M,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,W;;;AACD,uBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,QAAzB;AAJmB;AAKpB;;;QAPwB,U;;;iBAC6B,E","file":"map/map.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.map.min';\r\n\r\n@customElement(`${constants.elementPrefix}map`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])\r\n@inject(Element)\r\nexport class ejMap extends WidgetBase {\r\n @children(`${constants.elementPrefix}layer`) layers = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'layers';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/maskedit/maskedit.js.map b/dist/dev/dist/dev/maskedit/maskedit.js.map index 9355bcd5e..b588b0cc7 100644 --- a/dist/dev/dist/dev/maskedit/maskedit.js.map +++ b/dist/dev/dist/dev/maskedit/maskedit.js.map @@ -1 +1 @@ -{"version":3,"sources":["maskedit/maskedit.js"],"names":[],"mappings":";;;yEAOa,UAAU;;;;;;;;sCAPf,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BALU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAEzT,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,eAAe,CAAI,SAAS,CAAC,eAAe,eAAY,CAG5C,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"maskedit/maskedit.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.maskedit.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}mask-edit`)\r\n@generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])\r\n@inject(Element)\r\nexport class ejMaskEdit extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["maskedit/maskedit.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAO3C,U,WAHZ,gBAAmB,UAAU,eAA7B,e,UACA,kBAAkB,YAAlB,EAAgC,CAAC,UAAD,EAAa,iBAAb,EAAgC,SAAhC,EAA2C,mBAA3C,EAAgE,QAAhE,EAA0E,mBAA1E,EAA+F,gBAA/F,EAAiH,WAAjH,EAA8H,YAA9H,EAA4I,MAA5I,EAAoJ,UAApJ,EAAgK,WAAhK,EAA6K,mBAA7K,EAAkM,WAAlM,EAA+M,mBAA/M,EAAoO,iBAApO,EAAuP,OAAvP,EAAgQ,eAAhQ,EAAiR,OAAjR,CAAhC,EAA2T,CAAC,OAAD,CAA3T,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QAL6B,U","file":"maskedit/maskedit.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.maskedit.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}mask-edit`)\r\n@generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])\r\n@inject(Element)\r\nexport class ejMaskEdit extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/menu/menu.js.map b/dist/dev/dist/dev/menu/menu.js.map index da1ad6b95..16b38c7a8 100644 --- a/dist/dev/dist/dev/menu/menu.js.map +++ b/dist/dev/dist/dev/menu/menu.js.map @@ -1 +1 @@ -{"version":3,"sources":["menu/menu.js"],"names":[],"mappings":";;;yEAOa,MAAM;;;;;;;;sCAPX,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,YAAM;kBAAN,MAAM;;AACN,iBADA,MAAM,CACL,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;sBAJU,MAAM;AAAN,cAAM,GADlB,MAAM,CAAC,OAAO,CAAC,CACH,MAAM,KAAN,MAAM;AAAN,cAAM,GAFlB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,eAAe,EAAE,mBAAmB,EAAE,UAAU,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE9W,MAAM,KAAN,MAAM;AAAN,cAAM,GAHlB,eAAe,CAAI,SAAS,CAAC,eAAe,UAAO,CAGvC,MAAM,KAAN,MAAM;eAAN,MAAM;SAAS,UAAU","file":"menu/menu.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.menu.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}menu`)\r\n@generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejMenu extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["menu/menu.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;wBAO3C,M,WAHZ,gBAAmB,UAAU,eAA7B,U,UACA,kBAAkB,QAAlB,EAA4B,CAAC,eAAD,EAAkB,mBAAlB,EAAuC,UAAvC,EAAmD,iBAAnD,EAAsE,mBAAtE,EAA2F,SAA3F,EAAsG,WAAtG,EAAmH,iBAAnH,EAAsI,eAAtI,EAAuJ,QAAvJ,EAAiK,QAAjK,EAA2K,gBAA3K,EAA6L,UAA7L,EAAyM,aAAzM,EAAwN,aAAxN,EAAuO,qBAAvO,EAA8P,oBAA9P,EAAoR,kBAApR,EAAwS,WAAxS,EAAqT,OAArT,CAA5B,EAA2V,EAA3V,EAA+V,EAAC,aAAa,WAAd,EAA/V,C,UACA,OAAO,OAAP,C;;;AAEC,wBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJyB,U","file":"menu/menu.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.menu.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}menu`)\r\n@generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejMenu extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/navigationdrawer/navigationdrawer.js.map b/dist/dev/dist/dev/navigationdrawer/navigationdrawer.js.map index 993b0e4c4..5d112670f 100644 --- a/dist/dev/dist/dev/navigationdrawer/navigationdrawer.js.map +++ b/dist/dev/dist/dev/navigationdrawer/navigationdrawer.js.map @@ -1 +1 @@ -{"version":3,"sources":["navigationdrawer/navigationdrawer.js"],"names":[],"mappings":";;;mFAQa,kBAAkB;;;;;;;;oCARvB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,wBAAkB;kBAAlB,kBAAkB;;AAClB,iBADA,kBAAkB,CACjB,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;kCAJU,kBAAkB;AAAlB,0BAAkB,GAD9B,MAAM,CAAC,OAAO,CAAC,CACH,kBAAkB,KAAlB,kBAAkB;AAAlB,0BAAkB,GAF9B,iBAAiB,CAAC,oBAAoB,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAE3J,kBAAkB,KAAlB,kBAAkB;AAAlB,0BAAkB,GAH9B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,kBAAkB,KAAlB,kBAAkB;AAAlB,0BAAkB,GAJ9B,aAAa,CAAI,SAAS,CAAC,aAAa,uBAAoB,CAIhD,kBAAkB,KAAlB,kBAAkB;eAAlB,kBAAkB;SAAS,UAAU","file":"navigationdrawer/navigationdrawer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.navigationdrawer.min';\r\n\r\n@customElement(`${constants.elementPrefix}navigation-drawer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])\r\n@inject(Element)\r\nexport class ejNavigationDrawer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["navigationdrawer/navigationdrawer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;oCAQrD,kB,WAJZ,cAAiB,UAAU,aAA3B,uB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,oBAAlB,EAAwC,CAAC,WAAD,EAAc,UAAd,EAA0B,WAA1B,EAAuC,gBAAvC,EAAyD,OAAzD,EAAkE,kBAAlE,EAAsF,UAAtF,EAAkG,UAAlG,EAA8G,MAA9G,EAAsH,OAAtH,CAAxC,C,UACA,OAAO,OAAP,C;;;AAEC,oCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJqC,U","file":"navigationdrawer/navigationdrawer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.navigationdrawer.min';\r\n\r\n@customElement(`${constants.elementPrefix}navigation-drawer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])\r\n@inject(Element)\r\nexport class ejNavigationDrawer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/numerictextbox/numerictextbox.js.map b/dist/dev/dist/dev/numerictextbox/numerictextbox.js.map index 45d524ca8..f0f210b25 100644 --- a/dist/dev/dist/dev/numerictextbox/numerictextbox.js.map +++ b/dist/dev/dist/dev/numerictextbox/numerictextbox.js.map @@ -1 +1 @@ -{"version":3,"sources":["numerictextbox/numerictextbox.js"],"names":[],"mappings":";;;yEAOa,gBAAgB;;;;;;;;sCAPrB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,sBAAgB;kBAAhB,gBAAgB;;AAChB,iBADA,gBAAgB,CACf,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;gCALU,gBAAgB;AAAhB,wBAAgB,GAD5B,MAAM,CAAC,OAAO,CAAC,CACH,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAF5B,iBAAiB,CAAC,kBAAkB,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAErc,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAH5B,eAAe,CAAI,SAAS,CAAC,eAAe,qBAAkB,CAGlD,gBAAgB,KAAhB,gBAAgB;eAAhB,gBAAgB;SAAS,UAAU","file":"numerictextbox/numerictextbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.editor.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}numeric-textbox`)\r\n@generateBindables('ejNumericTextbox', ['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'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejNumericTextbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["numerictextbox/numerictextbox.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;kCAO3C,gB,WAHZ,gBAAmB,UAAU,eAA7B,qB,UACA,kBAAkB,kBAAlB,EAAsC,CAAC,UAAD,EAAa,eAAb,EAA8B,SAA9B,EAAyC,mBAAzC,EAA8D,WAA9D,EAA2E,kBAA3E,EAA+F,WAA/F,EAA4G,gBAA5G,EAA8H,QAA9H,EAAwI,gBAAxI,EAA0J,eAA1J,EAA2K,QAA3K,EAAqL,UAArL,EAAiM,UAAjM,EAA6M,MAA7M,EAAqN,iBAArN,EAAwO,iBAAxO,EAA2P,UAA3P,EAAuQ,mBAAvQ,EAA4R,gBAA5R,EAA8S,gBAA9S,EAAgU,mBAAhU,EAAqV,iBAArV,EAAwW,OAAxW,EAAiX,eAAjX,EAAkY,OAAlY,CAAtC,EAAkb,EAAlb,EAAsb,EAAC,aAAa,WAAd,EAAtb,C,UACA,OAAO,OAAP,C;;;AAEC,kCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QALmC,U","file":"numerictextbox/numerictextbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.editor.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}numeric-textbox`)\r\n@generateBindables('ejNumericTextbox', ['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'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejNumericTextbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/overview/overview.js.map b/dist/dev/dist/dev/overview/overview.js.map index bc70621a0..4de8b5850 100644 --- a/dist/dev/dist/dev/overview/overview.js.map +++ b/dist/dev/dist/dev/overview/overview.js.map @@ -1 +1 @@ -{"version":3,"sources":["overview/overview.js"],"names":[],"mappings":";;;mFAQa,UAAU;;;;;;;;oCARf,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,UAAU,EAAE,UAAU,EAAC,CAAC,CAElF,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAJtB,aAAa,CAAI,SAAS,CAAC,aAAa,cAAW,CAIvC,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"overview/overview.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.diagram.min';\r\n\r\n@customElement(`${constants.elementPrefix}overview`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], {'sourceID': 'sourceId'})\r\n@inject(Element)\r\nexport class ejOverview extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["overview/overview.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAQrD,U,WAJZ,cAAiB,UAAU,aAA3B,c,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,YAAlB,EAAgC,CAAC,UAAD,EAAa,QAAb,EAAuB,OAAvB,CAAhC,EAAiE,EAAjE,EAAqE,EAAC,YAAY,UAAb,EAArE,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"overview/overview.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.diagram.min';\r\n\r\n@customElement(`${constants.elementPrefix}overview`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], {'sourceID': 'sourceId'})\r\n@inject(Element)\r\nexport class ejOverview extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/pdfviewer/pdfviewer.js.map b/dist/dev/dist/dev/pdfviewer/pdfviewer.js.map index 9e77ffbad..0782c871d 100644 --- a/dist/dev/dist/dev/pdfviewer/pdfviewer.js.map +++ b/dist/dev/dist/dev/pdfviewer/pdfviewer.js.map @@ -1 +1 @@ -{"version":3,"sources":["pdfviewer/pdfviewer.js"],"names":[],"mappings":";;;mFAQa,WAAW;;;;;;;;oCARhB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,iBAAW;kBAAX,WAAW;;AACX,iBADA,WAAW,CACV,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;2BAJU,WAAW;AAAX,mBAAW,GADvB,MAAM,CAAC,OAAO,CAAC,CACH,WAAW,KAAX,WAAW;AAAX,mBAAW,GAFvB,iBAAiB,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,YAAY,CAAC,CAAC,CAEnJ,WAAW,KAAX,WAAW;AAAX,mBAAW,GAHvB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,WAAW,KAAX,WAAW;AAAX,mBAAW,GAJvB,aAAa,CAAI,SAAS,CAAC,aAAa,gBAAa,CAIzC,WAAW,KAAX,WAAW;eAAX,WAAW;SAAS,UAAU","file":"pdfviewer/pdfviewer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pdfviewer.min';\r\n\r\n@customElement(`${constants.elementPrefix}pdf-viewer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])\r\n@inject(Element)\r\nexport class ejPdfViewer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["pdfviewer/pdfviewer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;6BAQrD,W,WAJZ,cAAiB,UAAU,aAA3B,gB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,aAAlB,EAAiC,CAAC,QAAD,EAAW,iBAAX,EAA8B,cAA9B,EAA8C,YAA9C,EAA4D,WAA5D,EAAyE,mBAAzE,EAA8F,gBAA9F,EAAgH,YAAhH,CAAjC,C,UACA,OAAO,OAAP,C;;;AAEC,6BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ8B,U","file":"pdfviewer/pdfviewer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pdfviewer.min';\r\n\r\n@customElement(`${constants.elementPrefix}pdf-viewer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])\r\n@inject(Element)\r\nexport class ejPdfViewer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/percentagetextbox/percentagetextbox.js.map b/dist/dev/dist/dev/percentagetextbox/percentagetextbox.js.map index ef5b6ddc9..0ab26189f 100644 --- a/dist/dev/dist/dev/percentagetextbox/percentagetextbox.js.map +++ b/dist/dev/dist/dev/percentagetextbox/percentagetextbox.js.map @@ -1 +1 @@ -{"version":3,"sources":["percentagetextbox/percentagetextbox.js"],"names":[],"mappings":";;;yEAOa,mBAAmB;;;;;;;;sCAPxB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,yBAAmB;kBAAnB,mBAAmB;;AACnB,iBADA,mBAAmB,CAClB,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;mCALU,mBAAmB;AAAnB,2BAAmB,GAD/B,MAAM,CAAC,OAAO,CAAC,CACH,mBAAmB,KAAnB,mBAAmB;AAAnB,2BAAmB,GAF/B,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAExc,mBAAmB,KAAnB,mBAAmB;AAAnB,2BAAmB,GAH/B,eAAe,CAAI,SAAS,CAAC,eAAe,wBAAqB,CAGrD,mBAAmB,KAAnB,mBAAmB;eAAnB,mBAAmB;SAAS,UAAU","file":"percentagetextbox/percentagetextbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.editor.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}percentage-textbox`)\r\n@generateBindables('ejPercentageTextbox', ['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'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejPercentageTextbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["percentagetextbox/percentagetextbox.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;qCAO3C,mB,WAHZ,gBAAmB,UAAU,eAA7B,wB,UACA,kBAAkB,qBAAlB,EAAyC,CAAC,UAAD,EAAa,eAAb,EAA8B,SAA9B,EAAyC,mBAAzC,EAA8D,WAA9D,EAA2E,kBAA3E,EAA+F,WAA/F,EAA4G,gBAA5G,EAA8H,QAA9H,EAAwI,gBAAxI,EAA0J,eAA1J,EAA2K,QAA3K,EAAqL,UAArL,EAAiM,UAAjM,EAA6M,MAA7M,EAAqN,iBAArN,EAAwO,iBAAxO,EAA2P,UAA3P,EAAuQ,mBAAvQ,EAA4R,gBAA5R,EAA8S,gBAA9S,EAAgU,mBAAhU,EAAqV,iBAArV,EAAwW,OAAxW,EAAiX,eAAjX,EAAkY,OAAlY,CAAzC,EAAqb,EAArb,EAAyb,EAAC,aAAa,WAAd,EAAzb,C,UACA,OAAO,OAAP,C;;;AAEC,qCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QALsC,U","file":"percentagetextbox/percentagetextbox.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.editor.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}percentage-textbox`)\r\n@generateBindables('ejPercentageTextbox', ['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'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejPercentageTextbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/pivotchart/pivotchart.js.map b/dist/dev/dist/dev/pivotchart/pivotchart.js.map index 378b3313b..4268f14aa 100644 --- a/dist/dev/dist/dev/pivotchart/pivotchart.js.map +++ b/dist/dev/dist/dev/pivotchart/pivotchart.js.map @@ -1 +1 @@ -{"version":3,"sources":["pivotchart/pivotchart.js"],"names":[],"mappings":";;;mFAQa,YAAY;;;;;;;;oCARjB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,kBAAY;kBAAZ,YAAY;;AACZ,iBADA,YAAY,CACX,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;4BAJU,YAAY;AAAZ,oBAAY,GADxB,MAAM,CAAC,OAAO,CAAC,CACH,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAFxB,iBAAiB,CAAC,cAAc,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,qBAAqB,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAEhR,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAHxB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAJxB,aAAa,CAAI,SAAS,CAAC,aAAa,iBAAc,CAI1C,YAAY,KAAZ,YAAY;eAAZ,YAAY;SAAS,UAAU","file":"pivotchart/pivotchart.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotchart.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-chart`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])\r\n@inject(Element)\r\nexport class ejPivotChart extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["pivotchart/pivotchart.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;8BAQrD,Y,WAJZ,cAAiB,UAAU,aAA3B,iB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,cAAlB,EAAkC,CAAC,cAAD,EAAiB,UAAjB,EAA6B,qBAA7B,EAAoD,eAApD,EAAqE,YAArE,EAAmF,cAAnF,EAAmG,UAAnG,EAA+G,cAA/G,EAA+H,QAA/H,EAAyI,QAAzI,EAAmJ,iBAAnJ,EAAsK,cAAtK,EAAsL,cAAtL,EAAsM,UAAtM,EAAkN,uBAAlN,EAA2O,MAA3O,EAAmP,KAAnP,CAAlC,C,UACA,OAAO,OAAP,C;;;AAEC,8BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ+B,U","file":"pivotchart/pivotchart.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotchart.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-chart`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])\r\n@inject(Element)\r\nexport class ejPivotChart extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/pivotgauge/pivotgauge.js.map b/dist/dev/dist/dev/pivotgauge/pivotgauge.js.map index 16898adcb..8689e2808 100644 --- a/dist/dev/dist/dev/pivotgauge/pivotgauge.js.map +++ b/dist/dev/dist/dev/pivotgauge/pivotgauge.js.map @@ -1 +1 @@ -{"version":3,"sources":["pivotgauge/pivotgauge.js"],"names":[],"mappings":";;;mFAQa,YAAY;;;;;;;;oCARjB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,kBAAY;kBAAZ,YAAY;;AACZ,iBADA,YAAY,CACX,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;4BAJU,YAAY;AAAZ,oBAAY,GADxB,MAAM,CAAC,OAAO,CAAC,CACH,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAFxB,iBAAiB,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,qBAAqB,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAEhP,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAHxB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAJxB,aAAa,CAAI,SAAS,CAAC,aAAa,iBAAc,CAI1C,YAAY,KAAZ,YAAY;eAAZ,YAAY;SAAS,UAAU","file":"pivotgauge/pivotgauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotgauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])\r\n@inject(Element)\r\nexport class ejPivotGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["pivotgauge/pivotgauge.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;8BAQrD,Y,WAJZ,cAAiB,UAAU,aAA3B,iB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,cAAlB,EAAkC,CAAC,iBAAD,EAAoB,cAApB,EAAoC,UAApC,EAAgD,cAAhD,EAAgE,YAAhE,EAA8E,eAA9E,EAA+F,cAA/F,EAA+G,qBAA/G,EAAsI,QAAtI,EAAgJ,WAAhJ,EAA6J,QAA7J,EAAuK,uBAAvK,EAAgM,iBAAhM,EAAmN,KAAnN,CAAlC,C,UACA,OAAO,OAAP,C;;;AAEC,8BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ+B,U","file":"pivotgauge/pivotgauge.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotgauge.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-gauge`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])\r\n@inject(Element)\r\nexport class ejPivotGauge extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/pivotgrid/pivotgrid.js.map b/dist/dev/dist/dev/pivotgrid/pivotgrid.js.map index 4dbd5e903..344381a87 100644 --- a/dist/dev/dist/dev/pivotgrid/pivotgrid.js.map +++ b/dist/dev/dist/dev/pivotgrid/pivotgrid.js.map @@ -1 +1 @@ -{"version":3,"sources":["pivotgrid/pivotgrid.js"],"names":[],"mappings":";;;mFAQa,WAAW;;;;;;;;oCARhB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,iBAAW;kBAAX,WAAW;;AACX,iBADA,WAAW,CACV,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;2BAJU,WAAW;AAAX,mBAAW,GADvB,MAAM,CAAC,OAAO,CAAC,CACH,WAAW,KAAX,WAAW;AAAX,mBAAW,GAFvB,iBAAiB,CAAC,aAAa,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,WAAW,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEvlB,WAAW,KAAX,WAAW;AAAX,mBAAW,GAHvB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,WAAW,KAAX,WAAW;AAAX,mBAAW,GAJvB,aAAa,CAAI,SAAS,CAAC,aAAa,gBAAa,CAIzC,WAAW,KAAX,WAAW;eAAX,WAAW;SAAS,UAAU","file":"pivotgrid/pivotgrid.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotgrid.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-grid`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejPivotGrid extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["pivotgrid/pivotgrid.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;6BAQrD,W,WAJZ,cAAiB,UAAU,aAA3B,gB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,aAAlB,EAAiC,CAAC,cAAD,EAAiB,UAAjB,EAA6B,eAA7B,EAA8C,YAA9C,EAA4D,cAA5D,EAA4E,cAA5E,EAA4F,mBAA5F,EAAiH,qBAAjH,EAAwI,yBAAxI,EAAmK,wBAAnK,EAA6L,6BAA7L,EAA4N,mBAA5N,EAAiP,mBAAjP,EAAsQ,kBAAtQ,EAA0R,qBAA1R,EAAiT,sBAAjT,EAAyU,qBAAzU,EAAgW,WAAhW,EAA6W,eAA7W,EAA8X,wBAA9X,EAAwZ,mBAAxZ,EAA6a,aAA7a,EAA4b,cAA5b,EAA4c,aAA5c,EAA2d,QAA3d,EAAqe,QAAre,EAA+e,iBAA/e,EAAkgB,uBAAlgB,EAA2hB,KAA3hB,CAAjC,EAAokB,EAApkB,EAAwkB,EAAC,aAAa,WAAd,EAAxkB,C,UACA,OAAO,OAAP,C;;;AAEC,6BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ8B,U","file":"pivotgrid/pivotgrid.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotgrid.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-grid`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejPivotGrid extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/pivotschemadesigner/pivotschemadesigner.js.map b/dist/dev/dist/dev/pivotschemadesigner/pivotschemadesigner.js.map index f3d4fc2e3..85b97f0c4 100644 --- a/dist/dev/dist/dev/pivotschemadesigner/pivotschemadesigner.js.map +++ b/dist/dev/dist/dev/pivotschemadesigner/pivotschemadesigner.js.map @@ -1 +1 @@ -{"version":3,"sources":["pivotschemadesigner/pivotschemadesigner.js"],"names":[],"mappings":";;;mFAQa,qBAAqB;;;;;;;;oCAR1B,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,2BAAqB;kBAArB,qBAAqB;;AACrB,iBADA,qBAAqB,CACpB,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;qCAJU,qBAAqB;AAArB,6BAAqB,GADjC,MAAM,CAAC,OAAO,CAAC,CACH,qBAAqB,KAArB,qBAAqB;AAArB,6BAAqB,GAFjC,iBAAiB,CAAC,uBAAuB,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,kBAAkB,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAEnO,qBAAqB,KAArB,qBAAqB;AAArB,6BAAqB,GAHjC,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,qBAAqB,KAArB,qBAAqB;AAArB,6BAAqB,GAJjC,aAAa,CAAI,SAAS,CAAC,aAAa,2BAAwB,CAIpD,qBAAqB,KAArB,qBAAqB;eAArB,qBAAqB;SAAS,UAAU","file":"pivotschemadesigner/pivotschemadesigner.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotschemadesigner.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-schema-designer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])\r\n@inject(Element)\r\nexport class ejPivotSchemaDesigner extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["pivotschemadesigner/pivotschemadesigner.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;uCAQrD,qB,WAJZ,cAAiB,UAAU,aAA3B,2B,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,uBAAlB,EAA2C,CAAC,UAAD,EAAa,cAAb,EAA6B,eAA7B,EAA8C,SAA9C,EAAyD,QAAzD,EAAmE,QAAnE,EAA6E,mBAA7E,EAAkG,cAAlG,EAAkH,cAAlH,EAAkI,WAAlI,EAA+I,kBAA/I,EAAmK,eAAnK,EAAoL,KAApL,EAA2L,OAA3L,CAA3C,C,UACA,OAAO,OAAP,C;;;AAEC,uCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJwC,U","file":"pivotschemadesigner/pivotschemadesigner.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.pivotschemadesigner.min';\r\n\r\n@customElement(`${constants.elementPrefix}pivot-schema-designer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])\r\n@inject(Element)\r\nexport class ejPivotSchemaDesigner extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/progressbar/progressbar.js.map b/dist/dev/dist/dev/progressbar/progressbar.js.map index 852cd282e..a587adaea 100644 --- a/dist/dev/dist/dev/progressbar/progressbar.js.map +++ b/dist/dev/dist/dev/progressbar/progressbar.js.map @@ -1 +1 @@ -{"version":3,"sources":["progressbar/progressbar.js"],"names":[],"mappings":";;;yEAOa,aAAa;;;;;;;;sCAPlB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,mBAAa;kBAAb,aAAa;;AACb,iBADA,aAAa,CACZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;6BAJU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAElO,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,eAAe,CAAI,SAAS,CAAC,eAAe,kBAAe,CAG/C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"progressbar/progressbar.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.progressbar.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}progress-bar`)\r\n@generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejProgressBar extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["progressbar/progressbar.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;+BAO3C,a,WAHZ,gBAAmB,UAAU,eAA7B,kB,UACA,kBAAkB,eAAlB,EAAmC,CAAC,UAAD,EAAa,SAAb,EAAwB,mBAAxB,EAA6C,WAA7C,EAA0D,QAA1D,EAAoE,gBAApE,EAAsF,UAAtF,EAAkG,UAAlG,EAA8G,YAA9G,EAA4H,mBAA5H,EAAiJ,MAAjJ,EAAyJ,OAAzJ,EAAkK,OAAlK,CAAnC,EAA+M,EAA/M,EAAmN,EAAC,aAAa,WAAd,EAAnN,C,UACA,OAAO,OAAP,C;;;AAEC,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJgC,U","file":"progressbar/progressbar.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.progressbar.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}progress-bar`)\r\n@generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejProgressBar extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/radialmenu/item.js.map b/dist/dev/dist/dev/radialmenu/item.js.map index 5fdd36f6c..6ba865fb2 100644 --- a/dist/dev/dist/dev/radialmenu/item.js.map +++ b/dist/dev/dist/dev/radialmenu/item.js.map @@ -1 +1 @@ -{"version":3,"sources":["radialmenu/item.js"],"names":[],"mappings":";;;+EAMa,IAAI;;;;;;;;;;iCANT,UAAU;oCAAE,aAAa;+BAAE,QAAQ;gCAAE,SAAS;wCAAE,iBAAiB;2BAAE,IAAI;;;AAMlE,UAAI;;;iBAAJ,IAAI;;;;;;AAAJ,YAAI,WAEf,YAAY,GAAA,wBAAG;AACb,cAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;AACpB,gBAAI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;AACtB,gBAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;WAC5E;SACF;;8BAPU,IAAI;;uBACd,QAAQ,CAAI,SAAS,CAAC,aAAa,cAAW;;mBAAY,EAAE;;;;;oBADlD,IAAI;AAAJ,YAAI,GAFhB,iBAAiB,CAAC,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAE3F,IAAI,KAAJ,IAAI;AAAJ,YAAI,GAHhB,aAAa,CAAI,SAAS,CAAC,aAAa,UAAO,CAGnC,IAAI,KAAJ,IAAI;AAAJ,YAAI,GAJhB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,IAAI,KAAJ,IAAI;eAAJ,IAAI","file":"radialmenu/item.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, children, constants, generateBindables, Util} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}item`)\r\n@generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])\r\n\r\nexport class Item {\r\n @children(`${constants.elementPrefix}template`) template = [];\r\n setTemplates() {\r\n if (this.template[0]) {\r\n let util = new Util();\r\n this[util.getBindablePropertyName('template')] = this.template[0].template;\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["radialmenu/item.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;AAAU,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,U,iBAAA,I;;;sBAM9D,I,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,U,UACA,kBAAkB,OAAlB,EAA2B,CAAC,UAAD,EAAa,MAAb,EAAqB,SAArB,EAAgC,OAAhC,EAAyC,OAAzC,EAAkD,MAAlD,EAA0D,gBAA1D,CAA3B,C,UAGE,SAAY,UAAU,aAAtB,c;;;;;;;uBACD,Y,2BAAe;AACb,cAAI,KAAK,QAAL,CAAc,CAAd,CAAJ,EAAsB;AACpB,gBAAI,OAAO,IAAI,IAAJ,EAAX;AACA,iBAAK,KAAK,uBAAL,CAA6B,UAA7B,CAAL,IAAiD,KAAK,QAAL,CAAc,CAAd,EAAiB,QAAlE;AACD;AACF,S;;;;;;iBAN0D,E","file":"radialmenu/item.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, children, constants, generateBindables, Util} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}item`)\r\n@generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])\r\n\r\nexport class Item {\r\n @children(`${constants.elementPrefix}template`) template = [];\r\n setTemplates() {\r\n if (this.template[0]) {\r\n let util = new Util();\r\n this[util.getBindablePropertyName('template')] = this.template[0].template;\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/radialmenu/radialmenu.js.map b/dist/dev/dist/dev/radialmenu/radialmenu.js.map index e13dc10b8..8e1a0ef8d 100644 --- a/dist/dev/dist/dev/radialmenu/radialmenu.js.map +++ b/dist/dev/dist/dev/radialmenu/radialmenu.js.map @@ -1 +1 @@ -{"version":3,"sources":["radialmenu/radialmenu.js"],"names":[],"mappings":";;;kIAQa,YAAY;;;;;;;;;;;;6BARjB,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;uCAAE,gBAAgB;wCAAE,iBAAiB;;;AAQrH,kBAAY;;;kBAAZ,YAAY;;8BAAZ,YAAY;;uBACtB,QAAQ,CAAI,SAAS,CAAC,aAAa,UAAO;;mBAAS,EAAE;;;;;AAC3C,iBAFA,YAAY,CAEX,OAAO,EAAE,cAAc,EAAE;;;AACnC,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC;AACjC,cAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;AACrE,cAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;SACvC;;4BATU,YAAY;AAAZ,oBAAY,GADxB,MAAM,CAAC,OAAO,EAAE,gBAAgB,CAAC,CACrB,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAFxB,iBAAiB,CAAC,cAAc,EAAE,CAAC,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAEpJ,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAHxB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAJxB,aAAa,CAAI,SAAS,CAAC,aAAa,iBAAc,CAI1C,YAAY,KAAZ,YAAY;eAAZ,YAAY;SAAS,UAAU","file":"radialmenu/radialmenu.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor} from '../common/common';\r\n\r\nimport 'ej.radialmenu.min';\r\n\r\n@customElement(`${constants.elementPrefix}radial-menu`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])\r\n@inject(Element, TemplatingEngine)\r\nexport class ejRadialMenu extends WidgetBase {\r\n @children(`${constants.elementPrefix}item`) items = [];\r\n constructor(element, templateEngine) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'items';\r\n this.templateProcessor = new TemplateProcessor(this, templateEngine);\r\n this.templateProcessor.initTemplate();\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["radialmenu/radialmenu.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;AAAU,sB,iBAAA,gB;AAAkB,uB,iBAAA,iB;;;8BAQpG,Y,WAJZ,cAAiB,UAAU,aAA3B,iB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,cAAlB,EAAkC,CAAC,UAAD,EAAa,gBAAb,EAA+B,UAA/B,EAA2C,iBAA3C,EAA8D,YAA9D,EAA4E,OAA5E,EAAqF,QAArF,EAA+F,iBAA/F,EAAkH,UAAlH,CAAlC,C,UACA,OAAO,OAAP,EAAgB,gBAAhB,C,UAEE,SAAY,UAAU,aAAtB,U;;;AACD,8BAAY,OAAZ,EAAqB,cAArB,EAAqC;AAAA;;AAAA,uDACnC,sBADmC;;AAAA;;AAEnC,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,OAAzB;AACA,gBAAK,iBAAL,GAAyB,IAAI,iBAAJ,QAA4B,cAA5B,CAAzB;AACA,gBAAK,iBAAL,CAAuB,YAAvB;AANmC;AAOpC;;;QAT+B,U;;;iBACoB,E","file":"radialmenu/radialmenu.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor} from '../common/common';\r\n\r\nimport 'ej.radialmenu.min';\r\n\r\n@customElement(`${constants.elementPrefix}radial-menu`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])\r\n@inject(Element, TemplatingEngine)\r\nexport class ejRadialMenu extends WidgetBase {\r\n @children(`${constants.elementPrefix}item`) items = [];\r\n constructor(element, templateEngine) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'items';\r\n this.templateProcessor = new TemplateProcessor(this, templateEngine);\r\n this.templateProcessor.initTemplate();\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/radialslider/radialslider.js.map b/dist/dev/dist/dev/radialslider/radialslider.js.map index 6f0cb70f1..cc0a7a0d5 100644 --- a/dist/dev/dist/dev/radialslider/radialslider.js.map +++ b/dist/dev/dist/dev/radialslider/radialslider.js.map @@ -1 +1 @@ -{"version":3,"sources":["radialslider/radialslider.js"],"names":[],"mappings":";;;mFAQa,cAAc;;;;;;;;oCARnB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAErL,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,cAAc,KAAd,cAAc;AAAd,sBAAc,GAJ1B,aAAa,CAAI,SAAS,CAAC,aAAa,mBAAgB,CAI5C,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"radialslider/radialslider.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.radialslider.min';\r\n\r\n@customElement(`${constants.elementPrefix}radial-slider`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])\r\n@inject(Element)\r\nexport class ejRadialSlider extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["radialslider/radialslider.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAQrD,c,WAJZ,cAAiB,UAAU,aAA3B,mB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,UAAD,EAAa,UAAb,EAAyB,iBAAzB,EAA4C,gBAA5C,EAA8D,UAA9D,EAA0E,QAA1E,EAAoF,uBAApF,EAA6G,qBAA7G,EAAoI,QAApI,EAA8I,aAA9I,CAApC,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"radialslider/radialslider.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.radialslider.min';\r\n\r\n@customElement(`${constants.elementPrefix}radial-slider`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])\r\n@inject(Element)\r\nexport class ejRadialSlider extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/radiobutton/radiobutton.js.map b/dist/dev/dist/dev/radiobutton/radiobutton.js.map index 8e536dd1b..02cb3d6f1 100644 --- a/dist/dev/dist/dev/radiobutton/radiobutton.js.map +++ b/dist/dev/dist/dev/radiobutton/radiobutton.js.map @@ -1 +1 @@ -{"version":3,"sources":["radiobutton/radiobutton.js"],"names":[],"mappings":";;;yEAOa,aAAa;;;;;;;;sCAPlB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,mBAAa;kBAAb,aAAa;;AACb,iBADA,aAAa,CACZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;6BAJU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEzO,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,eAAe,CAAI,SAAS,CAAC,eAAe,kBAAe,CAG/C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"radiobutton/radiobutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.radiobutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}radio-button`)\r\n@generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejRadioButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["radiobutton/radiobutton.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;+BAO3C,a,WAHZ,gBAAmB,UAAU,eAA7B,kB,UACA,kBAAkB,eAAlB,EAAmC,CAAC,SAAD,EAAY,UAAZ,EAAwB,SAAxB,EAAmC,mBAAnC,EAAwD,WAAxD,EAAqE,gBAArE,EAAuF,IAAvF,EAA6F,UAA7F,EAAyG,MAAzG,EAAiH,MAAjH,EAAyH,MAAzH,EAAiI,mBAAjI,EAAsJ,iBAAtJ,EAAyK,OAAzK,CAAnC,EAAsN,EAAtN,EAA0N,EAAC,aAAa,WAAd,EAA1N,C,UACA,OAAO,OAAP,C;;;AAEC,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJgC,U","file":"radiobutton/radiobutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.radiobutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}radio-button`)\r\n@generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejRadioButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/rangenavigator/rangenavigator.js.map b/dist/dev/dist/dev/rangenavigator/rangenavigator.js.map index 667dbe48f..b2ef64086 100644 --- a/dist/dev/dist/dev/rangenavigator/rangenavigator.js.map +++ b/dist/dev/dist/dev/rangenavigator/rangenavigator.js.map @@ -1 +1 @@ -{"version":3,"sources":["rangenavigator/rangenavigator.js"],"names":[],"mappings":";;;6FAQa,gBAAgB;;;;;;;;;;;;6BARrB,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,sBAAgB;;;kBAAhB,gBAAgB;;8BAAhB,gBAAgB;;uBAC1B,QAAQ,CAAI,SAAS,CAAC,aAAa,kBAAe;;mBAAU,EAAE;;;;;AACpD,iBAFA,gBAAgB,CAEf,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,QAAQ,CAAC;SACnC;;gCAPU,gBAAgB;AAAhB,wBAAgB,GAD5B,MAAM,CAAC,OAAO,CAAC,CACH,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAF5B,iBAAiB,CAAC,kBAAkB,EAAE,CAAC,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,QAAQ,EAAE,wBAAwB,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,cAAc,EAAE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE7a,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAH5B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAJ5B,aAAa,CAAI,SAAS,CAAC,aAAa,qBAAkB,CAI9C,gBAAgB,KAAhB,gBAAgB;eAAhB,gBAAgB;SAAS,UAAU","file":"rangenavigator/rangenavigator.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.rangenavigator.min';\r\n\r\n@customElement(`${constants.elementPrefix}range-navigator`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejRangeNavigator extends WidgetBase {\r\n @children(`${constants.elementPrefix}range-series`) series = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'series';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["rangenavigator/rangenavigator.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;kCAQxE,gB,WAJZ,cAAiB,UAAU,aAA3B,qB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,kBAAlB,EAAsC,CAAC,eAAD,EAAkB,QAAlB,EAA4B,YAA5B,EAA0C,sBAA1C,EAAkE,iBAAlE,EAAqF,WAArF,EAAkG,cAAlG,EAAkH,eAAlH,EAAmI,QAAnI,EAA6I,wBAA7I,EAAuK,SAAvK,EAAkL,cAAlL,EAAkM,eAAlM,EAAmN,cAAnN,EAAmO,uBAAnO,EAA4P,qBAA5P,EAAmR,cAAnR,EAAmS,OAAnS,EAA4S,iBAA5S,EAA+T,mBAA/T,EAAoV,WAApV,EAAiW,OAAjW,EAA0W,OAA1W,CAAtC,EAA0Z,EAA1Z,EAA8Z,EAAC,aAAa,WAAd,EAA9Z,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,kB;;;AACD,kCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,QAAzB;AAJmB;AAKpB;;;QAPmC,U;;;iBACyB,E","file":"rangenavigator/rangenavigator.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.rangenavigator.min';\r\n\r\n@customElement(`${constants.elementPrefix}range-navigator`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejRangeNavigator extends WidgetBase {\r\n @children(`${constants.elementPrefix}range-series`) series = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'series';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/rangenavigator/rangeseries.js.map b/dist/dev/dist/dev/rangenavigator/rangeseries.js.map index 0e7726e0a..c0cfe6784 100644 --- a/dist/dev/dist/dev/rangenavigator/rangeseries.js.map +++ b/dist/dev/dist/dev/rangenavigator/rangeseries.js.map @@ -1 +1 @@ -{"version":3,"sources":["rangenavigator/rangeseries.js"],"names":[],"mappings":";;;+DAMa,WAAW;;;;;;iCANhB,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,iBAAW;iBAAX,WAAW;;;;2BAAX,WAAW;AAAX,mBAAW,GAFvB,iBAAiB,CAAC,QAAQ,EAAE,EAAE,CAAC,CAEnB,WAAW,KAAX,WAAW;AAAX,mBAAW,GAHvB,aAAa,CAAI,SAAS,CAAC,aAAa,kBAAe,CAG3C,WAAW,KAAX,WAAW;AAAX,mBAAW,GAJvB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,WAAW,KAAX,WAAW;eAAX,WAAW","file":"rangenavigator/rangeseries.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}range-series`)\r\n@generateBindables('series', [])\r\n\r\nexport class RangeSeries {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["rangenavigator/rangeseries.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;6BAMjC,W,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,kB,UACA,kBAAkB,QAAlB,EAA4B,EAA5B,C","file":"rangenavigator/rangeseries.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}range-series`)\r\n@generateBindables('series', [])\r\n\r\nexport class RangeSeries {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/rating/rating.js.map b/dist/dev/dist/dev/rating/rating.js.map index 2132e0ed6..dd3a63357 100644 --- a/dist/dev/dist/dev/rating/rating.js.map +++ b/dist/dev/dist/dev/rating/rating.js.map @@ -1 +1 @@ -{"version":3,"sources":["rating/rating.js"],"names":[],"mappings":";;;yEAOa,QAAQ;;;;;;;;sCAPb,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,cAAQ;kBAAR,QAAQ;;AACR,iBADA,QAAQ,CACP,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;wBAJU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,OAAO,CAAC,CACH,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAFpB,iBAAiB,CAAC,UAAU,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAEjP,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAHpB,eAAe,CAAI,SAAS,CAAC,eAAe,YAAS,CAGzC,QAAQ,KAAR,QAAQ;eAAR,QAAQ;SAAS,UAAU","file":"rating/rating.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.rating.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}rating`)\r\n@generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])\r\n@inject(Element)\r\nexport class ejRating extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["rating/rating.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;0BAO3C,Q,WAHZ,gBAAmB,UAAU,eAA7B,Y,UACA,kBAAkB,UAAlB,EAA8B,CAAC,YAAD,EAAe,UAAf,EAA2B,SAA3B,EAAsC,mBAAtC,EAA2D,QAA3D,EAAqE,eAArE,EAAsF,UAAtF,EAAkG,UAAlG,EAA8G,aAA9G,EAA6H,WAA7H,EAA0I,UAA1I,EAAsJ,aAAtJ,EAAqK,YAArK,EAAmL,aAAnL,EAAkM,OAAlM,EAA2M,OAA3M,CAA9B,EAAmP,CAAC,OAAD,CAAnP,C,UACA,OAAO,OAAP,C;;;AAEC,0BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ2B,U","file":"rating/rating.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.rating.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}rating`)\r\n@generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])\r\n@inject(Element)\r\nexport class ejRating extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/reportviewer/reportviewer.js.map b/dist/dev/dist/dev/reportviewer/reportviewer.js.map index 0282eef8e..40c52fbf4 100644 --- a/dist/dev/dist/dev/reportviewer/reportviewer.js.map +++ b/dist/dev/dist/dev/reportviewer/reportviewer.js.map @@ -1 +1 @@ -{"version":3,"sources":["reportviewer/reportviewer.js"],"names":[],"mappings":";;;mFAQa,cAAc;;;;;;;;oCARnB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,YAAY,CAAC,CAAC,CAExR,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,cAAc,KAAd,cAAc;AAAd,sBAAc,GAJ1B,aAAa,CAAI,SAAS,CAAC,aAAa,mBAAgB,CAI5C,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"reportviewer/reportviewer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.reportviewer.min';\r\n\r\n@customElement(`${constants.elementPrefix}report-viewer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])\r\n@inject(Element)\r\nexport class ejReportViewer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["reportviewer/reportviewer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAQrD,c,WAJZ,cAAiB,UAAU,aAA3B,mB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,aAAD,EAAgB,iBAAhB,EAAmC,gBAAnC,EAAqD,cAArD,EAAqE,QAArE,EAA+E,cAA/E,EAA+F,YAA/F,EAA6G,WAA7G,EAA0H,cAA1H,EAA0I,gBAA1I,EAA4J,YAA5J,EAA0K,YAA1K,EAAwL,iBAAxL,EAA2M,kBAA3M,EAA+N,iBAA/N,EAAkP,YAAlP,CAApC,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"reportviewer/reportviewer.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.reportviewer.min';\r\n\r\n@customElement(`${constants.elementPrefix}report-viewer`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])\r\n@inject(Element)\r\nexport class ejReportViewer extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/ribbon/ribbon.js.map b/dist/dev/dist/dev/ribbon/ribbon.js.map index 1d6acc798..131e24901 100644 --- a/dist/dev/dist/dev/ribbon/ribbon.js.map +++ b/dist/dev/dist/dev/ribbon/ribbon.js.map @@ -1 +1 @@ -{"version":3,"sources":["ribbon/ribbon.js"],"names":[],"mappings":";;;mFAQa,QAAQ;;;;;;;;oCARb,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,cAAQ;kBAAR,QAAQ;;AACR,iBADA,QAAQ,CACP,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;wBAJU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,OAAO,CAAC,CACH,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAFpB,iBAAiB,CAAC,UAAU,EAAE,CAAC,eAAe,EAAE,gBAAgB,EAAE,SAAS,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAE1O,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAHpB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAJpB,aAAa,CAAI,SAAS,CAAC,aAAa,YAAS,CAIrC,QAAQ,KAAR,QAAQ;eAAR,QAAQ;SAAS,UAAU","file":"ribbon/ribbon.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.ribbon.min';\r\n\r\n@customElement(`${constants.elementPrefix}ribbon`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])\r\n@inject(Element)\r\nexport class ejRibbon extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["ribbon/ribbon.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;0BAQrD,Q,WAJZ,cAAiB,UAAU,aAA3B,Y,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,UAAlB,EAA8B,CAAC,eAAD,EAAkB,gBAAlB,EAAoC,SAApC,EAA+C,qBAA/C,EAAsE,mBAAtE,EAA2F,gBAA3F,EAA6G,gBAA7G,EAA+H,mBAA/H,EAAoJ,kBAApJ,EAAwK,mBAAxK,EAA6L,MAA7L,EAAqM,QAArM,EAA+M,OAA/M,CAA9B,C,UACA,OAAO,OAAP,C;;;AAEC,0BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ2B,U","file":"ribbon/ribbon.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.ribbon.min';\r\n\r\n@customElement(`${constants.elementPrefix}ribbon`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])\r\n@inject(Element)\r\nexport class ejRibbon extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/rotator/rotator.js.map b/dist/dev/dist/dev/rotator/rotator.js.map index 926fc6961..2307b9d3a 100644 --- a/dist/dev/dist/dev/rotator/rotator.js.map +++ b/dist/dev/dist/dev/rotator/rotator.js.map @@ -1 +1 @@ -{"version":3,"sources":["rotator/rotator.js"],"names":[],"mappings":";;;yEAOa,SAAS;;;;;;;;sCAPd,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,eAAS;kBAAT,SAAS;;AACT,iBADA,SAAS,CACR,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;yBAJU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,yBAAyB,EAAE,gBAAgB,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,mBAAmB,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAE,mBAAmB,EAAE,mBAAmB,EAAC,CAAC,CAEhiB,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,eAAe,CAAI,SAAS,CAAC,eAAe,aAAU,CAG1C,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"rotator/rotator.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.rotator.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}rotator`)\r\n@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', 'thumbnailSourceID'], [], {'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId'})\r\n@inject(Element)\r\nexport class ejRotator extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["rotator/rotator.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;2BAO3C,S,WAHZ,gBAAmB,UAAU,eAA7B,a,UACA,kBAAkB,WAAlB,EAA+B,CAAC,yBAAD,EAA4B,gBAA5B,EAA8C,eAA9C,EAA+D,cAA/D,EAA+E,UAA/E,EAA2F,YAA3F,EAAyG,OAAzG,EAAkH,mBAAlH,EAAuI,gBAAvI,EAAyJ,SAAzJ,EAAoK,WAApK,EAAiL,QAAjL,EAA2L,YAA3L,EAAyM,cAAzM,EAAyN,eAAzN,EAA0O,aAA1O,EAAyP,eAAzP,EAA0Q,OAA1Q,EAAmR,aAAnR,EAAkS,oBAAlS,EAAwT,WAAxT,EAAqU,gBAArU,EAAuV,eAAvV,EAAwW,aAAxW,EAAuX,YAAvX,EAAqY,YAArY,EAAmZ,aAAnZ,EAAka,UAAla,EAA8a,mBAA9a,CAA/B,EAAme,EAAne,EAAue,EAAC,aAAa,WAAd,EAA2B,qBAAqB,mBAAhD,EAAve,C,UACA,OAAO,OAAP,C;;;AAEC,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ4B,U","file":"rotator/rotator.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.rotator.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}rotator`)\r\n@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', 'thumbnailSourceID'], [], {'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId'})\r\n@inject(Element)\r\nexport class ejRotator extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/rte/rte.js.map b/dist/dev/dist/dev/rte/rte.js.map index 3a2ced0b6..bca270b7b 100644 --- a/dist/dev/dist/dev/rte/rte.js.map +++ b/dist/dev/dist/dev/rte/rte.js.map @@ -1 +1 @@ -{"version":3,"sources":["rte/rte.js"],"names":[],"mappings":";;;yEAOa,KAAK;;;;;;;;sCAPV,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,WAAK;kBAAL,KAAK;;AACL,iBADA,KAAK,CACJ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;qBAJU,KAAK;AAAL,aAAK,GADjB,MAAM,CAAC,OAAO,CAAC,CACH,KAAK,KAAL,KAAK;AAAL,aAAK,GAFjB,iBAAiB,CAAC,OAAO,EAAE,CAAC,cAAc,EAAE,yBAAyB,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,wBAAwB,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEx3B,KAAK,KAAL,KAAK;AAAL,aAAK,GAHjB,eAAe,CAAI,SAAS,CAAC,eAAe,SAAM,CAGtC,KAAK,KAAL,KAAK;eAAL,KAAK;SAAS,UAAU","file":"rte/rte.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.rte.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}rte`)\r\n@generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejRte extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["rte/rte.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;uBAO3C,K,WAHZ,gBAAmB,UAAU,eAA7B,S,UACA,kBAAkB,OAAlB,EAA2B,CAAC,cAAD,EAAiB,yBAAjB,EAA4C,WAA5C,EAAyD,YAAzD,EAAuE,WAAvE,EAAoF,qBAApF,EAA2G,kBAA3G,EAA+H,UAA/H,EAA2I,SAA3I,EAAsJ,kBAAtJ,EAA0K,mBAA1K,EAA+L,cAA/L,EAA+M,WAA/M,EAA4N,aAA5N,EAA2O,wBAA3O,EAAqQ,aAArQ,EAAoR,aAApR,EAAmS,UAAnS,EAA+S,UAA/S,EAA2T,QAA3T,EAAqU,QAArU,EAA+U,gBAA/U,EAAiW,kBAAjW,EAAqX,cAArX,EAAqY,cAArY,EAAqZ,QAArZ,EAA+Z,WAA/Z,EAA4a,WAA5a,EAAyb,UAAzb,EAAqc,WAArc,EAAkd,UAAld,EAA8d,MAA9d,EAAse,cAAte,EAAsf,iBAAtf,EAAygB,iBAAzgB,EAA4hB,iBAA5hB,EAA+iB,gBAA/iB,EAAikB,gBAAjkB,EAAmlB,YAAnlB,EAAimB,gBAAjmB,EAAmnB,iBAAnnB,EAAsoB,aAAtoB,EAAqpB,eAArpB,EAAsqB,eAAtqB,EAAurB,cAAvrB,EAAusB,WAAvsB,EAAotB,OAAptB,EAA6tB,WAA7tB,EAA0uB,gBAA1uB,EAA4vB,OAA5vB,EAAqwB,iBAArwB,EAAwxB,mBAAxxB,EAA6yB,OAA7yB,EAAszB,UAAtzB,CAA3B,EAA81B,CAAC,OAAD,CAA91B,EAAy2B,EAAC,aAAa,WAAd,EAAz2B,C,UACA,OAAO,OAAP,C;;;AAEC,uBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJwB,U","file":"rte/rte.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.rte.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}rte`)\r\n@generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejRte extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/schedule/schedule.js.map b/dist/dev/dist/dev/schedule/schedule.js.map index 53baec3d4..32979e657 100644 --- a/dist/dev/dist/dev/schedule/schedule.js.map +++ b/dist/dev/dist/dev/schedule/schedule.js.map @@ -1 +1 @@ -{"version":3,"sources":["schedule/schedule.js"],"names":[],"mappings":";;;6FAQa,UAAU;;;;;;;;;;;;6BARf,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,gBAAU;;;kBAAV,UAAU;;8BAAV,UAAU;;uBACpB,QAAQ,CAAI,SAAS,CAAC,aAAa,uBAAoB;;mBAAa,EAAE;;;;;AAC5D,iBAFA,UAAU,CAET,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;SACtC;;0BAPU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,kBAAkB,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,UAAU,EAAE,oBAAoB,EAAE,YAAY,EAAE,WAAW,EAAE,qBAAqB,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,UAAU,EAAE,kBAAkB,EAAE,aAAa,EAAE,0BAA0B,EAAE,WAAW,EAAE,eAAe,EAAE,0BAA0B,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,oBAAoB,EAAE,OAAO,EAAE,OAAO,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,kBAAkB,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEjmC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAJtB,aAAa,CAAI,SAAS,CAAC,aAAa,cAAW,CAIvC,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"schedule/schedule.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'ej.schedule.min';\r\n\r\n@customElement(`${constants.elementPrefix}schedule`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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'})\r\n@inject(Element)\r\nexport class ejSchedule extends WidgetBase {\r\n @children(`${constants.elementPrefix}schedule-resource`) resources = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'resources';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["schedule/schedule.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;4BAQxE,U,WAJZ,cAAiB,UAAU,aAA3B,c,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,YAAlB,EAAgC,CAAC,kBAAD,EAAqB,yBAArB,EAAgD,qBAAhD,EAAuE,uBAAvE,EAAgG,UAAhG,EAA4G,oBAA5G,EAAkI,YAAlI,EAAgJ,WAAhJ,EAA6J,qBAA7J,EAAoL,aAApL,EAAmM,aAAnM,EAAkN,YAAlN,EAAgO,0BAAhO,EAA4P,yBAA5P,EAAuR,oBAAvR,EAA6S,mBAA7S,EAAkU,WAAlU,EAA+U,SAA/U,EAA0V,OAA1V,EAAmW,QAAnW,EAA6W,WAA7W,EAA0X,OAA1X,EAAmY,cAAnY,EAAmZ,QAAnZ,EAA6Z,SAA7Z,EAAwa,SAAxa,EAAmb,aAAnb,EAAkc,kBAAlc,EAAsd,UAAtd,EAAke,kBAAle,EAAsf,aAAtf,EAAqgB,0BAArgB,EAAiiB,WAAjiB,EAA8iB,eAA9iB,EAA+jB,0BAA/jB,EAA2lB,eAA3lB,EAA4mB,mBAA5mB,EAAioB,iBAAjoB,EAAopB,WAAppB,EAAiqB,UAAjqB,EAA6qB,UAA7qB,EAAyrB,oBAAzrB,EAA+sB,OAA/sB,EAAwtB,OAAxtB,EAAiuB,4BAAjuB,EAA+vB,oBAA/vB,EAAqxB,gBAArxB,EAAuyB,UAAvyB,EAAmzB,iBAAnzB,EAAs0B,WAAt0B,EAAm1B,8BAAn1B,EAAm3B,uBAAn3B,EAA44B,qBAA54B,EAAm6B,sBAAn6B,EAA27B,oBAA37B,EAAi9B,qBAAj9B,EAAw+B,mBAAx+B,EAA6/B,kBAA7/B,CAAhC,EAAkjC,CAAC,aAAD,EAAgB,aAAhB,CAAljC,EAAklC,EAAC,aAAa,WAAd,EAAllC,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,uB;;;AACD,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,WAAzB;AAJmB;AAKpB;;;QAP6B,U;;;iBACuC,E","file":"schedule/schedule.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'ej.schedule.min';\r\n\r\n@customElement(`${constants.elementPrefix}schedule`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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'})\r\n@inject(Element)\r\nexport class ejSchedule extends WidgetBase {\r\n @children(`${constants.elementPrefix}schedule-resource`) resources = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'resources';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/schedule/scheduleresource.js.map b/dist/dev/dist/dev/schedule/scheduleresource.js.map index 2e051c9a7..9d5ad94f2 100644 --- a/dist/dev/dist/dev/schedule/scheduleresource.js.map +++ b/dist/dev/dist/dev/schedule/scheduleresource.js.map @@ -1 +1 @@ -{"version":3,"sources":["schedule/scheduleresource.js"],"names":[],"mappings":";;;+DAMa,gBAAgB;;;;;;iCANrB,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,sBAAgB;iBAAhB,gBAAgB;;;;gCAAhB,gBAAgB;AAAhB,wBAAgB,GAF5B,iBAAiB,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAAC,CAEnF,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAH5B,aAAa,CAAI,SAAS,CAAC,aAAa,uBAAoB,CAGhD,gBAAgB,KAAhB,gBAAgB;AAAhB,wBAAgB,GAJ5B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,gBAAgB,KAAhB,gBAAgB;eAAhB,gBAAgB","file":"schedule/scheduleresource.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}schedule-resource`)\r\n@generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])\r\n\r\nexport class ScheduleResource {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["schedule/scheduleresource.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;kCAMjC,gB,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,uB,UACA,kBAAkB,WAAlB,EAA+B,CAAC,OAAD,EAAU,OAAV,EAAmB,MAAnB,EAA2B,eAA3B,EAA4C,kBAA5C,CAA/B,C","file":"schedule/scheduleresource.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}schedule-resource`)\r\n@generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])\r\n\r\nexport class ScheduleResource {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/scroller/scroller.js.map b/dist/dev/dist/dev/scroller/scroller.js.map index 78fcae530..c130ebaa5 100644 --- a/dist/dev/dist/dev/scroller/scroller.js.map +++ b/dist/dev/dist/dev/scroller/scroller.js.map @@ -1 +1 @@ -{"version":3,"sources":["scroller/scroller.js"],"names":[],"mappings":";;;yEAOa,UAAU;;;;;;;;sCAPf,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,mBAAmB,EAAE,QAAQ,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEzQ,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,eAAe,CAAI,SAAS,CAAC,eAAe,cAAW,CAG3C,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"scroller/scroller.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'common/ej.scroller.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}scroller`)\r\n@generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejScroller extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["scroller/scroller.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAO3C,U,WAHZ,gBAAmB,UAAU,eAA7B,c,UACA,kBAAkB,YAAlB,EAAgC,CAAC,UAAD,EAAa,YAAb,EAA2B,SAA3B,EAAsC,mBAAtC,EAA2D,WAA3D,EAAwE,mBAAxE,EAA6F,QAA7F,EAAuG,cAAvG,EAAuH,YAAvH,EAAqI,iBAArI,EAAwJ,WAAxJ,EAAqK,YAArK,EAAmL,OAAnL,CAAhC,EAA6N,CAAC,YAAD,EAAe,WAAf,CAA7N,EAA0P,EAAC,aAAa,WAAd,EAA1P,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"scroller/scroller.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'common/ej.scroller.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}scroller`)\r\n@generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejScroller extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/slider/slider.js.map b/dist/dev/dist/dev/slider/slider.js.map index d41c16480..466e3d97c 100644 --- a/dist/dev/dist/dev/slider/slider.js.map +++ b/dist/dev/dist/dev/slider/slider.js.map @@ -1 +1 @@ -{"version":3,"sources":["slider/slider.js"],"names":[],"mappings":";;;yEAOa,QAAQ;;;;;;;;sCAPb,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,cAAQ;kBAAR,QAAQ;;AACR,iBADA,QAAQ,CACP,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;wBAJU,QAAQ;AAAR,gBAAQ,GADpB,MAAM,CAAC,OAAO,CAAC,CACH,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAFpB,iBAAiB,CAAC,UAAU,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,mBAAmB,EAAE,WAAW,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAElZ,QAAQ,KAAR,QAAQ;AAAR,gBAAQ,GAHpB,eAAe,CAAI,SAAS,CAAC,eAAe,YAAS,CAGzC,QAAQ,KAAR,QAAQ;eAAR,QAAQ;SAAS,UAAU","file":"slider/slider.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.slider.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}slider`)\r\n@generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejSlider extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["slider/slider.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;0BAO3C,Q,WAHZ,gBAAmB,UAAU,eAA7B,Y,UACA,kBAAkB,UAAlB,EAA8B,CAAC,iBAAD,EAAoB,gBAApB,EAAsC,UAAtC,EAAkD,iBAAlD,EAAqE,SAArE,EAAgF,mBAAhF,EAAqG,WAArG,EAAkH,QAAlH,EAA4H,gBAA5H,EAA8I,eAA9I,EAA+J,WAA/J,EAA4K,UAA5K,EAAwL,UAAxL,EAAoM,aAApM,EAAmN,UAAnN,EAA+N,mBAA/N,EAAoP,WAApP,EAAiQ,gBAAjQ,EAAmR,aAAnR,EAAkS,YAAlS,EAAgT,WAAhT,EAA6T,OAA7T,EAAsU,QAAtU,EAAgV,OAAhV,CAA9B,EAAwX,CAAC,OAAD,CAAxX,EAAmY,EAAC,aAAa,WAAd,EAAnY,C,UACA,OAAO,OAAP,C;;;AAEC,0BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ2B,U","file":"slider/slider.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.slider.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}slider`)\r\n@generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejSlider extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/sparkline/sparkline.js.map b/dist/dev/dist/dev/sparkline/sparkline.js.map index 22f57b95e..5875461bd 100644 --- a/dist/dev/dist/dev/sparkline/sparkline.js.map +++ b/dist/dev/dist/dev/sparkline/sparkline.js.map @@ -1 +1 @@ -{"version":3,"sources":["sparkline/sparkline.js"],"names":[],"mappings":";;;mFAQa,WAAW;;;;;;;;oCARhB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,iBAAW;kBAAX,WAAW;;AACX,iBADA,WAAW,CACV,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;2BAJU,WAAW;AAAX,mBAAW,GADvB,MAAM,CAAC,OAAO,CAAC,CACH,WAAW,KAAX,WAAW;AAAX,mBAAW,GAFvB,iBAAiB,CAAC,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,eAAe,EAAE,oBAAoB,EAAE,YAAY,EAAE,UAAU,EAAE,uBAAuB,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAElX,WAAW,KAAX,WAAW;AAAX,mBAAW,GAHvB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,WAAW,KAAX,WAAW;AAAX,mBAAW,GAJvB,aAAa,CAAI,SAAS,CAAC,aAAa,eAAY,CAIxC,WAAW,KAAX,WAAW;eAAX,WAAW;SAAS,UAAU","file":"sparkline/sparkline.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.sparkline.min';\r\n\r\n@customElement(`${constants.elementPrefix}sparkline`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])\r\n@inject(Element)\r\nexport class ejSparkline extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["sparkline/sparkline.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;6BAQrD,W,WAJZ,cAAiB,UAAU,aAA3B,e,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,aAAlB,EAAiC,CAAC,YAAD,EAAe,MAAf,EAAuB,QAAvB,EAAiC,aAAjC,EAAgD,SAAhD,EAA2D,aAA3D,EAA0E,gBAA1E,EAA4F,eAA5F,EAA6G,iBAA7G,EAAgI,eAAhI,EAAiJ,oBAAjJ,EAAuK,YAAvK,EAAqL,UAArL,EAAiM,uBAAjM,EAA0N,YAA1N,EAAwO,OAAxO,EAAiP,OAAjP,EAA0P,SAA1P,EAAqQ,MAArQ,EAA6Q,OAA7Q,EAAsR,SAAtR,EAAiS,gBAAjS,EAAmT,MAAnT,EAA2T,QAA3T,EAAqU,UAArU,EAAiV,UAAjV,CAAjC,C,UACA,OAAO,OAAP,C;;;AAEC,6BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ8B,U","file":"sparkline/sparkline.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.sparkline.min';\r\n\r\n@customElement(`${constants.elementPrefix}sparkline`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])\r\n@inject(Element)\r\nexport class ejSparkline extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/splitbutton/splitbutton.js.map b/dist/dev/dist/dev/splitbutton/splitbutton.js.map index ab9d16b67..ae7900718 100644 --- a/dist/dev/dist/dev/splitbutton/splitbutton.js.map +++ b/dist/dev/dist/dev/splitbutton/splitbutton.js.map @@ -1 +1 @@ -{"version":3,"sources":["splitbutton/splitbutton.js"],"names":[],"mappings":";;;yEAOa,aAAa;;;;;;;;sCAPlB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,mBAAa;kBAAb,aAAa;;AACb,iBADA,aAAa,CACZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;6BAJU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC,CAErS,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,eAAe,CAAI,SAAS,CAAC,eAAe,kBAAe,CAG/C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"splitbutton/splitbutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.splitbutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}split-button`)\r\n@generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], {'enableRTL': 'enableRtl', 'targetID': 'targetId'})\r\n@inject(Element)\r\nexport class ejSplitButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["splitbutton/splitbutton.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;+BAO3C,a,WAHZ,gBAAmB,UAAU,eAA7B,kB,UACA,kBAAkB,eAAlB,EAAmC,CAAC,eAAD,EAAkB,YAAlB,EAAgC,aAAhC,EAA+C,UAA/C,EAA2D,SAA3D,EAAsE,WAAtE,EAAmF,QAAnF,EAA6F,gBAA7F,EAA+G,eAA/G,EAAgI,YAAhI,EAA8I,mBAA9I,EAAmK,MAAnK,EAA2K,YAA3K,EAAyL,UAAzL,EAAqM,MAArM,EAA6M,OAA7M,CAAnC,EAA0P,EAA1P,EAA8P,EAAC,aAAa,WAAd,EAA2B,YAAY,UAAvC,EAA9P,C,UACA,OAAO,OAAP,C;;;AAEC,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJgC,U","file":"splitbutton/splitbutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.splitbutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}split-button`)\r\n@generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], {'enableRTL': 'enableRtl', 'targetID': 'targetId'})\r\n@inject(Element)\r\nexport class ejSplitButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/splitter/splitter.js.map b/dist/dev/dist/dev/splitter/splitter.js.map index e046a6dcd..15062fe96 100644 --- a/dist/dev/dist/dev/splitter/splitter.js.map +++ b/dist/dev/dist/dev/splitter/splitter.js.map @@ -1 +1 @@ -{"version":3,"sources":["splitter/splitter.js"],"names":[],"mappings":";;;mFAQa,UAAU;;;;;;;;oCARf,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,yBAAyB,EAAE,gBAAgB,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEhO,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAJtB,aAAa,CAAI,SAAS,CAAC,aAAa,cAAW,CAIvC,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"splitter/splitter.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.splitter.min';\r\n\r\n@customElement(`${constants.elementPrefix}splitter`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejSplitter extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["splitter/splitter.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAQrD,U,WAJZ,cAAiB,UAAU,aAA3B,c,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,YAAlB,EAAgC,CAAC,yBAAD,EAA4B,gBAA5B,EAA8C,UAA9C,EAA0D,iBAA1D,EAA6E,WAA7E,EAA0F,QAA1F,EAAoG,gBAApG,EAAsH,cAAtH,EAAsI,aAAtI,EAAqJ,YAArJ,EAAmK,OAAnK,CAAhC,EAA6M,EAA7M,EAAiN,EAAC,aAAa,WAAd,EAAjN,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"splitter/splitter.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.splitter.min';\r\n\r\n@customElement(`${constants.elementPrefix}splitter`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejSplitter extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/spreadsheet/sheet.js.map b/dist/dev/dist/dev/spreadsheet/sheet.js.map index b3bf5eacd..695e79a27 100644 --- a/dist/dev/dist/dev/spreadsheet/sheet.js.map +++ b/dist/dev/dist/dev/spreadsheet/sheet.js.map @@ -1 +1 @@ -{"version":3,"sources":["spreadsheet/sheet.js"],"names":[],"mappings":";;;+DAMa,KAAK;;;;;;iCANV,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,WAAK;iBAAL,KAAK;;;;qBAAL,KAAK;AAAL,aAAK,GAFjB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAE,cAAc,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC,CAE9N,KAAK,KAAL,KAAK;AAAL,aAAK,GAHjB,aAAa,CAAI,SAAS,CAAC,aAAa,WAAQ,CAGpC,KAAK,KAAL,KAAK;AAAL,aAAK,GAJjB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,KAAK,KAAL,KAAK;eAAL,KAAK","file":"spreadsheet/sheet.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}sheet`)\r\n@generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])\r\n\r\nexport class Sheet {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["spreadsheet/sheet.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;uBAMjC,K,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,W,UACA,kBAAkB,QAAlB,EAA4B,CAAC,UAAD,EAAa,aAAb,EAA4B,YAA5B,EAA0C,qBAA1C,EAAiE,cAAjE,EAAiF,YAAjF,EAA+F,OAA/F,EAAwG,eAAxG,EAAyH,UAAzH,EAAqI,WAArI,EAAkJ,eAAlJ,EAAmK,YAAnK,EAAiL,cAAjL,EAAiM,WAAjM,CAA5B,C","file":"spreadsheet/sheet.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}sheet`)\r\n@generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])\r\n\r\nexport class Sheet {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/spreadsheet/spreadsheet.js.map b/dist/dev/dist/dev/spreadsheet/spreadsheet.js.map index 26eee2cda..cdb759a4d 100644 --- a/dist/dev/dist/dev/spreadsheet/spreadsheet.js.map +++ b/dist/dev/dist/dev/spreadsheet/spreadsheet.js.map @@ -1 +1 @@ -{"version":3,"sources":["spreadsheet/spreadsheet.js"],"names":[],"mappings":";;;6FAQa,aAAa;;;;;;;;;;;;6BARlB,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,mBAAa;;;kBAAb,aAAa;;8BAAb,aAAa;;uBACvB,QAAQ,CAAI,SAAS,CAAC,aAAa,WAAQ;;mBAAU,EAAE;;;;;AAC7C,iBAFA,aAAa,CAEZ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,QAAQ,CAAC;SACnC;;6BAPU,aAAa;AAAb,qBAAa,GADzB,MAAM,CAAC,OAAO,CAAC,CACH,aAAa,KAAb,aAAa;AAAb,qBAAa,GAFzB,iBAAiB,CAAC,eAAe,EAAE,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,cAAc,EAAE,qBAAqB,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,aAAa,EAAE,kBAAkB,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,aAAa,EAAE,yBAAyB,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,CAAC,CAAC,CAE79B,aAAa,KAAb,aAAa;AAAb,qBAAa,GAHzB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,aAAa,KAAb,aAAa;AAAb,qBAAa,GAJzB,aAAa,CAAI,SAAS,CAAC,aAAa,iBAAc,CAI1C,aAAa,KAAb,aAAa;eAAb,aAAa;SAAS,UAAU","file":"spreadsheet/spreadsheet.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'ej.spreadsheet.min';\r\n\r\n@customElement(`${constants.elementPrefix}spreadsheet`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])\r\n@inject(Element)\r\nexport class ejSpreadsheet extends WidgetBase {\r\n @children(`${constants.elementPrefix}sheet`) sheets = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'sheets';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["spreadsheet/spreadsheet.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;+BAQxE,a,WAJZ,cAAiB,UAAU,aAA3B,iB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,eAAlB,EAAmC,CAAC,kBAAD,EAAqB,mBAArB,EAA0C,eAA1C,EAA2D,cAA3D,EAA2E,qBAA3E,EAAkG,eAAlG,EAAmH,aAAnH,EAAkI,gBAAlI,EAAoJ,eAApJ,EAAqK,yBAArK,EAAgM,qBAAhM,EAAuN,aAAvN,EAAsO,kBAAtO,EAA0P,cAA1P,EAA0Q,gBAA1Q,EAA4R,oBAA5R,EAAkT,oBAAlT,EAAwU,iBAAxU,EAA2V,eAA3V,EAA4W,gBAA5W,EAA8X,aAA9X,EAA6Y,aAA7Y,EAA4Z,yBAA5Z,EAAub,eAAvb,EAAwc,cAAxc,EAAwd,eAAxd,EAAye,gBAAze,EAA2f,gBAA3f,EAA6gB,cAA7gB,EAA6hB,eAA7hB,EAA8iB,WAA9iB,EAA2jB,SAA3jB,EAAskB,kBAAtkB,EAA0lB,eAA1lB,EAA2mB,aAA3mB,EAA0nB,aAA1nB,EAAyoB,UAAzoB,EAAqpB,gBAArpB,EAAuqB,mBAAvqB,EAA4rB,kBAA5rB,EAAgtB,gBAAhtB,EAAkuB,gBAAluB,EAAovB,cAApvB,EAAowB,gBAApwB,EAAsxB,QAAtxB,EAAgyB,iBAAhyB,EAAmzB,eAAnzB,EAAo0B,UAAp0B,EAAg1B,WAAh1B,EAA61B,gBAA71B,EAA+2B,mBAA/2B,EAAo4B,YAAp4B,EAAk5B,QAAl5B,EAA45B,YAA55B,EAA06B,cAA16B,EAA07B,UAA17B,CAAnC,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,W;;;AACD,+BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,QAAzB;AAJmB;AAKpB;;;QAPgC,U;;;iBACqB,E","file":"spreadsheet/spreadsheet.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'ej.spreadsheet.min';\r\n\r\n@customElement(`${constants.elementPrefix}spreadsheet`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])\r\n@inject(Element)\r\nexport class ejSpreadsheet extends WidgetBase {\r\n @children(`${constants.elementPrefix}sheet`) sheets = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'sheets';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/symbolpalette/symbolpalette.js.map b/dist/dev/dist/dev/symbolpalette/symbolpalette.js.map index 404252c4f..5d8dd2b03 100644 --- a/dist/dev/dist/dev/symbolpalette/symbolpalette.js.map +++ b/dist/dev/dist/dev/symbolpalette/symbolpalette.js.map @@ -1 +1 @@ -{"version":3,"sources":["symbolpalette/symbolpalette.js"],"names":[],"mappings":";;;mFAQa,eAAe;;;;;;;;oCARpB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,qBAAe;kBAAf,eAAe;;AACf,iBADA,eAAe,CACd,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;+BAJU,eAAe;AAAf,uBAAe,GAD3B,MAAM,CAAC,OAAO,CAAC,CACH,eAAe,KAAf,eAAe;AAAf,uBAAe,GAF3B,iBAAiB,CAAC,iBAAiB,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,cAAc,EAAE,QAAQ,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAEpP,eAAe,KAAf,eAAe;AAAf,uBAAe,GAH3B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,eAAe,KAAf,eAAe;AAAf,uBAAe,GAJ3B,aAAa,CAAI,SAAS,CAAC,aAAa,oBAAiB,CAI7C,eAAe,KAAf,eAAe;eAAf,eAAe;SAAS,UAAU","file":"symbolpalette/symbolpalette.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.diagram.min';\r\n\r\n@customElement(`${constants.elementPrefix}symbol-palette`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])\r\n@inject(Element)\r\nexport class ejSymbolPalette extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["symbolpalette/symbolpalette.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;iCAQrD,e,WAJZ,cAAiB,UAAU,aAA3B,oB,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,iBAAlB,EAAqC,CAAC,WAAD,EAAc,UAAd,EAA0B,iBAA1B,EAA6C,WAA7C,EAA0D,cAA1D,EAA0E,QAA1E,EAAoF,mBAApF,EAAyG,kBAAzG,EAA6H,UAA7H,EAAyI,eAAzI,EAA0J,eAA1J,EAA2K,cAA3K,EAA2L,qBAA3L,EAAkN,OAAlN,CAArC,C,UACA,OAAO,OAAP,C;;;AAEC,iCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJkC,U","file":"symbolpalette/symbolpalette.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'datavisualization/ej.diagram.min';\r\n\r\n@customElement(`${constants.elementPrefix}symbol-palette`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])\r\n@inject(Element)\r\nexport class ejSymbolPalette extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/tab/tab.js.map b/dist/dev/dist/dev/tab/tab.js.map index 50a29f8c9..b97cea2ee 100644 --- a/dist/dev/dist/dev/tab/tab.js.map +++ b/dist/dev/dist/dev/tab/tab.js.map @@ -1 +1 @@ -{"version":3,"sources":["tab/tab.js"],"names":[],"mappings":";;;mFAQa,KAAK;;;;;;;;oCARV,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,WAAK;kBAAL,KAAK;;AACL,iBADA,KAAK,CACJ,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;qBAJU,KAAK;AAAL,aAAK,GADjB,MAAM,CAAC,OAAO,CAAC,CACH,KAAK,KAAL,KAAK;AAAL,aAAK,GAFjB,iBAAiB,CAAC,OAAO,EAAE,CAAC,cAAc,EAAE,yBAAyB,EAAE,aAAa,EAAE,UAAU,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,SAAS,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,CAAC,mBAAmB,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEtd,KAAK,KAAL,KAAK;AAAL,aAAK,GAHjB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,KAAK,KAAL,KAAK;AAAL,aAAK,GAJjB,aAAa,CAAI,SAAS,CAAC,aAAa,SAAM,CAIlC,KAAK,KAAL,KAAK;eAAL,KAAK;SAAS,UAAU","file":"tab/tab.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tab.min';\r\n\r\n@customElement(`${constants.elementPrefix}tab`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTab extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["tab/tab.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;uBAQrD,K,WAJZ,cAAiB,UAAU,aAA3B,S,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,OAAlB,EAA2B,CAAC,cAAD,EAAiB,yBAAjB,EAA4C,aAA5C,EAA2D,UAA3D,EAAuE,mBAAvE,EAA4F,iBAA5F,EAA+G,SAA/G,EAA0H,kBAA1H,EAA8I,mBAA9I,EAAmK,WAAnK,EAAgL,iBAAhL,EAAmM,QAAnM,EAA6M,gBAA7M,EAA+N,YAA/N,EAA6O,QAA7O,EAAuP,kBAAvP,EAA2Q,iBAA3Q,EAA8R,gBAA9R,EAAgT,UAAhT,EAA4T,mBAA5T,EAAiV,iBAAjV,EAAoW,gBAApW,EAAsX,mBAAtX,EAA2Y,OAA3Y,CAA3B,EAAgb,CAAC,mBAAD,CAAhb,EAAuc,EAAC,aAAa,WAAd,EAAvc,C,UACA,OAAO,OAAP,C;;;AAEC,uBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJwB,U","file":"tab/tab.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tab.min';\r\n\r\n@customElement(`${constants.elementPrefix}tab`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTab extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/tagcloud/tagcloud.js.map b/dist/dev/dist/dev/tagcloud/tagcloud.js.map index 595478c47..827df1719 100644 --- a/dist/dev/dist/dev/tagcloud/tagcloud.js.map +++ b/dist/dev/dist/dev/tagcloud/tagcloud.js.map @@ -1 +1 @@ -{"version":3,"sources":["tagcloud/tagcloud.js"],"names":[],"mappings":";;;mFAQa,UAAU;;;;;;;;oCARf,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE/L,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAJtB,aAAa,CAAI,SAAS,CAAC,aAAa,eAAY,CAIxC,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"tagcloud/tagcloud.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tagcloud.min';\r\n\r\n@customElement(`${constants.elementPrefix}tag-cloud`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTagCloud extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["tagcloud/tagcloud.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAQrD,U,WAJZ,cAAiB,UAAU,aAA3B,e,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,YAAlB,EAAgC,CAAC,UAAD,EAAa,YAAb,EAA2B,WAA3B,EAAwC,QAAxC,EAAkD,QAAlD,EAA4D,aAA5D,EAA2E,aAA3E,EAA0F,OAA1F,EAAmG,WAAnG,EAAgH,YAAhH,EAA8H,WAA9H,CAAhC,EAA4K,EAA5K,EAAgL,EAAC,aAAa,WAAd,EAAhL,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"tagcloud/tagcloud.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tagcloud.min';\r\n\r\n@customElement(`${constants.elementPrefix}tag-cloud`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTagCloud extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/tile/tile.js.map b/dist/dev/dist/dev/tile/tile.js.map index d22d0c944..3e7c510d1 100644 --- a/dist/dev/dist/dev/tile/tile.js.map +++ b/dist/dev/dist/dev/tile/tile.js.map @@ -1 +1 @@ -{"version":3,"sources":["tile/tile.js"],"names":[],"mappings":";;;mFAQa,MAAM;;;;;;;;oCARX,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,YAAM;kBAAN,MAAM;;AACN,iBADA,MAAM,CACL,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;sBAJU,MAAM;AAAN,cAAM,GADlB,MAAM,CAAC,OAAO,CAAC,CACH,MAAM,KAAN,MAAM;AAAN,cAAM,GAFlB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,CAAC,CAEzO,MAAM,KAAN,MAAM;AAAN,cAAM,GAHlB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,MAAM,KAAN,MAAM;AAAN,cAAM,GAJlB,aAAa,CAAI,SAAS,CAAC,aAAa,UAAO,CAInC,MAAM,KAAN,MAAM;eAAN,MAAM;SAAS,UAAU","file":"tile/tile.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tile.min';\r\n\r\n@customElement(`${constants.elementPrefix}tile`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])\r\n@inject(Element)\r\nexport class ejTile extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["tile/tile.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;wBAQrD,M,WAJZ,cAAiB,UAAU,aAA3B,U,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,QAAlB,EAA4B,CAAC,OAAD,EAAU,SAAV,EAAqB,UAArB,EAAiC,mBAAjC,EAAsD,QAAtD,EAAgE,YAAhE,EAA8E,eAA9E,EAA+F,iBAA/F,EAAkH,UAAlH,EAA8H,UAA9H,EAA0I,UAA1I,EAAsJ,OAAtJ,EAA+J,mBAA/J,EAAoL,gBAApL,EAAsM,iBAAtM,CAA5B,C,UACA,OAAO,OAAP,C;;;AAEC,wBAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJyB,U","file":"tile/tile.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tile.min';\r\n\r\n@customElement(`${constants.elementPrefix}tile`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])\r\n@inject(Element)\r\nexport class ejTile extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/timepicker/timepicker.js.map b/dist/dev/dist/dev/timepicker/timepicker.js.map index 52097c5e9..07e46c9d0 100644 --- a/dist/dev/dist/dev/timepicker/timepicker.js.map +++ b/dist/dev/dist/dev/timepicker/timepicker.js.map @@ -1 +1 @@ -{"version":3,"sources":["timepicker/timepicker.js"],"names":[],"mappings":";;;yEAOa,YAAY;;;;;;;;sCAPjB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,kBAAY;kBAAZ,YAAY;;AACZ,iBADA,YAAY,CACX,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;AACrB,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;4BALU,YAAY;AAAZ,oBAAY,GADxB,MAAM,CAAC,OAAO,CAAC,CACH,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAFxB,iBAAiB,CAAC,cAAc,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEla,YAAY,KAAZ,YAAY;AAAZ,oBAAY,GAHxB,eAAe,CAAI,SAAS,CAAC,eAAe,iBAAc,CAG9C,YAAY,KAAZ,YAAY;eAAZ,YAAY;SAAS,UAAU","file":"timepicker/timepicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.timepicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}time-picker`)\r\n@generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTimePicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["timepicker/timepicker.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;8BAO3C,Y,WAHZ,gBAAmB,UAAU,eAA7B,iB,UACA,kBAAkB,cAAlB,EAAkC,CAAC,UAAD,EAAa,iBAAb,EAAgC,SAAhC,EAA2C,mBAA3C,EAAgE,WAAhE,EAA6E,kBAA7E,EAAiG,mBAAjG,EAAsH,QAAtH,EAAgI,cAAhI,EAAgJ,gBAAhJ,EAAkK,UAAlK,EAA8K,QAA9K,EAAwL,SAAxL,EAAmM,SAAnM,EAA8M,iBAA9M,EAAiO,aAAjO,EAAgP,YAAhP,EAA8P,UAA9P,EAA0Q,iBAA1Q,EAA6R,iBAA7R,EAAgT,mBAAhT,EAAqU,YAArU,EAAmV,OAAnV,EAA4V,OAA5V,CAAlC,EAAwY,CAAC,OAAD,CAAxY,EAAmZ,EAAC,aAAa,WAAd,EAAnZ,C,UACA,OAAO,OAAP,C;;;AAEC,8BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,QAAL,GAAgB,IAAhB;AACA,gBAAK,OAAL,GAAe,OAAf;AAHmB;AAIpB;;;QAL+B,U","file":"timepicker/timepicker.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.timepicker.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}time-picker`)\r\n@generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTimePicker extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.isEditor = true;\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/togglebutton/togglebutton.js.map b/dist/dev/dist/dev/togglebutton/togglebutton.js.map index 0f6110d76..910875dff 100644 --- a/dist/dev/dist/dev/togglebutton/togglebutton.js.map +++ b/dist/dev/dist/dev/togglebutton/togglebutton.js.map @@ -1 +1 @@ -{"version":3,"sources":["togglebutton/togglebutton.js"],"names":[],"mappings":";;;yEAOa,cAAc;;;;;;;;sCAPnB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE3W,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,eAAe,CAAI,SAAS,CAAC,eAAe,mBAAgB,CAGhD,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"togglebutton/togglebutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.togglebutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}toggle-button`)\r\n@generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejToggleButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["togglebutton/togglebutton.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAO3C,c,WAHZ,gBAAmB,UAAU,eAA7B,mB,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,kBAAD,EAAqB,kBAArB,EAAyC,YAAzC,EAAuD,aAAvD,EAAsE,UAAtE,EAAkF,mBAAlF,EAAuG,mBAAvG,EAA4H,aAA5H,EAA2I,SAA3I,EAAsJ,mBAAtJ,EAA2K,WAA3K,EAAwL,QAAxL,EAAkM,gBAAlM,EAAoN,eAApN,EAAqO,eAArO,EAAsP,mBAAtP,EAA2Q,MAA3Q,EAAmR,aAAnR,EAAkS,MAAlS,EAA0S,OAA1S,CAApC,EAAwV,EAAxV,EAA4V,EAAC,aAAa,WAAd,EAA5V,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"togglebutton/togglebutton.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.togglebutton.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}toggle-button`)\r\n@generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejToggleButton extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/toolbar/toolbar.js.map b/dist/dev/dist/dev/toolbar/toolbar.js.map index 0b94476a7..74ed47133 100644 --- a/dist/dev/dist/dev/toolbar/toolbar.js.map +++ b/dist/dev/dist/dev/toolbar/toolbar.js.map @@ -1 +1 @@ -{"version":3,"sources":["toolbar/toolbar.js"],"names":[],"mappings":";;;yEAOa,SAAS;;;;;;;;sCAPd,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,eAAS;kBAAT,SAAS;;AACT,iBADA,SAAS,CACR,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;yBAJU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC,CAE/P,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,eAAe,CAAI,SAAS,CAAC,eAAe,aAAU,CAG1C,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"toolbar/toolbar.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.toolbar.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}toolbar`)\r\n@generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], {'enableRTL': 'enableRtl', 'targetID': 'targetId'})\r\n@inject(Element)\r\nexport class ejToolbar extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["toolbar/toolbar.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;2BAO3C,S,WAHZ,gBAAmB,UAAU,eAA7B,a,UACA,kBAAkB,WAAlB,EAA+B,CAAC,UAAD,EAAa,YAAb,EAA2B,SAA3B,EAAsC,WAAtC,EAAmD,iBAAnD,EAAsE,QAAtE,EAAgF,QAAhF,EAA0F,MAA1F,EAAkG,cAAlG,EAAkH,aAAlH,EAAiI,OAAjI,EAA0I,mBAA1I,EAA+J,UAA/J,EAA2K,OAA3K,CAA/B,EAAoN,EAApN,EAAwN,EAAC,aAAa,WAAd,EAA2B,YAAY,UAAvC,EAAxN,C,UACA,OAAO,OAAP,C;;;AAEC,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ4B,U","file":"toolbar/toolbar.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.toolbar.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}toolbar`)\r\n@generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], {'enableRTL': 'enableRtl', 'targetID': 'targetId'})\r\n@inject(Element)\r\nexport class ejToolbar extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/tooltip/tooltip.js.map b/dist/dev/dist/dev/tooltip/tooltip.js.map index 10d765404..5d2078eef 100644 --- a/dist/dev/dist/dev/tooltip/tooltip.js.map +++ b/dist/dev/dist/dev/tooltip/tooltip.js.map @@ -1 +1 @@ -{"version":3,"sources":["tooltip/tooltip.js"],"names":[],"mappings":";;;yEAOa,SAAS;;;;;;;;sCAPd,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,eAAS;kBAAT,SAAS;;AACT,iBADA,SAAS,CACR,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;yBAJU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,yBAAyB,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAElU,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,eAAe,CAAI,SAAS,CAAC,eAAe,aAAU,CAG1C,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"tooltip/tooltip.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tooltip.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}tooltip`)\r\n@generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTooltip extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["tooltip/tooltip.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;2BAO3C,S,WAHZ,gBAAmB,UAAU,eAA7B,a,UACA,kBAAkB,WAAlB,EAA+B,CAAC,yBAAD,EAA4B,WAA5B,EAAyC,WAAzC,EAAsD,kBAAtD,EAA0E,WAA1E,EAAuF,WAAvF,EAAoG,aAApG,EAAmH,SAAnH,EAA8H,UAA9H,EAA0I,SAA1I,EAAqJ,WAArJ,EAAkK,QAAlK,EAA4K,WAA5K,EAAyL,UAAzL,EAAqM,mBAArM,EAA0N,YAA1N,EAAwO,QAAxO,EAAkP,OAAlP,EAA2P,SAA3P,EAAsQ,OAAtQ,CAA/B,EAA+S,EAA/S,EAAmT,EAAC,aAAa,WAAd,EAAnT,C,UACA,OAAO,OAAP,C;;;AAEC,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ4B,U","file":"tooltip/tooltip.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.tooltip.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}tooltip`)\r\n@generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTooltip extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/treegrid/treegrid.js.map b/dist/dev/dist/dev/treegrid/treegrid.js.map index d4696e0eb..25b81b372 100644 --- a/dist/dev/dist/dev/treegrid/treegrid.js.map +++ b/dist/dev/dist/dev/treegrid/treegrid.js.map @@ -1 +1 @@ -{"version":3,"sources":["treegrid/treegrid.js"],"names":[],"mappings":";;;kIAQa,UAAU;;;;;;;;;;;;6BARf,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;uCAAE,gBAAgB;wCAAE,iBAAiB;;;AAQrH,gBAAU;;;kBAAV,UAAU;;8BAAV,UAAU;;uBACpB,QAAQ,CAAI,SAAS,CAAC,aAAa,sBAAmB;;mBAAW,EAAE;;;;;AACzD,iBAFA,UAAU,CAET,OAAO,EAAE,cAAc,EAAE;;;AACnC,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;AACnC,cAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;AACrE,cAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;SACvC;;0BATU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,EAAE,gBAAgB,CAAC,CACrB,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,cAAc,EAAE,kBAAkB,EAAE,cAAc,EAAE,SAAS,EAAE,qBAAqB,EAAE,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,CAAC,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC,EAAE,EAAC,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EAAC,CAAC,CAEpvB,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,UAAU,KAAV,UAAU;AAAV,kBAAU,GAJtB,aAAa,CAAI,SAAS,CAAC,aAAa,eAAY,CAIxC,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"treegrid/treegrid.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor} from '../common/common';\r\n\r\nimport 'ej.treegrid.min';\r\n\r\n@customElement(`${constants.elementPrefix}tree-grid`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], {'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId'})\r\n@inject(Element, TemplatingEngine)\r\nexport class ejTreeGrid extends WidgetBase {\r\n @children(`${constants.elementPrefix}tree-grid-column`) columns = [];\r\n constructor(element, templateEngine) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'columns';\r\n this.templateProcessor = new TemplateProcessor(this, templateEngine);\r\n this.templateProcessor.initTemplate();\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["treegrid/treegrid.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;AAAU,sB,iBAAA,gB;AAAkB,uB,iBAAA,iB;;;4BAQpG,U,WAJZ,cAAiB,UAAU,aAA3B,e,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,YAAlB,EAAgC,CAAC,mBAAD,EAAsB,kBAAtB,EAA0C,gBAA1C,EAA4D,yBAA5D,EAAuF,mBAAvF,EAA4G,gBAA5G,EAA8H,cAA9H,EAA8I,kBAA9I,EAAkK,cAAlK,EAAkL,SAAlL,EAA6L,qBAA7L,EAAoN,YAApN,EAAkO,oBAAlO,EAAwP,aAAxP,EAAuQ,cAAvQ,EAAuR,cAAvR,EAAuS,mBAAvS,EAA4T,cAA5T,EAA4U,sBAA5U,EAAoW,eAApW,EAAqX,WAArX,EAAkY,iBAAlY,EAAqZ,OAArZ,EAA8Z,WAA9Z,EAA2a,eAA3a,EAA4b,kBAA5b,EAAgd,eAAhd,EAAie,mBAAje,EAAsf,qBAAtf,EAA6gB,2BAA7gB,EAA0iB,cAA1iB,EAA0jB,cAA1jB,EAA0kB,iBAA1kB,EAA6lB,iBAA7lB,CAAhC,EAAipB,CAAC,YAAD,EAAe,kBAAf,CAAjpB,EAAqrB,EAAC,oBAAoB,kBAArB,EAAyC,iBAAiB,eAA1D,EAArrB,C,UACA,OAAO,OAAP,EAAgB,gBAAhB,C,UAEE,SAAY,UAAU,aAAtB,sB;;;AACD,4BAAY,OAAZ,EAAqB,cAArB,EAAqC;AAAA;;AAAA,uDACnC,sBADmC;;AAAA;;AAEnC,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,SAAzB;AACA,gBAAK,iBAAL,GAAyB,IAAI,iBAAJ,QAA4B,cAA5B,CAAzB;AACA,gBAAK,iBAAL,CAAuB,YAAvB;AANmC;AAOpC;;;QAT6B,U;;;iBACoC,E","file":"treegrid/treegrid.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor} from '../common/common';\r\n\r\nimport 'ej.treegrid.min';\r\n\r\n@customElement(`${constants.elementPrefix}tree-grid`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], {'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId'})\r\n@inject(Element, TemplatingEngine)\r\nexport class ejTreeGrid extends WidgetBase {\r\n @children(`${constants.elementPrefix}tree-grid-column`) columns = [];\r\n constructor(element, templateEngine) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'columns';\r\n this.templateProcessor = new TemplateProcessor(this, templateEngine);\r\n this.templateProcessor.initTemplate();\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/treegrid/treegridcolumn.js.map b/dist/dev/dist/dev/treegrid/treegridcolumn.js.map index 2e1bd6a56..34b4e375b 100644 --- a/dist/dev/dist/dev/treegrid/treegridcolumn.js.map +++ b/dist/dev/dist/dev/treegrid/treegridcolumn.js.map @@ -1 +1 @@ -{"version":3,"sources":["treegrid/treegridcolumn.js"],"names":[],"mappings":";;;+EAMa,cAAc;;;;;;;;;;iCANnB,UAAU;oCAAE,aAAa;+BAAE,QAAQ;gCAAE,SAAS;wCAAE,iBAAiB;2BAAE,IAAI;;;AAMlE,oBAAc;;;iBAAd,cAAc;;;;;;AAAd,sBAAc,WAEzB,YAAY,GAAA,wBAAG;AACb,cAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;AACpB,gBAAI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;AACtB,gBAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;WAC5E;SACF;;8BAPU,cAAc;;uBACxB,QAAQ,CAAI,SAAS,CAAC,aAAa,cAAW;;mBAAY,EAAE;;;;;8BADlD,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,SAAS,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,UAAU,EAAE,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAkB,EAAE,UAAU,EAAE,eAAe,CAAC,CAAC,CAErK,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,aAAa,CAAI,SAAS,CAAC,aAAa,sBAAmB,CAG/C,cAAc,KAAd,cAAc;AAAd,sBAAc,GAJ1B,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,cAAc,KAAd,cAAc;eAAd,cAAc","file":"treegrid/treegridcolumn.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, children, constants, generateBindables, Util} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}tree-grid-column`)\r\n@generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])\r\n\r\nexport class TreeGridColumn {\r\n @children(`${constants.elementPrefix}template`) template = [];\r\n setTemplates() {\r\n if (this.template[0]) {\r\n let util = new Util();\r\n this[util.getBindablePropertyName('template')] = this.template[0].template;\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["treegrid/treegridcolumn.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;AAAU,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,U,iBAAA,I;;;gCAM9D,c,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,sB,UACA,kBAAkB,SAAlB,EAA6B,CAAC,gBAAD,EAAmB,cAAnB,EAAmC,UAAnC,EAA+C,OAA/C,EAAwD,gBAAxD,EAA0E,YAA1E,EAAwF,SAAxF,EAAmG,kBAAnG,EAAuH,UAAvH,EAAmI,eAAnI,CAA7B,C,UAGE,SAAY,UAAU,aAAtB,c;;;;;;;iCACD,Y,2BAAe;AACb,cAAI,KAAK,QAAL,CAAc,CAAd,CAAJ,EAAsB;AACpB,gBAAI,OAAO,IAAI,IAAJ,EAAX;AACA,iBAAK,KAAK,uBAAL,CAA6B,UAA7B,CAAL,IAAiD,KAAK,QAAL,CAAc,CAAd,EAAiB,QAAlE;AACD;AACF,S;;;;;;iBAN0D,E","file":"treegrid/treegridcolumn.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, children, constants, generateBindables, Util} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}tree-grid-column`)\r\n@generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])\r\n\r\nexport class TreeGridColumn {\r\n @children(`${constants.elementPrefix}template`) template = [];\r\n setTemplates() {\r\n if (this.template[0]) {\r\n let util = new Util();\r\n this[util.getBindablePropertyName('template')] = this.template[0].template;\r\n }\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/treemap/level.js.map b/dist/dev/dist/dev/treemap/level.js.map index 3f3768458..cb386b513 100644 --- a/dist/dev/dist/dev/treemap/level.js.map +++ b/dist/dev/dist/dev/treemap/level.js.map @@ -1 +1 @@ -{"version":3,"sources":["treemap/level.js"],"names":[],"mappings":";;;+DAMa,KAAK;;;;;;iCANV,UAAU;oCAAE,aAAa;gCAAE,SAAS;wCAAE,iBAAiB;;;AAMlD,WAAK;iBAAL,KAAK;;;;qBAAL,KAAK;AAAL,aAAK,GAFjB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,eAAe,EAAE,eAAe,EAAE,qBAAqB,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAExQ,KAAK,KAAL,KAAK;AAAL,aAAK,GAHjB,aAAa,CAAI,SAAS,CAAC,aAAa,WAAQ,CAGpC,KAAK,KAAL,KAAK;AAAL,aAAK,GAJjB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAIpC,KAAK,KAAL,KAAK;eAAL,KAAK","file":"treemap/level.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}level`)\r\n@generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])\r\n\r\nexport class Level {\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["treemap/level.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAQ,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;uBAMjC,K,WAJZ,gBAAc,UAAU,qBAAxB,C,UACA,cAAiB,UAAU,aAA3B,W,UACA,kBAAkB,QAAlB,EAA4B,CAAC,iBAAD,EAAoB,kBAApB,EAAwC,sBAAxC,EAAgE,UAAhE,EAA4E,cAA5E,EAA4F,WAA5F,EAAyG,cAAzG,EAAyH,gBAAzH,EAA2I,sBAA3I,EAAmK,eAAnK,EAAoL,eAApL,EAAqM,qBAArM,EAA4N,YAA5N,EAA0O,YAA1O,CAA5B,C","file":"treemap/level.js","sourceRoot":"/source/","sourcesContent":["import {inlineView, customElement, constants, generateBindables} from '../common/common';\r\n\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@customElement(`${constants.elementPrefix}level`)\r\n@generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])\r\n\r\nexport class Level {\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/treemap/treemap.js.map b/dist/dev/dist/dev/treemap/treemap.js.map index 68c485b0e..1846af3eb 100644 --- a/dist/dev/dist/dev/treemap/treemap.js.map +++ b/dist/dev/dist/dev/treemap/treemap.js.map @@ -1 +1 @@ -{"version":3,"sources":["treemap/treemap.js"],"names":[],"mappings":";;;6FAQa,SAAS;;;;;;;;;;;;6BARd,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;iCAAE,UAAU;oCAAE,aAAa;+BAAE,QAAQ;;;AAQhF,eAAS;;;kBAAT,SAAS;;8BAAT,SAAS;;uBACnB,QAAQ,CAAI,SAAS,CAAC,aAAa,WAAQ;;mBAAU,EAAE;;;;;AAC7C,iBAFA,SAAS,CAER,OAAO,EAAE;;;AACnB,gCAAO,CAAC;;;;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,cAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC7B,cAAI,CAAC,iBAAiB,GAAG,QAAQ,CAAC;SACnC;;yBAPU,SAAS;AAAT,iBAAS,GADrB,MAAM,CAAC,OAAO,CAAC,CACH,SAAS,KAAT,SAAS;AAAT,iBAAS,GAFrB,iBAAiB,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,CAAC,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC,CAElqB,SAAS,KAAT,SAAS;AAAT,iBAAS,GAHrB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,SAAS,KAAT,SAAS;AAAT,iBAAS,GAJrB,aAAa,CAAI,SAAS,CAAC,aAAa,cAAW,CAIvC,SAAS,KAAT,SAAS;eAAT,SAAS;SAAS,UAAU","file":"treemap/treemap.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.treemap.min';\r\n\r\n@customElement(`${constants.elementPrefix}tree-map`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])\r\n@inject(Element)\r\nexport class ejTreeMap extends WidgetBase {\r\n @children(`${constants.elementPrefix}level`) levels = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'levels';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["treemap/treemap.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;AAAmB,gB,iBAAA,U;AAAY,mB,iBAAA,a;AAAe,c,iBAAA,Q;;;2BAQxE,S,WAJZ,cAAiB,UAAU,aAA3B,c,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,WAAlB,EAA+B,CAAC,aAAD,EAAgB,iBAAhB,EAAmC,iBAAnC,EAAsD,0BAAtD,EAAkF,qBAAlF,EAAyG,gBAAzG,EAA2H,YAA3H,EAAyI,cAAzI,EAAyJ,sBAAzJ,EAAiL,yBAAjL,EAA4M,iBAA5M,EAA+N,cAA/N,EAA+O,mBAA/O,EAAoQ,gBAApQ,EAAsR,sBAAtR,EAA8S,0BAA9S,EAA0U,2BAA1U,EAAuW,+BAAvW,EAAwY,2BAAxY,EAAqa,sBAAra,EAA6b,iBAA7b,EAAgd,kBAAhd,EAAoe,mBAApe,EAAyf,oBAAzf,EAA+gB,YAA/gB,EAA6hB,aAA7hB,EAA4iB,iBAA5iB,EAA+jB,cAA/jB,EAA+kB,QAA/kB,EAAylB,iBAAzlB,CAA/B,EAA4oB,CAAC,YAAD,EAAe,iBAAf,CAA5oB,C,UACA,OAAO,OAAP,C,UAEE,SAAY,UAAU,aAAtB,W;;;AACD,2BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAAA;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AACA,gBAAK,gBAAL,GAAwB,IAAxB;AACA,gBAAK,iBAAL,GAAyB,QAAzB;AAJmB;AAKpB;;;QAP4B,U;;;iBACyB,E","file":"treemap/treemap.js","sourceRoot":"/source/","sourcesContent":["import {inject, WidgetBase, constants, generateBindables, inlineView, customElement, children} from '../common/common';\r\n\r\nimport 'datavisualization/ej.treemap.min';\r\n\r\n@customElement(`${constants.elementPrefix}tree-map`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])\r\n@inject(Element)\r\nexport class ejTreeMap extends WidgetBase {\r\n @children(`${constants.elementPrefix}level`) levels = [];\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n this.hasChildProperty = true;\r\n this.childPropertyName = 'levels';\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/treeview/treeview.js.map b/dist/dev/dist/dev/treeview/treeview.js.map index 7627da1bd..869345f9a 100644 --- a/dist/dev/dist/dev/treeview/treeview.js.map +++ b/dist/dev/dist/dev/treeview/treeview.js.map @@ -1 +1 @@ -{"version":3,"sources":["treeview/treeview.js"],"names":[],"mappings":";;;yEAOa,UAAU;;;;;;;;sCAPf,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,gBAAU;kBAAV,UAAU;;AACV,iBADA,UAAU,CACT,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;0BAJU,UAAU;AAAV,kBAAU,GADtB,MAAM,CAAC,OAAO,CAAC,CACH,UAAU,KAAV,UAAU;AAAV,kBAAU,GAFtB,iBAAiB,CAAC,YAAY,EAAE,CAAC,kBAAkB,EAAE,+BAA+B,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,cAAc,EAAE,yBAAyB,EAAE,WAAW,EAAE,qBAAqB,EAAE,cAAc,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAE3e,UAAU,KAAV,UAAU;AAAV,kBAAU,GAHtB,eAAe,CAAI,SAAS,CAAC,eAAe,eAAY,CAG5C,UAAU,KAAV,UAAU;eAAV,UAAU;SAAS,UAAU","file":"treeview/treeview.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.treeview.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}tree-view`)\r\n@generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTreeView extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["treeview/treeview.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;4BAO3C,U,WAHZ,gBAAmB,UAAU,eAA7B,e,UACA,kBAAkB,YAAlB,EAAgC,CAAC,kBAAD,EAAqB,+BAArB,EAAsD,kBAAtD,EAA0E,gBAA1E,EAA4F,cAA5F,EAA4G,yBAA5G,EAAuI,WAAvI,EAAoJ,qBAApJ,EAA2K,cAA3K,EAA2L,UAA3L,EAAuM,iBAAvM,EAA0N,SAA1N,EAAqO,sBAArO,EAA6P,mBAA7P,EAAkR,WAAlR,EAA+R,eAA/R,EAAgT,UAAhT,EAA4T,QAA5T,EAAsU,QAAtU,EAAgV,gBAAhV,EAAkW,cAAlW,EAAkX,cAAlX,EAAkY,cAAlY,EAAkZ,cAAlZ,EAAka,UAAla,EAA8a,OAA9a,CAAhC,EAAwd,EAAxd,EAA4d,EAAC,aAAa,WAAd,EAA5d,C,UACA,OAAO,OAAP,C;;;AAEC,4BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ6B,U","file":"treeview/treeview.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.treeview.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}tree-view`)\r\n@generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejTreeView extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/uploadbox/uploadbox.js.map b/dist/dev/dist/dev/uploadbox/uploadbox.js.map index 5ad44fc30..32fe18380 100644 --- a/dist/dev/dist/dev/uploadbox/uploadbox.js.map +++ b/dist/dev/dist/dev/uploadbox/uploadbox.js.map @@ -1 +1 @@ -{"version":3,"sources":["uploadbox/uploadbox.js"],"names":[],"mappings":";;;mFAQa,WAAW;;;;;;;;oCARhB,aAAa;iCAAE,UAAU;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAQtE,iBAAW;kBAAX,WAAW;;AACX,iBADA,WAAW,CACV,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;2BAJU,WAAW;AAAX,mBAAW,GADvB,MAAM,CAAC,OAAO,CAAC,CACH,WAAW,KAAX,WAAW;AAAX,mBAAW,GAFvB,iBAAiB,CAAC,aAAa,EAAE,CAAC,kBAAkB,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,wBAAwB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAC,WAAW,EAAE,WAAW,EAAC,CAAC,CAEld,WAAW,KAAX,WAAW;AAAX,mBAAW,GAHvB,UAAU,MAAI,SAAS,CAAC,qBAAqB,CAAG,CAGpC,WAAW,KAAX,WAAW;AAAX,mBAAW,GAJvB,aAAa,CAAI,SAAS,CAAC,aAAa,eAAY,CAIxC,WAAW,KAAX,WAAW;eAAX,WAAW;SAAS,UAAU","file":"uploadbox/uploadbox.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.uploadbox.min';\r\n\r\n@customElement(`${constants.elementPrefix}uploadbox`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejUploadbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["uploadbox/uploadbox.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,mB,iBAAA,a;AAAe,gB,iBAAA,U;AAAY,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;6BAQrD,W,WAJZ,cAAiB,UAAU,aAA3B,e,UACA,gBAAc,UAAU,qBAAxB,C,UACA,kBAAkB,aAAlB,EAAiC,CAAC,kBAAD,EAAqB,aAArB,EAAoC,YAApC,EAAkD,YAAlD,EAAgE,UAAhE,EAA4E,mBAA5E,EAAiG,cAAjG,EAAiH,gBAAjH,EAAmI,YAAnI,EAAiJ,cAAjJ,EAAiK,gBAAjK,EAAmL,eAAnL,EAAoM,SAApM,EAA+M,WAA/M,EAA4N,iBAA5N,EAA+O,gBAA/O,EAAiQ,UAAjQ,EAA6Q,QAA7Q,EAAuR,QAAvR,EAAiS,wBAAjS,EAA2T,UAA3T,EAAuU,WAAvU,EAAoV,SAApV,EAA+V,kBAA/V,EAAmX,iBAAnX,EAAsY,YAAtY,EAAoZ,OAApZ,CAAjC,EAA+b,EAA/b,EAAmc,EAAC,aAAa,WAAd,EAAnc,C,UACA,OAAO,OAAP,C;;;AAEC,6BAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJ8B,U","file":"uploadbox/uploadbox.js","sourceRoot":"/source/","sourcesContent":["import {customElement, inlineView, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.uploadbox.min';\r\n\r\n@customElement(`${constants.elementPrefix}uploadbox`)\r\n@inlineView(`${constants.aureliaTemplateString}`)\r\n@generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], {'enableRTL': 'enableRtl'})\r\n@inject(Element)\r\nexport class ejUploadbox extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dist/dev/waitingpopup/waitingpopup.js.map b/dist/dev/dist/dev/waitingpopup/waitingpopup.js.map index dcf2e73d7..c4bf76988 100644 --- a/dist/dev/dist/dev/waitingpopup/waitingpopup.js.map +++ b/dist/dev/dist/dev/waitingpopup/waitingpopup.js.map @@ -1 +1 @@ -{"version":3,"sources":["waitingpopup/waitingpopup.js"],"names":[],"mappings":";;;yEAOa,cAAc;;;;;;;;sCAPnB,eAAe;6BAAE,MAAM;iCAAE,UAAU;gCAAE,SAAS;wCAAE,iBAAiB;;;AAO5D,oBAAc;kBAAd,cAAc;;AACd,iBADA,cAAc,CACb,OAAO,EAAE;;;AACnB,gCAAO,CAAC;AACR,cAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;8BAJU,cAAc;AAAd,sBAAc,GAD1B,MAAM,CAAC,OAAO,CAAC,CACH,cAAc,KAAd,cAAc;AAAd,sBAAc,GAF1B,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,CAEpF,cAAc,KAAd,cAAc;AAAd,sBAAc,GAH1B,eAAe,CAAI,SAAS,CAAC,eAAe,mBAAgB,CAGhD,cAAc,KAAd,cAAc;eAAd,cAAc;SAAS,UAAU","file":"waitingpopup/waitingpopup.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.waitingpopup.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}waiting-popup`)\r\n@generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])\r\n@inject(Element)\r\nexport class ejWaitingPopup extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file +{"version":3,"sources":["waitingpopup/waitingpopup.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAQ,qB,iBAAA,e;AAAiB,Y,iBAAA,M;AAAQ,gB,iBAAA,U;AAAY,e,iBAAA,S;AAAW,uB,iBAAA,iB;;;gCAO3C,c,WAHZ,gBAAmB,UAAU,eAA7B,mB,UACA,kBAAkB,gBAAlB,EAAoC,CAAC,UAAD,EAAa,WAAb,EAA0B,YAA1B,EAAwC,UAAxC,EAAoD,MAApD,CAApC,C,UACA,OAAO,OAAP,C;;;AAEC,gCAAY,OAAZ,EAAqB;AAAA;;AAAA,uDACnB,sBADmB;;AAEnB,gBAAK,OAAL,GAAe,OAAf;AAFmB;AAGpB;;;QAJiC,U","file":"waitingpopup/waitingpopup.js","sourceRoot":"/source/","sourcesContent":["import {customAttribute, inject, WidgetBase, constants, generateBindables} from '../common/common';\r\n\r\nimport 'ej.waitingpopup.min';\r\n\r\n@customAttribute(`${constants.attributePrefix}waiting-popup`)\r\n@generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])\r\n@inject(Element)\r\nexport class ejWaitingPopup extends WidgetBase {\r\n constructor(element) {\r\n super();\r\n this.element = element;\r\n }\r\n}\r\n\r\n"]} \ No newline at end of file diff --git a/dist/dev/dropdownlist/dropdownlist.js b/dist/dev/dropdownlist/dropdownlist.js index 26f0a076c..73b1134d8 100644 --- a/dist/dev/dropdownlist/dropdownlist.js +++ b/dist/dev/dropdownlist/dropdownlist.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.dropdownlist.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejDropDownList; +System.register(['../common/common', 'ej.dropdownlist.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejDropDownList; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.dropdownlist.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejDropdownlistMin) {}], execute: function () { - ejDropDownList = (function (_WidgetBase) { + _export('ejDropDownList', ejDropDownList = (_dec = customAttribute(constants.attributePrefix + 'drop-down-list'), _dec2 = generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDropDownList, _WidgetBase); function ejDropDownList(element) { - _classCallCheck(this, _ejDropDownList); + _classCallCheck(this, ejDropDownList); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDropDownList = ejDropDownList; - ejDropDownList = inject(Element)(ejDropDownList) || ejDropDownList; - ejDropDownList = generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' })(ejDropDownList) || ejDropDownList; - ejDropDownList = customAttribute(constants.attributePrefix + 'drop-down-list')(ejDropDownList) || ejDropDownList; return ejDropDownList; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejDropDownList', ejDropDownList); } diff --git a/dist/dev/fileexplorer/fileexplorer.js b/dist/dev/fileexplorer/fileexplorer.js index 6128d0727..7140cc7bf 100644 --- a/dist/dev/fileexplorer/fileexplorer.js +++ b/dist/dev/fileexplorer/fileexplorer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.fileexplorer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejFileExplorer; +System.register(['../common/common', 'ej.fileexplorer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejFileExplorer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.fileexplorer.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejFileexplorerMin) {}], execute: function () { - ejFileExplorer = (function (_WidgetBase) { + _export('ejFileExplorer', ejFileExplorer = (_dec = customElement(constants.elementPrefix + 'file-explorer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejFileExplorer, _WidgetBase); function ejFileExplorer(element) { - _classCallCheck(this, _ejFileExplorer); + _classCallCheck(this, ejFileExplorer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejFileExplorer = ejFileExplorer; - ejFileExplorer = inject(Element)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' })(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = inlineView('' + constants.aureliaTemplateString)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = customElement(constants.elementPrefix + 'file-explorer')(ejFileExplorer) || ejFileExplorer; return ejFileExplorer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejFileExplorer', ejFileExplorer); } diff --git a/dist/dev/gantt/gantt.js b/dist/dev/gantt/gantt.js index e2e4d510d..1c75edaa3 100644 --- a/dist/dev/gantt/gantt.js +++ b/dist/dev/gantt/gantt.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.gantt.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejGantt; +System.register(['../common/common', 'ej.gantt.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejGantt; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.gantt.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejGanttMin) {}], execute: function () { - ejGantt = (function (_WidgetBase) { + _export('ejGantt', ejGantt = (_dec = customElement(constants.elementPrefix + 'gantt'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejGantt, _WidgetBase); function ejGantt(element) { - _classCallCheck(this, _ejGantt); + _classCallCheck(this, ejGantt); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejGantt = ejGantt; - ejGantt = inject(Element)(ejGantt) || ejGantt; - ejGantt = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])(ejGantt) || ejGantt; - ejGantt = inlineView('' + constants.aureliaTemplateString)(ejGantt) || ejGantt; - ejGantt = customElement(constants.elementPrefix + 'gantt')(ejGantt) || ejGantt; return ejGantt; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejGantt', ejGantt); } diff --git a/dist/dev/grid/column.js b/dist/dev/grid/column.js index d63517bb4..b1aea2a77 100644 --- a/dist/dev/grid/column.js +++ b/dist/dev/grid/column.js @@ -1,13 +1,58 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, children, constants, generateBindables, Util, Column; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inlineView, customElement, children, constants, generateBindables, Util, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, Column; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -19,13 +64,11 @@ System.register(['../common/common'], function (_export) { Util = _commonCommon.Util; }], execute: function () { - Column = (function () { - var _instanceInitializers = {}; - + _export('Column', Column = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'column'), _dec3 = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width']), _dec4 = children(constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Column() { - _classCallCheck(this, _Column); + _classCallCheck(this, Column); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Column.prototype.setTemplates = function setTemplates() { @@ -35,21 +78,13 @@ System.register(['../common/common'], function (_export) { } }; - _createDecoratedClass(Column, [{ - key: 'template', - decorators: [children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Column = Column; - Column = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])(Column) || Column; - Column = customElement(constants.elementPrefix + 'column')(Column) || Column; - Column = inlineView('' + constants.aureliaTemplateString)(Column) || Column; return Column; - })(); + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class)); _export('Column', Column); } diff --git a/dist/dev/grid/grid.js b/dist/dev/grid/grid.js index d1544784b..82c7357f3 100644 --- a/dist/dev/grid/grid.js +++ b/dist/dev/grid/grid.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.grid.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, ejGrid; +System.register(['../common/common', 'ej.grid.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejGrid; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -24,41 +91,31 @@ System.register(['../common/common', 'ej.grid.min'], function (_export) { TemplateProcessor = _commonCommon.TemplateProcessor; }, function (_ejGridMin) {}], execute: function () { - ejGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejGrid', ejGrid = (_dec = customElement(constants.elementPrefix + 'grid'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = 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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element, TemplatingEngine), _dec5 = children(constants.elementPrefix + 'column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejGrid, _WidgetBase); - _createDecoratedClass(ejGrid, [{ - key: 'columns', - decorators: [children(constants.elementPrefix + 'column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejGrid(element, templateEngine) { - _classCallCheck(this, _ejGrid); + _classCallCheck(this, ejGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejGrid = ejGrid; - ejGrid = inject(Element, TemplatingEngine)(ejGrid) || ejGrid; - ejGrid = 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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejGrid) || ejGrid; - ejGrid = inlineView('' + constants.aureliaTemplateString)(ejGrid) || ejGrid; - ejGrid = customElement(constants.elementPrefix + 'grid')(ejGrid) || ejGrid; return ejGrid; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejGrid', ejGrid); } diff --git a/dist/dev/groupbutton/groupbutton.js b/dist/dev/groupbutton/groupbutton.js index 7c6e49fa3..dbcdc80f3 100644 --- a/dist/dev/groupbutton/groupbutton.js +++ b/dist/dev/groupbutton/groupbutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.groupbutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejGroupButton; +System.register(['../common/common', 'ej.groupbutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejGroupButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.groupbutton.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejGroupbuttonMin) {}], execute: function () { - ejGroupButton = (function (_WidgetBase) { + _export('ejGroupButton', ejGroupButton = (_dec = customAttribute(constants.attributePrefix + 'group-button'), _dec2 = generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejGroupButton, _WidgetBase); function ejGroupButton(element) { - _classCallCheck(this, _ejGroupButton); + _classCallCheck(this, ejGroupButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejGroupButton = ejGroupButton; - ejGroupButton = inject(Element)(ejGroupButton) || ejGroupButton; - ejGroupButton = generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' })(ejGroupButton) || ejGroupButton; - ejGroupButton = customAttribute(constants.attributePrefix + 'group-button')(ejGroupButton) || ejGroupButton; return ejGroupButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejGroupButton', ejGroupButton); } diff --git a/dist/dev/index.js b/dist/dev/index.js index cbf24715b..5f286036a 100644 --- a/dist/dev/index.js +++ b/dist/dev/index.js @@ -1,29 +1,30 @@ -System.register(['./config-builder'], function (_export) { - 'use strict'; +'use strict'; - var EjConfigBuilder; +System.register(['./config-builder'], function (_export, _context) { + "use strict"; - _export('configure', configure); + var EjConfigBuilder; + return { + setters: [function (_configBuilder) { + EjConfigBuilder = _configBuilder.EjConfigBuilder; + }], + execute: function () { + function configure(aurelia, configCallback) { + var builder = new EjConfigBuilder(); - function configure(aurelia, configCallback) { - var builder = new EjConfigBuilder(); + if (configCallback !== undefined && typeof configCallback === 'function') { + configCallback(builder); + } - if (configCallback !== undefined && typeof configCallback === 'function') { - configCallback(builder); - } + var resources = builder.resources; - var resources = builder.resources; + if (builder.useGlobalResources) { + aurelia.globalResources(resources); + } + } - if (builder.useGlobalResources) { - aurelia.globalResources(resources); + _export('configure', configure); } - } - - return { - setters: [function (_configBuilder) { - EjConfigBuilder = _configBuilder.EjConfigBuilder; - }], - execute: function () {} }; }); //# sourceMappingURL=dist/dev/index.js.map diff --git a/dist/dev/kanban/kanban.js b/dist/dev/kanban/kanban.js index f2f002ba5..41fbd4f83 100644 --- a/dist/dev/kanban/kanban.js +++ b/dist/dev/kanban/kanban.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.kanban.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejKanban; +System.register(['../common/common', 'ej.kanban.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejKanban; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'ej.kanban.min'], function (_export) { children = _commonCommon.children; }, function (_ejKanbanMin) {}], execute: function () { - ejKanban = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejKanban', ejKanban = (_dec = customElement(constants.elementPrefix + 'kanban'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'kanban-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejKanban, _WidgetBase); - _createDecoratedClass(ejKanban, [{ - key: 'columns', - decorators: [children(constants.elementPrefix + 'kanban-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejKanban(element) { - _classCallCheck(this, _ejKanban); + _classCallCheck(this, ejKanban); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + return _this; } - var _ejKanban = ejKanban; - ejKanban = inject(Element)(ejKanban) || ejKanban; - ejKanban = generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejKanban) || ejKanban; - ejKanban = inlineView('' + constants.aureliaTemplateString)(ejKanban) || ejKanban; - ejKanban = customElement(constants.elementPrefix + 'kanban')(ejKanban) || ejKanban; return ejKanban; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejKanban', ejKanban); } diff --git a/dist/dev/kanban/kanbancolumn.js b/dist/dev/kanban/kanbancolumn.js index b9e9a357a..f4b49057e 100644 --- a/dist/dev/kanban/kanbancolumn.js +++ b/dist/dev/kanban/kanbancolumn.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, KanbanColumn; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, KanbanColumn; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - KanbanColumn = (function () { - function KanbanColumn() { - _classCallCheck(this, _KanbanColumn); - } - - var _KanbanColumn = KanbanColumn; - KanbanColumn = generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])(KanbanColumn) || KanbanColumn; - KanbanColumn = customElement(constants.elementPrefix + 'kanban-column')(KanbanColumn) || KanbanColumn; - KanbanColumn = inlineView('' + constants.aureliaTemplateString)(KanbanColumn) || KanbanColumn; - return KanbanColumn; - })(); + _export('KanbanColumn', KanbanColumn = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'kanban-column'), _dec3 = generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec(_class = _dec2(_class = _dec3(_class = function KanbanColumn() { + _classCallCheck(this, KanbanColumn); + }) || _class) || _class) || _class)); _export('KanbanColumn', KanbanColumn); } diff --git a/dist/dev/lineargauge/lineargauge.js b/dist/dev/lineargauge/lineargauge.js index 1f2956892..3791db403 100644 --- a/dist/dev/lineargauge/lineargauge.js +++ b/dist/dev/lineargauge/lineargauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.lineargauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejLinearGauge; +System.register(['../common/common', 'datavisualization/ej.lineargauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejLinearGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.lineargauge.min'], fu generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjLineargaugeMin) {}], execute: function () { - ejLinearGauge = (function (_WidgetBase) { + _export('ejLinearGauge', ejLinearGauge = (_dec = customElement(constants.elementPrefix + 'linear-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejLinearGauge, _WidgetBase); function ejLinearGauge(element) { - _classCallCheck(this, _ejLinearGauge); + _classCallCheck(this, ejLinearGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejLinearGauge = ejLinearGauge; - ejLinearGauge = inject(Element)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = inlineView('' + constants.aureliaTemplateString)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = customElement(constants.elementPrefix + 'linear-gauge')(ejLinearGauge) || ejLinearGauge; return ejLinearGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejLinearGauge', ejLinearGauge); } diff --git a/dist/dev/listbox/listbox.js b/dist/dev/listbox/listbox.js index 7fa645450..8eb07a4c7 100644 --- a/dist/dev/listbox/listbox.js +++ b/dist/dev/listbox/listbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.listbox.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejListBox; +System.register(['../common/common', 'ej.listbox.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejListBox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.listbox.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejListboxMin) {}], execute: function () { - ejListBox = (function (_WidgetBase) { + _export('ejListBox', ejListBox = (_dec = customAttribute(constants.attributePrefix + 'list-box'), _dec2 = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejListBox, _WidgetBase); function ejListBox(element) { - _classCallCheck(this, _ejListBox); + _classCallCheck(this, ejListBox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejListBox = ejListBox; - ejListBox = inject(Element)(ejListBox) || ejListBox; - ejListBox = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejListBox) || ejListBox; - ejListBox = customAttribute(constants.attributePrefix + 'list-box')(ejListBox) || ejListBox; return ejListBox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejListBox', ejListBox); } diff --git a/dist/dev/listview/listview.js b/dist/dev/listview/listview.js index 27a083b84..08f7bcad1 100644 --- a/dist/dev/listview/listview.js +++ b/dist/dev/listview/listview.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.listview.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejListView; +System.register(['../common/common', 'ej.listview.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejListView; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.listview.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejListviewMin) {}], execute: function () { - ejListView = (function (_WidgetBase) { + _export('ejListView', ejListView = (_dec = customElement(constants.elementPrefix + 'list-view'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejListView, _WidgetBase); function ejListView(element) { - _classCallCheck(this, _ejListView); + _classCallCheck(this, ejListView); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejListView = ejListView; - ejListView = inject(Element)(ejListView) || ejListView; - ejListView = generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])(ejListView) || ejListView; - ejListView = inlineView('' + constants.aureliaTemplateString)(ejListView) || ejListView; - ejListView = customElement(constants.elementPrefix + 'list-view')(ejListView) || ejListView; return ejListView; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejListView', ejListView); } diff --git a/dist/dev/map/layer.js b/dist/dev/map/layer.js index 4a74012e9..795b90b9f 100644 --- a/dist/dev/map/layer.js +++ b/dist/dev/map/layer.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Layer; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Layer; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Layer = (function () { - function Layer() { - _classCallCheck(this, _Layer); - } - - var _Layer = Layer; - Layer = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])(Layer) || Layer; - Layer = customElement(constants.elementPrefix + 'layer')(Layer) || Layer; - Layer = inlineView('' + constants.aureliaTemplateString)(Layer) || Layer; - return Layer; - })(); + _export('Layer', Layer = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'layer'), _dec3 = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate']), _dec(_class = _dec2(_class = _dec3(_class = function Layer() { + _classCallCheck(this, Layer); + }) || _class) || _class) || _class)); _export('Layer', Layer); } diff --git a/dist/dev/map/map.js b/dist/dev/map/map.js index d496baad9..955a87146 100644 --- a/dist/dev/map/map.js +++ b/dist/dev/map/map.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.map.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejMap; +System.register(['../common/common', 'datavisualization/ej.map.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejMap; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.map.min'], function ( children = _commonCommon.children; }, function (_datavisualizationEjMapMin) {}], execute: function () { - ejMap = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejMap', ejMap = (_dec = customElement(constants.elementPrefix + 'map'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'layer'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejMap, _WidgetBase); - _createDecoratedClass(ejMap, [{ - key: 'layers', - decorators: [children(constants.elementPrefix + 'layer')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejMap(element) { - _classCallCheck(this, _ejMap); + _classCallCheck(this, ejMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'layers', _instanceInitializers); + _initDefineProp(_this, 'layers', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'layers'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'layers'; + return _this; } - var _ejMap = ejMap; - ejMap = inject(Element)(ejMap) || ejMap; - ejMap = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])(ejMap) || ejMap; - ejMap = inlineView('' + constants.aureliaTemplateString)(ejMap) || ejMap; - ejMap = customElement(constants.elementPrefix + 'map')(ejMap) || ejMap; return ejMap; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'layers', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejMap', ejMap); } diff --git a/dist/dev/maskedit/maskedit.js b/dist/dev/maskedit/maskedit.js index 0a377cd89..558429bf9 100644 --- a/dist/dev/maskedit/maskedit.js +++ b/dist/dev/maskedit/maskedit.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.maskedit.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejMaskEdit; +System.register(['../common/common', 'ej.maskedit.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejMaskEdit; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.maskedit.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejMaskeditMin) {}], execute: function () { - ejMaskEdit = (function (_WidgetBase) { + _export('ejMaskEdit', ejMaskEdit = (_dec = customAttribute(constants.attributePrefix + 'mask-edit'), _dec2 = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMaskEdit, _WidgetBase); function ejMaskEdit(element) { - _classCallCheck(this, _ejMaskEdit); + _classCallCheck(this, ejMaskEdit); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejMaskEdit = ejMaskEdit; - ejMaskEdit = inject(Element)(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = customAttribute(constants.attributePrefix + 'mask-edit')(ejMaskEdit) || ejMaskEdit; return ejMaskEdit; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejMaskEdit', ejMaskEdit); } diff --git a/dist/dev/menu/menu.js b/dist/dev/menu/menu.js index 953254199..7b48007be 100644 --- a/dist/dev/menu/menu.js +++ b/dist/dev/menu/menu.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.menu.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejMenu; +System.register(['../common/common', 'ej.menu.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejMenu; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.menu.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejMenuMin) {}], execute: function () { - ejMenu = (function (_WidgetBase) { + _export('ejMenu', ejMenu = (_dec = customAttribute(constants.attributePrefix + 'menu'), _dec2 = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMenu, _WidgetBase); function ejMenu(element) { - _classCallCheck(this, _ejMenu); + _classCallCheck(this, ejMenu); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejMenu = ejMenu; - ejMenu = inject(Element)(ejMenu) || ejMenu; - ejMenu = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' })(ejMenu) || ejMenu; - ejMenu = customAttribute(constants.attributePrefix + 'menu')(ejMenu) || ejMenu; return ejMenu; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejMenu', ejMenu); } diff --git a/dist/dev/navigationdrawer/navigationdrawer.js b/dist/dev/navigationdrawer/navigationdrawer.js index c3fe5030b..19f6ddfce 100644 --- a/dist/dev/navigationdrawer/navigationdrawer.js +++ b/dist/dev/navigationdrawer/navigationdrawer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.navigationdrawer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejNavigationDrawer; +System.register(['../common/common', 'ej.navigationdrawer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejNavigationDrawer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.navigationdrawer.min'], function (_expo generateBindables = _commonCommon.generateBindables; }, function (_ejNavigationdrawerMin) {}], execute: function () { - ejNavigationDrawer = (function (_WidgetBase) { + _export('ejNavigationDrawer', ejNavigationDrawer = (_dec = customElement(constants.elementPrefix + 'navigation-drawer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejNavigationDrawer, _WidgetBase); function ejNavigationDrawer(element) { - _classCallCheck(this, _ejNavigationDrawer); + _classCallCheck(this, ejNavigationDrawer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejNavigationDrawer = ejNavigationDrawer; - ejNavigationDrawer = inject(Element)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = inlineView('' + constants.aureliaTemplateString)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = customElement(constants.elementPrefix + 'navigation-drawer')(ejNavigationDrawer) || ejNavigationDrawer; return ejNavigationDrawer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejNavigationDrawer', ejNavigationDrawer); } diff --git a/dist/dev/numerictextbox/numerictextbox.js b/dist/dev/numerictextbox/numerictextbox.js index eb9fc32c3..a6a4bcb74 100644 --- a/dist/dev/numerictextbox/numerictextbox.js +++ b/dist/dev/numerictextbox/numerictextbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.editor.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejNumericTextbox; +System.register(['../common/common', 'ej.editor.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejNumericTextbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.editor.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejEditorMin) {}], execute: function () { - ejNumericTextbox = (function (_WidgetBase) { + _export('ejNumericTextbox', ejNumericTextbox = (_dec = customAttribute(constants.attributePrefix + 'numeric-textbox'), _dec2 = generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejNumericTextbox, _WidgetBase); function ejNumericTextbox(element) { - _classCallCheck(this, _ejNumericTextbox); + _classCallCheck(this, ejNumericTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejNumericTextbox = ejNumericTextbox; - ejNumericTextbox = inject(Element)(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = customAttribute(constants.attributePrefix + 'numeric-textbox')(ejNumericTextbox) || ejNumericTextbox; return ejNumericTextbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejNumericTextbox', ejNumericTextbox); } diff --git a/dist/dev/overview/overview.js b/dist/dev/overview/overview.js index 8f8767560..e28e9ff64 100644 --- a/dist/dev/overview/overview.js +++ b/dist/dev/overview/overview.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejOverview; +System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejOverview; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.diagram.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDiagramMin) {}], execute: function () { - ejOverview = (function (_WidgetBase) { + _export('ejOverview', ejOverview = (_dec = customElement(constants.elementPrefix + 'overview'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejOverview, _WidgetBase); function ejOverview(element) { - _classCallCheck(this, _ejOverview); + _classCallCheck(this, ejOverview); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejOverview = ejOverview; - ejOverview = inject(Element)(ejOverview) || ejOverview; - ejOverview = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' })(ejOverview) || ejOverview; - ejOverview = inlineView('' + constants.aureliaTemplateString)(ejOverview) || ejOverview; - ejOverview = customElement(constants.elementPrefix + 'overview')(ejOverview) || ejOverview; return ejOverview; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejOverview', ejOverview); } diff --git a/dist/dev/pdfviewer/pdfviewer.js b/dist/dev/pdfviewer/pdfviewer.js index c9a848871..700f08d40 100644 --- a/dist/dev/pdfviewer/pdfviewer.js +++ b/dist/dev/pdfviewer/pdfviewer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pdfviewer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPdfViewer; +System.register(['../common/common', 'ej.pdfviewer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPdfViewer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pdfviewer.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPdfviewerMin) {}], execute: function () { - ejPdfViewer = (function (_WidgetBase) { + _export('ejPdfViewer', ejPdfViewer = (_dec = customElement(constants.elementPrefix + 'pdf-viewer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPdfViewer, _WidgetBase); function ejPdfViewer(element) { - _classCallCheck(this, _ejPdfViewer); + _classCallCheck(this, ejPdfViewer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPdfViewer = ejPdfViewer; - ejPdfViewer = inject(Element)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = inlineView('' + constants.aureliaTemplateString)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = customElement(constants.elementPrefix + 'pdf-viewer')(ejPdfViewer) || ejPdfViewer; return ejPdfViewer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPdfViewer', ejPdfViewer); } diff --git a/dist/dev/percentagetextbox/percentagetextbox.js b/dist/dev/percentagetextbox/percentagetextbox.js index 99c42ec6b..a6f58b42d 100644 --- a/dist/dev/percentagetextbox/percentagetextbox.js +++ b/dist/dev/percentagetextbox/percentagetextbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.editor.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejPercentageTextbox; +System.register(['../common/common', 'ej.editor.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejPercentageTextbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.editor.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejEditorMin) {}], execute: function () { - ejPercentageTextbox = (function (_WidgetBase) { + _export('ejPercentageTextbox', ejPercentageTextbox = (_dec = customAttribute(constants.attributePrefix + 'percentage-textbox'), _dec2 = generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejPercentageTextbox, _WidgetBase); function ejPercentageTextbox(element) { - _classCallCheck(this, _ejPercentageTextbox); + _classCallCheck(this, ejPercentageTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejPercentageTextbox = ejPercentageTextbox; - ejPercentageTextbox = inject(Element)(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = customAttribute(constants.attributePrefix + 'percentage-textbox')(ejPercentageTextbox) || ejPercentageTextbox; return ejPercentageTextbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejPercentageTextbox', ejPercentageTextbox); } diff --git a/dist/dev/pivotchart/pivotchart.js b/dist/dev/pivotchart/pivotchart.js index b5ec4b698..583a1c46b 100644 --- a/dist/dev/pivotchart/pivotchart.js +++ b/dist/dev/pivotchart/pivotchart.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotchart.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotChart; +System.register(['../common/common', 'ej.pivotchart.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotChart; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotchart.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPivotchartMin) {}], execute: function () { - ejPivotChart = (function (_WidgetBase) { + _export('ejPivotChart', ejPivotChart = (_dec = customElement(constants.elementPrefix + 'pivot-chart'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotChart, _WidgetBase); function ejPivotChart(element) { - _classCallCheck(this, _ejPivotChart); + _classCallCheck(this, ejPivotChart); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotChart = ejPivotChart; - ejPivotChart = inject(Element)(ejPivotChart) || ejPivotChart; - ejPivotChart = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])(ejPivotChart) || ejPivotChart; - ejPivotChart = inlineView('' + constants.aureliaTemplateString)(ejPivotChart) || ejPivotChart; - ejPivotChart = customElement(constants.elementPrefix + 'pivot-chart')(ejPivotChart) || ejPivotChart; return ejPivotChart; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotChart', ejPivotChart); } diff --git a/dist/dev/pivotgauge/pivotgauge.js b/dist/dev/pivotgauge/pivotgauge.js index 4eb0ef630..f334ed20f 100644 --- a/dist/dev/pivotgauge/pivotgauge.js +++ b/dist/dev/pivotgauge/pivotgauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotgauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotGauge; +System.register(['../common/common', 'ej.pivotgauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotgauge.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPivotgaugeMin) {}], execute: function () { - ejPivotGauge = (function (_WidgetBase) { + _export('ejPivotGauge', ejPivotGauge = (_dec = customElement(constants.elementPrefix + 'pivot-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGauge, _WidgetBase); function ejPivotGauge(element) { - _classCallCheck(this, _ejPivotGauge); + _classCallCheck(this, ejPivotGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotGauge = ejPivotGauge; - ejPivotGauge = inject(Element)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = inlineView('' + constants.aureliaTemplateString)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = customElement(constants.elementPrefix + 'pivot-gauge')(ejPivotGauge) || ejPivotGauge; return ejPivotGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotGauge', ejPivotGauge); } diff --git a/dist/dev/pivotgrid/pivotgrid.js b/dist/dev/pivotgrid/pivotgrid.js index d5254f7e1..5f9d92c7a 100644 --- a/dist/dev/pivotgrid/pivotgrid.js +++ b/dist/dev/pivotgrid/pivotgrid.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotgrid.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotGrid; +System.register(['../common/common', 'ej.pivotgrid.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotGrid; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotgrid.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPivotgridMin) {}], execute: function () { - ejPivotGrid = (function (_WidgetBase) { + _export('ejPivotGrid', ejPivotGrid = (_dec = customElement(constants.elementPrefix + 'pivot-grid'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGrid, _WidgetBase); function ejPivotGrid(element) { - _classCallCheck(this, _ejPivotGrid); + _classCallCheck(this, ejPivotGrid); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotGrid = ejPivotGrid; - ejPivotGrid = inject(Element)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' })(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = inlineView('' + constants.aureliaTemplateString)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = customElement(constants.elementPrefix + 'pivot-grid')(ejPivotGrid) || ejPivotGrid; return ejPivotGrid; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotGrid', ejPivotGrid); } diff --git a/dist/dev/pivotschemadesigner/pivotschemadesigner.js b/dist/dev/pivotschemadesigner/pivotschemadesigner.js index d56bc8e9f..a33e4d1bc 100644 --- a/dist/dev/pivotschemadesigner/pivotschemadesigner.js +++ b/dist/dev/pivotschemadesigner/pivotschemadesigner.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotschemadesigner.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotSchemaDesigner; +System.register(['../common/common', 'ej.pivotschemadesigner.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotSchemaDesigner; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotschemadesigner.min'], function (_e generateBindables = _commonCommon.generateBindables; }, function (_ejPivotschemadesignerMin) {}], execute: function () { - ejPivotSchemaDesigner = (function (_WidgetBase) { + _export('ejPivotSchemaDesigner', ejPivotSchemaDesigner = (_dec = customElement(constants.elementPrefix + 'pivot-schema-designer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotSchemaDesigner, _WidgetBase); function ejPivotSchemaDesigner(element) { - _classCallCheck(this, _ejPivotSchemaDesigner); + _classCallCheck(this, ejPivotSchemaDesigner); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotSchemaDesigner = ejPivotSchemaDesigner; - ejPivotSchemaDesigner = inject(Element)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = inlineView('' + constants.aureliaTemplateString)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = customElement(constants.elementPrefix + 'pivot-schema-designer')(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; return ejPivotSchemaDesigner; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotSchemaDesigner', ejPivotSchemaDesigner); } diff --git a/dist/dev/progressbar/progressbar.js b/dist/dev/progressbar/progressbar.js index f220e7083..7149cb90e 100644 --- a/dist/dev/progressbar/progressbar.js +++ b/dist/dev/progressbar/progressbar.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.progressbar.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejProgressBar; +System.register(['../common/common', 'ej.progressbar.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejProgressBar; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.progressbar.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejProgressbarMin) {}], execute: function () { - ejProgressBar = (function (_WidgetBase) { + _export('ejProgressBar', ejProgressBar = (_dec = customAttribute(constants.attributePrefix + 'progress-bar'), _dec2 = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejProgressBar, _WidgetBase); function ejProgressBar(element) { - _classCallCheck(this, _ejProgressBar); + _classCallCheck(this, ejProgressBar); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejProgressBar = ejProgressBar; - ejProgressBar = inject(Element)(ejProgressBar) || ejProgressBar; - ejProgressBar = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' })(ejProgressBar) || ejProgressBar; - ejProgressBar = customAttribute(constants.attributePrefix + 'progress-bar')(ejProgressBar) || ejProgressBar; return ejProgressBar; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejProgressBar', ejProgressBar); } diff --git a/dist/dev/radialmenu/item.js b/dist/dev/radialmenu/item.js index 5a5691d20..132727ec3 100644 --- a/dist/dev/radialmenu/item.js +++ b/dist/dev/radialmenu/item.js @@ -1,13 +1,58 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, children, constants, generateBindables, Util, Item; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inlineView, customElement, children, constants, generateBindables, Util, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, Item; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -19,13 +64,11 @@ System.register(['../common/common'], function (_export) { Util = _commonCommon.Util; }], execute: function () { - Item = (function () { - var _instanceInitializers = {}; - + _export('Item', Item = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'item'), _dec3 = generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings']), _dec4 = children(constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Item() { - _classCallCheck(this, _Item); + _classCallCheck(this, Item); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Item.prototype.setTemplates = function setTemplates() { @@ -35,21 +78,13 @@ System.register(['../common/common'], function (_export) { } }; - _createDecoratedClass(Item, [{ - key: 'template', - decorators: [children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Item = Item; - Item = generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])(Item) || Item; - Item = customElement(constants.elementPrefix + 'item')(Item) || Item; - Item = inlineView('' + constants.aureliaTemplateString)(Item) || Item; return Item; - })(); + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class)); _export('Item', Item); } diff --git a/dist/dev/radialmenu/radialmenu.js b/dist/dev/radialmenu/radialmenu.js index c309e7628..361b6b144 100644 --- a/dist/dev/radialmenu/radialmenu.js +++ b/dist/dev/radialmenu/radialmenu.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.radialmenu.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, ejRadialMenu; +System.register(['../common/common', 'ej.radialmenu.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejRadialMenu; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -24,41 +91,31 @@ System.register(['../common/common', 'ej.radialmenu.min'], function (_export) { TemplateProcessor = _commonCommon.TemplateProcessor; }, function (_ejRadialmenuMin) {}], execute: function () { - ejRadialMenu = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejRadialMenu', ejRadialMenu = (_dec = customElement(constants.elementPrefix + 'radial-menu'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec4 = inject(Element, TemplatingEngine), _dec5 = children(constants.elementPrefix + 'item'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejRadialMenu, _WidgetBase); - _createDecoratedClass(ejRadialMenu, [{ - key: 'items', - decorators: [children(constants.elementPrefix + 'item')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejRadialMenu(element, templateEngine) { - _classCallCheck(this, _ejRadialMenu); + _classCallCheck(this, ejRadialMenu); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'items', _instanceInitializers); + _initDefineProp(_this, 'items', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'items'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'items'; + _this.templateProcessor = new TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejRadialMenu = ejRadialMenu; - ejRadialMenu = inject(Element, TemplatingEngine)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = inlineView('' + constants.aureliaTemplateString)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = customElement(constants.elementPrefix + 'radial-menu')(ejRadialMenu) || ejRadialMenu; return ejRadialMenu; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'items', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejRadialMenu', ejRadialMenu); } diff --git a/dist/dev/radialslider/radialslider.js b/dist/dev/radialslider/radialslider.js index 9747368d5..b609cc437 100644 --- a/dist/dev/radialslider/radialslider.js +++ b/dist/dev/radialslider/radialslider.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.radialslider.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejRadialSlider; +System.register(['../common/common', 'ej.radialslider.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejRadialSlider; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.radialslider.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejRadialsliderMin) {}], execute: function () { - ejRadialSlider = (function (_WidgetBase) { + _export('ejRadialSlider', ejRadialSlider = (_dec = customElement(constants.elementPrefix + 'radial-slider'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRadialSlider, _WidgetBase); function ejRadialSlider(element) { - _classCallCheck(this, _ejRadialSlider); + _classCallCheck(this, ejRadialSlider); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRadialSlider = ejRadialSlider; - ejRadialSlider = inject(Element)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = inlineView('' + constants.aureliaTemplateString)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = customElement(constants.elementPrefix + 'radial-slider')(ejRadialSlider) || ejRadialSlider; return ejRadialSlider; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejRadialSlider', ejRadialSlider); } diff --git a/dist/dev/radiobutton/radiobutton.js b/dist/dev/radiobutton/radiobutton.js index 856cd7e65..aab8faecd 100644 --- a/dist/dev/radiobutton/radiobutton.js +++ b/dist/dev/radiobutton/radiobutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.radiobutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRadioButton; +System.register(['../common/common', 'ej.radiobutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRadioButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.radiobutton.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRadiobuttonMin) {}], execute: function () { - ejRadioButton = (function (_WidgetBase) { + _export('ejRadioButton', ejRadioButton = (_dec = customAttribute(constants.attributePrefix + 'radio-button'), _dec2 = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRadioButton, _WidgetBase); function ejRadioButton(element) { - _classCallCheck(this, _ejRadioButton); + _classCallCheck(this, ejRadioButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRadioButton = ejRadioButton; - ejRadioButton = inject(Element)(ejRadioButton) || ejRadioButton; - ejRadioButton = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' })(ejRadioButton) || ejRadioButton; - ejRadioButton = customAttribute(constants.attributePrefix + 'radio-button')(ejRadioButton) || ejRadioButton; return ejRadioButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRadioButton', ejRadioButton); } diff --git a/dist/dev/rangenavigator/rangenavigator.js b/dist/dev/rangenavigator/rangenavigator.js index c687c2a75..1f34e9c7f 100644 --- a/dist/dev/rangenavigator/rangenavigator.js +++ b/dist/dev/rangenavigator/rangenavigator.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.rangenavigator.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejRangeNavigator; +System.register(['../common/common', 'datavisualization/ej.rangenavigator.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejRangeNavigator; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.rangenavigator.min'], children = _commonCommon.children; }, function (_datavisualizationEjRangenavigatorMin) {}], execute: function () { - ejRangeNavigator = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejRangeNavigator', ejRangeNavigator = (_dec = customElement(constants.elementPrefix + 'range-navigator'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'range-series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejRangeNavigator, _WidgetBase); - _createDecoratedClass(ejRangeNavigator, [{ - key: 'series', - decorators: [children(constants.elementPrefix + 'range-series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejRangeNavigator(element) { - _classCallCheck(this, _ejRangeNavigator); + _classCallCheck(this, ejRangeNavigator); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejRangeNavigator = ejRangeNavigator; - ejRangeNavigator = inject(Element)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' })(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = inlineView('' + constants.aureliaTemplateString)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = customElement(constants.elementPrefix + 'range-navigator')(ejRangeNavigator) || ejRangeNavigator; return ejRangeNavigator; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejRangeNavigator', ejRangeNavigator); } diff --git a/dist/dev/rangenavigator/rangeseries.js b/dist/dev/rangenavigator/rangeseries.js index 8249f994f..af5c3e83e 100644 --- a/dist/dev/rangenavigator/rangeseries.js +++ b/dist/dev/rangenavigator/rangeseries.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, RangeSeries; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, RangeSeries; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - RangeSeries = (function () { - function RangeSeries() { - _classCallCheck(this, _RangeSeries); - } - - var _RangeSeries = RangeSeries; - RangeSeries = generateBindables('series', [])(RangeSeries) || RangeSeries; - RangeSeries = customElement(constants.elementPrefix + 'range-series')(RangeSeries) || RangeSeries; - RangeSeries = inlineView('' + constants.aureliaTemplateString)(RangeSeries) || RangeSeries; - return RangeSeries; - })(); + _export('RangeSeries', RangeSeries = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'range-series'), _dec3 = generateBindables('series', []), _dec(_class = _dec2(_class = _dec3(_class = function RangeSeries() { + _classCallCheck(this, RangeSeries); + }) || _class) || _class) || _class)); _export('RangeSeries', RangeSeries); } diff --git a/dist/dev/rating/rating.js b/dist/dev/rating/rating.js index ed9989825..1dd059859 100644 --- a/dist/dev/rating/rating.js +++ b/dist/dev/rating/rating.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.rating.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRating; +System.register(['../common/common', 'ej.rating.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRating; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.rating.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRatingMin) {}], execute: function () { - ejRating = (function (_WidgetBase) { + _export('ejRating', ejRating = (_dec = customAttribute(constants.attributePrefix + 'rating'), _dec2 = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRating, _WidgetBase); function ejRating(element) { - _classCallCheck(this, _ejRating); + _classCallCheck(this, ejRating); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRating = ejRating; - ejRating = inject(Element)(ejRating) || ejRating; - ejRating = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])(ejRating) || ejRating; - ejRating = customAttribute(constants.attributePrefix + 'rating')(ejRating) || ejRating; return ejRating; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRating', ejRating); } diff --git a/dist/dev/reportviewer/reportviewer.js b/dist/dev/reportviewer/reportviewer.js index f2e0888b0..a2a548c68 100644 --- a/dist/dev/reportviewer/reportviewer.js +++ b/dist/dev/reportviewer/reportviewer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.reportviewer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejReportViewer; +System.register(['../common/common', 'ej.reportviewer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejReportViewer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.reportviewer.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejReportviewerMin) {}], execute: function () { - ejReportViewer = (function (_WidgetBase) { + _export('ejReportViewer', ejReportViewer = (_dec = customElement(constants.elementPrefix + 'report-viewer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejReportViewer, _WidgetBase); function ejReportViewer(element) { - _classCallCheck(this, _ejReportViewer); + _classCallCheck(this, ejReportViewer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejReportViewer = ejReportViewer; - ejReportViewer = inject(Element)(ejReportViewer) || ejReportViewer; - ejReportViewer = generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])(ejReportViewer) || ejReportViewer; - ejReportViewer = inlineView('' + constants.aureliaTemplateString)(ejReportViewer) || ejReportViewer; - ejReportViewer = customElement(constants.elementPrefix + 'report-viewer')(ejReportViewer) || ejReportViewer; return ejReportViewer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejReportViewer', ejReportViewer); } diff --git a/dist/dev/ribbon/ribbon.js b/dist/dev/ribbon/ribbon.js index 8f8be57e7..d1b38514b 100644 --- a/dist/dev/ribbon/ribbon.js +++ b/dist/dev/ribbon/ribbon.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.ribbon.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejRibbon; +System.register(['../common/common', 'ej.ribbon.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejRibbon; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.ribbon.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRibbonMin) {}], execute: function () { - ejRibbon = (function (_WidgetBase) { + _export('ejRibbon', ejRibbon = (_dec = customElement(constants.elementPrefix + 'ribbon'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRibbon, _WidgetBase); function ejRibbon(element) { - _classCallCheck(this, _ejRibbon); + _classCallCheck(this, ejRibbon); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRibbon = ejRibbon; - ejRibbon = inject(Element)(ejRibbon) || ejRibbon; - ejRibbon = generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])(ejRibbon) || ejRibbon; - ejRibbon = inlineView('' + constants.aureliaTemplateString)(ejRibbon) || ejRibbon; - ejRibbon = customElement(constants.elementPrefix + 'ribbon')(ejRibbon) || ejRibbon; return ejRibbon; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejRibbon', ejRibbon); } diff --git a/dist/dev/rotator/rotator.js b/dist/dev/rotator/rotator.js index f888c1337..4e2c09db2 100644 --- a/dist/dev/rotator/rotator.js +++ b/dist/dev/rotator/rotator.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.rotator.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRotator; +System.register(['../common/common', 'ej.rotator.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRotator; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.rotator.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRotatorMin) {}], execute: function () { - ejRotator = (function (_WidgetBase) { + _export('ejRotator', ejRotator = (_dec = customAttribute(constants.attributePrefix + 'rotator'), _dec2 = 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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRotator, _WidgetBase); function ejRotator(element) { - _classCallCheck(this, _ejRotator); + _classCallCheck(this, ejRotator); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRotator = ejRotator; - ejRotator = inject(Element)(ejRotator) || ejRotator; - ejRotator = 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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' })(ejRotator) || ejRotator; - ejRotator = customAttribute(constants.attributePrefix + 'rotator')(ejRotator) || ejRotator; return ejRotator; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRotator', ejRotator); } diff --git a/dist/dev/rte/rte.js b/dist/dev/rte/rte.js index e2508eb55..1cac82e12 100644 --- a/dist/dev/rte/rte.js +++ b/dist/dev/rte/rte.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.rte.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRte; +System.register(['../common/common', 'ej.rte.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRte; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.rte.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRteMin) {}], execute: function () { - ejRte = (function (_WidgetBase) { + _export('ejRte', ejRte = (_dec = customAttribute(constants.attributePrefix + 'rte'), _dec2 = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRte, _WidgetBase); function ejRte(element) { - _classCallCheck(this, _ejRte); + _classCallCheck(this, ejRte); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRte = ejRte; - ejRte = inject(Element)(ejRte) || ejRte; - ejRte = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' })(ejRte) || ejRte; - ejRte = customAttribute(constants.attributePrefix + 'rte')(ejRte) || ejRte; return ejRte; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRte', ejRte); } diff --git a/dist/dev/schedule/schedule.js b/dist/dev/schedule/schedule.js index 376264d81..cf12af188 100644 --- a/dist/dev/schedule/schedule.js +++ b/dist/dev/schedule/schedule.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.schedule.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejSchedule; +System.register(['../common/common', 'ej.schedule.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejSchedule; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'ej.schedule.min'], function (_export) { children = _commonCommon.children; }, function (_ejScheduleMin) {}], execute: function () { - ejSchedule = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejSchedule', ejSchedule = (_dec = customElement(constants.elementPrefix + 'schedule'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' }), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'schedule-resource'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejSchedule, _WidgetBase); - _createDecoratedClass(ejSchedule, [{ - key: 'resources', - decorators: [children(constants.elementPrefix + 'schedule-resource')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejSchedule(element) { - _classCallCheck(this, _ejSchedule); + _classCallCheck(this, ejSchedule); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'resources', _instanceInitializers); + _initDefineProp(_this, 'resources', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'resources'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'resources'; + return _this; } - var _ejSchedule = ejSchedule; - ejSchedule = inject(Element)(ejSchedule) || ejSchedule; - ejSchedule = generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' })(ejSchedule) || ejSchedule; - ejSchedule = inlineView('' + constants.aureliaTemplateString)(ejSchedule) || ejSchedule; - ejSchedule = customElement(constants.elementPrefix + 'schedule')(ejSchedule) || ejSchedule; return ejSchedule; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'resources', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejSchedule', ejSchedule); } diff --git a/dist/dev/schedule/scheduleresource.js b/dist/dev/schedule/scheduleresource.js index 432172f15..361515a27 100644 --- a/dist/dev/schedule/scheduleresource.js +++ b/dist/dev/schedule/scheduleresource.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, ScheduleResource; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, ScheduleResource; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - ScheduleResource = (function () { - function ScheduleResource() { - _classCallCheck(this, _ScheduleResource); - } - - var _ScheduleResource = ScheduleResource; - ScheduleResource = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])(ScheduleResource) || ScheduleResource; - ScheduleResource = customElement(constants.elementPrefix + 'schedule-resource')(ScheduleResource) || ScheduleResource; - ScheduleResource = inlineView('' + constants.aureliaTemplateString)(ScheduleResource) || ScheduleResource; - return ScheduleResource; - })(); + _export('ScheduleResource', ScheduleResource = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'schedule-resource'), _dec3 = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings']), _dec(_class = _dec2(_class = _dec3(_class = function ScheduleResource() { + _classCallCheck(this, ScheduleResource); + }) || _class) || _class) || _class)); _export('ScheduleResource', ScheduleResource); } diff --git a/dist/dev/scroller/scroller.js b/dist/dev/scroller/scroller.js index 0fe34c930..844f2e0aa 100644 --- a/dist/dev/scroller/scroller.js +++ b/dist/dev/scroller/scroller.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'common/ej.scroller.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejScroller; +System.register(['../common/common', 'common/ej.scroller.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejScroller; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'common/ej.scroller.min'], function (_expor generateBindables = _commonCommon.generateBindables; }, function (_commonEjScrollerMin) {}], execute: function () { - ejScroller = (function (_WidgetBase) { + _export('ejScroller', ejScroller = (_dec = customAttribute(constants.attributePrefix + 'scroller'), _dec2 = generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejScroller, _WidgetBase); function ejScroller(element) { - _classCallCheck(this, _ejScroller); + _classCallCheck(this, ejScroller); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejScroller = ejScroller; - ejScroller = inject(Element)(ejScroller) || ejScroller; - ejScroller = generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' })(ejScroller) || ejScroller; - ejScroller = customAttribute(constants.attributePrefix + 'scroller')(ejScroller) || ejScroller; return ejScroller; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejScroller', ejScroller); } diff --git a/dist/dev/slider/slider.js b/dist/dev/slider/slider.js index a2f4f08d5..a416b0068 100644 --- a/dist/dev/slider/slider.js +++ b/dist/dev/slider/slider.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.slider.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejSlider; +System.register(['../common/common', 'ej.slider.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejSlider; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.slider.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejSliderMin) {}], execute: function () { - ejSlider = (function (_WidgetBase) { + _export('ejSlider', ejSlider = (_dec = customAttribute(constants.attributePrefix + 'slider'), _dec2 = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSlider, _WidgetBase); function ejSlider(element) { - _classCallCheck(this, _ejSlider); + _classCallCheck(this, ejSlider); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSlider = ejSlider; - ejSlider = inject(Element)(ejSlider) || ejSlider; - ejSlider = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejSlider) || ejSlider; - ejSlider = customAttribute(constants.attributePrefix + 'slider')(ejSlider) || ejSlider; return ejSlider; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejSlider', ejSlider); } diff --git a/dist/dev/sparkline/sparkline.js b/dist/dev/sparkline/sparkline.js index 13ee3f0cc..60d870b76 100644 --- a/dist/dev/sparkline/sparkline.js +++ b/dist/dev/sparkline/sparkline.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.sparkline.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejSparkline; +System.register(['../common/common', 'datavisualization/ej.sparkline.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejSparkline; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.sparkline.min'], func generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjSparklineMin) {}], execute: function () { - ejSparkline = (function (_WidgetBase) { + _export('ejSparkline', ejSparkline = (_dec = customElement(constants.elementPrefix + 'sparkline'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSparkline, _WidgetBase); function ejSparkline(element) { - _classCallCheck(this, _ejSparkline); + _classCallCheck(this, ejSparkline); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSparkline = ejSparkline; - ejSparkline = inject(Element)(ejSparkline) || ejSparkline; - ejSparkline = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])(ejSparkline) || ejSparkline; - ejSparkline = inlineView('' + constants.aureliaTemplateString)(ejSparkline) || ejSparkline; - ejSparkline = customElement(constants.elementPrefix + 'sparkline')(ejSparkline) || ejSparkline; return ejSparkline; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejSparkline', ejSparkline); } diff --git a/dist/dev/splitbutton/splitbutton.js b/dist/dev/splitbutton/splitbutton.js index ee4543a3d..37a33f21d 100644 --- a/dist/dev/splitbutton/splitbutton.js +++ b/dist/dev/splitbutton/splitbutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.splitbutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejSplitButton; +System.register(['../common/common', 'ej.splitbutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejSplitButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.splitbutton.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejSplitbuttonMin) {}], execute: function () { - ejSplitButton = (function (_WidgetBase) { + _export('ejSplitButton', ejSplitButton = (_dec = customAttribute(constants.attributePrefix + 'split-button'), _dec2 = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSplitButton, _WidgetBase); function ejSplitButton(element) { - _classCallCheck(this, _ejSplitButton); + _classCallCheck(this, ejSplitButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSplitButton = ejSplitButton; - ejSplitButton = inject(Element)(ejSplitButton) || ejSplitButton; - ejSplitButton = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejSplitButton) || ejSplitButton; - ejSplitButton = customAttribute(constants.attributePrefix + 'split-button')(ejSplitButton) || ejSplitButton; return ejSplitButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejSplitButton', ejSplitButton); } diff --git a/dist/dev/splitter/splitter.js b/dist/dev/splitter/splitter.js index 2055232f2..594803990 100644 --- a/dist/dev/splitter/splitter.js +++ b/dist/dev/splitter/splitter.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.splitter.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejSplitter; +System.register(['../common/common', 'ej.splitter.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejSplitter; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.splitter.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejSplitterMin) {}], execute: function () { - ejSplitter = (function (_WidgetBase) { + _export('ejSplitter', ejSplitter = (_dec = customElement(constants.elementPrefix + 'splitter'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSplitter, _WidgetBase); function ejSplitter(element) { - _classCallCheck(this, _ejSplitter); + _classCallCheck(this, ejSplitter); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSplitter = ejSplitter; - ejSplitter = inject(Element)(ejSplitter) || ejSplitter; - ejSplitter = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' })(ejSplitter) || ejSplitter; - ejSplitter = inlineView('' + constants.aureliaTemplateString)(ejSplitter) || ejSplitter; - ejSplitter = customElement(constants.elementPrefix + 'splitter')(ejSplitter) || ejSplitter; return ejSplitter; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejSplitter', ejSplitter); } diff --git a/dist/dev/spreadsheet/sheet.js b/dist/dev/spreadsheet/sheet.js index 22f525930..1b70cba36 100644 --- a/dist/dev/spreadsheet/sheet.js +++ b/dist/dev/spreadsheet/sheet.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Sheet; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Sheet; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Sheet = (function () { - function Sheet() { - _classCallCheck(this, _Sheet); - } - - var _Sheet = Sheet; - Sheet = generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])(Sheet) || Sheet; - Sheet = customElement(constants.elementPrefix + 'sheet')(Sheet) || Sheet; - Sheet = inlineView('' + constants.aureliaTemplateString)(Sheet) || Sheet; - return Sheet; - })(); + _export('Sheet', Sheet = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'sheet'), _dec3 = generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell']), _dec(_class = _dec2(_class = _dec3(_class = function Sheet() { + _classCallCheck(this, Sheet); + }) || _class) || _class) || _class)); _export('Sheet', Sheet); } diff --git a/dist/dev/spreadsheet/spreadsheet.js b/dist/dev/spreadsheet/spreadsheet.js index d12fd2ff5..f5d7f769d 100644 --- a/dist/dev/spreadsheet/spreadsheet.js +++ b/dist/dev/spreadsheet/spreadsheet.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.spreadsheet.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejSpreadsheet; +System.register(['../common/common', 'ej.spreadsheet.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejSpreadsheet; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'ej.spreadsheet.min'], function (_export) { children = _commonCommon.children; }, function (_ejSpreadsheetMin) {}], execute: function () { - ejSpreadsheet = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejSpreadsheet', ejSpreadsheet = (_dec = customElement(constants.elementPrefix + 'spreadsheet'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'sheet'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejSpreadsheet, _WidgetBase); - _createDecoratedClass(ejSpreadsheet, [{ - key: 'sheets', - decorators: [children(constants.elementPrefix + 'sheet')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejSpreadsheet(element) { - _classCallCheck(this, _ejSpreadsheet); + _classCallCheck(this, ejSpreadsheet); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'sheets', _instanceInitializers); + _initDefineProp(_this, 'sheets', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'sheets'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'sheets'; + return _this; } - var _ejSpreadsheet = ejSpreadsheet; - ejSpreadsheet = inject(Element)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = inlineView('' + constants.aureliaTemplateString)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = customElement(constants.elementPrefix + 'spreadsheet')(ejSpreadsheet) || ejSpreadsheet; return ejSpreadsheet; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'sheets', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejSpreadsheet', ejSpreadsheet); } diff --git a/dist/dev/symbolpalette/symbolpalette.js b/dist/dev/symbolpalette/symbolpalette.js index de5351a92..c43094f1d 100644 --- a/dist/dev/symbolpalette/symbolpalette.js +++ b/dist/dev/symbolpalette/symbolpalette.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejSymbolPalette; +System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejSymbolPalette; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.diagram.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDiagramMin) {}], execute: function () { - ejSymbolPalette = (function (_WidgetBase) { + _export('ejSymbolPalette', ejSymbolPalette = (_dec = customElement(constants.elementPrefix + 'symbol-palette'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSymbolPalette, _WidgetBase); function ejSymbolPalette(element) { - _classCallCheck(this, _ejSymbolPalette); + _classCallCheck(this, ejSymbolPalette); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSymbolPalette = ejSymbolPalette; - ejSymbolPalette = inject(Element)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = inlineView('' + constants.aureliaTemplateString)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = customElement(constants.elementPrefix + 'symbol-palette')(ejSymbolPalette) || ejSymbolPalette; return ejSymbolPalette; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejSymbolPalette', ejSymbolPalette); } diff --git a/dist/dev/tab/tab.js b/dist/dev/tab/tab.js index 382ec9523..541f52c70 100644 --- a/dist/dev/tab/tab.js +++ b/dist/dev/tab/tab.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tab.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejTab; +System.register(['../common/common', 'ej.tab.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejTab; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.tab.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTabMin) {}], execute: function () { - ejTab = (function (_WidgetBase) { + _export('ejTab', ejTab = (_dec = customElement(constants.elementPrefix + 'tab'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTab, _WidgetBase); function ejTab(element) { - _classCallCheck(this, _ejTab); + _classCallCheck(this, ejTab); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTab = ejTab; - ejTab = inject(Element)(ejTab) || ejTab; - ejTab = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' })(ejTab) || ejTab; - ejTab = inlineView('' + constants.aureliaTemplateString)(ejTab) || ejTab; - ejTab = customElement(constants.elementPrefix + 'tab')(ejTab) || ejTab; return ejTab; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejTab', ejTab); } diff --git a/dist/dev/tagcloud/tagcloud.js b/dist/dev/tagcloud/tagcloud.js index 2bed90db1..b51a05d68 100644 --- a/dist/dev/tagcloud/tagcloud.js +++ b/dist/dev/tagcloud/tagcloud.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tagcloud.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejTagCloud; +System.register(['../common/common', 'ej.tagcloud.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejTagCloud; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.tagcloud.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTagcloudMin) {}], execute: function () { - ejTagCloud = (function (_WidgetBase) { + _export('ejTagCloud', ejTagCloud = (_dec = customElement(constants.elementPrefix + 'tag-cloud'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTagCloud, _WidgetBase); function ejTagCloud(element) { - _classCallCheck(this, _ejTagCloud); + _classCallCheck(this, ejTagCloud); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTagCloud = ejTagCloud; - ejTagCloud = inject(Element)(ejTagCloud) || ejTagCloud; - ejTagCloud = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' })(ejTagCloud) || ejTagCloud; - ejTagCloud = inlineView('' + constants.aureliaTemplateString)(ejTagCloud) || ejTagCloud; - ejTagCloud = customElement(constants.elementPrefix + 'tag-cloud')(ejTagCloud) || ejTagCloud; return ejTagCloud; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejTagCloud', ejTagCloud); } diff --git a/dist/dev/tile/tile.js b/dist/dev/tile/tile.js index 14164b42f..5404083cc 100644 --- a/dist/dev/tile/tile.js +++ b/dist/dev/tile/tile.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tile.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejTile; +System.register(['../common/common', 'ej.tile.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejTile; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.tile.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTileMin) {}], execute: function () { - ejTile = (function (_WidgetBase) { + _export('ejTile', ejTile = (_dec = customElement(constants.elementPrefix + 'tile'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTile, _WidgetBase); function ejTile(element) { - _classCallCheck(this, _ejTile); + _classCallCheck(this, ejTile); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTile = ejTile; - ejTile = inject(Element)(ejTile) || ejTile; - ejTile = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])(ejTile) || ejTile; - ejTile = inlineView('' + constants.aureliaTemplateString)(ejTile) || ejTile; - ejTile = customElement(constants.elementPrefix + 'tile')(ejTile) || ejTile; return ejTile; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejTile', ejTile); } diff --git a/dist/dev/timepicker/timepicker.js b/dist/dev/timepicker/timepicker.js index 542c1217a..286340e71 100644 --- a/dist/dev/timepicker/timepicker.js +++ b/dist/dev/timepicker/timepicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.timepicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejTimePicker; +System.register(['../common/common', 'ej.timepicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejTimePicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.timepicker.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTimepickerMin) {}], execute: function () { - ejTimePicker = (function (_WidgetBase) { + _export('ejTimePicker', ejTimePicker = (_dec = customAttribute(constants.attributePrefix + 'time-picker'), _dec2 = generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTimePicker, _WidgetBase); function ejTimePicker(element) { - _classCallCheck(this, _ejTimePicker); + _classCallCheck(this, ejTimePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejTimePicker = ejTimePicker; - ejTimePicker = inject(Element)(ejTimePicker) || ejTimePicker; - ejTimePicker = generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejTimePicker) || ejTimePicker; - ejTimePicker = customAttribute(constants.attributePrefix + 'time-picker')(ejTimePicker) || ejTimePicker; return ejTimePicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejTimePicker', ejTimePicker); } diff --git a/dist/dev/togglebutton/togglebutton.js b/dist/dev/togglebutton/togglebutton.js index c1a4ade7a..732d7a0f2 100644 --- a/dist/dev/togglebutton/togglebutton.js +++ b/dist/dev/togglebutton/togglebutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.togglebutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejToggleButton; +System.register(['../common/common', 'ej.togglebutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejToggleButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.togglebutton.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejTogglebuttonMin) {}], execute: function () { - ejToggleButton = (function (_WidgetBase) { + _export('ejToggleButton', ejToggleButton = (_dec = customAttribute(constants.attributePrefix + 'toggle-button'), _dec2 = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToggleButton, _WidgetBase); function ejToggleButton(element) { - _classCallCheck(this, _ejToggleButton); + _classCallCheck(this, ejToggleButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejToggleButton = ejToggleButton; - ejToggleButton = inject(Element)(ejToggleButton) || ejToggleButton; - ejToggleButton = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejToggleButton) || ejToggleButton; - ejToggleButton = customAttribute(constants.attributePrefix + 'toggle-button')(ejToggleButton) || ejToggleButton; return ejToggleButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejToggleButton', ejToggleButton); } diff --git a/dist/dev/toolbar/toolbar.js b/dist/dev/toolbar/toolbar.js index 730c2ab2f..8d6bb272f 100644 --- a/dist/dev/toolbar/toolbar.js +++ b/dist/dev/toolbar/toolbar.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.toolbar.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejToolbar; +System.register(['../common/common', 'ej.toolbar.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejToolbar; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.toolbar.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejToolbarMin) {}], execute: function () { - ejToolbar = (function (_WidgetBase) { + _export('ejToolbar', ejToolbar = (_dec = customAttribute(constants.attributePrefix + 'toolbar'), _dec2 = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToolbar, _WidgetBase); function ejToolbar(element) { - _classCallCheck(this, _ejToolbar); + _classCallCheck(this, ejToolbar); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejToolbar = ejToolbar; - ejToolbar = inject(Element)(ejToolbar) || ejToolbar; - ejToolbar = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejToolbar) || ejToolbar; - ejToolbar = customAttribute(constants.attributePrefix + 'toolbar')(ejToolbar) || ejToolbar; return ejToolbar; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejToolbar', ejToolbar); } diff --git a/dist/dev/tooltip/tooltip.js b/dist/dev/tooltip/tooltip.js index 75e116725..be2aa69a5 100644 --- a/dist/dev/tooltip/tooltip.js +++ b/dist/dev/tooltip/tooltip.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tooltip.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejTooltip; +System.register(['../common/common', 'ej.tooltip.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejTooltip; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.tooltip.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTooltipMin) {}], execute: function () { - ejTooltip = (function (_WidgetBase) { + _export('ejTooltip', ejTooltip = (_dec = customAttribute(constants.attributePrefix + 'tooltip'), _dec2 = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTooltip, _WidgetBase); function ejTooltip(element) { - _classCallCheck(this, _ejTooltip); + _classCallCheck(this, ejTooltip); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTooltip = ejTooltip; - ejTooltip = inject(Element)(ejTooltip) || ejTooltip; - ejTooltip = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTooltip) || ejTooltip; - ejTooltip = customAttribute(constants.attributePrefix + 'tooltip')(ejTooltip) || ejTooltip; return ejTooltip; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejTooltip', ejTooltip); } diff --git a/dist/dev/treegrid/treegrid.js b/dist/dev/treegrid/treegrid.js index 53fdc4bb8..3ee9b0113 100644 --- a/dist/dev/treegrid/treegrid.js +++ b/dist/dev/treegrid/treegrid.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.treegrid.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, ejTreeGrid; +System.register(['../common/common', 'ej.treegrid.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejTreeGrid; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -24,41 +91,31 @@ System.register(['../common/common', 'ej.treegrid.min'], function (_export) { TemplateProcessor = _commonCommon.TemplateProcessor; }, function (_ejTreegridMin) {}], execute: function () { - ejTreeGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejTreeGrid', ejTreeGrid = (_dec = customElement(constants.elementPrefix + 'tree-grid'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' }), _dec4 = inject(Element, TemplatingEngine), _dec5 = children(constants.elementPrefix + 'tree-grid-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejTreeGrid, _WidgetBase); - _createDecoratedClass(ejTreeGrid, [{ - key: 'columns', - decorators: [children(constants.elementPrefix + 'tree-grid-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejTreeGrid(element, templateEngine) { - _classCallCheck(this, _ejTreeGrid); + _classCallCheck(this, ejTreeGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejTreeGrid = ejTreeGrid; - ejTreeGrid = inject(Element, TemplatingEngine)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' })(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = inlineView('' + constants.aureliaTemplateString)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = customElement(constants.elementPrefix + 'tree-grid')(ejTreeGrid) || ejTreeGrid; return ejTreeGrid; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejTreeGrid', ejTreeGrid); } diff --git a/dist/dev/treegrid/treegridcolumn.js b/dist/dev/treegrid/treegridcolumn.js index 3c11ab175..445deccf2 100644 --- a/dist/dev/treegrid/treegridcolumn.js +++ b/dist/dev/treegrid/treegridcolumn.js @@ -1,13 +1,58 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, children, constants, generateBindables, Util, TreeGridColumn; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inlineView, customElement, children, constants, generateBindables, Util, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, TreeGridColumn; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -19,13 +64,11 @@ System.register(['../common/common'], function (_export) { Util = _commonCommon.Util; }], execute: function () { - TreeGridColumn = (function () { - var _instanceInitializers = {}; - + _export('TreeGridColumn', TreeGridColumn = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'tree-grid-column'), _dec3 = generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing']), _dec4 = children(constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function TreeGridColumn() { - _classCallCheck(this, _TreeGridColumn); + _classCallCheck(this, TreeGridColumn); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } TreeGridColumn.prototype.setTemplates = function setTemplates() { @@ -35,21 +78,13 @@ System.register(['../common/common'], function (_export) { } }; - _createDecoratedClass(TreeGridColumn, [{ - key: 'template', - decorators: [children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _TreeGridColumn = TreeGridColumn; - TreeGridColumn = generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = customElement(constants.elementPrefix + 'tree-grid-column')(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = inlineView('' + constants.aureliaTemplateString)(TreeGridColumn) || TreeGridColumn; return TreeGridColumn; - })(); + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class)); _export('TreeGridColumn', TreeGridColumn); } diff --git a/dist/dev/treemap/level.js b/dist/dev/treemap/level.js index 62032b2b4..c34f05eb9 100644 --- a/dist/dev/treemap/level.js +++ b/dist/dev/treemap/level.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Level; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Level; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Level = (function () { - function Level() { - _classCallCheck(this, _Level); - } - - var _Level = Level; - Level = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])(Level) || Level; - Level = customElement(constants.elementPrefix + 'level')(Level) || Level; - Level = inlineView('' + constants.aureliaTemplateString)(Level) || Level; - return Level; - })(); + _export('Level', Level = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'level'), _dec3 = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec(_class = _dec2(_class = _dec3(_class = function Level() { + _classCallCheck(this, Level); + }) || _class) || _class) || _class)); _export('Level', Level); } diff --git a/dist/dev/treemap/treemap.js b/dist/dev/treemap/treemap.js index 83cffc2c5..22119038b 100644 --- a/dist/dev/treemap/treemap.js +++ b/dist/dev/treemap/treemap.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.treemap.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejTreeMap; +System.register(['../common/common', 'datavisualization/ej.treemap.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejTreeMap; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.treemap.min'], functi children = _commonCommon.children; }, function (_datavisualizationEjTreemapMin) {}], execute: function () { - ejTreeMap = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejTreeMap', ejTreeMap = (_dec = customElement(constants.elementPrefix + 'tree-map'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'level'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejTreeMap, _WidgetBase); - _createDecoratedClass(ejTreeMap, [{ - key: 'levels', - decorators: [children(constants.elementPrefix + 'level')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejTreeMap(element) { - _classCallCheck(this, _ejTreeMap); + _classCallCheck(this, ejTreeMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'levels', _instanceInitializers); + _initDefineProp(_this, 'levels', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'levels'; + return _this; } - var _ejTreeMap = ejTreeMap; - ejTreeMap = inject(Element)(ejTreeMap) || ejTreeMap; - ejTreeMap = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])(ejTreeMap) || ejTreeMap; - ejTreeMap = inlineView('' + constants.aureliaTemplateString)(ejTreeMap) || ejTreeMap; - ejTreeMap = customElement(constants.elementPrefix + 'tree-map')(ejTreeMap) || ejTreeMap; return ejTreeMap; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'levels', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejTreeMap', ejTreeMap); } diff --git a/dist/dev/treeview/treeview.js b/dist/dev/treeview/treeview.js index ca7e8217c..3840e5046 100644 --- a/dist/dev/treeview/treeview.js +++ b/dist/dev/treeview/treeview.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.treeview.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejTreeView; +System.register(['../common/common', 'ej.treeview.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejTreeView; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.treeview.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTreeviewMin) {}], execute: function () { - ejTreeView = (function (_WidgetBase) { + _export('ejTreeView', ejTreeView = (_dec = customAttribute(constants.attributePrefix + 'tree-view'), _dec2 = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTreeView, _WidgetBase); function ejTreeView(element) { - _classCallCheck(this, _ejTreeView); + _classCallCheck(this, ejTreeView); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTreeView = ejTreeView; - ejTreeView = inject(Element)(ejTreeView) || ejTreeView; - ejTreeView = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTreeView) || ejTreeView; - ejTreeView = customAttribute(constants.attributePrefix + 'tree-view')(ejTreeView) || ejTreeView; return ejTreeView; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejTreeView', ejTreeView); } diff --git a/dist/dev/uploadbox/uploadbox.js b/dist/dev/uploadbox/uploadbox.js index 1ceae14f6..438e50c11 100644 --- a/dist/dev/uploadbox/uploadbox.js +++ b/dist/dev/uploadbox/uploadbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.uploadbox.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejUploadbox; +System.register(['../common/common', 'ej.uploadbox.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejUploadbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.uploadbox.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejUploadboxMin) {}], execute: function () { - ejUploadbox = (function (_WidgetBase) { + _export('ejUploadbox', ejUploadbox = (_dec = customElement(constants.elementPrefix + 'uploadbox'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejUploadbox, _WidgetBase); function ejUploadbox(element) { - _classCallCheck(this, _ejUploadbox); + _classCallCheck(this, ejUploadbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejUploadbox = ejUploadbox; - ejUploadbox = inject(Element)(ejUploadbox) || ejUploadbox; - ejUploadbox = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' })(ejUploadbox) || ejUploadbox; - ejUploadbox = inlineView('' + constants.aureliaTemplateString)(ejUploadbox) || ejUploadbox; - ejUploadbox = customElement(constants.elementPrefix + 'uploadbox')(ejUploadbox) || ejUploadbox; return ejUploadbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejUploadbox', ejUploadbox); } diff --git a/dist/dev/waitingpopup/waitingpopup.js b/dist/dev/waitingpopup/waitingpopup.js index dc05f3873..cf6e7f2cf 100644 --- a/dist/dev/waitingpopup/waitingpopup.js +++ b/dist/dev/waitingpopup/waitingpopup.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.waitingpopup.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejWaitingPopup; +System.register(['../common/common', 'ej.waitingpopup.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejWaitingPopup; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.waitingpopup.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejWaitingpopupMin) {}], execute: function () { - ejWaitingPopup = (function (_WidgetBase) { + _export('ejWaitingPopup', ejWaitingPopup = (_dec = customAttribute(constants.attributePrefix + 'waiting-popup'), _dec2 = generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejWaitingPopup, _WidgetBase); function ejWaitingPopup(element) { - _classCallCheck(this, _ejWaitingPopup); + _classCallCheck(this, ejWaitingPopup); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejWaitingPopup = ejWaitingPopup; - ejWaitingPopup = inject(Element)(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = customAttribute(constants.attributePrefix + 'waiting-popup')(ejWaitingPopup) || ejWaitingPopup; return ejWaitingPopup; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejWaitingPopup', ejWaitingPopup); } diff --git a/dist/es6/aurelia-syncfusion-bridge.d.ts b/dist/es6/aurelia-syncfusion-bridge.d.ts index ab090199d..99e8fb87a 100644 --- a/dist/es6/aurelia-syncfusion-bridge.d.ts +++ b/dist/es6/aurelia-syncfusion-bridge.d.ts @@ -1,8 +1,31 @@ +declare module 'aurelia-binding' { +export class Lexer {} +export class ParserImplementation {} +} declare module 'aurelia-syncfusion-bridge' { - import { customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, BindableProperty, HtmlBehaviorResource, noView, processContent, TargetInstruction } from 'aurelia-templating'; - import { inject, Container } from 'aurelia-dependency-injection'; - import { metadata } from 'aurelia-metadata'; - import { TaskQueue } from 'aurelia-task-queue'; + import { + customAttribute, + bindable, + customElement, + children, + TemplatingEngine, + inlineView, + BindableProperty, + HtmlBehaviorResource, + noView, + processContent, + TargetInstruction + } from 'aurelia-templating'; + import { + inject, + Container + } from 'aurelia-dependency-injection'; + import { + metadata + } from 'aurelia-metadata'; + import { + TaskQueue + } from 'aurelia-task-queue'; import 'ej.accordion.min'; import 'ej.autocomplete.min'; import 'datavisualization/ej.barcode.min'; @@ -157,47 +180,63 @@ declare module 'aurelia-syncfusion-bridge' { } export function configure(aurelia: any, configCallback?: ((builder: EjConfigBuilder) => void)): any; export class ejAccordion extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejAutocomplete extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBarcode extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBulletGraph extends WidgetBase { qualitativeRanges: any; - constructor(element: any); + constructor(element?: any); } export class QualitativeRange { + } export class ejButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejChart extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class Series { + } export class ejCheckBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejCircularGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejColorPicker extends WidgetBase { - constructor(element: any); - } + constructor(element?: any); + } + export { + customAttribute, + bindable, + inject, + WidgetBase, + constants, + generateBindables, + inlineView, + customElement, + children, + TemplatingEngine, + TemplateProcessor, + Util + }; export const constants: any; - export function generateBindables(controlName: any, inputs: any, twoWayProperties: any, abbrevProperties: any): any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: 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; + export function getEventOption(element?: any): any; /** * Fire DOM event on an element @@ -207,24 +246,25 @@ declare module 'aurelia-syncfusion-bridge' { */ export function fireEvent(element: Element, name: string, data?: any): any; export class TemplateProcessor { - constructor(context: any, templateEngine: any); + constructor(context?: any, templateEngine?: any); initTemplate(): any; initWidgetDependancies(): any; - renderStringTemplate(self: any, selector: any, data: any, index: any): any; - compileTemplate(element: any): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; clearTempalte(): any; - unbindViews(obj: any): any; + unbindViews(obj?: any): any; } export class Template { template: any; - constructor(target: any); + constructor(target?: any); } export class Util { getBindablePropertyName(propertyName: string): string; - getOptions(model: any, properties: any): any; - getControlPropertyName(options: any, propertyName: any): any; - hasValue(prop: any): any; - processData(value: any): any; + _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 { @@ -232,16 +272,16 @@ declare module 'aurelia-syncfusion-bridge' { * To Create an widget * @param option Object which contains Element in which widget will be created */ - createWidget(option: any): any; + createWidget(option?: any): any; createTwoWays(): any; - addTwoways(prop: any): 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; + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; attached(): any; /** @@ -250,35 +290,35 @@ declare module 'aurelia-syncfusion-bridge' { * @param newValue New value of the property * @param oldvalue Pld value of the property */ - propertyChanged(property: any, newValue: any, oldValue: any): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class ejCurrencyTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDatePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDateTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDiagram extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDialog extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDropDownList extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejFileExplorer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejGantt extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Column { template: any; @@ -286,67 +326,69 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejGroupButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejKanban extends WidgetBase { columns: any; - constructor(element: any); + constructor(element?: any); } export class KanbanColumn { + } export class ejLinearGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Layer { + } export class ejMap extends WidgetBase { layers: any; - constructor(element: any); + constructor(element?: any); } export class ejMaskEdit extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejMenu extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNavigationDrawer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNumericTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejOverview extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPdfViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPercentageTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotChart extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGrid extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotSchemaDesigner extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejProgressBar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Item { template: any; @@ -354,107 +396,111 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejRadialMenu extends WidgetBase { items: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejRadialSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRadioButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class RangeSeries { + } export class ejRating extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejReportViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRibbon extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRotator extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRte extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSchedule extends WidgetBase { resources: any; - constructor(element: any); + constructor(element?: any); } export class ScheduleResource { + } export class ejScroller extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSparkline extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitter extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Sheet { + } export class ejSpreadsheet extends WidgetBase { sheets: any; - constructor(element: any); + constructor(element?: any); } export class ejSymbolPalette extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTab extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTagCloud extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTile extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToggleButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToolbar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTooltip extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTreeGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class TreeGridColumn { template: any; setTemplates(): any; } export class Level { + } export class ejTreeMap extends WidgetBase { levels: any; - constructor(element: any); + constructor(element?: any); } export class ejTreeView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejUploadbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejWaitingPopup extends WidgetBase { - constructor(element: any); + constructor(element?: any); } } \ No newline at end of file diff --git a/dist/system/accordion/accordion.js b/dist/system/accordion/accordion.js index 6e3b3d1f5..16fcd8332 100644 --- a/dist/system/accordion/accordion.js +++ b/dist/system/accordion/accordion.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.accordion.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejAccordion; +System.register(['../common/common', 'ej.accordion.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejAccordion; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.accordion.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejAccordionMin) {}], execute: function () { - ejAccordion = (function (_WidgetBase) { + _export('ejAccordion', ejAccordion = (_dec = customElement(constants.elementPrefix + 'accordion'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejAccordion, _WidgetBase); function ejAccordion(element) { - _classCallCheck(this, _ejAccordion); + _classCallCheck(this, ejAccordion); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAccordion = ejAccordion; - ejAccordion = inject(Element)(ejAccordion) || ejAccordion; - ejAccordion = generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' })(ejAccordion) || ejAccordion; - ejAccordion = inlineView('' + constants.aureliaTemplateString)(ejAccordion) || ejAccordion; - ejAccordion = customElement(constants.elementPrefix + 'accordion')(ejAccordion) || ejAccordion; return ejAccordion; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejAccordion', ejAccordion); } diff --git a/dist/system/aurelia-syncfusion-bridge.d.ts b/dist/system/aurelia-syncfusion-bridge.d.ts index ab090199d..99e8fb87a 100644 --- a/dist/system/aurelia-syncfusion-bridge.d.ts +++ b/dist/system/aurelia-syncfusion-bridge.d.ts @@ -1,8 +1,31 @@ +declare module 'aurelia-binding' { +export class Lexer {} +export class ParserImplementation {} +} declare module 'aurelia-syncfusion-bridge' { - import { customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, BindableProperty, HtmlBehaviorResource, noView, processContent, TargetInstruction } from 'aurelia-templating'; - import { inject, Container } from 'aurelia-dependency-injection'; - import { metadata } from 'aurelia-metadata'; - import { TaskQueue } from 'aurelia-task-queue'; + import { + customAttribute, + bindable, + customElement, + children, + TemplatingEngine, + inlineView, + BindableProperty, + HtmlBehaviorResource, + noView, + processContent, + TargetInstruction + } from 'aurelia-templating'; + import { + inject, + Container + } from 'aurelia-dependency-injection'; + import { + metadata + } from 'aurelia-metadata'; + import { + TaskQueue + } from 'aurelia-task-queue'; import 'ej.accordion.min'; import 'ej.autocomplete.min'; import 'datavisualization/ej.barcode.min'; @@ -157,47 +180,63 @@ declare module 'aurelia-syncfusion-bridge' { } export function configure(aurelia: any, configCallback?: ((builder: EjConfigBuilder) => void)): any; export class ejAccordion extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejAutocomplete extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBarcode extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejBulletGraph extends WidgetBase { qualitativeRanges: any; - constructor(element: any); + constructor(element?: any); } export class QualitativeRange { + } export class ejButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejChart extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class Series { + } export class ejCheckBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejCircularGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejColorPicker extends WidgetBase { - constructor(element: any); - } + constructor(element?: any); + } + export { + customAttribute, + bindable, + inject, + WidgetBase, + constants, + generateBindables, + inlineView, + customElement, + children, + TemplatingEngine, + TemplateProcessor, + Util + }; export const constants: any; - export function generateBindables(controlName: any, inputs: any, twoWayProperties: any, abbrevProperties: any): any; + export function generateBindables(controlName?: any, inputs?: any, twoWayProperties?: any, abbrevProperties?: 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; + export function getEventOption(element?: any): any; /** * Fire DOM event on an element @@ -207,24 +246,25 @@ declare module 'aurelia-syncfusion-bridge' { */ export function fireEvent(element: Element, name: string, data?: any): any; export class TemplateProcessor { - constructor(context: any, templateEngine: any); + constructor(context?: any, templateEngine?: any); initTemplate(): any; initWidgetDependancies(): any; - renderStringTemplate(self: any, selector: any, data: any, index: any): any; - compileTemplate(element: any): any; + renderStringTemplate(self?: any, selector?: any, data?: any, index?: any): any; + compileTemplate(element?: any): any; clearTempalte(): any; - unbindViews(obj: any): any; + unbindViews(obj?: any): any; } export class Template { template: any; - constructor(target: any); + constructor(target?: any); } export class Util { getBindablePropertyName(propertyName: string): string; - getOptions(model: any, properties: any): any; - getControlPropertyName(options: any, propertyName: any): any; - hasValue(prop: any): any; - processData(value: any): any; + _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 { @@ -232,16 +272,16 @@ declare module 'aurelia-syncfusion-bridge' { * To Create an widget * @param option Object which contains Element in which widget will be created */ - createWidget(option: any): any; + createWidget(option?: any): any; createTwoWays(): any; - addTwoways(prop: any): 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; + getWidgetOptions(element?: any): any; + getChildProperties(options?: any): any; attached(): any; /** @@ -250,35 +290,35 @@ declare module 'aurelia-syncfusion-bridge' { * @param newValue New value of the property * @param oldvalue Pld value of the property */ - propertyChanged(property: any, newValue: any, oldValue: any): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; detached(): any; } export class ejCurrencyTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDatePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDateTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDiagram extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDialog extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDigitalGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejDropDownList extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejFileExplorer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejGantt extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Column { template: any; @@ -286,67 +326,69 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejGroupButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejKanban extends WidgetBase { columns: any; - constructor(element: any); + constructor(element?: any); } export class KanbanColumn { + } export class ejLinearGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListBox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejListView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Layer { + } export class ejMap extends WidgetBase { layers: any; - constructor(element: any); + constructor(element?: any); } export class ejMaskEdit extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejMenu extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNavigationDrawer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejNumericTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejOverview extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPdfViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPercentageTextbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotChart extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGauge extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotGrid extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejPivotSchemaDesigner extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejProgressBar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Item { template: any; @@ -354,107 +396,111 @@ declare module 'aurelia-syncfusion-bridge' { } export class ejRadialMenu extends WidgetBase { items: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class ejRadialSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRadioButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRangeNavigator extends WidgetBase { series: any; - constructor(element: any); + constructor(element?: any); } export class RangeSeries { + } export class ejRating extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejReportViewer extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRibbon extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRotator extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejRte extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSchedule extends WidgetBase { resources: any; - constructor(element: any); + constructor(element?: any); } export class ScheduleResource { + } export class ejScroller extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSlider extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSparkline extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejSplitter extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class Sheet { + } export class ejSpreadsheet extends WidgetBase { sheets: any; - constructor(element: any); + constructor(element?: any); } export class ejSymbolPalette extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTab extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTagCloud extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTile extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTimePicker extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToggleButton extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejToolbar extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTooltip extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejTreeGrid extends WidgetBase { columns: any; - constructor(element: any, templateEngine: any); + constructor(element?: any, templateEngine?: any); } export class TreeGridColumn { template: any; setTemplates(): any; } export class Level { + } export class ejTreeMap extends WidgetBase { levels: any; - constructor(element: any); + constructor(element?: any); } export class ejTreeView extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejUploadbox extends WidgetBase { - constructor(element: any); + constructor(element?: any); } export class ejWaitingPopup extends WidgetBase { - constructor(element: any); + constructor(element?: any); } } \ No newline at end of file diff --git a/dist/system/autocomplete/autocomplete.js b/dist/system/autocomplete/autocomplete.js index 1f613e5c0..512a57e01 100644 --- a/dist/system/autocomplete/autocomplete.js +++ b/dist/system/autocomplete/autocomplete.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.autocomplete.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejAutocomplete; +System.register(['../common/common', 'ej.autocomplete.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejAutocomplete; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.autocomplete.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejAutocompleteMin) {}], execute: function () { - ejAutocomplete = (function (_WidgetBase) { + _export('ejAutocomplete', ejAutocomplete = (_dec = customAttribute(constants.attributePrefix + 'autocomplete'), _dec2 = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejAutocomplete, _WidgetBase); function ejAutocomplete(element) { - _classCallCheck(this, _ejAutocomplete); + _classCallCheck(this, ejAutocomplete); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAutocomplete = ejAutocomplete; - ejAutocomplete = inject(Element)(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' })(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = customAttribute(constants.attributePrefix + 'autocomplete')(ejAutocomplete) || ejAutocomplete; return ejAutocomplete; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejAutocomplete', ejAutocomplete); } diff --git a/dist/system/barcode/barcode.js b/dist/system/barcode/barcode.js index 3a2e971f3..b7b132dad 100644 --- a/dist/system/barcode/barcode.js +++ b/dist/system/barcode/barcode.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.barcode.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejBarcode; +System.register(['../common/common', 'datavisualization/ej.barcode.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejBarcode; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.barcode.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjBarcodeMin) {}], execute: function () { - ejBarcode = (function (_WidgetBase) { + _export('ejBarcode', ejBarcode = (_dec = customElement(constants.elementPrefix + 'barcode'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejBarcode, _WidgetBase); function ejBarcode(element) { - _classCallCheck(this, _ejBarcode); + _classCallCheck(this, ejBarcode); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejBarcode = ejBarcode; - ejBarcode = inject(Element)(ejBarcode) || ejBarcode; - ejBarcode = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])(ejBarcode) || ejBarcode; - ejBarcode = inlineView('' + constants.aureliaTemplateString)(ejBarcode) || ejBarcode; - ejBarcode = customElement(constants.elementPrefix + 'barcode')(ejBarcode) || ejBarcode; return ejBarcode; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejBarcode', ejBarcode); } diff --git a/dist/system/bulletgraph/bulletgraph.js b/dist/system/bulletgraph/bulletgraph.js index 527baff0c..770e508fd 100644 --- a/dist/system/bulletgraph/bulletgraph.js +++ b/dist/system/bulletgraph/bulletgraph.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.bulletgraph.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejBulletGraph; +System.register(['../common/common', 'datavisualization/ej.bulletgraph.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejBulletGraph; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.bulletgraph.min'], fu children = _commonCommon.children; }, function (_datavisualizationEjBulletgraphMin) {}], execute: function () { - ejBulletGraph = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejBulletGraph', ejBulletGraph = (_dec = customElement(constants.elementPrefix + 'bullet-graph'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'qualitative-range'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejBulletGraph, _WidgetBase); - _createDecoratedClass(ejBulletGraph, [{ - key: 'qualitativeRanges', - decorators: [children(constants.elementPrefix + 'qualitative-range')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejBulletGraph(element) { - _classCallCheck(this, _ejBulletGraph); + _classCallCheck(this, ejBulletGraph); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'qualitativeRanges', _instanceInitializers); + _initDefineProp(_this, 'qualitativeRanges', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'qualitativeRanges'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'qualitativeRanges'; + return _this; } - var _ejBulletGraph = ejBulletGraph; - ejBulletGraph = inject(Element)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = inlineView('' + constants.aureliaTemplateString)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = customElement(constants.elementPrefix + 'bullet-graph')(ejBulletGraph) || ejBulletGraph; return ejBulletGraph; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'qualitativeRanges', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejBulletGraph', ejBulletGraph); } diff --git a/dist/system/bulletgraph/qualitativerange.js b/dist/system/bulletgraph/qualitativerange.js index 8d6a04244..713a142ec 100644 --- a/dist/system/bulletgraph/qualitativerange.js +++ b/dist/system/bulletgraph/qualitativerange.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, QualitativeRange; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, QualitativeRange; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - QualitativeRange = (function () { - function QualitativeRange() { - _classCallCheck(this, _QualitativeRange); - } - - var _QualitativeRange = QualitativeRange; - QualitativeRange = generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])(QualitativeRange) || QualitativeRange; - QualitativeRange = customElement(constants.elementPrefix + 'qualitative-range')(QualitativeRange) || QualitativeRange; - QualitativeRange = inlineView('' + constants.aureliaTemplateString)(QualitativeRange) || QualitativeRange; - return QualitativeRange; - })(); + _export('QualitativeRange', QualitativeRange = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'qualitative-range'), _dec3 = generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke']), _dec(_class = _dec2(_class = _dec3(_class = function QualitativeRange() { + _classCallCheck(this, QualitativeRange); + }) || _class) || _class) || _class)); _export('QualitativeRange', QualitativeRange); } diff --git a/dist/system/button/button.js b/dist/system/button/button.js index 0789e274a..58c534ba8 100644 --- a/dist/system/button/button.js +++ b/dist/system/button/button.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.button.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejButton; +System.register(['../common/common', 'ej.button.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.button.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejButtonMin) {}], execute: function () { - ejButton = (function (_WidgetBase) { + _export('ejButton', ejButton = (_dec = customAttribute(constants.attributePrefix + 'button'), _dec2 = generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejButton, _WidgetBase); function ejButton(element) { - _classCallCheck(this, _ejButton); + _classCallCheck(this, ejButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejButton = ejButton; - ejButton = inject(Element)(ejButton) || ejButton; - ejButton = generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejButton) || ejButton; - ejButton = customAttribute(constants.attributePrefix + 'button')(ejButton) || ejButton; return ejButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejButton', ejButton); } diff --git a/dist/system/chart/chart.js b/dist/system/chart/chart.js index 3a7cbe350..3d4f5f58b 100644 --- a/dist/system/chart/chart.js +++ b/dist/system/chart/chart.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.chart.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejChart; +System.register(['../common/common', 'datavisualization/ej.chart.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejChart; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.chart.min'], function children = _commonCommon.children; }, function (_datavisualizationEjChartMin) {}], execute: function () { - ejChart = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejChart', ejChart = (_dec = customElement(constants.elementPrefix + 'chart'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejChart, _WidgetBase); - _createDecoratedClass(ejChart, [{ - key: 'series', - decorators: [children(constants.elementPrefix + 'series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejChart(element) { - _classCallCheck(this, _ejChart); + _classCallCheck(this, ejChart); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejChart = ejChart; - ejChart = inject(Element)(ejChart) || ejChart; - ejChart = generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])(ejChart) || ejChart; - ejChart = inlineView('' + constants.aureliaTemplateString)(ejChart) || ejChart; - ejChart = customElement(constants.elementPrefix + 'chart')(ejChart) || ejChart; return ejChart; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejChart', ejChart); } diff --git a/dist/system/chart/series.js b/dist/system/chart/series.js index da6da17e1..3c9ede876 100644 --- a/dist/system/chart/series.js +++ b/dist/system/chart/series.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Series; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Series; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Series = (function () { - function Series() { - _classCallCheck(this, _Series); - } - - var _Series = Series; - Series = generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])(Series) || Series; - Series = customElement(constants.elementPrefix + 'series')(Series) || Series; - Series = inlineView('' + constants.aureliaTemplateString)(Series) || Series; - return Series; - })(); + _export('Series', Series = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'series'), _dec3 = generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings']), _dec(_class = _dec2(_class = _dec3(_class = function Series() { + _classCallCheck(this, Series); + }) || _class) || _class) || _class)); _export('Series', Series); } diff --git a/dist/system/checkbox/checkbox.js b/dist/system/checkbox/checkbox.js index 9195bc127..678e09a4a 100644 --- a/dist/system/checkbox/checkbox.js +++ b/dist/system/checkbox/checkbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.checkbox.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejCheckBox; +System.register(['../common/common', 'ej.checkbox.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejCheckBox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.checkbox.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejCheckboxMin) {}], execute: function () { - ejCheckBox = (function (_WidgetBase) { + _export('ejCheckBox', ejCheckBox = (_dec = customAttribute(constants.attributePrefix + 'check-box'), _dec2 = generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCheckBox, _WidgetBase); function ejCheckBox(element) { - _classCallCheck(this, _ejCheckBox); + _classCallCheck(this, ejCheckBox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejCheckBox = ejCheckBox; - ejCheckBox = inject(Element)(ejCheckBox) || ejCheckBox; - ejCheckBox = generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' })(ejCheckBox) || ejCheckBox; - ejCheckBox = customAttribute(constants.attributePrefix + 'check-box')(ejCheckBox) || ejCheckBox; return ejCheckBox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejCheckBox', ejCheckBox); } diff --git a/dist/system/circulargauge/circulargauge.js b/dist/system/circulargauge/circulargauge.js index b4871906c..c5e145c89 100644 --- a/dist/system/circulargauge/circulargauge.js +++ b/dist/system/circulargauge/circulargauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.circulargauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejCircularGauge; +System.register(['../common/common', 'datavisualization/ej.circulargauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejCircularGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.circulargauge.min'], generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjCirculargaugeMin) {}], execute: function () { - ejCircularGauge = (function (_WidgetBase) { + _export('ejCircularGauge', ejCircularGauge = (_dec = customElement(constants.elementPrefix + 'circular-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejCircularGauge, _WidgetBase); function ejCircularGauge(element) { - _classCallCheck(this, _ejCircularGauge); + _classCallCheck(this, ejCircularGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejCircularGauge = ejCircularGauge; - ejCircularGauge = inject(Element)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = inlineView('' + constants.aureliaTemplateString)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = customElement(constants.elementPrefix + 'circular-gauge')(ejCircularGauge) || ejCircularGauge; return ejCircularGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejCircularGauge', ejCircularGauge); } diff --git a/dist/system/colorpicker/colorpicker.js b/dist/system/colorpicker/colorpicker.js index 31726f667..38174d5e6 100644 --- a/dist/system/colorpicker/colorpicker.js +++ b/dist/system/colorpicker/colorpicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.colorpicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejColorPicker; +System.register(['../common/common', 'ej.colorpicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejColorPicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.colorpicker.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejColorpickerMin) {}], execute: function () { - ejColorPicker = (function (_WidgetBase) { + _export('ejColorPicker', ejColorPicker = (_dec = customAttribute(constants.attributePrefix + 'color-picker'), _dec2 = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejColorPicker, _WidgetBase); function ejColorPicker(element) { - _classCallCheck(this, _ejColorPicker); + _classCallCheck(this, ejColorPicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejColorPicker = ejColorPicker; - ejColorPicker = inject(Element)(ejColorPicker) || ejColorPicker; - ejColorPicker = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])(ejColorPicker) || ejColorPicker; - ejColorPicker = customAttribute(constants.attributePrefix + 'color-picker')(ejColorPicker) || ejColorPicker; return ejColorPicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejColorPicker', ejColorPicker); } diff --git a/dist/system/common/common.js b/dist/system/common/common.js index 9c3e75875..67289d80f 100644 --- a/dist/system/common/common.js +++ b/dist/system/common/common.js @@ -1,5 +1,7 @@ -System.register(['aurelia-templating', 'aurelia-dependency-injection', './widget-base', './constants', './decorators', './template-processor', './util'], function (_export) { - 'use strict'; +'use strict'; + +System.register(['aurelia-templating', 'aurelia-dependency-injection', './widget-base', './constants', './decorators', './template-processor', './util'], function (_export, _context) { + "use strict"; var customAttribute, bindable, customElement, children, TemplatingEngine, inlineView, inject, WidgetBase, constants, generateBindables, TemplateProcessor, Util; return { diff --git a/dist/system/common/constants.js b/dist/system/common/constants.js index fe590f847..21348c136 100644 --- a/dist/system/common/constants.js +++ b/dist/system/common/constants.js @@ -1,17 +1,19 @@ -System.register([], function (_export) { - 'use strict'; +'use strict'; + +System.register([], function (_export, _context) { + "use strict"; var constants; return { setters: [], execute: function () { - constants = { + _export('constants', constants = { eventPrefix: 'e-on-', bindablePrefix: 'e-', attributePrefix: 'ej-', elementPrefix: 'ej-', aureliaTemplateString: '' - }; + }); _export('constants', constants); } diff --git a/dist/system/common/decorators.js b/dist/system/common/decorators.js index 0c2f61c9d..0ba4024b8 100644 --- a/dist/system/common/decorators.js +++ b/dist/system/common/decorators.js @@ -1,64 +1,9 @@ -System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-metadata', 'aurelia-task-queue', './util'], function (_export) { - 'use strict'; +'use strict'; - var BindableProperty, HtmlBehaviorResource, Container, metadata, TaskQueue, Util; - - _export('generateBindables', generateBindables); - - _export('delayed', delayed); - - function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) { - return function (target, key, descriptor) { - var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); - var container = Container.instance || new Container(); - var util = container.get(Util); - inputs.push('options'); - var len = inputs.length; - 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]; - } - var nameOrConfigOrTarget = { - name: util.getBindablePropertyName(option) - }; - var prop = new BindableProperty(nameOrConfigOrTarget); - prop.registerWith(target, behaviorResource, descriptor); - } - } - }; - } - - function delayed() { - return function (target, key, descriptor) { - var taskQueue = (Container.instance || new Container()).get(TaskQueue); - var ptr = descriptor.value; - - descriptor.value = function () { - var _this = this; - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - if (this.childPropertyName) { - taskQueue.queueTask(function () { - return ptr.apply(_this, args); - }); - } else { - ptr.apply(this, args); - } - }; - - return descriptor; - }; - } +System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-metadata', 'aurelia-task-queue', './util'], function (_export, _context) { + "use strict"; + var BindableProperty, HtmlBehaviorResource, Container, metadata, TaskQueue, Util; return { setters: [function (_aureliaTemplating) { BindableProperty = _aureliaTemplating.BindableProperty; @@ -72,6 +17,62 @@ System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia- }, function (_util) { Util = _util.Util; }], - execute: function () {} + execute: function () { + function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) { + return function (target, key, descriptor) { + var behaviorResource = metadata.getOrCreateOwn(metadata.resource, HtmlBehaviorResource, target); + var container = Container.instance || new Container(); + var util = container.get(Util); + inputs.push('options'); + var len = inputs.length; + 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]; + } + var nameOrConfigOrTarget = { + name: util.getBindablePropertyName(option) + }; + var prop = new BindableProperty(nameOrConfigOrTarget); + prop.registerWith(target, behaviorResource, descriptor); + } + } + }; + } + + _export('generateBindables', generateBindables); + + function delayed() { + return function (target, key, descriptor) { + var taskQueue = (Container.instance || new Container()).get(TaskQueue); + var ptr = descriptor.value; + + descriptor.value = function () { + var _this = this; + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + if (this.childPropertyName) { + taskQueue.queueTask(function () { + return ptr.apply(_this, args); + }); + } else { + ptr.apply(this, args); + } + }; + + return descriptor; + }; + } + + _export('delayed', delayed); + } }; }); \ No newline at end of file diff --git a/dist/system/common/events.js b/dist/system/common/events.js index 076a00e9c..94cc93871 100644 --- a/dist/system/common/events.js +++ b/dist/system/common/events.js @@ -1,52 +1,9 @@ -System.register(['./util', 'aurelia-dependency-injection', './constants'], function (_export) { - 'use strict'; +'use strict'; - var Util, Container, constants; - - _export('getEventOption', getEventOption); - - _export('fireEvent', fireEvent); - - function getEventOption(element) { - var name = undefined; - var attr = undefined; - var attributes = element.attributes; - var option = {}; - var container = Container.instance || new Container(); - var util = container.get(Util); - - var _loop = function (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); - }; - }; - - for (var i = 0, len = attributes.length; i < len; i++) { - var _ret = _loop(i, len); - - if (_ret === 'continue') continue; - } - 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; - } +System.register(['./util', 'aurelia-dependency-injection', './constants'], function (_export, _context) { + "use strict"; + var Util, Container, constants; return { setters: [function (_util) { Util = _util.Util; @@ -55,6 +12,50 @@ System.register(['./util', 'aurelia-dependency-injection', './constants'], funct }, function (_constants) { constants = _constants.constants; }], - execute: function () {} + execute: function () { + function getEventOption(element) { + var name = void 0; + var attr = void 0; + var attributes = element.attributes; + var option = {}; + var container = Container.instance || new Container(); + var util = container.get(Util); + + 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); + }; + }; + + for (var i = 0, len = attributes.length; i < len; i++) { + var _ret = _loop(i, len); + + if (_ret === 'continue') continue; + } + return option; + } + + _export('getEventOption', getEventOption); + + 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; + } + + _export('fireEvent', fireEvent); + } }; }); \ No newline at end of file diff --git a/dist/system/common/template-processor.js b/dist/system/common/template-processor.js index 599e4d48e..d95bb619c 100644 --- a/dist/system/common/template-processor.js +++ b/dist/system/common/template-processor.js @@ -1,9 +1,15 @@ -System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-templating'], function (_export) { - 'use strict'; +'use strict'; - var inject, Util, TemplatingEngine, TemplateProcessor; +System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-templating'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inject, Util, TemplatingEngine, _dec, _class, TemplateProcessor; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_aureliaDependencyInjection) { @@ -14,9 +20,9 @@ System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-temp TemplatingEngine = _aureliaTemplating.TemplatingEngine; }], execute: function () { - TemplateProcessor = (function () { + _export('TemplateProcessor', TemplateProcessor = (_dec = inject(TemplatingEngine, Util), _dec(_class = function () { function TemplateProcessor(context, templateEngine) { - _classCallCheck(this, _TemplateProcessor); + _classCallCheck(this, TemplateProcessor); this.context = context; this.templatingEngine = templateEngine; @@ -96,10 +102,8 @@ System.register(['aurelia-dependency-injection', '../common/util', 'aurelia-temp } }; - var _TemplateProcessor = TemplateProcessor; - TemplateProcessor = inject(TemplatingEngine, Util)(TemplateProcessor) || TemplateProcessor; return TemplateProcessor; - })(); + }()) || _class)); _export('TemplateProcessor', TemplateProcessor); } diff --git a/dist/system/common/template.js b/dist/system/common/template.js index 25f2ef50f..d43429add 100644 --- a/dist/system/common/template.js +++ b/dist/system/common/template.js @@ -1,13 +1,58 @@ -System.register(['aurelia-dependency-injection', 'aurelia-templating', './constants'], function (_export) { - 'use strict'; +'use strict'; - var inject, customElement, bindable, noView, processContent, TargetInstruction, constants, Template; +System.register(['aurelia-dependency-injection', 'aurelia-templating', './constants'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, customElement, bindable, noView, processContent, TargetInstruction, constants, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, Template; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_aureliaDependencyInjection) { @@ -22,37 +67,22 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', './consta constants = _constants.constants; }], execute: function () { - Template = (function () { - var _instanceInitializers = {}; - - _createDecoratedClass(Template, [{ - key: 'template', - decorators: [bindable], - initializer: null, - enumerable: true - }], null, _instanceInitializers); - - function Template(target) { - _classCallCheck(this, _Template); - - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); - - this.template = target.elementInstruction.template; + _export('Template', Template = (_dec = customElement(constants.elementPrefix + 'template'), _dec2 = noView(), _dec3 = processContent(function (compiler, resources, element, instruction) { + var html = element.innerHTML; + if (html !== '') { + instruction.template = html; } + element.innerHTML = ''; + }), _dec4 = inject(TargetInstruction), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function Template(target) { + _classCallCheck(this, Template); + + _initDefineProp(this, 'template', _descriptor, this); - var _Template = Template; - Template = inject(TargetInstruction)(Template) || Template; - Template = processContent(function (compiler, resources, element, instruction) { - var html = element.innerHTML; - if (html !== '') { - instruction.template = html; - } - element.innerHTML = ''; - })(Template) || Template; - Template = noView()(Template) || Template; - Template = customElement(constants.elementPrefix + 'template')(Template) || Template; - return Template; - })(); + this.template = target.elementInstruction.template; + }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [bindable], { + enumerable: true, + initializer: null + })), _class2)) || _class) || _class) || _class) || _class)); _export('Template', Template); } diff --git a/dist/system/common/util.js b/dist/system/common/util.js index 3427c8048..fc05795a4 100644 --- a/dist/system/common/util.js +++ b/dist/system/common/util.js @@ -1,16 +1,22 @@ -System.register(['./constants'], function (_export) { - 'use strict'; +'use strict'; + +System.register(['./constants'], function (_export, _context) { + "use strict"; var constants, Util; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_constants) { constants = _constants.constants; }], execute: function () { - Util = (function () { + _export('Util', Util = function () { function Util() { _classCallCheck(this, Util); } @@ -28,7 +34,7 @@ System.register(['./constants'], function (_export) { Util.prototype.getOptions = function getOptions(model, properties) { var bindableproperites = {}; - var value = undefined; + var value = void 0; for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; @@ -59,7 +65,7 @@ System.register(['./constants'], function (_export) { }; Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { - var property = undefined; + var property = void 0; for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { var _ref2; @@ -98,7 +104,7 @@ System.register(['./constants'], function (_export) { }; return Util; - })(); + }()); _export('Util', Util); } diff --git a/dist/system/common/widget-base.js b/dist/system/common/widget-base.js index 6076242c3..f1eba80c0 100644 --- a/dist/system/common/widget-base.js +++ b/dist/system/common/widget-base.js @@ -1,11 +1,44 @@ -System.register(['./events', '../common/util', '../common/decorators'], function (_export) { - 'use strict'; +'use strict'; - var getEventOption, Util, delayed, firstValue, WidgetBase; +System.register(['./events', '../common/util', '../common/decorators'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var getEventOption, Util, delayed, _dec, _desc, _value, _class, firstValue, WidgetBase; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } return { setters: [function (_events) { @@ -18,7 +51,7 @@ System.register(['./events', '../common/util', '../common/decorators'], function execute: function () { firstValue = {}; - WidgetBase = (function () { + _export('WidgetBase', WidgetBase = (_dec = delayed(), (_class = function () { function WidgetBase() { _classCallCheck(this, WidgetBase); } @@ -73,15 +106,15 @@ System.register(['./events', '../common/util', '../common/decorators'], function } value = newVal; if (!isApp && model.util.hasValue(newVal)) { - var viewModelProp = model.util.getBindablePropertyName(prop); - model[viewModelProp] = newVal; + var _viewModelProp = model.util.getBindablePropertyName(prop); + model[_viewModelProp] = newVal; } return null; }; }; WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { - var propOptions = undefined; + var propOptions = void 0; if (this.ejOptions) { propOptions = this.ejOptions; } else { @@ -107,9 +140,19 @@ System.register(['./events', '../common/util', '../common/decorators'], function } }; + 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.propertyChanged = function propertyChanged(property, newValue, oldValue) { if (this.widget) { - var modelValue = undefined; + var modelValue = void 0; var prop = this.util.getControlPropertyName(this, property); if (prop) { if (prop !== 'options') { @@ -140,22 +183,8 @@ System.register(['./events', '../common/util', '../common/decorators'], function } }; - _createDecoratedClass(WidgetBase, [{ - key: 'attached', - decorators: [delayed()], - value: function attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(function (template) { - return template.setTemplates(); - }); - } - this.util = new Util(); - this.createWidget({ element: this.element }); - } - }]); - return WidgetBase; - })(); + }(), (_applyDecoratedDescriptor(_class.prototype, 'attached', [_dec], Object.getOwnPropertyDescriptor(_class.prototype, 'attached'), _class.prototype)), _class))); _export('WidgetBase', WidgetBase); } diff --git a/dist/system/config-builder.js b/dist/system/config-builder.js index 6ef22195a..c6a43a199 100644 --- a/dist/system/config-builder.js +++ b/dist/system/config-builder.js @@ -1,14 +1,20 @@ -System.register([], function (_export) { - 'use strict'; +'use strict'; + +System.register([], function (_export, _context) { + "use strict"; var EjConfigBuilder; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [], execute: function () { - EjConfigBuilder = (function () { + _export('EjConfigBuilder', EjConfigBuilder = function () { function EjConfigBuilder() { _classCallCheck(this, EjConfigBuilder); @@ -373,7 +379,7 @@ System.register([], function (_export) { }; return EjConfigBuilder; - })(); + }()); _export('EjConfigBuilder', EjConfigBuilder); } diff --git a/dist/system/currencytextbox/currencytextbox.js b/dist/system/currencytextbox/currencytextbox.js index 6fe5a9d14..6fd1e9ecd 100644 --- a/dist/system/currencytextbox/currencytextbox.js +++ b/dist/system/currencytextbox/currencytextbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.editor.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejCurrencyTextbox; +System.register(['../common/common', 'ej.editor.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejCurrencyTextbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.editor.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejEditorMin) {}], execute: function () { - ejCurrencyTextbox = (function (_WidgetBase) { + _export('ejCurrencyTextbox', ejCurrencyTextbox = (_dec = customAttribute(constants.attributePrefix + 'currency-textbox'), _dec2 = generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejCurrencyTextbox, _WidgetBase); function ejCurrencyTextbox(element) { - _classCallCheck(this, _ejCurrencyTextbox); + _classCallCheck(this, ejCurrencyTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejCurrencyTextbox = ejCurrencyTextbox; - ejCurrencyTextbox = inject(Element)(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = customAttribute(constants.attributePrefix + 'currency-textbox')(ejCurrencyTextbox) || ejCurrencyTextbox; return ejCurrencyTextbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejCurrencyTextbox', ejCurrencyTextbox); } diff --git a/dist/system/datepicker/datepicker.js b/dist/system/datepicker/datepicker.js index 2b27aaab6..b5d9de6bb 100644 --- a/dist/system/datepicker/datepicker.js +++ b/dist/system/datepicker/datepicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.datepicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejDatePicker; +System.register(['../common/common', 'ej.datepicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejDatePicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.datepicker.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejDatepickerMin) {}], execute: function () { - ejDatePicker = (function (_WidgetBase) { + _export('ejDatePicker', ejDatePicker = (_dec = customAttribute(constants.attributePrefix + 'date-picker'), _dec2 = 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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDatePicker, _WidgetBase); function ejDatePicker(element) { - _classCallCheck(this, _ejDatePicker); + _classCallCheck(this, ejDatePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDatePicker = ejDatePicker; - ejDatePicker = inject(Element)(ejDatePicker) || ejDatePicker; - ejDatePicker = 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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDatePicker) || ejDatePicker; - ejDatePicker = customAttribute(constants.attributePrefix + 'date-picker')(ejDatePicker) || ejDatePicker; return ejDatePicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejDatePicker', ejDatePicker); } diff --git a/dist/system/datetimepicker/datetimepicker.js b/dist/system/datetimepicker/datetimepicker.js index e82206ff1..e9a9df517 100644 --- a/dist/system/datetimepicker/datetimepicker.js +++ b/dist/system/datetimepicker/datetimepicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.datetimepicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejDateTimePicker; +System.register(['../common/common', 'ej.datetimepicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejDateTimePicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.datetimepicker.min'], function (_export generateBindables = _commonCommon.generateBindables; }, function (_ejDatetimepickerMin) {}], execute: function () { - ejDateTimePicker = (function (_WidgetBase) { + _export('ejDateTimePicker', ejDateTimePicker = (_dec = customAttribute(constants.attributePrefix + 'date-time-picker'), _dec2 = generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDateTimePicker, _WidgetBase); function ejDateTimePicker(element) { - _classCallCheck(this, _ejDateTimePicker); + _classCallCheck(this, ejDateTimePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejDateTimePicker = ejDateTimePicker; - ejDateTimePicker = inject(Element)(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = customAttribute(constants.attributePrefix + 'date-time-picker')(ejDateTimePicker) || ejDateTimePicker; return ejDateTimePicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejDateTimePicker', ejDateTimePicker); } diff --git a/dist/system/diagram/diagram.js b/dist/system/diagram/diagram.js index 359a619de..bbab05878 100644 --- a/dist/system/diagram/diagram.js +++ b/dist/system/diagram/diagram.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejDiagram; +System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejDiagram; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.diagram.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDiagramMin) {}], execute: function () { - ejDiagram = (function (_WidgetBase) { + _export('ejDiagram', ejDiagram = (_dec = customElement(constants.elementPrefix + 'diagram'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDiagram, _WidgetBase); function ejDiagram(element) { - _classCallCheck(this, _ejDiagram); + _classCallCheck(this, ejDiagram); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDiagram = ejDiagram; - ejDiagram = inject(Element)(ejDiagram) || ejDiagram; - ejDiagram = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])(ejDiagram) || ejDiagram; - ejDiagram = inlineView('' + constants.aureliaTemplateString)(ejDiagram) || ejDiagram; - ejDiagram = customElement(constants.elementPrefix + 'diagram')(ejDiagram) || ejDiagram; return ejDiagram; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejDiagram', ejDiagram); } diff --git a/dist/system/dialog/dialog.js b/dist/system/dialog/dialog.js index f765b02fc..a3d4973eb 100644 --- a/dist/system/dialog/dialog.js +++ b/dist/system/dialog/dialog.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.dialog.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejDialog; +System.register(['../common/common', 'ej.dialog.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejDialog; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.dialog.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejDialogMin) {}], execute: function () { - ejDialog = (function (_WidgetBase) { + _export('ejDialog', ejDialog = (_dec = customElement(constants.elementPrefix + 'dialog'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDialog, _WidgetBase); function ejDialog(element) { - _classCallCheck(this, _ejDialog); + _classCallCheck(this, ejDialog); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDialog = ejDialog; - ejDialog = inject(Element)(ejDialog) || ejDialog; - ejDialog = generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' })(ejDialog) || ejDialog; - ejDialog = inlineView('' + constants.aureliaTemplateString)(ejDialog) || ejDialog; - ejDialog = customElement(constants.elementPrefix + 'dialog')(ejDialog) || ejDialog; return ejDialog; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejDialog', ejDialog); } diff --git a/dist/system/digitalgauge/digitalgauge.js b/dist/system/digitalgauge/digitalgauge.js index 56b4b1ed6..ec2d62ce8 100644 --- a/dist/system/digitalgauge/digitalgauge.js +++ b/dist/system/digitalgauge/digitalgauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.digitalgauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejDigitalGauge; +System.register(['../common/common', 'datavisualization/ej.digitalgauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejDigitalGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.digitalgauge.min'], f generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDigitalgaugeMin) {}], execute: function () { - ejDigitalGauge = (function (_WidgetBase) { + _export('ejDigitalGauge', ejDigitalGauge = (_dec = customElement(constants.elementPrefix + 'digital-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejDigitalGauge, _WidgetBase); function ejDigitalGauge(element) { - _classCallCheck(this, _ejDigitalGauge); + _classCallCheck(this, ejDigitalGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDigitalGauge = ejDigitalGauge; - ejDigitalGauge = inject(Element)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = inlineView('' + constants.aureliaTemplateString)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = customElement(constants.elementPrefix + 'digital-gauge')(ejDigitalGauge) || ejDigitalGauge; return ejDigitalGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejDigitalGauge', ejDigitalGauge); } diff --git a/dist/system/dropdownlist/dropdownlist.js b/dist/system/dropdownlist/dropdownlist.js index f9d320428..8ac1fdceb 100644 --- a/dist/system/dropdownlist/dropdownlist.js +++ b/dist/system/dropdownlist/dropdownlist.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.dropdownlist.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejDropDownList; +System.register(['../common/common', 'ej.dropdownlist.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejDropDownList; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.dropdownlist.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejDropdownlistMin) {}], execute: function () { - ejDropDownList = (function (_WidgetBase) { + _export('ejDropDownList', ejDropDownList = (_dec = customAttribute(constants.attributePrefix + 'drop-down-list'), _dec2 = generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejDropDownList, _WidgetBase); function ejDropDownList(element) { - _classCallCheck(this, _ejDropDownList); + _classCallCheck(this, ejDropDownList); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejDropDownList = ejDropDownList; - ejDropDownList = inject(Element)(ejDropDownList) || ejDropDownList; - ejDropDownList = generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' })(ejDropDownList) || ejDropDownList; - ejDropDownList = customAttribute(constants.attributePrefix + 'drop-down-list')(ejDropDownList) || ejDropDownList; return ejDropDownList; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejDropDownList', ejDropDownList); } diff --git a/dist/system/fileexplorer/fileexplorer.js b/dist/system/fileexplorer/fileexplorer.js index 571405429..4c5f9f36a 100644 --- a/dist/system/fileexplorer/fileexplorer.js +++ b/dist/system/fileexplorer/fileexplorer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.fileexplorer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejFileExplorer; +System.register(['../common/common', 'ej.fileexplorer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejFileExplorer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.fileexplorer.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejFileexplorerMin) {}], execute: function () { - ejFileExplorer = (function (_WidgetBase) { + _export('ejFileExplorer', ejFileExplorer = (_dec = customElement(constants.elementPrefix + 'file-explorer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejFileExplorer, _WidgetBase); function ejFileExplorer(element) { - _classCallCheck(this, _ejFileExplorer); + _classCallCheck(this, ejFileExplorer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejFileExplorer = ejFileExplorer; - ejFileExplorer = inject(Element)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' })(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = inlineView('' + constants.aureliaTemplateString)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = customElement(constants.elementPrefix + 'file-explorer')(ejFileExplorer) || ejFileExplorer; return ejFileExplorer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejFileExplorer', ejFileExplorer); } diff --git a/dist/system/gantt/gantt.js b/dist/system/gantt/gantt.js index fedc1399a..3aae1a540 100644 --- a/dist/system/gantt/gantt.js +++ b/dist/system/gantt/gantt.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.gantt.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejGantt; +System.register(['../common/common', 'ej.gantt.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejGantt; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.gantt.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejGanttMin) {}], execute: function () { - ejGantt = (function (_WidgetBase) { + _export('ejGantt', ejGantt = (_dec = customElement(constants.elementPrefix + 'gantt'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejGantt, _WidgetBase); function ejGantt(element) { - _classCallCheck(this, _ejGantt); + _classCallCheck(this, ejGantt); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejGantt = ejGantt; - ejGantt = inject(Element)(ejGantt) || ejGantt; - ejGantt = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])(ejGantt) || ejGantt; - ejGantt = inlineView('' + constants.aureliaTemplateString)(ejGantt) || ejGantt; - ejGantt = customElement(constants.elementPrefix + 'gantt')(ejGantt) || ejGantt; return ejGantt; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejGantt', ejGantt); } diff --git a/dist/system/grid/column.js b/dist/system/grid/column.js index cd96ac1fe..bc734a23f 100644 --- a/dist/system/grid/column.js +++ b/dist/system/grid/column.js @@ -1,13 +1,58 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, children, constants, generateBindables, Util, Column; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inlineView, customElement, children, constants, generateBindables, Util, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, Column; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -19,13 +64,11 @@ System.register(['../common/common'], function (_export) { Util = _commonCommon.Util; }], execute: function () { - Column = (function () { - var _instanceInitializers = {}; - + _export('Column', Column = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'column'), _dec3 = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width']), _dec4 = children(constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Column() { - _classCallCheck(this, _Column); + _classCallCheck(this, Column); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Column.prototype.setTemplates = function setTemplates() { @@ -35,21 +78,13 @@ System.register(['../common/common'], function (_export) { } }; - _createDecoratedClass(Column, [{ - key: 'template', - decorators: [children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Column = Column; - Column = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])(Column) || Column; - Column = customElement(constants.elementPrefix + 'column')(Column) || Column; - Column = inlineView('' + constants.aureliaTemplateString)(Column) || Column; return Column; - })(); + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class)); _export('Column', Column); } diff --git a/dist/system/grid/grid.js b/dist/system/grid/grid.js index 935cf82e3..bb36d303c 100644 --- a/dist/system/grid/grid.js +++ b/dist/system/grid/grid.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.grid.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, ejGrid; +System.register(['../common/common', 'ej.grid.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejGrid; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -24,41 +91,31 @@ System.register(['../common/common', 'ej.grid.min'], function (_export) { TemplateProcessor = _commonCommon.TemplateProcessor; }, function (_ejGridMin) {}], execute: function () { - ejGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejGrid', ejGrid = (_dec = customElement(constants.elementPrefix + 'grid'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = 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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element, TemplatingEngine), _dec5 = children(constants.elementPrefix + 'column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejGrid, _WidgetBase); - _createDecoratedClass(ejGrid, [{ - key: 'columns', - decorators: [children(constants.elementPrefix + 'column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejGrid(element, templateEngine) { - _classCallCheck(this, _ejGrid); + _classCallCheck(this, ejGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejGrid = ejGrid; - ejGrid = inject(Element, TemplatingEngine)(ejGrid) || ejGrid; - ejGrid = 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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejGrid) || ejGrid; - ejGrid = inlineView('' + constants.aureliaTemplateString)(ejGrid) || ejGrid; - ejGrid = customElement(constants.elementPrefix + 'grid')(ejGrid) || ejGrid; return ejGrid; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejGrid', ejGrid); } diff --git a/dist/system/groupbutton/groupbutton.js b/dist/system/groupbutton/groupbutton.js index 230fb93c2..55b00e589 100644 --- a/dist/system/groupbutton/groupbutton.js +++ b/dist/system/groupbutton/groupbutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.groupbutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejGroupButton; +System.register(['../common/common', 'ej.groupbutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejGroupButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.groupbutton.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejGroupbuttonMin) {}], execute: function () { - ejGroupButton = (function (_WidgetBase) { + _export('ejGroupButton', ejGroupButton = (_dec = customAttribute(constants.attributePrefix + 'group-button'), _dec2 = generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejGroupButton, _WidgetBase); function ejGroupButton(element) { - _classCallCheck(this, _ejGroupButton); + _classCallCheck(this, ejGroupButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejGroupButton = ejGroupButton; - ejGroupButton = inject(Element)(ejGroupButton) || ejGroupButton; - ejGroupButton = generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' })(ejGroupButton) || ejGroupButton; - ejGroupButton = customAttribute(constants.attributePrefix + 'group-button')(ejGroupButton) || ejGroupButton; return ejGroupButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejGroupButton', ejGroupButton); } diff --git a/dist/system/index.js b/dist/system/index.js index 3ab6afd01..2f9c56d57 100644 --- a/dist/system/index.js +++ b/dist/system/index.js @@ -1,28 +1,29 @@ -System.register(['./config-builder'], function (_export) { - 'use strict'; +'use strict'; - var EjConfigBuilder; +System.register(['./config-builder'], function (_export, _context) { + "use strict"; - _export('configure', configure); + var EjConfigBuilder; + return { + setters: [function (_configBuilder) { + EjConfigBuilder = _configBuilder.EjConfigBuilder; + }], + execute: function () { + function configure(aurelia, configCallback) { + var builder = new EjConfigBuilder(); - function configure(aurelia, configCallback) { - var builder = new EjConfigBuilder(); + if (configCallback !== undefined && typeof configCallback === 'function') { + configCallback(builder); + } - if (configCallback !== undefined && typeof configCallback === 'function') { - configCallback(builder); - } + var resources = builder.resources; - var resources = builder.resources; + if (builder.useGlobalResources) { + aurelia.globalResources(resources); + } + } - if (builder.useGlobalResources) { - aurelia.globalResources(resources); + _export('configure', configure); } - } - - return { - setters: [function (_configBuilder) { - EjConfigBuilder = _configBuilder.EjConfigBuilder; - }], - execute: function () {} }; }); \ No newline at end of file diff --git a/dist/system/kanban/kanban.js b/dist/system/kanban/kanban.js index 3fa15750f..d904a5fd1 100644 --- a/dist/system/kanban/kanban.js +++ b/dist/system/kanban/kanban.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.kanban.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejKanban; +System.register(['../common/common', 'ej.kanban.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejKanban; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'ej.kanban.min'], function (_export) { children = _commonCommon.children; }, function (_ejKanbanMin) {}], execute: function () { - ejKanban = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejKanban', ejKanban = (_dec = customElement(constants.elementPrefix + 'kanban'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'kanban-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejKanban, _WidgetBase); - _createDecoratedClass(ejKanban, [{ - key: 'columns', - decorators: [children(constants.elementPrefix + 'kanban-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejKanban(element) { - _classCallCheck(this, _ejKanban); + _classCallCheck(this, ejKanban); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + return _this; } - var _ejKanban = ejKanban; - ejKanban = inject(Element)(ejKanban) || ejKanban; - ejKanban = generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejKanban) || ejKanban; - ejKanban = inlineView('' + constants.aureliaTemplateString)(ejKanban) || ejKanban; - ejKanban = customElement(constants.elementPrefix + 'kanban')(ejKanban) || ejKanban; return ejKanban; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejKanban', ejKanban); } diff --git a/dist/system/kanban/kanbancolumn.js b/dist/system/kanban/kanbancolumn.js index be40dcb59..6a3a982e9 100644 --- a/dist/system/kanban/kanbancolumn.js +++ b/dist/system/kanban/kanbancolumn.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, KanbanColumn; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, KanbanColumn; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - KanbanColumn = (function () { - function KanbanColumn() { - _classCallCheck(this, _KanbanColumn); - } - - var _KanbanColumn = KanbanColumn; - KanbanColumn = generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])(KanbanColumn) || KanbanColumn; - KanbanColumn = customElement(constants.elementPrefix + 'kanban-column')(KanbanColumn) || KanbanColumn; - KanbanColumn = inlineView('' + constants.aureliaTemplateString)(KanbanColumn) || KanbanColumn; - return KanbanColumn; - })(); + _export('KanbanColumn', KanbanColumn = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'kanban-column'), _dec3 = generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec(_class = _dec2(_class = _dec3(_class = function KanbanColumn() { + _classCallCheck(this, KanbanColumn); + }) || _class) || _class) || _class)); _export('KanbanColumn', KanbanColumn); } diff --git a/dist/system/lineargauge/lineargauge.js b/dist/system/lineargauge/lineargauge.js index e8b53939e..461dd1906 100644 --- a/dist/system/lineargauge/lineargauge.js +++ b/dist/system/lineargauge/lineargauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.lineargauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejLinearGauge; +System.register(['../common/common', 'datavisualization/ej.lineargauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejLinearGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.lineargauge.min'], fu generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjLineargaugeMin) {}], execute: function () { - ejLinearGauge = (function (_WidgetBase) { + _export('ejLinearGauge', ejLinearGauge = (_dec = customElement(constants.elementPrefix + 'linear-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejLinearGauge, _WidgetBase); function ejLinearGauge(element) { - _classCallCheck(this, _ejLinearGauge); + _classCallCheck(this, ejLinearGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejLinearGauge = ejLinearGauge; - ejLinearGauge = inject(Element)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = inlineView('' + constants.aureliaTemplateString)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = customElement(constants.elementPrefix + 'linear-gauge')(ejLinearGauge) || ejLinearGauge; return ejLinearGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejLinearGauge', ejLinearGauge); } diff --git a/dist/system/listbox/listbox.js b/dist/system/listbox/listbox.js index 283ca3a52..65632f569 100644 --- a/dist/system/listbox/listbox.js +++ b/dist/system/listbox/listbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.listbox.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejListBox; +System.register(['../common/common', 'ej.listbox.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejListBox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.listbox.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejListboxMin) {}], execute: function () { - ejListBox = (function (_WidgetBase) { + _export('ejListBox', ejListBox = (_dec = customAttribute(constants.attributePrefix + 'list-box'), _dec2 = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejListBox, _WidgetBase); function ejListBox(element) { - _classCallCheck(this, _ejListBox); + _classCallCheck(this, ejListBox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejListBox = ejListBox; - ejListBox = inject(Element)(ejListBox) || ejListBox; - ejListBox = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejListBox) || ejListBox; - ejListBox = customAttribute(constants.attributePrefix + 'list-box')(ejListBox) || ejListBox; return ejListBox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejListBox', ejListBox); } diff --git a/dist/system/listview/listview.js b/dist/system/listview/listview.js index 5202d38ad..2b520be95 100644 --- a/dist/system/listview/listview.js +++ b/dist/system/listview/listview.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.listview.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejListView; +System.register(['../common/common', 'ej.listview.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejListView; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.listview.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejListviewMin) {}], execute: function () { - ejListView = (function (_WidgetBase) { + _export('ejListView', ejListView = (_dec = customElement(constants.elementPrefix + 'list-view'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejListView, _WidgetBase); function ejListView(element) { - _classCallCheck(this, _ejListView); + _classCallCheck(this, ejListView); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejListView = ejListView; - ejListView = inject(Element)(ejListView) || ejListView; - ejListView = generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])(ejListView) || ejListView; - ejListView = inlineView('' + constants.aureliaTemplateString)(ejListView) || ejListView; - ejListView = customElement(constants.elementPrefix + 'list-view')(ejListView) || ejListView; return ejListView; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejListView', ejListView); } diff --git a/dist/system/map/layer.js b/dist/system/map/layer.js index 9bb4d0cad..1fc34b6ce 100644 --- a/dist/system/map/layer.js +++ b/dist/system/map/layer.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Layer; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Layer; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Layer = (function () { - function Layer() { - _classCallCheck(this, _Layer); - } - - var _Layer = Layer; - Layer = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])(Layer) || Layer; - Layer = customElement(constants.elementPrefix + 'layer')(Layer) || Layer; - Layer = inlineView('' + constants.aureliaTemplateString)(Layer) || Layer; - return Layer; - })(); + _export('Layer', Layer = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'layer'), _dec3 = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate']), _dec(_class = _dec2(_class = _dec3(_class = function Layer() { + _classCallCheck(this, Layer); + }) || _class) || _class) || _class)); _export('Layer', Layer); } diff --git a/dist/system/map/map.js b/dist/system/map/map.js index 145fb2e25..9843b7d43 100644 --- a/dist/system/map/map.js +++ b/dist/system/map/map.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.map.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejMap; +System.register(['../common/common', 'datavisualization/ej.map.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejMap; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.map.min'], function ( children = _commonCommon.children; }, function (_datavisualizationEjMapMin) {}], execute: function () { - ejMap = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejMap', ejMap = (_dec = customElement(constants.elementPrefix + 'map'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'layer'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejMap, _WidgetBase); - _createDecoratedClass(ejMap, [{ - key: 'layers', - decorators: [children(constants.elementPrefix + 'layer')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejMap(element) { - _classCallCheck(this, _ejMap); + _classCallCheck(this, ejMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'layers', _instanceInitializers); + _initDefineProp(_this, 'layers', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'layers'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'layers'; + return _this; } - var _ejMap = ejMap; - ejMap = inject(Element)(ejMap) || ejMap; - ejMap = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])(ejMap) || ejMap; - ejMap = inlineView('' + constants.aureliaTemplateString)(ejMap) || ejMap; - ejMap = customElement(constants.elementPrefix + 'map')(ejMap) || ejMap; return ejMap; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'layers', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejMap', ejMap); } diff --git a/dist/system/maskedit/maskedit.js b/dist/system/maskedit/maskedit.js index 9363f87ef..202cf0174 100644 --- a/dist/system/maskedit/maskedit.js +++ b/dist/system/maskedit/maskedit.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.maskedit.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejMaskEdit; +System.register(['../common/common', 'ej.maskedit.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejMaskEdit; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.maskedit.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejMaskeditMin) {}], execute: function () { - ejMaskEdit = (function (_WidgetBase) { + _export('ejMaskEdit', ejMaskEdit = (_dec = customAttribute(constants.attributePrefix + 'mask-edit'), _dec2 = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMaskEdit, _WidgetBase); function ejMaskEdit(element) { - _classCallCheck(this, _ejMaskEdit); + _classCallCheck(this, ejMaskEdit); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejMaskEdit = ejMaskEdit; - ejMaskEdit = inject(Element)(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = customAttribute(constants.attributePrefix + 'mask-edit')(ejMaskEdit) || ejMaskEdit; return ejMaskEdit; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejMaskEdit', ejMaskEdit); } diff --git a/dist/system/menu/menu.js b/dist/system/menu/menu.js index 53cc0ea63..9a7c31488 100644 --- a/dist/system/menu/menu.js +++ b/dist/system/menu/menu.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.menu.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejMenu; +System.register(['../common/common', 'ej.menu.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejMenu; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.menu.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejMenuMin) {}], execute: function () { - ejMenu = (function (_WidgetBase) { + _export('ejMenu', ejMenu = (_dec = customAttribute(constants.attributePrefix + 'menu'), _dec2 = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejMenu, _WidgetBase); function ejMenu(element) { - _classCallCheck(this, _ejMenu); + _classCallCheck(this, ejMenu); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejMenu = ejMenu; - ejMenu = inject(Element)(ejMenu) || ejMenu; - ejMenu = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' })(ejMenu) || ejMenu; - ejMenu = customAttribute(constants.attributePrefix + 'menu')(ejMenu) || ejMenu; return ejMenu; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejMenu', ejMenu); } diff --git a/dist/system/navigationdrawer/navigationdrawer.js b/dist/system/navigationdrawer/navigationdrawer.js index 445ae3cbd..84ea658ed 100644 --- a/dist/system/navigationdrawer/navigationdrawer.js +++ b/dist/system/navigationdrawer/navigationdrawer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.navigationdrawer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejNavigationDrawer; +System.register(['../common/common', 'ej.navigationdrawer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejNavigationDrawer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.navigationdrawer.min'], function (_expo generateBindables = _commonCommon.generateBindables; }, function (_ejNavigationdrawerMin) {}], execute: function () { - ejNavigationDrawer = (function (_WidgetBase) { + _export('ejNavigationDrawer', ejNavigationDrawer = (_dec = customElement(constants.elementPrefix + 'navigation-drawer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejNavigationDrawer, _WidgetBase); function ejNavigationDrawer(element) { - _classCallCheck(this, _ejNavigationDrawer); + _classCallCheck(this, ejNavigationDrawer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejNavigationDrawer = ejNavigationDrawer; - ejNavigationDrawer = inject(Element)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = inlineView('' + constants.aureliaTemplateString)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = customElement(constants.elementPrefix + 'navigation-drawer')(ejNavigationDrawer) || ejNavigationDrawer; return ejNavigationDrawer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejNavigationDrawer', ejNavigationDrawer); } diff --git a/dist/system/numerictextbox/numerictextbox.js b/dist/system/numerictextbox/numerictextbox.js index 1ccd4b3ac..ea95245ca 100644 --- a/dist/system/numerictextbox/numerictextbox.js +++ b/dist/system/numerictextbox/numerictextbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.editor.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejNumericTextbox; +System.register(['../common/common', 'ej.editor.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejNumericTextbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.editor.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejEditorMin) {}], execute: function () { - ejNumericTextbox = (function (_WidgetBase) { + _export('ejNumericTextbox', ejNumericTextbox = (_dec = customAttribute(constants.attributePrefix + 'numeric-textbox'), _dec2 = generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejNumericTextbox, _WidgetBase); function ejNumericTextbox(element) { - _classCallCheck(this, _ejNumericTextbox); + _classCallCheck(this, ejNumericTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejNumericTextbox = ejNumericTextbox; - ejNumericTextbox = inject(Element)(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = customAttribute(constants.attributePrefix + 'numeric-textbox')(ejNumericTextbox) || ejNumericTextbox; return ejNumericTextbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejNumericTextbox', ejNumericTextbox); } diff --git a/dist/system/overview/overview.js b/dist/system/overview/overview.js index 0af91ebd7..d0108dfd6 100644 --- a/dist/system/overview/overview.js +++ b/dist/system/overview/overview.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejOverview; +System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejOverview; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.diagram.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDiagramMin) {}], execute: function () { - ejOverview = (function (_WidgetBase) { + _export('ejOverview', ejOverview = (_dec = customElement(constants.elementPrefix + 'overview'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejOverview, _WidgetBase); function ejOverview(element) { - _classCallCheck(this, _ejOverview); + _classCallCheck(this, ejOverview); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejOverview = ejOverview; - ejOverview = inject(Element)(ejOverview) || ejOverview; - ejOverview = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' })(ejOverview) || ejOverview; - ejOverview = inlineView('' + constants.aureliaTemplateString)(ejOverview) || ejOverview; - ejOverview = customElement(constants.elementPrefix + 'overview')(ejOverview) || ejOverview; return ejOverview; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejOverview', ejOverview); } diff --git a/dist/system/pdfviewer/pdfviewer.js b/dist/system/pdfviewer/pdfviewer.js index 9dd16926c..c26ae5ba0 100644 --- a/dist/system/pdfviewer/pdfviewer.js +++ b/dist/system/pdfviewer/pdfviewer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pdfviewer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPdfViewer; +System.register(['../common/common', 'ej.pdfviewer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPdfViewer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pdfviewer.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPdfviewerMin) {}], execute: function () { - ejPdfViewer = (function (_WidgetBase) { + _export('ejPdfViewer', ejPdfViewer = (_dec = customElement(constants.elementPrefix + 'pdf-viewer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPdfViewer, _WidgetBase); function ejPdfViewer(element) { - _classCallCheck(this, _ejPdfViewer); + _classCallCheck(this, ejPdfViewer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPdfViewer = ejPdfViewer; - ejPdfViewer = inject(Element)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = inlineView('' + constants.aureliaTemplateString)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = customElement(constants.elementPrefix + 'pdf-viewer')(ejPdfViewer) || ejPdfViewer; return ejPdfViewer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPdfViewer', ejPdfViewer); } diff --git a/dist/system/percentagetextbox/percentagetextbox.js b/dist/system/percentagetextbox/percentagetextbox.js index ec215d8f6..f267c8d0b 100644 --- a/dist/system/percentagetextbox/percentagetextbox.js +++ b/dist/system/percentagetextbox/percentagetextbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.editor.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejPercentageTextbox; +System.register(['../common/common', 'ej.editor.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejPercentageTextbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.editor.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejEditorMin) {}], execute: function () { - ejPercentageTextbox = (function (_WidgetBase) { + _export('ejPercentageTextbox', ejPercentageTextbox = (_dec = customAttribute(constants.attributePrefix + 'percentage-textbox'), _dec2 = generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejPercentageTextbox, _WidgetBase); function ejPercentageTextbox(element) { - _classCallCheck(this, _ejPercentageTextbox); + _classCallCheck(this, ejPercentageTextbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejPercentageTextbox = ejPercentageTextbox; - ejPercentageTextbox = inject(Element)(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = customAttribute(constants.attributePrefix + 'percentage-textbox')(ejPercentageTextbox) || ejPercentageTextbox; return ejPercentageTextbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejPercentageTextbox', ejPercentageTextbox); } diff --git a/dist/system/pivotchart/pivotchart.js b/dist/system/pivotchart/pivotchart.js index 7916593f6..4957eb9a9 100644 --- a/dist/system/pivotchart/pivotchart.js +++ b/dist/system/pivotchart/pivotchart.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotchart.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotChart; +System.register(['../common/common', 'ej.pivotchart.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotChart; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotchart.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPivotchartMin) {}], execute: function () { - ejPivotChart = (function (_WidgetBase) { + _export('ejPivotChart', ejPivotChart = (_dec = customElement(constants.elementPrefix + 'pivot-chart'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotChart, _WidgetBase); function ejPivotChart(element) { - _classCallCheck(this, _ejPivotChart); + _classCallCheck(this, ejPivotChart); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotChart = ejPivotChart; - ejPivotChart = inject(Element)(ejPivotChart) || ejPivotChart; - ejPivotChart = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])(ejPivotChart) || ejPivotChart; - ejPivotChart = inlineView('' + constants.aureliaTemplateString)(ejPivotChart) || ejPivotChart; - ejPivotChart = customElement(constants.elementPrefix + 'pivot-chart')(ejPivotChart) || ejPivotChart; return ejPivotChart; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotChart', ejPivotChart); } diff --git a/dist/system/pivotgauge/pivotgauge.js b/dist/system/pivotgauge/pivotgauge.js index a7cb22f95..b9fb957d2 100644 --- a/dist/system/pivotgauge/pivotgauge.js +++ b/dist/system/pivotgauge/pivotgauge.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotgauge.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotGauge; +System.register(['../common/common', 'ej.pivotgauge.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotGauge; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotgauge.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPivotgaugeMin) {}], execute: function () { - ejPivotGauge = (function (_WidgetBase) { + _export('ejPivotGauge', ejPivotGauge = (_dec = customElement(constants.elementPrefix + 'pivot-gauge'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGauge, _WidgetBase); function ejPivotGauge(element) { - _classCallCheck(this, _ejPivotGauge); + _classCallCheck(this, ejPivotGauge); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotGauge = ejPivotGauge; - ejPivotGauge = inject(Element)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = inlineView('' + constants.aureliaTemplateString)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = customElement(constants.elementPrefix + 'pivot-gauge')(ejPivotGauge) || ejPivotGauge; return ejPivotGauge; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotGauge', ejPivotGauge); } diff --git a/dist/system/pivotgrid/pivotgrid.js b/dist/system/pivotgrid/pivotgrid.js index 0588f731d..1dfd8ab22 100644 --- a/dist/system/pivotgrid/pivotgrid.js +++ b/dist/system/pivotgrid/pivotgrid.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotgrid.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotGrid; +System.register(['../common/common', 'ej.pivotgrid.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotGrid; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotgrid.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejPivotgridMin) {}], execute: function () { - ejPivotGrid = (function (_WidgetBase) { + _export('ejPivotGrid', ejPivotGrid = (_dec = customElement(constants.elementPrefix + 'pivot-grid'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotGrid, _WidgetBase); function ejPivotGrid(element) { - _classCallCheck(this, _ejPivotGrid); + _classCallCheck(this, ejPivotGrid); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotGrid = ejPivotGrid; - ejPivotGrid = inject(Element)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' })(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = inlineView('' + constants.aureliaTemplateString)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = customElement(constants.elementPrefix + 'pivot-grid')(ejPivotGrid) || ejPivotGrid; return ejPivotGrid; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotGrid', ejPivotGrid); } diff --git a/dist/system/pivotschemadesigner/pivotschemadesigner.js b/dist/system/pivotschemadesigner/pivotschemadesigner.js index 8bd669989..cd2bcd4ca 100644 --- a/dist/system/pivotschemadesigner/pivotschemadesigner.js +++ b/dist/system/pivotschemadesigner/pivotschemadesigner.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.pivotschemadesigner.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejPivotSchemaDesigner; +System.register(['../common/common', 'ej.pivotschemadesigner.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejPivotSchemaDesigner; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.pivotschemadesigner.min'], function (_e generateBindables = _commonCommon.generateBindables; }, function (_ejPivotschemadesignerMin) {}], execute: function () { - ejPivotSchemaDesigner = (function (_WidgetBase) { + _export('ejPivotSchemaDesigner', ejPivotSchemaDesigner = (_dec = customElement(constants.elementPrefix + 'pivot-schema-designer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejPivotSchemaDesigner, _WidgetBase); function ejPivotSchemaDesigner(element) { - _classCallCheck(this, _ejPivotSchemaDesigner); + _classCallCheck(this, ejPivotSchemaDesigner); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejPivotSchemaDesigner = ejPivotSchemaDesigner; - ejPivotSchemaDesigner = inject(Element)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = inlineView('' + constants.aureliaTemplateString)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = customElement(constants.elementPrefix + 'pivot-schema-designer')(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; return ejPivotSchemaDesigner; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejPivotSchemaDesigner', ejPivotSchemaDesigner); } diff --git a/dist/system/progressbar/progressbar.js b/dist/system/progressbar/progressbar.js index c652fa70f..e2c0f6e98 100644 --- a/dist/system/progressbar/progressbar.js +++ b/dist/system/progressbar/progressbar.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.progressbar.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejProgressBar; +System.register(['../common/common', 'ej.progressbar.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejProgressBar; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.progressbar.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejProgressbarMin) {}], execute: function () { - ejProgressBar = (function (_WidgetBase) { + _export('ejProgressBar', ejProgressBar = (_dec = customAttribute(constants.attributePrefix + 'progress-bar'), _dec2 = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejProgressBar, _WidgetBase); function ejProgressBar(element) { - _classCallCheck(this, _ejProgressBar); + _classCallCheck(this, ejProgressBar); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejProgressBar = ejProgressBar; - ejProgressBar = inject(Element)(ejProgressBar) || ejProgressBar; - ejProgressBar = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' })(ejProgressBar) || ejProgressBar; - ejProgressBar = customAttribute(constants.attributePrefix + 'progress-bar')(ejProgressBar) || ejProgressBar; return ejProgressBar; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejProgressBar', ejProgressBar); } diff --git a/dist/system/radialmenu/item.js b/dist/system/radialmenu/item.js index afb7c97b3..dc8e4e29e 100644 --- a/dist/system/radialmenu/item.js +++ b/dist/system/radialmenu/item.js @@ -1,13 +1,58 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, children, constants, generateBindables, Util, Item; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inlineView, customElement, children, constants, generateBindables, Util, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, Item; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -19,13 +64,11 @@ System.register(['../common/common'], function (_export) { Util = _commonCommon.Util; }], execute: function () { - Item = (function () { - var _instanceInitializers = {}; - + _export('Item', Item = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'item'), _dec3 = generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings']), _dec4 = children(constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function Item() { - _classCallCheck(this, _Item); + _classCallCheck(this, Item); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } Item.prototype.setTemplates = function setTemplates() { @@ -35,21 +78,13 @@ System.register(['../common/common'], function (_export) { } }; - _createDecoratedClass(Item, [{ - key: 'template', - decorators: [children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _Item = Item; - Item = generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])(Item) || Item; - Item = customElement(constants.elementPrefix + 'item')(Item) || Item; - Item = inlineView('' + constants.aureliaTemplateString)(Item) || Item; return Item; - })(); + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class)); _export('Item', Item); } diff --git a/dist/system/radialmenu/radialmenu.js b/dist/system/radialmenu/radialmenu.js index 8f9285555..dcb74aa23 100644 --- a/dist/system/radialmenu/radialmenu.js +++ b/dist/system/radialmenu/radialmenu.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.radialmenu.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, ejRadialMenu; +System.register(['../common/common', 'ej.radialmenu.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejRadialMenu; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -24,41 +91,31 @@ System.register(['../common/common', 'ej.radialmenu.min'], function (_export) { TemplateProcessor = _commonCommon.TemplateProcessor; }, function (_ejRadialmenuMin) {}], execute: function () { - ejRadialMenu = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejRadialMenu', ejRadialMenu = (_dec = customElement(constants.elementPrefix + 'radial-menu'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec4 = inject(Element, TemplatingEngine), _dec5 = children(constants.elementPrefix + 'item'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejRadialMenu, _WidgetBase); - _createDecoratedClass(ejRadialMenu, [{ - key: 'items', - decorators: [children(constants.elementPrefix + 'item')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejRadialMenu(element, templateEngine) { - _classCallCheck(this, _ejRadialMenu); + _classCallCheck(this, ejRadialMenu); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'items', _instanceInitializers); + _initDefineProp(_this, 'items', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'items'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'items'; + _this.templateProcessor = new TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejRadialMenu = ejRadialMenu; - ejRadialMenu = inject(Element, TemplatingEngine)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = inlineView('' + constants.aureliaTemplateString)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = customElement(constants.elementPrefix + 'radial-menu')(ejRadialMenu) || ejRadialMenu; return ejRadialMenu; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'items', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejRadialMenu', ejRadialMenu); } diff --git a/dist/system/radialslider/radialslider.js b/dist/system/radialslider/radialslider.js index 0f1df6649..530b729ea 100644 --- a/dist/system/radialslider/radialslider.js +++ b/dist/system/radialslider/radialslider.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.radialslider.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejRadialSlider; +System.register(['../common/common', 'ej.radialslider.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejRadialSlider; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.radialslider.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejRadialsliderMin) {}], execute: function () { - ejRadialSlider = (function (_WidgetBase) { + _export('ejRadialSlider', ejRadialSlider = (_dec = customElement(constants.elementPrefix + 'radial-slider'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRadialSlider, _WidgetBase); function ejRadialSlider(element) { - _classCallCheck(this, _ejRadialSlider); + _classCallCheck(this, ejRadialSlider); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRadialSlider = ejRadialSlider; - ejRadialSlider = inject(Element)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = inlineView('' + constants.aureliaTemplateString)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = customElement(constants.elementPrefix + 'radial-slider')(ejRadialSlider) || ejRadialSlider; return ejRadialSlider; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejRadialSlider', ejRadialSlider); } diff --git a/dist/system/radiobutton/radiobutton.js b/dist/system/radiobutton/radiobutton.js index 559ba45dc..e75f1bd6d 100644 --- a/dist/system/radiobutton/radiobutton.js +++ b/dist/system/radiobutton/radiobutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.radiobutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRadioButton; +System.register(['../common/common', 'ej.radiobutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRadioButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.radiobutton.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRadiobuttonMin) {}], execute: function () { - ejRadioButton = (function (_WidgetBase) { + _export('ejRadioButton', ejRadioButton = (_dec = customAttribute(constants.attributePrefix + 'radio-button'), _dec2 = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRadioButton, _WidgetBase); function ejRadioButton(element) { - _classCallCheck(this, _ejRadioButton); + _classCallCheck(this, ejRadioButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRadioButton = ejRadioButton; - ejRadioButton = inject(Element)(ejRadioButton) || ejRadioButton; - ejRadioButton = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' })(ejRadioButton) || ejRadioButton; - ejRadioButton = customAttribute(constants.attributePrefix + 'radio-button')(ejRadioButton) || ejRadioButton; return ejRadioButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRadioButton', ejRadioButton); } diff --git a/dist/system/rangenavigator/rangenavigator.js b/dist/system/rangenavigator/rangenavigator.js index bb5242683..1bddfd999 100644 --- a/dist/system/rangenavigator/rangenavigator.js +++ b/dist/system/rangenavigator/rangenavigator.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.rangenavigator.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejRangeNavigator; +System.register(['../common/common', 'datavisualization/ej.rangenavigator.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejRangeNavigator; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.rangenavigator.min'], children = _commonCommon.children; }, function (_datavisualizationEjRangenavigatorMin) {}], execute: function () { - ejRangeNavigator = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejRangeNavigator', ejRangeNavigator = (_dec = customElement(constants.elementPrefix + 'range-navigator'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'range-series'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejRangeNavigator, _WidgetBase); - _createDecoratedClass(ejRangeNavigator, [{ - key: 'series', - decorators: [children(constants.elementPrefix + 'range-series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejRangeNavigator(element) { - _classCallCheck(this, _ejRangeNavigator); + _classCallCheck(this, ejRangeNavigator); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers); + _initDefineProp(_this, 'series', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'series'; + return _this; } - var _ejRangeNavigator = ejRangeNavigator; - ejRangeNavigator = inject(Element)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' })(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = inlineView('' + constants.aureliaTemplateString)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = customElement(constants.elementPrefix + 'range-navigator')(ejRangeNavigator) || ejRangeNavigator; return ejRangeNavigator; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'series', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejRangeNavigator', ejRangeNavigator); } diff --git a/dist/system/rangenavigator/rangeseries.js b/dist/system/rangenavigator/rangeseries.js index 9185321d7..0bf0a9d65 100644 --- a/dist/system/rangenavigator/rangeseries.js +++ b/dist/system/rangenavigator/rangeseries.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, RangeSeries; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, RangeSeries; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - RangeSeries = (function () { - function RangeSeries() { - _classCallCheck(this, _RangeSeries); - } - - var _RangeSeries = RangeSeries; - RangeSeries = generateBindables('series', [])(RangeSeries) || RangeSeries; - RangeSeries = customElement(constants.elementPrefix + 'range-series')(RangeSeries) || RangeSeries; - RangeSeries = inlineView('' + constants.aureliaTemplateString)(RangeSeries) || RangeSeries; - return RangeSeries; - })(); + _export('RangeSeries', RangeSeries = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'range-series'), _dec3 = generateBindables('series', []), _dec(_class = _dec2(_class = _dec3(_class = function RangeSeries() { + _classCallCheck(this, RangeSeries); + }) || _class) || _class) || _class)); _export('RangeSeries', RangeSeries); } diff --git a/dist/system/rating/rating.js b/dist/system/rating/rating.js index c4e032c97..b8bc1c27c 100644 --- a/dist/system/rating/rating.js +++ b/dist/system/rating/rating.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.rating.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRating; +System.register(['../common/common', 'ej.rating.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRating; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.rating.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRatingMin) {}], execute: function () { - ejRating = (function (_WidgetBase) { + _export('ejRating', ejRating = (_dec = customAttribute(constants.attributePrefix + 'rating'), _dec2 = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRating, _WidgetBase); function ejRating(element) { - _classCallCheck(this, _ejRating); + _classCallCheck(this, ejRating); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRating = ejRating; - ejRating = inject(Element)(ejRating) || ejRating; - ejRating = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])(ejRating) || ejRating; - ejRating = customAttribute(constants.attributePrefix + 'rating')(ejRating) || ejRating; return ejRating; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRating', ejRating); } diff --git a/dist/system/reportviewer/reportviewer.js b/dist/system/reportviewer/reportviewer.js index 8c0b8a914..780b3c7fe 100644 --- a/dist/system/reportviewer/reportviewer.js +++ b/dist/system/reportviewer/reportviewer.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.reportviewer.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejReportViewer; +System.register(['../common/common', 'ej.reportviewer.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejReportViewer; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.reportviewer.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejReportviewerMin) {}], execute: function () { - ejReportViewer = (function (_WidgetBase) { + _export('ejReportViewer', ejReportViewer = (_dec = customElement(constants.elementPrefix + 'report-viewer'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejReportViewer, _WidgetBase); function ejReportViewer(element) { - _classCallCheck(this, _ejReportViewer); + _classCallCheck(this, ejReportViewer); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejReportViewer = ejReportViewer; - ejReportViewer = inject(Element)(ejReportViewer) || ejReportViewer; - ejReportViewer = generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])(ejReportViewer) || ejReportViewer; - ejReportViewer = inlineView('' + constants.aureliaTemplateString)(ejReportViewer) || ejReportViewer; - ejReportViewer = customElement(constants.elementPrefix + 'report-viewer')(ejReportViewer) || ejReportViewer; return ejReportViewer; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejReportViewer', ejReportViewer); } diff --git a/dist/system/ribbon/ribbon.js b/dist/system/ribbon/ribbon.js index d7db88637..582c0ec73 100644 --- a/dist/system/ribbon/ribbon.js +++ b/dist/system/ribbon/ribbon.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.ribbon.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejRibbon; +System.register(['../common/common', 'ej.ribbon.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejRibbon; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.ribbon.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRibbonMin) {}], execute: function () { - ejRibbon = (function (_WidgetBase) { + _export('ejRibbon', ejRibbon = (_dec = customElement(constants.elementPrefix + 'ribbon'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejRibbon, _WidgetBase); function ejRibbon(element) { - _classCallCheck(this, _ejRibbon); + _classCallCheck(this, ejRibbon); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRibbon = ejRibbon; - ejRibbon = inject(Element)(ejRibbon) || ejRibbon; - ejRibbon = generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])(ejRibbon) || ejRibbon; - ejRibbon = inlineView('' + constants.aureliaTemplateString)(ejRibbon) || ejRibbon; - ejRibbon = customElement(constants.elementPrefix + 'ribbon')(ejRibbon) || ejRibbon; return ejRibbon; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejRibbon', ejRibbon); } diff --git a/dist/system/rotator/rotator.js b/dist/system/rotator/rotator.js index 0c45fa58e..6c6716a9e 100644 --- a/dist/system/rotator/rotator.js +++ b/dist/system/rotator/rotator.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.rotator.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRotator; +System.register(['../common/common', 'ej.rotator.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRotator; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.rotator.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRotatorMin) {}], execute: function () { - ejRotator = (function (_WidgetBase) { + _export('ejRotator', ejRotator = (_dec = customAttribute(constants.attributePrefix + 'rotator'), _dec2 = 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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRotator, _WidgetBase); function ejRotator(element) { - _classCallCheck(this, _ejRotator); + _classCallCheck(this, ejRotator); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRotator = ejRotator; - ejRotator = inject(Element)(ejRotator) || ejRotator; - ejRotator = 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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' })(ejRotator) || ejRotator; - ejRotator = customAttribute(constants.attributePrefix + 'rotator')(ejRotator) || ejRotator; return ejRotator; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRotator', ejRotator); } diff --git a/dist/system/rte/rte.js b/dist/system/rte/rte.js index f909089e3..18aefc911 100644 --- a/dist/system/rte/rte.js +++ b/dist/system/rte/rte.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.rte.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejRte; +System.register(['../common/common', 'ej.rte.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejRte; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.rte.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejRteMin) {}], execute: function () { - ejRte = (function (_WidgetBase) { + _export('ejRte', ejRte = (_dec = customAttribute(constants.attributePrefix + 'rte'), _dec2 = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejRte, _WidgetBase); function ejRte(element) { - _classCallCheck(this, _ejRte); + _classCallCheck(this, ejRte); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejRte = ejRte; - ejRte = inject(Element)(ejRte) || ejRte; - ejRte = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' })(ejRte) || ejRte; - ejRte = customAttribute(constants.attributePrefix + 'rte')(ejRte) || ejRte; return ejRte; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejRte', ejRte); } diff --git a/dist/system/schedule/schedule.js b/dist/system/schedule/schedule.js index 3b29a08f5..c2cef4b1b 100644 --- a/dist/system/schedule/schedule.js +++ b/dist/system/schedule/schedule.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.schedule.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejSchedule; +System.register(['../common/common', 'ej.schedule.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejSchedule; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'ej.schedule.min'], function (_export) { children = _commonCommon.children; }, function (_ejScheduleMin) {}], execute: function () { - ejSchedule = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejSchedule', ejSchedule = (_dec = customElement(constants.elementPrefix + 'schedule'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' }), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'schedule-resource'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejSchedule, _WidgetBase); - _createDecoratedClass(ejSchedule, [{ - key: 'resources', - decorators: [children(constants.elementPrefix + 'schedule-resource')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejSchedule(element) { - _classCallCheck(this, _ejSchedule); + _classCallCheck(this, ejSchedule); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'resources', _instanceInitializers); + _initDefineProp(_this, 'resources', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'resources'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'resources'; + return _this; } - var _ejSchedule = ejSchedule; - ejSchedule = inject(Element)(ejSchedule) || ejSchedule; - ejSchedule = generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' })(ejSchedule) || ejSchedule; - ejSchedule = inlineView('' + constants.aureliaTemplateString)(ejSchedule) || ejSchedule; - ejSchedule = customElement(constants.elementPrefix + 'schedule')(ejSchedule) || ejSchedule; return ejSchedule; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'resources', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejSchedule', ejSchedule); } diff --git a/dist/system/schedule/scheduleresource.js b/dist/system/schedule/scheduleresource.js index 786b93c80..04d3f04d3 100644 --- a/dist/system/schedule/scheduleresource.js +++ b/dist/system/schedule/scheduleresource.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, ScheduleResource; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, ScheduleResource; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - ScheduleResource = (function () { - function ScheduleResource() { - _classCallCheck(this, _ScheduleResource); - } - - var _ScheduleResource = ScheduleResource; - ScheduleResource = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])(ScheduleResource) || ScheduleResource; - ScheduleResource = customElement(constants.elementPrefix + 'schedule-resource')(ScheduleResource) || ScheduleResource; - ScheduleResource = inlineView('' + constants.aureliaTemplateString)(ScheduleResource) || ScheduleResource; - return ScheduleResource; - })(); + _export('ScheduleResource', ScheduleResource = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'schedule-resource'), _dec3 = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings']), _dec(_class = _dec2(_class = _dec3(_class = function ScheduleResource() { + _classCallCheck(this, ScheduleResource); + }) || _class) || _class) || _class)); _export('ScheduleResource', ScheduleResource); } diff --git a/dist/system/scroller/scroller.js b/dist/system/scroller/scroller.js index fab1695b8..ead1858f1 100644 --- a/dist/system/scroller/scroller.js +++ b/dist/system/scroller/scroller.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'common/ej.scroller.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejScroller; +System.register(['../common/common', 'common/ej.scroller.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejScroller; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'common/ej.scroller.min'], function (_expor generateBindables = _commonCommon.generateBindables; }, function (_commonEjScrollerMin) {}], execute: function () { - ejScroller = (function (_WidgetBase) { + _export('ejScroller', ejScroller = (_dec = customAttribute(constants.attributePrefix + 'scroller'), _dec2 = generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejScroller, _WidgetBase); function ejScroller(element) { - _classCallCheck(this, _ejScroller); + _classCallCheck(this, ejScroller); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejScroller = ejScroller; - ejScroller = inject(Element)(ejScroller) || ejScroller; - ejScroller = generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' })(ejScroller) || ejScroller; - ejScroller = customAttribute(constants.attributePrefix + 'scroller')(ejScroller) || ejScroller; return ejScroller; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejScroller', ejScroller); } diff --git a/dist/system/slider/slider.js b/dist/system/slider/slider.js index 6899d9e65..766cd9d53 100644 --- a/dist/system/slider/slider.js +++ b/dist/system/slider/slider.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.slider.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejSlider; +System.register(['../common/common', 'ej.slider.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejSlider; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.slider.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejSliderMin) {}], execute: function () { - ejSlider = (function (_WidgetBase) { + _export('ejSlider', ejSlider = (_dec = customAttribute(constants.attributePrefix + 'slider'), _dec2 = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSlider, _WidgetBase); function ejSlider(element) { - _classCallCheck(this, _ejSlider); + _classCallCheck(this, ejSlider); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSlider = ejSlider; - ejSlider = inject(Element)(ejSlider) || ejSlider; - ejSlider = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejSlider) || ejSlider; - ejSlider = customAttribute(constants.attributePrefix + 'slider')(ejSlider) || ejSlider; return ejSlider; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejSlider', ejSlider); } diff --git a/dist/system/sparkline/sparkline.js b/dist/system/sparkline/sparkline.js index 2098f7643..4e773606c 100644 --- a/dist/system/sparkline/sparkline.js +++ b/dist/system/sparkline/sparkline.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.sparkline.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejSparkline; +System.register(['../common/common', 'datavisualization/ej.sparkline.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejSparkline; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.sparkline.min'], func generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjSparklineMin) {}], execute: function () { - ejSparkline = (function (_WidgetBase) { + _export('ejSparkline', ejSparkline = (_dec = customElement(constants.elementPrefix + 'sparkline'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSparkline, _WidgetBase); function ejSparkline(element) { - _classCallCheck(this, _ejSparkline); + _classCallCheck(this, ejSparkline); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSparkline = ejSparkline; - ejSparkline = inject(Element)(ejSparkline) || ejSparkline; - ejSparkline = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])(ejSparkline) || ejSparkline; - ejSparkline = inlineView('' + constants.aureliaTemplateString)(ejSparkline) || ejSparkline; - ejSparkline = customElement(constants.elementPrefix + 'sparkline')(ejSparkline) || ejSparkline; return ejSparkline; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejSparkline', ejSparkline); } diff --git a/dist/system/splitbutton/splitbutton.js b/dist/system/splitbutton/splitbutton.js index 86847e5c0..48bc20d34 100644 --- a/dist/system/splitbutton/splitbutton.js +++ b/dist/system/splitbutton/splitbutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.splitbutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejSplitButton; +System.register(['../common/common', 'ej.splitbutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejSplitButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.splitbutton.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejSplitbuttonMin) {}], execute: function () { - ejSplitButton = (function (_WidgetBase) { + _export('ejSplitButton', ejSplitButton = (_dec = customAttribute(constants.attributePrefix + 'split-button'), _dec2 = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejSplitButton, _WidgetBase); function ejSplitButton(element) { - _classCallCheck(this, _ejSplitButton); + _classCallCheck(this, ejSplitButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSplitButton = ejSplitButton; - ejSplitButton = inject(Element)(ejSplitButton) || ejSplitButton; - ejSplitButton = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejSplitButton) || ejSplitButton; - ejSplitButton = customAttribute(constants.attributePrefix + 'split-button')(ejSplitButton) || ejSplitButton; return ejSplitButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejSplitButton', ejSplitButton); } diff --git a/dist/system/splitter/splitter.js b/dist/system/splitter/splitter.js index 696d5fd36..4765bb2af 100644 --- a/dist/system/splitter/splitter.js +++ b/dist/system/splitter/splitter.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.splitter.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejSplitter; +System.register(['../common/common', 'ej.splitter.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejSplitter; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.splitter.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejSplitterMin) {}], execute: function () { - ejSplitter = (function (_WidgetBase) { + _export('ejSplitter', ejSplitter = (_dec = customElement(constants.elementPrefix + 'splitter'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSplitter, _WidgetBase); function ejSplitter(element) { - _classCallCheck(this, _ejSplitter); + _classCallCheck(this, ejSplitter); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSplitter = ejSplitter; - ejSplitter = inject(Element)(ejSplitter) || ejSplitter; - ejSplitter = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' })(ejSplitter) || ejSplitter; - ejSplitter = inlineView('' + constants.aureliaTemplateString)(ejSplitter) || ejSplitter; - ejSplitter = customElement(constants.elementPrefix + 'splitter')(ejSplitter) || ejSplitter; return ejSplitter; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejSplitter', ejSplitter); } diff --git a/dist/system/spreadsheet/sheet.js b/dist/system/spreadsheet/sheet.js index 7ee7a544b..9bb92aabe 100644 --- a/dist/system/spreadsheet/sheet.js +++ b/dist/system/spreadsheet/sheet.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Sheet; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Sheet; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Sheet = (function () { - function Sheet() { - _classCallCheck(this, _Sheet); - } - - var _Sheet = Sheet; - Sheet = generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])(Sheet) || Sheet; - Sheet = customElement(constants.elementPrefix + 'sheet')(Sheet) || Sheet; - Sheet = inlineView('' + constants.aureliaTemplateString)(Sheet) || Sheet; - return Sheet; - })(); + _export('Sheet', Sheet = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'sheet'), _dec3 = generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell']), _dec(_class = _dec2(_class = _dec3(_class = function Sheet() { + _classCallCheck(this, Sheet); + }) || _class) || _class) || _class)); _export('Sheet', Sheet); } diff --git a/dist/system/spreadsheet/spreadsheet.js b/dist/system/spreadsheet/spreadsheet.js index 1f994fa33..adc3551e3 100644 --- a/dist/system/spreadsheet/spreadsheet.js +++ b/dist/system/spreadsheet/spreadsheet.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.spreadsheet.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejSpreadsheet; +System.register(['../common/common', 'ej.spreadsheet.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejSpreadsheet; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'ej.spreadsheet.min'], function (_export) { children = _commonCommon.children; }, function (_ejSpreadsheetMin) {}], execute: function () { - ejSpreadsheet = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejSpreadsheet', ejSpreadsheet = (_dec = customElement(constants.elementPrefix + 'spreadsheet'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'sheet'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejSpreadsheet, _WidgetBase); - _createDecoratedClass(ejSpreadsheet, [{ - key: 'sheets', - decorators: [children(constants.elementPrefix + 'sheet')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejSpreadsheet(element) { - _classCallCheck(this, _ejSpreadsheet); + _classCallCheck(this, ejSpreadsheet); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'sheets', _instanceInitializers); + _initDefineProp(_this, 'sheets', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'sheets'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'sheets'; + return _this; } - var _ejSpreadsheet = ejSpreadsheet; - ejSpreadsheet = inject(Element)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = inlineView('' + constants.aureliaTemplateString)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = customElement(constants.elementPrefix + 'spreadsheet')(ejSpreadsheet) || ejSpreadsheet; return ejSpreadsheet; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'sheets', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejSpreadsheet', ejSpreadsheet); } diff --git a/dist/system/symbolpalette/symbolpalette.js b/dist/system/symbolpalette/symbolpalette.js index 71ea1a466..4b563a390 100644 --- a/dist/system/symbolpalette/symbolpalette.js +++ b/dist/system/symbolpalette/symbolpalette.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejSymbolPalette; +System.register(['../common/common', 'datavisualization/ej.diagram.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejSymbolPalette; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'datavisualization/ej.diagram.min'], functi generateBindables = _commonCommon.generateBindables; }, function (_datavisualizationEjDiagramMin) {}], execute: function () { - ejSymbolPalette = (function (_WidgetBase) { + _export('ejSymbolPalette', ejSymbolPalette = (_dec = customElement(constants.elementPrefix + 'symbol-palette'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejSymbolPalette, _WidgetBase); function ejSymbolPalette(element) { - _classCallCheck(this, _ejSymbolPalette); + _classCallCheck(this, ejSymbolPalette); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejSymbolPalette = ejSymbolPalette; - ejSymbolPalette = inject(Element)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = inlineView('' + constants.aureliaTemplateString)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = customElement(constants.elementPrefix + 'symbol-palette')(ejSymbolPalette) || ejSymbolPalette; return ejSymbolPalette; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejSymbolPalette', ejSymbolPalette); } diff --git a/dist/system/tab/tab.js b/dist/system/tab/tab.js index 4f34ea8c8..5158920ec 100644 --- a/dist/system/tab/tab.js +++ b/dist/system/tab/tab.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tab.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejTab; +System.register(['../common/common', 'ej.tab.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejTab; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.tab.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTabMin) {}], execute: function () { - ejTab = (function (_WidgetBase) { + _export('ejTab', ejTab = (_dec = customElement(constants.elementPrefix + 'tab'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTab, _WidgetBase); function ejTab(element) { - _classCallCheck(this, _ejTab); + _classCallCheck(this, ejTab); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTab = ejTab; - ejTab = inject(Element)(ejTab) || ejTab; - ejTab = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' })(ejTab) || ejTab; - ejTab = inlineView('' + constants.aureliaTemplateString)(ejTab) || ejTab; - ejTab = customElement(constants.elementPrefix + 'tab')(ejTab) || ejTab; return ejTab; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejTab', ejTab); } diff --git a/dist/system/tagcloud/tagcloud.js b/dist/system/tagcloud/tagcloud.js index bed2f3ab9..8516263b7 100644 --- a/dist/system/tagcloud/tagcloud.js +++ b/dist/system/tagcloud/tagcloud.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tagcloud.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejTagCloud; +System.register(['../common/common', 'ej.tagcloud.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejTagCloud; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.tagcloud.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTagcloudMin) {}], execute: function () { - ejTagCloud = (function (_WidgetBase) { + _export('ejTagCloud', ejTagCloud = (_dec = customElement(constants.elementPrefix + 'tag-cloud'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTagCloud, _WidgetBase); function ejTagCloud(element) { - _classCallCheck(this, _ejTagCloud); + _classCallCheck(this, ejTagCloud); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTagCloud = ejTagCloud; - ejTagCloud = inject(Element)(ejTagCloud) || ejTagCloud; - ejTagCloud = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' })(ejTagCloud) || ejTagCloud; - ejTagCloud = inlineView('' + constants.aureliaTemplateString)(ejTagCloud) || ejTagCloud; - ejTagCloud = customElement(constants.elementPrefix + 'tag-cloud')(ejTagCloud) || ejTagCloud; return ejTagCloud; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejTagCloud', ejTagCloud); } diff --git a/dist/system/tile/tile.js b/dist/system/tile/tile.js index cad3063d2..a9031c34e 100644 --- a/dist/system/tile/tile.js +++ b/dist/system/tile/tile.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tile.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejTile; +System.register(['../common/common', 'ej.tile.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejTile; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.tile.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTileMin) {}], execute: function () { - ejTile = (function (_WidgetBase) { + _export('ejTile', ejTile = (_dec = customElement(constants.elementPrefix + 'tile'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejTile, _WidgetBase); function ejTile(element) { - _classCallCheck(this, _ejTile); + _classCallCheck(this, ejTile); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTile = ejTile; - ejTile = inject(Element)(ejTile) || ejTile; - ejTile = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])(ejTile) || ejTile; - ejTile = inlineView('' + constants.aureliaTemplateString)(ejTile) || ejTile; - ejTile = customElement(constants.elementPrefix + 'tile')(ejTile) || ejTile; return ejTile; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejTile', ejTile); } diff --git a/dist/system/timepicker/timepicker.js b/dist/system/timepicker/timepicker.js index d5f77a964..b88978cc0 100644 --- a/dist/system/timepicker/timepicker.js +++ b/dist/system/timepicker/timepicker.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.timepicker.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejTimePicker; +System.register(['../common/common', 'ej.timepicker.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejTimePicker; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,23 +44,21 @@ System.register(['../common/common', 'ej.timepicker.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTimepickerMin) {}], execute: function () { - ejTimePicker = (function (_WidgetBase) { + _export('ejTimePicker', ejTimePicker = (_dec = customAttribute(constants.attributePrefix + 'time-picker'), _dec2 = generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTimePicker, _WidgetBase); function ejTimePicker(element) { - _classCallCheck(this, _ejTimePicker); + _classCallCheck(this, ejTimePicker); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.isEditor = true; - this.element = element; + _this.isEditor = true; + _this.element = element; + return _this; } - var _ejTimePicker = ejTimePicker; - ejTimePicker = inject(Element)(ejTimePicker) || ejTimePicker; - ejTimePicker = generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejTimePicker) || ejTimePicker; - ejTimePicker = customAttribute(constants.attributePrefix + 'time-picker')(ejTimePicker) || ejTimePicker; return ejTimePicker; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejTimePicker', ejTimePicker); } diff --git a/dist/system/togglebutton/togglebutton.js b/dist/system/togglebutton/togglebutton.js index f6cdb6a66..157f26b1f 100644 --- a/dist/system/togglebutton/togglebutton.js +++ b/dist/system/togglebutton/togglebutton.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.togglebutton.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejToggleButton; +System.register(['../common/common', 'ej.togglebutton.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejToggleButton; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.togglebutton.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejTogglebuttonMin) {}], execute: function () { - ejToggleButton = (function (_WidgetBase) { + _export('ejToggleButton', ejToggleButton = (_dec = customAttribute(constants.attributePrefix + 'toggle-button'), _dec2 = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToggleButton, _WidgetBase); function ejToggleButton(element) { - _classCallCheck(this, _ejToggleButton); + _classCallCheck(this, ejToggleButton); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejToggleButton = ejToggleButton; - ejToggleButton = inject(Element)(ejToggleButton) || ejToggleButton; - ejToggleButton = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejToggleButton) || ejToggleButton; - ejToggleButton = customAttribute(constants.attributePrefix + 'toggle-button')(ejToggleButton) || ejToggleButton; return ejToggleButton; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejToggleButton', ejToggleButton); } diff --git a/dist/system/toolbar/toolbar.js b/dist/system/toolbar/toolbar.js index 6a207a4e0..2d993b7e7 100644 --- a/dist/system/toolbar/toolbar.js +++ b/dist/system/toolbar/toolbar.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.toolbar.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejToolbar; +System.register(['../common/common', 'ej.toolbar.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejToolbar; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.toolbar.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejToolbarMin) {}], execute: function () { - ejToolbar = (function (_WidgetBase) { + _export('ejToolbar', ejToolbar = (_dec = customAttribute(constants.attributePrefix + 'toolbar'), _dec2 = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejToolbar, _WidgetBase); function ejToolbar(element) { - _classCallCheck(this, _ejToolbar); + _classCallCheck(this, ejToolbar); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejToolbar = ejToolbar; - ejToolbar = inject(Element)(ejToolbar) || ejToolbar; - ejToolbar = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejToolbar) || ejToolbar; - ejToolbar = customAttribute(constants.attributePrefix + 'toolbar')(ejToolbar) || ejToolbar; return ejToolbar; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejToolbar', ejToolbar); } diff --git a/dist/system/tooltip/tooltip.js b/dist/system/tooltip/tooltip.js index 1899369fe..faa7d32eb 100644 --- a/dist/system/tooltip/tooltip.js +++ b/dist/system/tooltip/tooltip.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.tooltip.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejTooltip; +System.register(['../common/common', 'ej.tooltip.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejTooltip; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.tooltip.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTooltipMin) {}], execute: function () { - ejTooltip = (function (_WidgetBase) { + _export('ejTooltip', ejTooltip = (_dec = customAttribute(constants.attributePrefix + 'tooltip'), _dec2 = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTooltip, _WidgetBase); function ejTooltip(element) { - _classCallCheck(this, _ejTooltip); + _classCallCheck(this, ejTooltip); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTooltip = ejTooltip; - ejTooltip = inject(Element)(ejTooltip) || ejTooltip; - ejTooltip = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTooltip) || ejTooltip; - ejTooltip = customAttribute(constants.attributePrefix + 'tooltip')(ejTooltip) || ejTooltip; return ejTooltip; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejTooltip', ejTooltip); } diff --git a/dist/system/treegrid/treegrid.js b/dist/system/treegrid/treegrid.js index d9fd31e4d..d8f1f9893 100644 --- a/dist/system/treegrid/treegrid.js +++ b/dist/system/treegrid/treegrid.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'ej.treegrid.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, ejTreeGrid; +System.register(['../common/common', 'ej.treegrid.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, TemplatingEngine, TemplateProcessor, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejTreeGrid; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -24,41 +91,31 @@ System.register(['../common/common', 'ej.treegrid.min'], function (_export) { TemplateProcessor = _commonCommon.TemplateProcessor; }, function (_ejTreegridMin) {}], execute: function () { - ejTreeGrid = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejTreeGrid', ejTreeGrid = (_dec = customElement(constants.elementPrefix + 'tree-grid'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' }), _dec4 = inject(Element, TemplatingEngine), _dec5 = children(constants.elementPrefix + 'tree-grid-column'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejTreeGrid, _WidgetBase); - _createDecoratedClass(ejTreeGrid, [{ - key: 'columns', - decorators: [children(constants.elementPrefix + 'tree-grid-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejTreeGrid(element, templateEngine) { - _classCallCheck(this, _ejTreeGrid); + _classCallCheck(this, ejTreeGrid); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers); + _initDefineProp(_this, 'columns', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'columns'; + _this.templateProcessor = new TemplateProcessor(_this, templateEngine); + _this.templateProcessor.initTemplate(); + return _this; } - var _ejTreeGrid = ejTreeGrid; - ejTreeGrid = inject(Element, TemplatingEngine)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' })(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = inlineView('' + constants.aureliaTemplateString)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = customElement(constants.elementPrefix + 'tree-grid')(ejTreeGrid) || ejTreeGrid; return ejTreeGrid; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'columns', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejTreeGrid', ejTreeGrid); } diff --git a/dist/system/treegrid/treegridcolumn.js b/dist/system/treegrid/treegridcolumn.js index 0e893e352..5b638b957 100644 --- a/dist/system/treegrid/treegridcolumn.js +++ b/dist/system/treegrid/treegridcolumn.js @@ -1,13 +1,58 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, children, constants, generateBindables, Util, TreeGridColumn; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inlineView, customElement, children, constants, generateBindables, Util, _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, TreeGridColumn; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -19,13 +64,11 @@ System.register(['../common/common'], function (_export) { Util = _commonCommon.Util; }], execute: function () { - TreeGridColumn = (function () { - var _instanceInitializers = {}; - + _export('TreeGridColumn', TreeGridColumn = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'tree-grid-column'), _dec3 = generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing']), _dec4 = children(constants.elementPrefix + 'template'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { function TreeGridColumn() { - _classCallCheck(this, _TreeGridColumn); + _classCallCheck(this, TreeGridColumn); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers); + _initDefineProp(this, 'template', _descriptor, this); } TreeGridColumn.prototype.setTemplates = function setTemplates() { @@ -35,21 +78,13 @@ System.register(['../common/common'], function (_export) { } }; - _createDecoratedClass(TreeGridColumn, [{ - key: 'template', - decorators: [children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - - var _TreeGridColumn = TreeGridColumn; - TreeGridColumn = generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = customElement(constants.elementPrefix + 'tree-grid-column')(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = inlineView('' + constants.aureliaTemplateString)(TreeGridColumn) || TreeGridColumn; return TreeGridColumn; - })(); + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'template', [_dec4], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class)); _export('TreeGridColumn', TreeGridColumn); } diff --git a/dist/system/treemap/level.js b/dist/system/treemap/level.js index 853df597a..8eed93996 100644 --- a/dist/system/treemap/level.js +++ b/dist/system/treemap/level.js @@ -1,9 +1,15 @@ -System.register(['../common/common'], function (_export) { - 'use strict'; +'use strict'; - var inlineView, customElement, constants, generateBindables, Level; +System.register(['../common/common'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var inlineView, customElement, constants, generateBindables, _dec, _dec2, _dec3, _class, Level; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } return { setters: [function (_commonCommon) { @@ -13,17 +19,9 @@ System.register(['../common/common'], function (_export) { generateBindables = _commonCommon.generateBindables; }], execute: function () { - Level = (function () { - function Level() { - _classCallCheck(this, _Level); - } - - var _Level = Level; - Level = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])(Level) || Level; - Level = customElement(constants.elementPrefix + 'level')(Level) || Level; - Level = inlineView('' + constants.aureliaTemplateString)(Level) || Level; - return Level; - })(); + _export('Level', Level = (_dec = inlineView('' + constants.aureliaTemplateString), _dec2 = customElement(constants.elementPrefix + 'level'), _dec3 = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec(_class = _dec2(_class = _dec3(_class = function Level() { + _classCallCheck(this, Level); + }) || _class) || _class) || _class)); _export('Level', Level); } diff --git a/dist/system/treemap/treemap.js b/dist/system/treemap/treemap.js index dda562d11..93719ae14 100644 --- a/dist/system/treemap/treemap.js +++ b/dist/system/treemap/treemap.js @@ -1,15 +1,82 @@ -System.register(['../common/common', 'datavisualization/ej.treemap.min'], function (_export) { - 'use strict'; +'use strict'; - var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, ejTreeMap; +System.register(['../common/common', 'datavisualization/ej.treemap.min'], function (_export, _context) { + "use strict"; - var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); + var inject, WidgetBase, constants, generateBindables, inlineView, customElement, children, _dec, _dec2, _dec3, _dec4, _dec5, _class, _desc, _value, _class2, _descriptor, ejTreeMap; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } - function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } return { setters: [function (_commonCommon) { @@ -22,39 +89,29 @@ System.register(['../common/common', 'datavisualization/ej.treemap.min'], functi children = _commonCommon.children; }, function (_datavisualizationEjTreemapMin) {}], execute: function () { - ejTreeMap = (function (_WidgetBase) { - var _instanceInitializers = {}; - + _export('ejTreeMap', ejTreeMap = (_dec = customElement(constants.elementPrefix + 'tree-map'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath']), _dec4 = inject(Element), _dec5 = children(constants.elementPrefix + 'level'), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = function (_WidgetBase) { _inherits(ejTreeMap, _WidgetBase); - _createDecoratedClass(ejTreeMap, [{ - key: 'levels', - decorators: [children(constants.elementPrefix + 'level')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejTreeMap(element) { - _classCallCheck(this, _ejTreeMap); + _classCallCheck(this, ejTreeMap); - _WidgetBase.call(this); + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _defineDecoratedPropertyDescriptor(this, 'levels', _instanceInitializers); + _initDefineProp(_this, 'levels', _descriptor, _this); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; + _this.element = element; + _this.hasChildProperty = true; + _this.childPropertyName = 'levels'; + return _this; } - var _ejTreeMap = ejTreeMap; - ejTreeMap = inject(Element)(ejTreeMap) || ejTreeMap; - ejTreeMap = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])(ejTreeMap) || ejTreeMap; - ejTreeMap = inlineView('' + constants.aureliaTemplateString)(ejTreeMap) || ejTreeMap; - ejTreeMap = customElement(constants.elementPrefix + 'tree-map')(ejTreeMap) || ejTreeMap; return ejTreeMap; - })(WidgetBase); + }(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'levels', [_dec5], { + enumerable: true, + initializer: function initializer() { + return []; + } + })), _class2)) || _class) || _class) || _class) || _class)); _export('ejTreeMap', ejTreeMap); } diff --git a/dist/system/treeview/treeview.js b/dist/system/treeview/treeview.js index 5288d3d49..8a3b89265 100644 --- a/dist/system/treeview/treeview.js +++ b/dist/system/treeview/treeview.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.treeview.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejTreeView; +System.register(['../common/common', 'ej.treeview.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejTreeView; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.treeview.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejTreeviewMin) {}], execute: function () { - ejTreeView = (function (_WidgetBase) { + _export('ejTreeView', ejTreeView = (_dec = customAttribute(constants.attributePrefix + 'tree-view'), _dec2 = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejTreeView, _WidgetBase); function ejTreeView(element) { - _classCallCheck(this, _ejTreeView); + _classCallCheck(this, ejTreeView); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejTreeView = ejTreeView; - ejTreeView = inject(Element)(ejTreeView) || ejTreeView; - ejTreeView = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTreeView) || ejTreeView; - ejTreeView = customAttribute(constants.attributePrefix + 'tree-view')(ejTreeView) || ejTreeView; return ejTreeView; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejTreeView', ejTreeView); } diff --git a/dist/system/uploadbox/uploadbox.js b/dist/system/uploadbox/uploadbox.js index 6d2a26570..629012f2a 100644 --- a/dist/system/uploadbox/uploadbox.js +++ b/dist/system/uploadbox/uploadbox.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.uploadbox.min'], function (_export) { - 'use strict'; +'use strict'; - var customElement, inlineView, inject, WidgetBase, constants, generateBindables, ejUploadbox; +System.register(['../common/common', 'ej.uploadbox.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customElement, inlineView, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _dec4, _class, ejUploadbox; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -17,23 +45,20 @@ System.register(['../common/common', 'ej.uploadbox.min'], function (_export) { generateBindables = _commonCommon.generateBindables; }, function (_ejUploadboxMin) {}], execute: function () { - ejUploadbox = (function (_WidgetBase) { + _export('ejUploadbox', ejUploadbox = (_dec = customElement(constants.elementPrefix + 'uploadbox'), _dec2 = inlineView('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = function (_WidgetBase) { _inherits(ejUploadbox, _WidgetBase); function ejUploadbox(element) { - _classCallCheck(this, _ejUploadbox); + _classCallCheck(this, ejUploadbox); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejUploadbox = ejUploadbox; - ejUploadbox = inject(Element)(ejUploadbox) || ejUploadbox; - ejUploadbox = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' })(ejUploadbox) || ejUploadbox; - ejUploadbox = inlineView('' + constants.aureliaTemplateString)(ejUploadbox) || ejUploadbox; - ejUploadbox = customElement(constants.elementPrefix + 'uploadbox')(ejUploadbox) || ejUploadbox; return ejUploadbox; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class) || _class)); _export('ejUploadbox', ejUploadbox); } diff --git a/dist/system/waitingpopup/waitingpopup.js b/dist/system/waitingpopup/waitingpopup.js index e49b25c75..17f1f646f 100644 --- a/dist/system/waitingpopup/waitingpopup.js +++ b/dist/system/waitingpopup/waitingpopup.js @@ -1,11 +1,39 @@ -System.register(['../common/common', 'ej.waitingpopup.min'], function (_export) { - 'use strict'; +'use strict'; - var customAttribute, inject, WidgetBase, constants, generateBindables, ejWaitingPopup; +System.register(['../common/common', 'ej.waitingpopup.min'], function (_export, _context) { + "use strict"; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + var customAttribute, inject, WidgetBase, constants, generateBindables, _dec, _dec2, _dec3, _class, ejWaitingPopup; - function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } return { setters: [function (_commonCommon) { @@ -16,22 +44,20 @@ System.register(['../common/common', 'ej.waitingpopup.min'], function (_export) generateBindables = _commonCommon.generateBindables; }, function (_ejWaitingpopupMin) {}], execute: function () { - ejWaitingPopup = (function (_WidgetBase) { + _export('ejWaitingPopup', ejWaitingPopup = (_dec = customAttribute(constants.attributePrefix + 'waiting-popup'), _dec2 = generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text']), _dec3 = inject(Element), _dec(_class = _dec2(_class = _dec3(_class = function (_WidgetBase) { _inherits(ejWaitingPopup, _WidgetBase); function ejWaitingPopup(element) { - _classCallCheck(this, _ejWaitingPopup); + _classCallCheck(this, ejWaitingPopup); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejWaitingPopup = ejWaitingPopup; - ejWaitingPopup = inject(Element)(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = customAttribute(constants.attributePrefix + 'waiting-popup')(ejWaitingPopup) || ejWaitingPopup; return ejWaitingPopup; - })(WidgetBase); + }(WidgetBase)) || _class) || _class) || _class)); _export('ejWaitingPopup', ejWaitingPopup); } diff --git a/dist/temp/aurelia-syncfusion-bridge.js b/dist/temp/aurelia-syncfusion-bridge.js index 2925651fb..361b9eeed 100644 --- a/dist/temp/aurelia-syncfusion-bridge.js +++ b/dist/temp/aurelia-syncfusion-bridge.js @@ -1,8 +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.ejSpreadsheet = exports.Sheet = exports.ejSplitter = exports.ejSplitButton = exports.ejSparkline = exports.ejSlider = exports.ejScroller = exports.ScheduleResource = exports.ejSchedule = exports.ejRte = exports.ejRotator = exports.ejRibbon = exports.ejReportViewer = exports.ejRating = exports.RangeSeries = exports.ejRangeNavigator = exports.ejRadioButton = exports.ejRadialSlider = exports.ejRadialMenu = exports.Item = exports.ejProgressBar = exports.ejPivotSchemaDesigner = exports.ejPivotGrid = exports.ejPivotGauge = exports.ejPivotChart = exports.ejPercentageTextbox = exports.ejPdfViewer = 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.ejGroupButton = exports.ejGrid = exports.Column = exports.ejGantt = exports.ejFileExplorer = exports.ejDropDownList = exports.ejDigitalGauge = exports.ejDialog = exports.ejDiagram = exports.ejDateTimePicker = exports.ejDatePicker = exports.ejCurrencyTextbox = exports.Template = exports.Util = exports.TemplateProcessor = exports.TemplatingEngine = exports.children = exports.customElement = exports.inlineView = exports.generateBindables = exports.constants = exports.WidgetBase = 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; -var _createDecoratedClass = (function () { function defineProperties(target, descriptors, initializers) { for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } if (descriptor.initializer !== undefined) { initializers[key] = descriptor; continue; } } Object.defineProperty(target, key, descriptor); } } return function (Constructor, protoProps, staticProps, protoInitializers, staticInitializers) { if (protoProps) defineProperties(Constructor.prototype, protoProps, protoInitializers); if (staticProps) defineProperties(Constructor, staticProps, staticInitializers); return Constructor; }; })(); +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, _dec59, _class25, _dec60, _dec61, _dec62, _dec63, _class26, _dec64, _dec65, _dec66, _dec67, _class27, _dec68, _dec69, _dec70, _class28, _dec71, _dec72, _dec73, _dec74, _class29, _dec75, _dec76, _dec77, _dec78, _class30, _dec79, _dec80, _dec81, _dec82, _class31, _desc5, _value5, _class32, _descriptor4, _dec83, _dec84, _dec85, _dec86, _dec87, _class34, _desc6, _value6, _class35, _descriptor5, _dec88, _dec89, _dec90, _class37, _dec91, _dec92, _dec93, _dec94, _dec95, _class38, _desc7, _value7, _class39, _descriptor6, _dec96, _dec97, _dec98, _class41, _dec99, _dec100, _dec101, _dec102, _class42, _dec103, _dec104, _dec105, _class43, _dec106, _dec107, _dec108, _dec109, _class44, _dec110, _dec111, _dec112, _class45, _dec113, _dec114, _dec115, _dec116, _dec117, _class46, _desc8, _value8, _class47, _descriptor7, _dec118, _dec119, _dec120, _class49, _dec121, _dec122, _dec123, _class50, _dec124, _dec125, _dec126, _dec127, _class51, _dec128, _dec129, _dec130, _class52, _dec131, _dec132, _dec133, _dec134, _class53, _dec135, _dec136, _dec137, _dec138, _class54, _dec139, _dec140, _dec141, _class55, _dec142, _dec143, _dec144, _dec145, _class56, _dec146, _dec147, _dec148, _dec149, _class57, _dec150, _dec151, _dec152, _dec153, _class58, _dec154, _dec155, _dec156, _dec157, _class59, _dec158, _dec159, _dec160, _class60, _dec161, _dec162, _dec163, _dec164, _class61, _desc9, _value9, _class62, _descriptor8, _dec165, _dec166, _dec167, _dec168, _dec169, _class64, _desc10, _value10, _class65, _descriptor9, _dec170, _dec171, _dec172, _dec173, _class67, _dec174, _dec175, _dec176, _class68, _dec177, _dec178, _dec179, _dec180, _dec181, _class69, _desc11, _value11, _class70, _descriptor10, _dec182, _dec183, _dec184, _class72, _dec185, _dec186, _dec187, _class73, _dec188, _dec189, _dec190, _dec191, _class74, _dec192, _dec193, _dec194, _dec195, _class75, _dec196, _dec197, _dec198, _class76, _dec199, _dec200, _dec201, _class77, _dec202, _dec203, _dec204, _dec205, _dec206, _class78, _desc12, _value12, _class79, _descriptor11, _dec207, _dec208, _dec209, _class81, _dec210, _dec211, _dec212, _class82, _dec213, _dec214, _dec215, _class83, _dec216, _dec217, _dec218, _dec219, _class84, _dec220, _dec221, _dec222, _class85, _dec223, _dec224, _dec225, _dec226, _class86, _dec227, _dec228, _dec229, _class87, _dec230, _dec231, _dec232, _dec233, _dec234, _class88, _desc13, _value13, _class89, _descriptor12, _dec235, _dec236, _dec237, _dec238, _class91, _dec239, _dec240, _dec241, _dec242, _class92, _dec243, _dec244, _dec245, _dec246, _class93, _dec247, _dec248, _dec249, _dec250, _class94, _dec251, _dec252, _dec253, _class95, _dec254, _dec255, _dec256, _class96, _dec257, _dec258, _dec259, _class97, _dec260, _dec261, _dec262, _class98, _dec263, _dec264, _dec265, _dec266, _dec267, _class99, _desc14, _value14, _class100, _descriptor13, _dec268, _dec269, _dec270, _dec271, _class102, _desc15, _value15, _class103, _descriptor14, _dec272, _dec273, _dec274, _class105, _dec275, _dec276, _dec277, _dec278, _dec279, _class106, _desc16, _value16, _class107, _descriptor15, _dec280, _dec281, _dec282, _class109, _dec283, _dec284, _dec285, _dec286, _class110, _dec287, _dec288, _dec289, _class111; exports.configure = configure; exports.generateBindables = generateBindables; @@ -10,12 +11,6 @@ exports.delayed = delayed; exports.getEventOption = getEventOption; exports.fireEvent = fireEvent; -function _defineDecoratedPropertyDescriptor(target, key, descriptors) { var _descriptor = descriptors[key]; if (!_descriptor) return; var descriptor = {}; for (var _key in _descriptor) descriptor[_key] = _descriptor[_key]; descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined; Object.defineProperty(target, key, descriptor); } - -function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - var _aureliaTemplating = require('aurelia-templating'); var _aureliaDependencyInjection = require('aurelia-dependency-injection'); @@ -80,14 +75,8 @@ require('ej.menu.min'); require('ej.navigationdrawer.min'); -require('ej.editor.min'); - -require('datavisualization/ej.diagram.min'); - require('ej.pdfviewer.min'); -require('ej.editor.min'); - require('ej.pivotchart.min'); require('ej.pivotgauge.min'); @@ -130,8 +119,6 @@ require('ej.splitter.min'); require('ej.spreadsheet.min'); -require('datavisualization/ej.diagram.min'); - require('ej.tab.min'); require('ej.tagcloud.min'); @@ -156,7 +143,56 @@ require('ej.uploadbox.min'); require('ej.waitingpopup.min'); -var EjConfigBuilder = (function () { +function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} + +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; +} + +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); +} + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var EjConfigBuilder = exports.EjConfigBuilder = function () { function EjConfigBuilder() { _classCallCheck(this, EjConfigBuilder); @@ -521,9 +557,7 @@ var EjConfigBuilder = (function () { }; return EjConfigBuilder; -})(); - -exports.EjConfigBuilder = EjConfigBuilder; +}(); function configure(aurelia, configCallback) { var builder = new EjConfigBuilder(); @@ -539,241 +573,156 @@ function configure(aurelia, configCallback) { } } -var ejAccordion = (function (_WidgetBase) { +var ejAccordion = exports.ejAccordion = (_dec = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'accordion'), _dec2 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec3 = generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec4 = (0, _aureliaDependencyInjection.inject)(Element), _dec(_class2 = _dec2(_class2 = _dec3(_class2 = _dec4(_class2 = function (_WidgetBase) { _inherits(ejAccordion, _WidgetBase); function ejAccordion(element) { - _classCallCheck(this, _ejAccordion); + _classCallCheck(this, ejAccordion); + + var _this = _possibleConstructorReturn(this, _WidgetBase.call(this)); - _WidgetBase.call(this); - this.element = element; + _this.element = element; + return _this; } - var _ejAccordion = ejAccordion; - ejAccordion = _aureliaDependencyInjection.inject(Element)(ejAccordion) || ejAccordion; - ejAccordion = generateBindables('ejAccordion', ['ajaxSettings', 'allowKeyboardNavigation', 'collapseSpeed', 'collapsible', 'cssClass', 'customIcon', 'disabledItems', 'enableAnimation', 'enabled', 'enabledItems', 'enableMultipleOpen', 'enablePersistence', 'enableRTL', 'events', 'expandSpeed', 'headerSize', 'height', 'heightAdjustMode', 'htmlAttributes', 'selectedItemIndex', 'selectedItems', 'showCloseButton', 'showRoundedCorner', 'width'], [], { 'enableRTL': 'enableRtl' })(ejAccordion) || ejAccordion; - ejAccordion = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejAccordion) || ejAccordion; - ejAccordion = _aureliaTemplating.customElement(constants.elementPrefix + 'accordion')(ejAccordion) || ejAccordion; return ejAccordion; -})(WidgetBase); - -exports.ejAccordion = ejAccordion; - -var ejAutocomplete = (function (_WidgetBase2) { +}(WidgetBase)) || _class2) || _class2) || _class2) || _class2); +var ejAutocomplete = exports.ejAutocomplete = (_dec5 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'autocomplete'), _dec6 = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' }), _dec7 = (0, _aureliaDependencyInjection.inject)(Element), _dec5(_class3 = _dec6(_class3 = _dec7(_class3 = function (_WidgetBase2) { _inherits(ejAutocomplete, _WidgetBase2); function ejAutocomplete(element) { - _classCallCheck(this, _ejAutocomplete); + _classCallCheck(this, ejAutocomplete); + + var _this2 = _possibleConstructorReturn(this, _WidgetBase2.call(this)); - _WidgetBase2.call(this); - this.element = element; + _this2.element = element; + return _this2; } - var _ejAutocomplete = ejAutocomplete; - ejAutocomplete = _aureliaDependencyInjection.inject(Element)(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = generateBindables('ejAutocomplete', ['addNewText', 'allowAddNew', 'allowSorting', 'animateType', 'autoFocus', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delaySuggestionTimeout', 'delimiterChar', 'emptyResultText', 'enableAutoFill', 'enabled', 'enableDistinct', 'enablePersistence', 'enableRTL', 'fields', 'filterType', 'height', 'highlightSearch', 'itemsCount', 'minCharacter', 'multiSelectMode', 'multiColumnSettings', 'popupHeight', 'popupWidth', 'query', 'readOnly', 'selectValueByKey', 'showEmptyResultText', 'showLoadingIcon', 'showPopupButton', 'showRoundedCorner', 'showResetIcon', 'sortOrder', 'template', 'validationMessage', 'validationRules', 'value', 'visible', 'watermarkText', 'width'], ['value', 'selectValueByKey'], { 'enableRTL': 'enableRtl' })(ejAutocomplete) || ejAutocomplete; - ejAutocomplete = _aureliaTemplating.customAttribute(constants.attributePrefix + 'autocomplete')(ejAutocomplete) || ejAutocomplete; return ejAutocomplete; -})(WidgetBase); - -exports.ejAutocomplete = ejAutocomplete; - -var ejBarcode = (function (_WidgetBase3) { +}(WidgetBase)) || _class3) || _class3) || _class3); +var ejBarcode = exports.ejBarcode = (_dec8 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'barcode'), _dec9 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec10 = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension']), _dec11 = (0, _aureliaDependencyInjection.inject)(Element), _dec8(_class4 = _dec9(_class4 = _dec10(_class4 = _dec11(_class4 = function (_WidgetBase3) { _inherits(ejBarcode, _WidgetBase3); function ejBarcode(element) { - _classCallCheck(this, _ejBarcode); + _classCallCheck(this, ejBarcode); + + var _this3 = _possibleConstructorReturn(this, _WidgetBase3.call(this)); - _WidgetBase3.call(this); - this.element = element; + _this3.element = element; + return _this3; } - var _ejBarcode = ejBarcode; - ejBarcode = _aureliaDependencyInjection.inject(Element)(ejBarcode) || ejBarcode; - ejBarcode = generateBindables('ejBarcode', ['barcodeToTextGapHeight', 'barHeight', 'darkBarColor', 'displayText', 'enabled', 'encodeStartStopSymbol', 'lightBarColor', 'narrowBarWidth', 'quietZone', 'symbologyType', 'text', 'textColor', 'wideBarWidth', 'xDimension'])(ejBarcode) || ejBarcode; - ejBarcode = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejBarcode) || ejBarcode; - ejBarcode = _aureliaTemplating.customElement(constants.elementPrefix + 'barcode')(ejBarcode) || ejBarcode; return ejBarcode; -})(WidgetBase); - -exports.ejBarcode = ejBarcode; - -var ejBulletGraph = (function (_WidgetBase4) { - var _instanceInitializers = {}; - +}(WidgetBase)) || _class4) || _class4) || _class4) || _class4); +var ejBulletGraph = exports.ejBulletGraph = (_dec12 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'bullet-graph'), _dec13 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec14 = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width']), _dec15 = (0, _aureliaDependencyInjection.inject)(Element), _dec16 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'qualitative-range'), _dec12(_class5 = _dec13(_class5 = _dec14(_class5 = _dec15(_class5 = (_class6 = function (_WidgetBase4) { _inherits(ejBulletGraph, _WidgetBase4); - _createDecoratedClass(ejBulletGraph, [{ - key: 'qualitativeRanges', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'qualitative-range')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers); - function ejBulletGraph(element) { - _classCallCheck(this, _ejBulletGraph); + _classCallCheck(this, ejBulletGraph); - _WidgetBase4.call(this); + var _this4 = _possibleConstructorReturn(this, _WidgetBase4.call(this)); - _defineDecoratedPropertyDescriptor(this, 'qualitativeRanges', _instanceInitializers); + _initDefineProp(_this4, 'qualitativeRanges', _descriptor, _this4); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'qualitativeRanges'; + _this4.element = element; + _this4.hasChildProperty = true; + _this4.childPropertyName = 'qualitativeRanges'; + return _this4; } - var _ejBulletGraph = ejBulletGraph; - ejBulletGraph = _aureliaDependencyInjection.inject(Element)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = generateBindables('ejBulletGraph', ['applyRangeStrokeToLabels', 'applyRangeStrokeToTicks', 'captionSettings', 'comparativeMeasureValue', 'enableAnimation', 'flowDirection', 'height', 'isResponsive', 'orientation', 'qualitativeRanges', 'qualitativeRangeSize', 'quantitativeScaleLength', 'quantitativeScaleSettings', 'theme', 'tooltipSettings', 'value', 'width'])(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejBulletGraph) || ejBulletGraph; - ejBulletGraph = _aureliaTemplating.customElement(constants.elementPrefix + 'bullet-graph')(ejBulletGraph) || ejBulletGraph; return ejBulletGraph; -})(WidgetBase); - -exports.ejBulletGraph = ejBulletGraph; - -var QualitativeRange = (function () { - function QualitativeRange() { - _classCallCheck(this, _QualitativeRange); - } - - var _QualitativeRange = QualitativeRange; - QualitativeRange = generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke'])(QualitativeRange) || QualitativeRange; - QualitativeRange = _aureliaTemplating.customElement(constants.elementPrefix + 'qualitative-range')(QualitativeRange) || QualitativeRange; - QualitativeRange = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(QualitativeRange) || QualitativeRange; - return QualitativeRange; -})(); - -exports.QualitativeRange = QualitativeRange; - -var ejButton = (function (_WidgetBase5) { +}(WidgetBase), (_descriptor = _applyDecoratedDescriptor(_class6.prototype, 'qualitativeRanges', [_dec16], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class6)) || _class5) || _class5) || _class5) || _class5); +var QualitativeRange = exports.QualitativeRange = (_dec17 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec18 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'qualitative-range'), _dec19 = generateBindables('qualitativeRanges', ['rangeEnd', 'rangeOpacity', 'rangeStroke']), _dec17(_class8 = _dec18(_class8 = _dec19(_class8 = function QualitativeRange() { + _classCallCheck(this, QualitativeRange); +}) || _class8) || _class8) || _class8); +var ejButton = exports.ejButton = (_dec20 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'button'), _dec21 = generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec22 = (0, _aureliaDependencyInjection.inject)(Element), _dec20(_class9 = _dec21(_class9 = _dec22(_class9 = function (_WidgetBase5) { _inherits(ejButton, _WidgetBase5); function ejButton(element) { - _classCallCheck(this, _ejButton); + _classCallCheck(this, ejButton); - _WidgetBase5.call(this); - this.element = element; + var _this5 = _possibleConstructorReturn(this, _WidgetBase5.call(this)); + + _this5.element = element; + return _this5; } - var _ejButton = ejButton; - ejButton = _aureliaDependencyInjection.inject(Element)(ejButton) || ejButton; - ejButton = generateBindables('ejButton', ['contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'repeatButton', 'showRoundedCorner', 'size', 'suffixIcon', 'text', 'timeInterval', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejButton) || ejButton; - ejButton = _aureliaTemplating.customAttribute(constants.attributePrefix + 'button')(ejButton) || ejButton; return ejButton; -})(WidgetBase); - -exports.ejButton = ejButton; - -var ejChart = (function (_WidgetBase6) { - var _instanceInitializers2 = {}; - +}(WidgetBase)) || _class9) || _class9) || _class9); +var ejChart = exports.ejChart = (_dec23 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'chart'), _dec24 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec25 = generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming']), _dec26 = (0, _aureliaDependencyInjection.inject)(Element), _dec27 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'series'), _dec23(_class10 = _dec24(_class10 = _dec25(_class10 = _dec26(_class10 = (_class11 = function (_WidgetBase6) { _inherits(ejChart, _WidgetBase6); - _createDecoratedClass(ejChart, [{ - key: 'series', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers2); - function ejChart(element) { - _classCallCheck(this, _ejChart); + _classCallCheck(this, ejChart); - _WidgetBase6.call(this); + var _this6 = _possibleConstructorReturn(this, _WidgetBase6.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers2); + _initDefineProp(_this6, 'series', _descriptor2, _this6); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this6.element = element; + _this6.hasChildProperty = true; + _this6.childPropertyName = 'series'; + return _this6; } - var _ejChart = ejChart; - ejChart = _aureliaDependencyInjection.inject(Element)(ejChart) || ejChart; - ejChart = generateBindables('ejChart', ['annotations', 'backGroundImageUrl', 'border', 'exportSettings', 'chartArea', 'columnDefinitions', 'commonSeriesOptions', 'crosshair', 'depth', 'enable3D', 'enableCanvasRendering', 'enableRotation', 'indicators', 'isResponsive', 'legend', 'locale', 'palette', 'Margin', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rowDefinitions', 'series', 'sideBySideSeriesPlacement', 'size', 'theme', 'tilt', 'title', 'wallSize', 'zooming'])(ejChart) || ejChart; - ejChart = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejChart) || ejChart; - ejChart = _aureliaTemplating.customElement(constants.elementPrefix + 'chart')(ejChart) || ejChart; return ejChart; -})(WidgetBase); - -exports.ejChart = ejChart; - -var Series = (function () { - function Series() { - _classCallCheck(this, _Series); - } - - var _Series = Series; - Series = generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings'])(Series) || Series; - Series = _aureliaTemplating.customElement(constants.elementPrefix + 'series')(Series) || Series; - Series = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(Series) || Series; - return Series; -})(); - -exports.Series = Series; - -var ejCheckBox = (function (_WidgetBase7) { +}(WidgetBase), (_descriptor2 = _applyDecoratedDescriptor(_class11.prototype, 'series', [_dec27], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class11)) || _class10) || _class10) || _class10) || _class10); +var Series = exports.Series = (_dec28 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec29 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'series'), _dec30 = generateBindables('series', ['bearFillColor', 'border', 'bullFillColor', 'dashArray', 'dataSource', 'doughnutCoefficient', 'doughnutSize', 'drawType', 'enableAnimation', 'enableSmartLabels', 'endAngle', 'explode', 'explodeAll', 'explodeIndex', 'explodeOffset', 'fill', 'font', 'funnelHeight', 'funnelWidth', 'gapRatio', 'isClosed', 'isStacking', 'isTransposed', 'labelPosition', 'lineCap', 'lineJoin', 'marker', 'name', 'opacity', 'palette', 'pieCoefficient', 'emptyPointSettings', 'positiveFill', 'connectorLine', 'errorBar', 'points', 'pyramidMode', 'query', 'startAngle', 'tooltip', 'type', 'visibility', 'visibleOnLegend', 'xAxisName', 'xName', 'yAxisName', 'yName', 'high', 'low', 'open', 'close', 'size', 'trendlines', 'highlightSettings', 'selectionSettings']), _dec28(_class13 = _dec29(_class13 = _dec30(_class13 = function Series() { + _classCallCheck(this, Series); +}) || _class13) || _class13) || _class13); +var ejCheckBox = exports.ejCheckBox = (_dec31 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'check-box'), _dec32 = generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' }), _dec33 = (0, _aureliaDependencyInjection.inject)(Element), _dec31(_class14 = _dec32(_class14 = _dec33(_class14 = function (_WidgetBase7) { _inherits(ejCheckBox, _WidgetBase7); function ejCheckBox(element) { - _classCallCheck(this, _ejCheckBox); + _classCallCheck(this, ejCheckBox); + + var _this7 = _possibleConstructorReturn(this, _WidgetBase7.call(this)); - _WidgetBase7.call(this); - this.element = element; + _this7.element = element; + return _this7; } - var _ejCheckBox = ejCheckBox; - ejCheckBox = _aureliaDependencyInjection.inject(Element)(ejCheckBox) || ejCheckBox; - ejCheckBox = generateBindables('ejCheckBox', ['checked', 'checkState', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'enableTriState', 'htmlAttributes', 'id', 'idPrefix', 'name', 'showRoundedCorner', 'size', 'text', 'validationMessage', 'validationRules', 'value'], ['checked'], { 'enableRTL': 'enableRtl' })(ejCheckBox) || ejCheckBox; - ejCheckBox = _aureliaTemplating.customAttribute(constants.attributePrefix + 'check-box')(ejCheckBox) || ejCheckBox; return ejCheckBox; -})(WidgetBase); - -exports.ejCheckBox = ejCheckBox; - -var ejCircularGauge = (function (_WidgetBase8) { +}(WidgetBase)) || _class14) || _class14) || _class14); +var ejCircularGauge = exports.ejCircularGauge = (_dec34 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'circular-gauge'), _dec35 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec36 = generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec37 = (0, _aureliaDependencyInjection.inject)(Element), _dec34(_class15 = _dec35(_class15 = _dec36(_class15 = _dec37(_class15 = function (_WidgetBase8) { _inherits(ejCircularGauge, _WidgetBase8); function ejCircularGauge(element) { - _classCallCheck(this, _ejCircularGauge); + _classCallCheck(this, ejCircularGauge); + + var _this8 = _possibleConstructorReturn(this, _WidgetBase8.call(this)); - _WidgetBase8.call(this); - this.element = element; + _this8.element = element; + return _this8; } - var _ejCircularGauge = ejCircularGauge; - ejCircularGauge = _aureliaDependencyInjection.inject(Element)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = generateBindables('ejCircularGauge', ['animationSpeed', 'backgroundColor', 'distanceFromCorner', 'enableAnimation', 'frame', 'gaugePosition', 'height', 'interiorGradient', 'isRadialGradient', 'isResponsive', 'maximum', 'minimum', 'outerCustomLabelPosition', 'radius', 'readOnly', 'scales', 'theme', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejCircularGauge) || ejCircularGauge; - ejCircularGauge = _aureliaTemplating.customElement(constants.elementPrefix + 'circular-gauge')(ejCircularGauge) || ejCircularGauge; return ejCircularGauge; -})(WidgetBase); - -exports.ejCircularGauge = ejCircularGauge; - -var ejColorPicker = (function (_WidgetBase9) { +}(WidgetBase)) || _class15) || _class15) || _class15) || _class15); +var ejColorPicker = exports.ejColorPicker = (_dec38 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'color-picker'), _dec39 = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue']), _dec40 = (0, _aureliaDependencyInjection.inject)(Element), _dec38(_class16 = _dec39(_class16 = _dec40(_class16 = function (_WidgetBase9) { _inherits(ejColorPicker, _WidgetBase9); function ejColorPicker(element) { - _classCallCheck(this, _ejColorPicker); + _classCallCheck(this, ejColorPicker); - _WidgetBase9.call(this); - this.element = element; + var _this9 = _possibleConstructorReturn(this, _WidgetBase9.call(this)); + + _this9.element = element; + return _this9; } - var _ejColorPicker = ejColorPicker; - ejColorPicker = _aureliaDependencyInjection.inject(Element)(ejColorPicker) || ejColorPicker; - ejColorPicker = generateBindables('ejColorPicker', ['buttonText', 'buttonMode', 'columns', 'cssClass', 'custom', 'displayInline', 'enabled', 'enableOpacity', 'htmlAttributes', 'modelType', 'opacityValue', 'palette', 'presetType', 'showApplyCancel', 'showClearButton', 'showPreview', 'showRecentColors', 'showSwitcher', 'showTooltip', 'toolIcon', 'tooltipText', 'value'], ['value', 'opacityValue'])(ejColorPicker) || ejColorPicker; - ejColorPicker = _aureliaTemplating.customAttribute(constants.attributePrefix + 'color-picker')(ejColorPicker) || ejColorPicker; return ejColorPicker; -})(WidgetBase); - -exports.ejColorPicker = ejColorPicker; +}(WidgetBase)) || _class16) || _class16) || _class16); exports.customAttribute = _aureliaTemplating.customAttribute; exports.bindable = _aureliaTemplating.bindable; exports.inject = _aureliaDependencyInjection.inject; @@ -786,7 +735,7 @@ exports.children = _aureliaTemplating.children; exports.TemplatingEngine = _aureliaTemplating.TemplatingEngine; exports.TemplateProcessor = TemplateProcessor; exports.Util = Util; -var constants = { +var constants = exports.constants = { eventPrefix: 'e-on-', bindablePrefix: 'e-', attributePrefix: 'ej-', @@ -794,8 +743,6 @@ var constants = { aureliaTemplateString: '' }; -exports.constants = constants; - function generateBindables(controlName, inputs, twoWayProperties, abbrevProperties) { return function (target, key, descriptor) { var behaviorResource = _aureliaMetadata.metadata.getOrCreateOwn(_aureliaMetadata.metadata.resource, _aureliaTemplating.HtmlBehaviorResource, target); @@ -829,15 +776,15 @@ function delayed() { var ptr = descriptor.value; descriptor.value = function () { - var _this = this; + var _this10 = this; - for (var _len = arguments.length, args = Array(_len), _key2 = 0; _key2 < _len; _key2++) { - args[_key2] = arguments[_key2]; + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; } if (this.childPropertyName) { taskQueue.queueTask(function () { - return ptr.apply(_this, args); + return ptr.apply(_this10, args); }); } else { ptr.apply(this, args); @@ -849,14 +796,14 @@ function delayed() { } function getEventOption(element) { - var name = undefined; - var attr = undefined; + 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 _loop = function (i, len) { + var _loop = function _loop(i, len) { attr = attributes[i]; name = attr.name; if (!name.startsWith(constants.eventPrefix)) { @@ -876,7 +823,6 @@ function getEventOption(element) { } return option; } - function fireEvent(element, name) { var data = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; @@ -888,9 +834,9 @@ function fireEvent(element, name) { return event; } -var TemplateProcessor = (function () { +var TemplateProcessor = exports.TemplateProcessor = (_dec41 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TemplatingEngine, Util), _dec41(_class17 = function () { function TemplateProcessor(context, templateEngine) { - _classCallCheck(this, _TemplateProcessor); + _classCallCheck(this, TemplateProcessor); this.context = context; this.templatingEngine = templateEngine; @@ -970,48 +916,26 @@ var TemplateProcessor = (function () { } }; - var _TemplateProcessor = TemplateProcessor; - TemplateProcessor = _aureliaDependencyInjection.inject(_aureliaTemplating.TemplatingEngine, Util)(TemplateProcessor) || TemplateProcessor; return TemplateProcessor; -})(); - -exports.TemplateProcessor = TemplateProcessor; - -var Template = (function () { - var _instanceInitializers3 = {}; - - _createDecoratedClass(Template, [{ - key: 'template', - decorators: [_aureliaTemplating.bindable], - initializer: null, - enumerable: true - }], null, _instanceInitializers3); - - function Template(target) { - _classCallCheck(this, _Template); - - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers3); - - this.template = target.elementInstruction.template; +}()) || _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; } + element.innerHTML = ''; +}), _dec45 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.TargetInstruction), _dec42(_class18 = _dec43(_class18 = _dec44(_class18 = _dec45(_class18 = (_class19 = function Template(target) { + _classCallCheck(this, Template); - var _Template = Template; - Template = _aureliaDependencyInjection.inject(_aureliaTemplating.TargetInstruction)(Template) || Template; - Template = _aureliaTemplating.processContent(function (compiler, resources, element, instruction) { - var html = element.innerHTML; - if (html !== '') { - instruction.template = html; - } - element.innerHTML = ''; - })(Template) || Template; - Template = _aureliaTemplating.noView()(Template) || Template; - Template = _aureliaTemplating.customElement(constants.elementPrefix + 'template')(Template) || Template; - return Template; -})(); + _initDefineProp(this, 'template', _descriptor3, this); -exports.Template = Template; + this.template = target.elementInstruction.template; +}, (_descriptor3 = _applyDecoratedDescriptor(_class19.prototype, 'template', [_aureliaTemplating.bindable], { + enumerable: true, + initializer: null +})), _class19)) || _class18) || _class18) || _class18) || _class18); -var Util = (function () { +var Util = exports.Util = function () { function Util() { _classCallCheck(this, Util); } @@ -1029,7 +953,7 @@ var Util = (function () { Util.prototype.getOptions = function getOptions(model, properties) { var bindableproperites = {}; - var value = undefined; + var value = void 0; for (var _iterator = properties, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; @@ -1060,7 +984,7 @@ var Util = (function () { }; Util.prototype.getControlPropertyName = function getControlPropertyName(options, propertyName) { - var property = undefined; + var property = void 0; for (var _iterator2 = options.controlProperties, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) { var _ref2; @@ -1099,19 +1023,16 @@ var Util = (function () { }; return Util; -})(); - -exports.Util = Util; +}(); var firstValue = {}; - -var WidgetBase = (function () { +var WidgetBase = exports.WidgetBase = (_dec46 = delayed(), (_class21 = function () { function WidgetBase() { _classCallCheck(this, WidgetBase); } WidgetBase.prototype.createWidget = function createWidget(option) { - var _this2 = this; + var _this11 = this; this.allOption = this.getWidgetOptions(option.element); if (!this.ejOptions && !this.isEditor) { @@ -1123,8 +1044,8 @@ var WidgetBase = (function () { } if (this.isEditor) { this.widget.model._change = function (evt) { - if ('eValue' in _this2) { - _this2[_this2.util.getBindablePropertyName('value')] = evt.value; + if ('eValue' in _this11) { + _this11[_this11.util.getBindablePropertyName('value')] = evt.value; } }; } @@ -1160,15 +1081,15 @@ var WidgetBase = (function () { } value = newVal; if (!isApp && model.util.hasValue(newVal)) { - var viewModelProp = model.util.getBindablePropertyName(prop); - model[viewModelProp] = newVal; + var _viewModelProp = model.util.getBindablePropertyName(prop); + model[_viewModelProp] = newVal; } return null; }; }; WidgetBase.prototype.getWidgetOptions = function getWidgetOptions(element) { - var propOptions = undefined; + var propOptions = void 0; if (this.ejOptions) { propOptions = this.ejOptions; } else { @@ -1194,9 +1115,19 @@ var WidgetBase = (function () { } }; + 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.propertyChanged = function propertyChanged(property, newValue, oldValue) { if (this.widget) { - var modelValue = undefined; + var modelValue = void 0; var prop = this.util.getControlPropertyName(this, property); if (prop) { if (prop !== 'options') { @@ -1227,211 +1158,142 @@ var WidgetBase = (function () { } }; - _createDecoratedClass(WidgetBase, [{ - key: 'attached', - decorators: [delayed()], - value: function attached() { - if (this.templateProcessor) { - this[this.childPropertyName].forEach(function (template) { - return template.setTemplates(); - }); - } - this.util = new Util(); - this.createWidget({ element: this.element }); - } - }]); - return WidgetBase; -})(); - -exports.WidgetBase = WidgetBase; - -var ejCurrencyTextbox = (function (_WidgetBase10) { +}(), (_applyDecoratedDescriptor(_class21.prototype, 'attached', [_dec46], Object.getOwnPropertyDescriptor(_class21.prototype, 'attached'), _class21.prototype)), _class21)); +var ejCurrencyTextbox = exports.ejCurrencyTextbox = (_dec47 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'currency-textbox'), _dec48 = generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec49 = (0, _aureliaDependencyInjection.inject)(Element), _dec47(_class22 = _dec48(_class22 = _dec49(_class22 = function (_WidgetBase10) { _inherits(ejCurrencyTextbox, _WidgetBase10); function ejCurrencyTextbox(element) { - _classCallCheck(this, _ejCurrencyTextbox); + _classCallCheck(this, ejCurrencyTextbox); + + var _this12 = _possibleConstructorReturn(this, _WidgetBase10.call(this)); - _WidgetBase10.call(this); - this.isEditor = true; - this.element = element; + _this12.isEditor = true; + _this12.element = element; + return _this12; } - var _ejCurrencyTextbox = ejCurrencyTextbox; - ejCurrencyTextbox = _aureliaDependencyInjection.inject(Element)(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = generateBindables('ejCurrencyTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejCurrencyTextbox) || ejCurrencyTextbox; - ejCurrencyTextbox = _aureliaTemplating.customAttribute(constants.attributePrefix + 'currency-textbox')(ejCurrencyTextbox) || ejCurrencyTextbox; return ejCurrencyTextbox; -})(WidgetBase); - -exports.ejCurrencyTextbox = ejCurrencyTextbox; - -var ejDatePicker = (function (_WidgetBase11) { +}(WidgetBase)) || _class22) || _class22) || _class22); +var ejDatePicker = exports.ejDatePicker = (_dec50 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-picker'), _dec51 = 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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec52 = (0, _aureliaDependencyInjection.inject)(Element), _dec50(_class23 = _dec51(_class23 = _dec52(_class23 = function (_WidgetBase11) { _inherits(ejDatePicker, _WidgetBase11); function ejDatePicker(element) { - _classCallCheck(this, _ejDatePicker); + _classCallCheck(this, ejDatePicker); + + var _this13 = _possibleConstructorReturn(this, _WidgetBase11.call(this)); - _WidgetBase11.call(this); - this.isEditor = true; - this.element = element; + _this13.isEditor = true; + _this13.element = element; + return _this13; } - var _ejDatePicker = ejDatePicker; - ejDatePicker = _aureliaDependencyInjection.inject(Element)(ejDatePicker) || ejDatePicker; - ejDatePicker = 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', 'showFooter', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'showTooltip', 'specialDates', 'startDay', 'startLevel', 'stepMonths', 'tooltipFormat', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDatePicker) || ejDatePicker; - ejDatePicker = _aureliaTemplating.customAttribute(constants.attributePrefix + 'date-picker')(ejDatePicker) || ejDatePicker; return ejDatePicker; -})(WidgetBase); - -exports.ejDatePicker = ejDatePicker; - -var ejDateTimePicker = (function (_WidgetBase12) { +}(WidgetBase)) || _class23) || _class23) || _class23); +var ejDateTimePicker = exports.ejDateTimePicker = (_dec53 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'date-time-picker'), _dec54 = generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec55 = (0, _aureliaDependencyInjection.inject)(Element), _dec53(_class24 = _dec54(_class24 = _dec55(_class24 = function (_WidgetBase12) { _inherits(ejDateTimePicker, _WidgetBase12); function ejDateTimePicker(element) { - _classCallCheck(this, _ejDateTimePicker); + _classCallCheck(this, ejDateTimePicker); - _WidgetBase12.call(this); - this.isEditor = true; - this.element = element; + var _this14 = _possibleConstructorReturn(this, _WidgetBase12.call(this)); + + _this14.isEditor = true; + _this14.element = element; + return _this14; } - var _ejDateTimePicker = ejDateTimePicker; - ejDateTimePicker = _aureliaDependencyInjection.inject(Element)(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = generateBindables('ejDateTimePicker', ['buttonText', 'cssClass', 'dateTimeFormat', 'dayHeaderFormat', 'depthLevel', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'headerFormat', 'height', 'htmlAttributes', 'interval', 'locale', 'maxDateTime', 'minDateTime', 'popupPosition', 'readOnly', 'showOtherMonths', 'showPopupButton', 'showRoundedCorner', 'startDay', 'startLevel', 'stepMonths', 'timeDisplayFormat', 'timeDrillDown', 'timePopupWidth', 'validationMessage', 'validationRules', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejDateTimePicker) || ejDateTimePicker; - ejDateTimePicker = _aureliaTemplating.customAttribute(constants.attributePrefix + 'date-time-picker')(ejDateTimePicker) || ejDateTimePicker; return ejDateTimePicker; -})(WidgetBase); - -exports.ejDateTimePicker = ejDateTimePicker; - -var ejDiagram = (function (_WidgetBase13) { +}(WidgetBase)) || _class24) || _class24) || _class24); +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', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor']), _dec59 = (0, _aureliaDependencyInjection.inject)(Element), _dec56(_class25 = _dec57(_class25 = _dec58(_class25 = _dec59(_class25 = function (_WidgetBase13) { _inherits(ejDiagram, _WidgetBase13); function ejDiagram(element) { - _classCallCheck(this, _ejDiagram); + _classCallCheck(this, ejDiagram); - _WidgetBase13.call(this); - this.element = element; + var _this15 = _possibleConstructorReturn(this, _WidgetBase13.call(this)); + + _this15.element = element; + return _this15; } - var _ejDiagram = ejDiagram; - ejDiagram = _aureliaDependencyInjection.inject(Element)(ejDiagram) || ejDiagram; - ejDiagram = generateBindables('ejDiagram', ['backgroundColor', 'backgroundImage', 'bridgeDirection', 'commandManager', 'connectors', 'connectorTemplate', 'constraints', 'contextMenu', 'dataSourceSettings', 'defaultSettings', 'drawType', 'enableAutoScroll', 'enableContextMenu', 'height', 'historyManager', 'layout', 'locale', 'nodes', 'nodeTemplate', 'pageSettings', 'scrollSettings', 'selectedItems', 'showTooltip', 'snapSettings', 'tool', 'tooltip', 'width', 'zoomFactor'])(ejDiagram) || ejDiagram; - ejDiagram = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejDiagram) || ejDiagram; - ejDiagram = _aureliaTemplating.customElement(constants.elementPrefix + 'diagram')(ejDiagram) || ejDiagram; return ejDiagram; -})(WidgetBase); - -exports.ejDiagram = ejDiagram; - -var ejDialog = (function (_WidgetBase14) { +}(WidgetBase)) || _class25) || _class25) || _class25) || _class25); +var ejDialog = exports.ejDialog = (_dec60 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'dialog'), _dec61 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec62 = generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' }), _dec63 = (0, _aureliaDependencyInjection.inject)(Element), _dec60(_class26 = _dec61(_class26 = _dec62(_class26 = _dec63(_class26 = function (_WidgetBase14) { _inherits(ejDialog, _WidgetBase14); function ejDialog(element) { - _classCallCheck(this, _ejDialog); + _classCallCheck(this, ejDialog); + + var _this16 = _possibleConstructorReturn(this, _WidgetBase14.call(this)); - _WidgetBase14.call(this); - this.element = element; + _this16.element = element; + return _this16; } - var _ejDialog = ejDialog; - ejDialog = _aureliaDependencyInjection.inject(Element)(ejDialog) || ejDialog; - ejDialog = generateBindables('ejDialog', ['actionButtons', 'allowDraggable', 'allowKeyboardNavigation', 'animation', 'closeOnEscape', 'containment', 'contentType', 'contentUrl', 'cssClass', 'enableAnimation', 'enabled', 'enableModal', 'enablePersistence', 'enableResize', 'enableRTL', 'faviconCSS', 'height', 'isResponsive', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'position', 'showHeader', 'showOnInit', 'showRoundedCorner', 'target', 'title', 'tooltip', 'width', 'zIndex'], [], { 'enableRTL': 'enableRtl' })(ejDialog) || ejDialog; - ejDialog = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejDialog) || ejDialog; - ejDialog = _aureliaTemplating.customElement(constants.elementPrefix + 'dialog')(ejDialog) || ejDialog; return ejDialog; -})(WidgetBase); - -exports.ejDialog = ejDialog; - -var ejDigitalGauge = (function (_WidgetBase15) { +}(WidgetBase)) || _class26) || _class26) || _class26) || _class26); +var ejDigitalGauge = exports.ejDigitalGauge = (_dec64 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'digital-gauge'), _dec65 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec66 = generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value']), _dec67 = (0, _aureliaDependencyInjection.inject)(Element), _dec64(_class27 = _dec65(_class27 = _dec66(_class27 = _dec67(_class27 = function (_WidgetBase15) { _inherits(ejDigitalGauge, _WidgetBase15); function ejDigitalGauge(element) { - _classCallCheck(this, _ejDigitalGauge); + _classCallCheck(this, ejDigitalGauge); + + var _this17 = _possibleConstructorReturn(this, _WidgetBase15.call(this)); - _WidgetBase15.call(this); - this.element = element; + _this17.element = element; + return _this17; } - var _ejDigitalGauge = ejDigitalGauge; - ejDigitalGauge = _aureliaDependencyInjection.inject(Element)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = generateBindables('ejDigitalGauge', ['frame', 'height', 'isResponsive', 'items', 'matrixSegmentData', 'segmentData', 'themes', 'value', 'width'], ['value'])(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejDigitalGauge) || ejDigitalGauge; - ejDigitalGauge = _aureliaTemplating.customElement(constants.elementPrefix + 'digital-gauge')(ejDigitalGauge) || ejDigitalGauge; return ejDigitalGauge; -})(WidgetBase); - -exports.ejDigitalGauge = ejDigitalGauge; - -var ejDropDownList = (function (_WidgetBase16) { +}(WidgetBase)) || _class27) || _class27) || _class27) || _class27); +var ejDropDownList = exports.ejDropDownList = (_dec68 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'drop-down-list'), _dec69 = generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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(_class28 = _dec69(_class28 = _dec70(_class28 = function (_WidgetBase16) { _inherits(ejDropDownList, _WidgetBase16); function ejDropDownList(element) { - _classCallCheck(this, _ejDropDownList); + _classCallCheck(this, ejDropDownList); + + var _this18 = _possibleConstructorReturn(this, _WidgetBase16.call(this)); - _WidgetBase16.call(this); - this.element = element; + _this18.element = element; + return _this18; } - var _ejDropDownList = ejDropDownList; - ejDropDownList = _aureliaDependencyInjection.inject(Element)(ejDropDownList) || ejDropDownList; - ejDropDownList = generateBindables('ejDropDownList', ['cascadeTo', 'caseSensitiveSearch', 'cssClass', 'dataSource', 'delimiterChar', 'enableAnimation', 'enabled', 'enableIncrementalSearch', 'enableFilterSearch', 'enablePersistence', 'enablePopupResize', 'enableRTL', 'enableSorting', 'fields', 'filterType', 'headerTemplate', 'height', 'htmlAttributes', 'itemsCount', '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' })(ejDropDownList) || ejDropDownList; - ejDropDownList = _aureliaTemplating.customAttribute(constants.attributePrefix + 'drop-down-list')(ejDropDownList) || ejDropDownList; return ejDropDownList; -})(WidgetBase); - -exports.ejDropDownList = ejDropDownList; - -var ejFileExplorer = (function (_WidgetBase17) { +}(WidgetBase)) || _class28) || _class28) || _class28); +var ejFileExplorer = exports.ejFileExplorer = (_dec71 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'file-explorer'), _dec72 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec73 = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec74 = (0, _aureliaDependencyInjection.inject)(Element), _dec71(_class29 = _dec72(_class29 = _dec73(_class29 = _dec74(_class29 = function (_WidgetBase17) { _inherits(ejFileExplorer, _WidgetBase17); function ejFileExplorer(element) { - _classCallCheck(this, _ejFileExplorer); + _classCallCheck(this, ejFileExplorer); - _WidgetBase17.call(this); - this.element = element; + var _this19 = _possibleConstructorReturn(this, _WidgetBase17.call(this)); + + _this19.element = element; + return _this19; } - var _ejFileExplorer = ejFileExplorer; - ejFileExplorer = _aureliaDependencyInjection.inject(Element)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = generateBindables('ejFileExplorer', ['ajaxAction', 'ajaxDataType', 'ajaxSettings', 'allowMultiSelection', 'cssClass', 'enableResize', 'enableRTL', 'fileTypes', 'filterSettings', 'gridSettings', 'height', 'isResponsive', 'layout', 'locale', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'path', 'selectedFolder', 'selectedItems', 'showCheckbox', 'showContextMenu', 'showFooter', 'showRoundedCorner', 'showThumbnail', 'showToolbar', 'showNavigationPane', 'tools', 'toolsList', 'uploadSettings', 'width'], [], { 'enableRTL': 'enableRtl' })(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejFileExplorer) || ejFileExplorer; - ejFileExplorer = _aureliaTemplating.customElement(constants.elementPrefix + 'file-explorer')(ejFileExplorer) || ejFileExplorer; return ejFileExplorer; -})(WidgetBase); - -exports.ejFileExplorer = ejFileExplorer; - -var ejGantt = (function (_WidgetBase18) { +}(WidgetBase)) || _class29) || _class29) || _class29) || _class29); +var ejGantt = exports.ejGantt = (_dec75 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'gantt'), _dec76 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec77 = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex']), _dec78 = (0, _aureliaDependencyInjection.inject)(Element), _dec75(_class30 = _dec76(_class30 = _dec77(_class30 = _dec78(_class30 = function (_WidgetBase18) { _inherits(ejGantt, _WidgetBase18); function ejGantt(element) { - _classCallCheck(this, _ejGantt); + _classCallCheck(this, ejGantt); - _WidgetBase18.call(this); - this.element = element; + var _this20 = _possibleConstructorReturn(this, _WidgetBase18.call(this)); + + _this20.element = element; + return _this20; } - var _ejGantt = ejGantt; - ejGantt = _aureliaDependencyInjection.inject(Element)(ejGantt) || ejGantt; - ejGantt = generateBindables('ejGantt', ['addDialogFields', 'allowColumnResize', 'allowGanttChartEditing', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'enablePredecessorValidation', 'baselineColor', 'baselineEndDateMapping', 'baselineStartDateMapping', 'childMapping', 'connectorLineBackground', 'connectorlineWidth', 'cssClass', 'dataSource', 'dateFormat', 'durationMapping', 'durationUnit', 'editDialogFields', 'splitterSettings', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableContextMenu', 'enableProgressBarResizing', 'enableResize', 'enableTaskbarDragTooltip', 'enableTaskbarTooltip', 'enableVirtualization', 'endDateMapping', 'highlightWeekends', 'holidays', 'includeWeekend', 'locale', 'milestoneMapping', 'parentProgressbarBackground', 'parentTaskbarBackground', 'parentTaskIdMapping', 'predecessorMapping', 'progressbarBackground', 'progressbarHeight', 'progressbarTooltipTemplate', 'progressbarTooltipTemplateId', 'progressMapping', 'query', 'renderBaseline', 'resourceIdMapping', 'resourceInfoMapping', 'resourceNameMapping', 'resources', 'roundOffDayworkingTime', 'rowHeight', 'scheduleEndDate', 'scheduleHeaderSettings', 'scheduleStartDate', 'selectedItem', 'selectedRowIndex', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'showProgressStatus', 'showResourceNames', 'showTaskNames', 'sizeSettings', 'sortSettings', 'splitterPosition', 'startDateMapping', 'stripLines', 'taskbarBackground', 'taskbarEditingTooltipTemplate', 'taskbarEditingTooltipTemplateId', 'taskbarTooltipTemplate', 'taskbarTooltipTemplateId', 'taskIdMapping', 'taskNameMapping', 'toolbarSettings', 'treeColumnIndex', 'weekendBackground', 'workingTimeScale'], ['dataSource', 'selectedRowIndex'])(ejGantt) || ejGantt; - ejGantt = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejGantt) || ejGantt; - ejGantt = _aureliaTemplating.customElement(constants.elementPrefix + 'gantt')(ejGantt) || ejGantt; return ejGantt; -})(WidgetBase); - -exports.ejGantt = ejGantt; - -var Column = (function () { - var _instanceInitializers4 = {}; - +}(WidgetBase)) || _class30) || _class30) || _class30) || _class30); +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', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width']), _dec82 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec79(_class31 = _dec80(_class31 = _dec81(_class31 = (_class32 = function () { function Column() { - _classCallCheck(this, _Column); + _classCallCheck(this, Column); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers4); + _initDefineProp(this, 'template', _descriptor4, this); } Column.prototype.setTemplates = function setTemplates() { @@ -1441,485 +1303,322 @@ var Column = (function () { } }; - _createDecoratedClass(Column, [{ - key: 'template', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers4); - - var _Column = Column; - Column = generateBindables('columns', ['clipMode', 'allowEditing', 'allowFiltering', 'allowGrouping', 'allowSorting', 'allowResizing', 'commands', 'cssClass', 'customAttributes', 'dataSource', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'editParams', 'editTemplate', 'editType', 'field', 'foreignKeyField', 'foreignKeyValue', 'format', 'headerTemplateID', 'headerText', 'headerTextAlign', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'showInColumnChooser', 'template', 'textAlign', 'tooltip', 'type', 'validationRules', 'visible', 'width'])(Column) || Column; - Column = _aureliaTemplating.customElement(constants.elementPrefix + 'column')(Column) || Column; - Column = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(Column) || Column; return Column; -})(); - -exports.Column = Column; - -var ejGrid = (function (_WidgetBase19) { - var _instanceInitializers5 = {}; - +}(), (_descriptor4 = _applyDecoratedDescriptor(_class32.prototype, 'template', [_dec82], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class32)) || _class31) || _class31) || _class31); +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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec86 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec87 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'column'), _dec83(_class34 = _dec84(_class34 = _dec85(_class34 = _dec86(_class34 = (_class35 = function (_WidgetBase19) { _inherits(ejGrid, _WidgetBase19); - _createDecoratedClass(ejGrid, [{ - key: 'columns', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers5); - function ejGrid(element, templateEngine) { - _classCallCheck(this, _ejGrid); + _classCallCheck(this, ejGrid); - _WidgetBase19.call(this); + var _this21 = _possibleConstructorReturn(this, _WidgetBase19.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers5); + _initDefineProp(_this21, 'columns', _descriptor5, _this21); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this21.element = element; + _this21.hasChildProperty = true; + _this21.childPropertyName = 'columns'; + _this21.templateProcessor = new TemplateProcessor(_this21, templateEngine); + _this21.templateProcessor.initTemplate(); + return _this21; } - var _ejGrid = ejGrid; - ejGrid = _aureliaDependencyInjection.inject(Element, _aureliaTemplating.TemplatingEngine)(ejGrid) || ejGrid; - ejGrid = 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', 'filterSettings', 'groupSettings', 'isResponsive', 'keySettings', 'locale', 'minWidth', 'pageSettings', 'query', 'rowTemplate', 'rowDropSettings', 'searchSettings', 'selectedRecords', 'selectedRowIndex', 'selectionSettings', 'selectionType', 'scrollSettings', 'showColumnChooser', 'showStackedHeader', 'showSummary', 'sortSettings', 'stackedHeaderRows', 'summaryRows', 'textWrapSettings', 'toolbarSettings'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejGrid) || ejGrid; - ejGrid = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejGrid) || ejGrid; - ejGrid = _aureliaTemplating.customElement(constants.elementPrefix + 'grid')(ejGrid) || ejGrid; return ejGrid; -})(WidgetBase); - -exports.ejGrid = ejGrid; - -var ejGroupButton = (function (_WidgetBase20) { +}(WidgetBase), (_descriptor5 = _applyDecoratedDescriptor(_class35.prototype, 'columns', [_dec87], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class35)) || _class34) || _class34) || _class34) || _class34); +var ejGroupButton = exports.ejGroupButton = (_dec88 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'group-button'), _dec89 = generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec90 = (0, _aureliaDependencyInjection.inject)(Element), _dec88(_class37 = _dec89(_class37 = _dec90(_class37 = function (_WidgetBase20) { _inherits(ejGroupButton, _WidgetBase20); function ejGroupButton(element) { - _classCallCheck(this, _ejGroupButton); + _classCallCheck(this, ejGroupButton); + + var _this22 = _possibleConstructorReturn(this, _WidgetBase20.call(this)); - _WidgetBase20.call(this); - this.element = element; + _this22.element = element; + return _this22; } - var _ejGroupButton = ejGroupButton; - ejGroupButton = _aureliaDependencyInjection.inject(Element)(ejGroupButton) || ejGroupButton; - ejGroupButton = generateBindables('ejGroupButton', ['cssClass', 'enableRTL', 'enabled', 'groupButtonMode', 'height', 'htmlAttributes', 'orientation', 'selectedItemIndex', 'showRoundedCorner', 'size', 'width'], [], { 'enableRTL': 'enableRtl' })(ejGroupButton) || ejGroupButton; - ejGroupButton = _aureliaTemplating.customAttribute(constants.attributePrefix + 'group-button')(ejGroupButton) || ejGroupButton; return ejGroupButton; -})(WidgetBase); - -exports.ejGroupButton = ejGroupButton; - -var ejKanban = (function (_WidgetBase21) { - var _instanceInitializers6 = {}; - +}(WidgetBase)) || _class37) || _class37) || _class37); +var ejKanban = exports.ejKanban = (_dec91 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'kanban'), _dec92 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec93 = generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' }), _dec94 = (0, _aureliaDependencyInjection.inject)(Element), _dec95 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'kanban-column'), _dec91(_class38 = _dec92(_class38 = _dec93(_class38 = _dec94(_class38 = (_class39 = function (_WidgetBase21) { _inherits(ejKanban, _WidgetBase21); - _createDecoratedClass(ejKanban, [{ - key: 'columns', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'kanban-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers6); - function ejKanban(element) { - _classCallCheck(this, _ejKanban); + _classCallCheck(this, ejKanban); - _WidgetBase21.call(this); + var _this23 = _possibleConstructorReturn(this, _WidgetBase21.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers6); + _initDefineProp(_this23, 'columns', _descriptor6, _this23); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; + _this23.element = element; + _this23.hasChildProperty = true; + _this23.childPropertyName = 'columns'; + return _this23; } - var _ejKanban = ejKanban; - ejKanban = _aureliaDependencyInjection.inject(Element)(ejKanban) || ejKanban; - ejKanban = generateBindables('ejKanban', ['allowDragAndDrop', 'allowTitle', 'swimlaneSettings', 'allowToggleColumn', 'allowSearching', 'allowSelection', 'allowHover', 'allowKeyboardNavigation', 'allowScrolling', 'contextMenuSettings', 'columns', 'cardSettings', 'customToolbarItems', 'cssClass', 'dataSource', 'enableRTL', 'enableTotalCount', 'editSettings', 'fields', 'keyField', 'isResponsive', 'minWidth', 'filterSettings', 'query', 'keySettings', 'scrollSettings', 'searchSettings', 'selectionType', 'stackedHeaderRows', 'tooltipSettings', 'locale'], ['dataSource'], { 'enableRTL': 'enableRtl' })(ejKanban) || ejKanban; - ejKanban = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejKanban) || ejKanban; - ejKanban = _aureliaTemplating.customElement(constants.elementPrefix + 'kanban')(ejKanban) || ejKanban; return ejKanban; -})(WidgetBase); - -exports.ejKanban = ejKanban; - -var KanbanColumn = (function () { - function KanbanColumn() { - _classCallCheck(this, _KanbanColumn); - } - - var _KanbanColumn = KanbanColumn; - KanbanColumn = generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton'])(KanbanColumn) || KanbanColumn; - KanbanColumn = _aureliaTemplating.customElement(constants.elementPrefix + 'kanban-column')(KanbanColumn) || KanbanColumn; - KanbanColumn = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(KanbanColumn) || KanbanColumn; - return KanbanColumn; -})(); - -exports.KanbanColumn = KanbanColumn; - -var ejLinearGauge = (function (_WidgetBase22) { +}(WidgetBase), (_descriptor6 = _applyDecoratedDescriptor(_class39.prototype, 'columns', [_dec95], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class39)) || _class38) || _class38) || _class38) || _class38); +var KanbanColumn = exports.KanbanColumn = (_dec96 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec97 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'kanban-column'), _dec98 = generateBindables('columns', ['headerText', 'key', 'isCollapsed', 'constraints', 'headerTemplate', 'width', 'visible', 'showAddButton']), _dec96(_class41 = _dec97(_class41 = _dec98(_class41 = function KanbanColumn() { + _classCallCheck(this, KanbanColumn); +}) || _class41) || _class41) || _class41); +var ejLinearGauge = exports.ejLinearGauge = (_dec99 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'linear-gauge'), _dec100 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec101 = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum']), _dec102 = (0, _aureliaDependencyInjection.inject)(Element), _dec99(_class42 = _dec100(_class42 = _dec101(_class42 = _dec102(_class42 = function (_WidgetBase22) { _inherits(ejLinearGauge, _WidgetBase22); function ejLinearGauge(element) { - _classCallCheck(this, _ejLinearGauge); + _classCallCheck(this, ejLinearGauge); + + var _this24 = _possibleConstructorReturn(this, _WidgetBase22.call(this)); - _WidgetBase22.call(this); - this.element = element; + _this24.element = element; + return _this24; } - var _ejLinearGauge = ejLinearGauge; - ejLinearGauge = _aureliaDependencyInjection.inject(Element)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = generateBindables('ejLinearGauge', ['animationSpeed', 'backgroundColor', 'borderColor', 'enableAnimation', 'enableMarkerPointerAnimation', 'isResponsive', 'frame', 'height', 'labelColor', 'maximum', 'minimum', 'orientation', 'outerCustomLabelPosition', 'pointerGradient1', 'pointerGradient2', 'readOnly', 'scales', 'theme', 'tickColor', 'tooltip', 'value', 'width'], ['value', 'minimum', 'maximum'])(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejLinearGauge) || ejLinearGauge; - ejLinearGauge = _aureliaTemplating.customElement(constants.elementPrefix + 'linear-gauge')(ejLinearGauge) || ejLinearGauge; return ejLinearGauge; -})(WidgetBase); - -exports.ejLinearGauge = ejLinearGauge; - -var ejListBox = (function (_WidgetBase23) { +}(WidgetBase)) || _class42) || _class42) || _class42) || _class42); +var ejListBox = exports.ejListBox = (_dec103 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'list-box'), _dec104 = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec105 = (0, _aureliaDependencyInjection.inject)(Element), _dec103(_class43 = _dec104(_class43 = _dec105(_class43 = function (_WidgetBase23) { _inherits(ejListBox, _WidgetBase23); function ejListBox(element) { - _classCallCheck(this, _ejListBox); + _classCallCheck(this, ejListBox); - _WidgetBase23.call(this); - this.element = element; + var _this25 = _possibleConstructorReturn(this, _WidgetBase23.call(this)); + + _this25.element = element; + return _this25; } - var _ejListBox = ejListBox; - ejListBox = _aureliaDependencyInjection.inject(Element)(ejListBox) || ejListBox; - ejListBox = generateBindables('ejListBox', ['allowDrag', 'allowDrop', 'allowMultiSelection', 'allowVirtualScrolling', 'caseSensitiveSearch', 'cascadeTo', 'checkedIndices', 'cssClass', 'dataSource', 'enabled', 'enableIncrementalSearch', 'enablePersistence', 'enableRTL', 'fields', 'height', 'itemsCount', 'totalItemsCount', 'itemRequestCount', 'loadDataOnInit', 'query', 'selectedIndex', 'selectedIndices', 'showCheckbox', 'showRoundedCorner', 'template', 'value', 'virtualScrollMode', 'width', 'targetID'], ['value'], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejListBox) || ejListBox; - ejListBox = _aureliaTemplating.customAttribute(constants.attributePrefix + 'list-box')(ejListBox) || ejListBox; return ejListBox; -})(WidgetBase); - -exports.ejListBox = ejListBox; - -var ejListView = (function (_WidgetBase24) { +}(WidgetBase)) || _class43) || _class43) || _class43); +var ejListView = exports.ejListView = (_dec106 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'list-view'), _dec107 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec108 = generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex']), _dec109 = (0, _aureliaDependencyInjection.inject)(Element), _dec106(_class44 = _dec107(_class44 = _dec108(_class44 = _dec109(_class44 = function (_WidgetBase24) { _inherits(ejListView, _WidgetBase24); function ejListView(element) { - _classCallCheck(this, _ejListView); + _classCallCheck(this, ejListView); - _WidgetBase24.call(this); - this.element = element; - } + var _this26 = _possibleConstructorReturn(this, _WidgetBase24.call(this)); - var _ejListView = ejListView; - ejListView = _aureliaDependencyInjection.inject(Element)(ejListView) || ejListView; - ejListView = generateBindables('ejListView', ['cssClass', 'dataSource', 'enableAjax', 'enableCache', 'enableCheckMark', 'enableFiltering', 'enableGroupList', 'enablePersistence', 'fieldSettings', 'headerBackButtonText', 'headerTitle', 'height', 'persistSelection', 'preventSelection', 'query', 'renderTemplate', 'selectedItemIndex', 'showHeader', 'templateId', 'width'], ['dataSource', 'selectedItemIndex'])(ejListView) || ejListView; - ejListView = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejListView) || ejListView; - ejListView = _aureliaTemplating.customElement(constants.elementPrefix + 'list-view')(ejListView) || ejListView; - return ejListView; -})(WidgetBase); - -exports.ejListView = ejListView; - -var Layer = (function () { - function Layer() { - _classCallCheck(this, _Layer); + _this26.element = element; + return _this26; } - var _Layer = Layer; - Layer = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate'])(Layer) || Layer; - Layer = _aureliaTemplating.customElement(constants.elementPrefix + 'layer')(Layer) || Layer; - Layer = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(Layer) || Layer; - return Layer; -})(); - -exports.Layer = Layer; - -var ejMap = (function (_WidgetBase25) { - var _instanceInitializers7 = {}; - + return ejListView; +}(WidgetBase)) || _class44) || _class44) || _class44) || _class44); +var Layer = exports.Layer = (_dec110 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec111 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'layer'), _dec112 = generateBindables('layers', ['bingMapType', 'bubbleSettings', 'dataSource', 'shapeDataPath', 'shapePropertyPath', 'enableMouseHover', 'enableSelection', 'key', 'labelSettings', 'layerType', 'legendSettings', 'mapItemsTemplate', 'markers', 'markerTemplate', 'selectedMapShapes', 'selectionMode', 'shapeData', 'shapeSettings', 'showMapItems', 'showTooltip', 'tooltipTemplate', 'urlTemplate']), _dec110(_class45 = _dec111(_class45 = _dec112(_class45 = function Layer() { + _classCallCheck(this, Layer); +}) || _class45) || _class45) || _class45); +var ejMap = exports.ejMap = (_dec113 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'map'), _dec114 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec115 = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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']), _dec116 = (0, _aureliaDependencyInjection.inject)(Element), _dec117 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'layer'), _dec113(_class46 = _dec114(_class46 = _dec115(_class46 = _dec116(_class46 = (_class47 = function (_WidgetBase25) { _inherits(ejMap, _WidgetBase25); - _createDecoratedClass(ejMap, [{ - key: 'layers', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'layer')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers7); - function ejMap(element) { - _classCallCheck(this, _ejMap); + _classCallCheck(this, ejMap); - _WidgetBase25.call(this); + var _this27 = _possibleConstructorReturn(this, _WidgetBase25.call(this)); - _defineDecoratedPropertyDescriptor(this, 'layers', _instanceInitializers7); + _initDefineProp(_this27, 'layers', _descriptor7, _this27); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'layers'; + _this27.element = element; + _this27.hasChildProperty = true; + _this27.childPropertyName = 'layers'; + return _this27; } - var _ejMap = ejMap; - ejMap = _aureliaDependencyInjection.inject(Element)(ejMap) || ejMap; - ejMap = generateBindables('ejMap', ['background', 'baseMapIndex', 'centerPosition', 'enableAnimation', 'enableLayerChangeAnimation', 'enablePan', 'enableResize', 'zoomSettings', 'navigationControl', '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'])(ejMap) || ejMap; - ejMap = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejMap) || ejMap; - ejMap = _aureliaTemplating.customElement(constants.elementPrefix + 'map')(ejMap) || ejMap; return ejMap; -})(WidgetBase); - -exports.ejMap = ejMap; - -var ejMaskEdit = (function (_WidgetBase26) { +}(WidgetBase), (_descriptor7 = _applyDecoratedDescriptor(_class47.prototype, 'layers', [_dec117], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class47)) || _class46) || _class46) || _class46) || _class46); +var ejMaskEdit = exports.ejMaskEdit = (_dec118 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'mask-edit'), _dec119 = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value']), _dec120 = (0, _aureliaDependencyInjection.inject)(Element), _dec118(_class49 = _dec119(_class49 = _dec120(_class49 = function (_WidgetBase26) { _inherits(ejMaskEdit, _WidgetBase26); function ejMaskEdit(element) { - _classCallCheck(this, _ejMaskEdit); + _classCallCheck(this, ejMaskEdit); + + var _this28 = _possibleConstructorReturn(this, _WidgetBase26.call(this)); - _WidgetBase26.call(this); - this.isEditor = true; - this.element = element; + _this28.isEditor = true; + _this28.element = element; + return _this28; } - var _ejMaskEdit = ejMaskEdit; - ejMaskEdit = _aureliaDependencyInjection.inject(Element)(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = generateBindables('ejMaskEdit', ['cssClass', 'customCharacter', 'enabled', 'enablePersistence', 'height', 'hidePromptOnLeave', 'htmlAttributes', 'inputMode', 'maskFormat', 'name', 'readOnly', 'showError', 'showRoundedCorner', 'textAlign', 'validationMessage', 'validationRules', 'value', 'watermarkText', 'width'], ['value'])(ejMaskEdit) || ejMaskEdit; - ejMaskEdit = _aureliaTemplating.customAttribute(constants.attributePrefix + 'mask-edit')(ejMaskEdit) || ejMaskEdit; return ejMaskEdit; -})(WidgetBase); - -exports.ejMaskEdit = ejMaskEdit; - -var ejMenu = (function (_WidgetBase27) { +}(WidgetBase)) || _class49) || _class49) || _class49); +var ejMenu = exports.ejMenu = (_dec121 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'menu'), _dec122 = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec123 = (0, _aureliaDependencyInjection.inject)(Element), _dec121(_class50 = _dec122(_class50 = _dec123(_class50 = function (_WidgetBase27) { _inherits(ejMenu, _WidgetBase27); function ejMenu(element) { - _classCallCheck(this, _ejMenu); + _classCallCheck(this, ejMenu); + + var _this29 = _possibleConstructorReturn(this, _WidgetBase27.call(this)); - _WidgetBase27.call(this); - this.element = element; + _this29.element = element; + return _this29; } - var _ejMenu = ejMenu; - ejMenu = _aureliaDependencyInjection.inject(Element)(ejMenu) || ejMenu; - ejMenu = generateBindables('ejMenu', ['animationType', 'contextMenuTarget', 'cssClass', 'enableAnimation', 'enableCenterAlign', 'enabled', 'enableRTL', 'enableSeparator', 'excludeTarget', 'fields', 'height', 'htmlAttributes', 'menuType', 'openOnClick', 'orientation', 'showRootLevelArrows', 'showSubLevelArrows', 'subMenuDirection', 'titleText', 'width'], [], { 'enableRTL': 'enableRtl' })(ejMenu) || ejMenu; - ejMenu = _aureliaTemplating.customAttribute(constants.attributePrefix + 'menu')(ejMenu) || ejMenu; return ejMenu; -})(WidgetBase); - -exports.ejMenu = ejMenu; - -var ejNavigationDrawer = (function (_WidgetBase28) { +}(WidgetBase)) || _class50) || _class50) || _class50); +var ejNavigationDrawer = exports.ejNavigationDrawer = (_dec124 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'navigation-drawer'), _dec125 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec126 = generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width']), _dec127 = (0, _aureliaDependencyInjection.inject)(Element), _dec124(_class51 = _dec125(_class51 = _dec126(_class51 = _dec127(_class51 = function (_WidgetBase28) { _inherits(ejNavigationDrawer, _WidgetBase28); function ejNavigationDrawer(element) { - _classCallCheck(this, _ejNavigationDrawer); + _classCallCheck(this, ejNavigationDrawer); + + var _this30 = _possibleConstructorReturn(this, _WidgetBase28.call(this)); - _WidgetBase28.call(this); - this.element = element; + _this30.element = element; + return _this30; } - var _ejNavigationDrawer = ejNavigationDrawer; - ejNavigationDrawer = _aureliaDependencyInjection.inject(Element)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = generateBindables('ejNavigationDrawer', ['contentId', 'cssClass', 'direction', 'enableListView', 'items', 'listViewSettings', 'position', 'targetId', 'type', 'width'])(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejNavigationDrawer) || ejNavigationDrawer; - ejNavigationDrawer = _aureliaTemplating.customElement(constants.elementPrefix + 'navigation-drawer')(ejNavigationDrawer) || ejNavigationDrawer; return ejNavigationDrawer; -})(WidgetBase); - -exports.ejNavigationDrawer = ejNavigationDrawer; - -var ejNumericTextbox = (function (_WidgetBase29) { +}(WidgetBase)) || _class51) || _class51) || _class51) || _class51); +var ejNumericTextbox = exports.ejNumericTextbox = (_dec128 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'numeric-textbox'), _dec129 = generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec130 = (0, _aureliaDependencyInjection.inject)(Element), _dec128(_class52 = _dec129(_class52 = _dec130(_class52 = function (_WidgetBase29) { _inherits(ejNumericTextbox, _WidgetBase29); function ejNumericTextbox(element) { - _classCallCheck(this, _ejNumericTextbox); + _classCallCheck(this, ejNumericTextbox); - _WidgetBase29.call(this); - this.isEditor = true; - this.element = element; + var _this31 = _possibleConstructorReturn(this, _WidgetBase29.call(this)); + + _this31.isEditor = true; + _this31.element = element; + return _this31; } - var _ejNumericTextbox = ejNumericTextbox; - ejNumericTextbox = _aureliaDependencyInjection.inject(Element)(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = generateBindables('ejNumericTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejNumericTextbox) || ejNumericTextbox; - ejNumericTextbox = _aureliaTemplating.customAttribute(constants.attributePrefix + 'numeric-textbox')(ejNumericTextbox) || ejNumericTextbox; return ejNumericTextbox; -})(WidgetBase); - -exports.ejNumericTextbox = ejNumericTextbox; - -var ejOverview = (function (_WidgetBase30) { +}(WidgetBase)) || _class52) || _class52) || _class52); +var ejOverview = exports.ejOverview = (_dec131 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'overview'), _dec132 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec133 = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' }), _dec134 = (0, _aureliaDependencyInjection.inject)(Element), _dec131(_class53 = _dec132(_class53 = _dec133(_class53 = _dec134(_class53 = function (_WidgetBase30) { _inherits(ejOverview, _WidgetBase30); function ejOverview(element) { - _classCallCheck(this, _ejOverview); + _classCallCheck(this, ejOverview); - _WidgetBase30.call(this); - this.element = element; + var _this32 = _possibleConstructorReturn(this, _WidgetBase30.call(this)); + + _this32.element = element; + return _this32; } - var _ejOverview = ejOverview; - ejOverview = _aureliaDependencyInjection.inject(Element)(ejOverview) || ejOverview; - ejOverview = generateBindables('ejOverview', ['sourceID', 'height', 'width'], [], { 'sourceID': 'sourceId' })(ejOverview) || ejOverview; - ejOverview = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejOverview) || ejOverview; - ejOverview = _aureliaTemplating.customElement(constants.elementPrefix + 'overview')(ejOverview) || ejOverview; return ejOverview; -})(WidgetBase); - -exports.ejOverview = ejOverview; - -var ejPdfViewer = (function (_WidgetBase31) { +}(WidgetBase)) || _class53) || _class53) || _class53) || _class53); +var ejPdfViewer = exports.ejPdfViewer = (_dec135 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pdf-viewer'), _dec136 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec137 = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService']), _dec138 = (0, _aureliaDependencyInjection.inject)(Element), _dec135(_class54 = _dec136(_class54 = _dec137(_class54 = _dec138(_class54 = function (_WidgetBase31) { _inherits(ejPdfViewer, _WidgetBase31); function ejPdfViewer(element) { - _classCallCheck(this, _ejPdfViewer); + _classCallCheck(this, ejPdfViewer); + + var _this33 = _possibleConstructorReturn(this, _WidgetBase31.call(this)); - _WidgetBase31.call(this); - this.element = element; + _this33.element = element; + return _this33; } - var _ejPdfViewer = ejPdfViewer; - ejPdfViewer = _aureliaDependencyInjection.inject(Element)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = generateBindables('ejPdfViewer', ['locale', 'toolbarSettings', 'toolbarItems', 'serviceUrl', 'pageCount', 'currentPageNumber', 'zoomPercentage', 'pdfService'])(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejPdfViewer) || ejPdfViewer; - ejPdfViewer = _aureliaTemplating.customElement(constants.elementPrefix + 'pdf-viewer')(ejPdfViewer) || ejPdfViewer; return ejPdfViewer; -})(WidgetBase); - -exports.ejPdfViewer = ejPdfViewer; - -var ejPercentageTextbox = (function (_WidgetBase32) { +}(WidgetBase)) || _class54) || _class54) || _class54) || _class54); +var ejPercentageTextbox = exports.ejPercentageTextbox = (_dec139 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'percentage-textbox'), _dec140 = generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' }), _dec141 = (0, _aureliaDependencyInjection.inject)(Element), _dec139(_class55 = _dec140(_class55 = _dec141(_class55 = function (_WidgetBase32) { _inherits(ejPercentageTextbox, _WidgetBase32); function ejPercentageTextbox(element) { - _classCallCheck(this, _ejPercentageTextbox); + _classCallCheck(this, ejPercentageTextbox); + + var _this34 = _possibleConstructorReturn(this, _WidgetBase32.call(this)); - _WidgetBase32.call(this); - this.isEditor = true; - this.element = element; + _this34.isEditor = true; + _this34.element = element; + return _this34; } - var _ejPercentageTextbox = ejPercentageTextbox; - ejPercentageTextbox = _aureliaDependencyInjection.inject(Element)(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = generateBindables('ejPercentageTextbox', ['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'], [], { 'enableRTL': 'enableRtl' })(ejPercentageTextbox) || ejPercentageTextbox; - ejPercentageTextbox = _aureliaTemplating.customAttribute(constants.attributePrefix + 'percentage-textbox')(ejPercentageTextbox) || ejPercentageTextbox; return ejPercentageTextbox; -})(WidgetBase); - -exports.ejPercentageTextbox = ejPercentageTextbox; - -var ejPivotChart = (function (_WidgetBase33) { +}(WidgetBase)) || _class55) || _class55) || _class55); +var ejPivotChart = exports.ejPivotChart = (_dec142 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-chart'), _dec143 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec144 = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url']), _dec145 = (0, _aureliaDependencyInjection.inject)(Element), _dec142(_class56 = _dec143(_class56 = _dec144(_class56 = _dec145(_class56 = function (_WidgetBase33) { _inherits(ejPivotChart, _WidgetBase33); function ejPivotChart(element) { - _classCallCheck(this, _ejPivotChart); + _classCallCheck(this, ejPivotChart); + + var _this35 = _possibleConstructorReturn(this, _WidgetBase33.call(this)); - _WidgetBase33.call(this); - this.element = element; + _this35.element = element; + return _this35; } - var _ejPivotChart = ejPivotChart; - ejPivotChart = _aureliaDependencyInjection.inject(Element)(ejPivotChart) || ejPivotChart; - ejPivotChart = generateBindables('ejPivotChart', ['analysisMode', 'cssClass', 'commonSeriesOptions', 'currentReport', 'dataSource', 'customObject', 'enable3D', 'isResponsive', 'legend', 'locale', 'operationalMode', 'primaryXAxis', 'primaryYAxis', 'rotation', 'serviceMethodSettings', 'size', 'url'])(ejPivotChart) || ejPivotChart; - ejPivotChart = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejPivotChart) || ejPivotChart; - ejPivotChart = _aureliaTemplating.customElement(constants.elementPrefix + 'pivot-chart')(ejPivotChart) || ejPivotChart; return ejPivotChart; -})(WidgetBase); - -exports.ejPivotChart = ejPivotChart; - -var ejPivotGauge = (function (_WidgetBase34) { +}(WidgetBase)) || _class56) || _class56) || _class56) || _class56); +var ejPivotGauge = exports.ejPivotGauge = (_dec146 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-gauge'), _dec147 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec148 = generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url']), _dec149 = (0, _aureliaDependencyInjection.inject)(Element), _dec146(_class57 = _dec147(_class57 = _dec148(_class57 = _dec149(_class57 = function (_WidgetBase34) { _inherits(ejPivotGauge, _WidgetBase34); function ejPivotGauge(element) { - _classCallCheck(this, _ejPivotGauge); + _classCallCheck(this, ejPivotGauge); - _WidgetBase34.call(this); - this.element = element; + var _this36 = _possibleConstructorReturn(this, _WidgetBase34.call(this)); + + _this36.element = element; + return _this36; } - var _ejPivotGauge = ejPivotGauge; - ejPivotGauge = _aureliaDependencyInjection.inject(Element)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = generateBindables('ejPivotGauge', ['backgroundColor', 'columnsCount', 'cssClass', 'customObject', 'dataSource', 'enableTooltip', 'isResponsive', 'labelFormatSettings', 'locale', 'rowsCount', 'scales', 'serviceMethodSettings', 'showHeaderLabel', 'url'])(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejPivotGauge) || ejPivotGauge; - ejPivotGauge = _aureliaTemplating.customElement(constants.elementPrefix + 'pivot-gauge')(ejPivotGauge) || ejPivotGauge; return ejPivotGauge; -})(WidgetBase); - -exports.ejPivotGauge = ejPivotGauge; - -var ejPivotGrid = (function (_WidgetBase35) { +}(WidgetBase)) || _class57) || _class57) || _class57) || _class57); +var ejPivotGrid = exports.ejPivotGrid = (_dec150 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-grid'), _dec151 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec152 = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' }), _dec153 = (0, _aureliaDependencyInjection.inject)(Element), _dec150(_class58 = _dec151(_class58 = _dec152(_class58 = _dec153(_class58 = function (_WidgetBase35) { _inherits(ejPivotGrid, _WidgetBase35); function ejPivotGrid(element) { - _classCallCheck(this, _ejPivotGrid); + _classCallCheck(this, ejPivotGrid); - _WidgetBase35.call(this); - this.element = element; + var _this37 = _possibleConstructorReturn(this, _WidgetBase35.call(this)); + + _this37.element = element; + return _this37; } - var _ejPivotGrid = ejPivotGrid; - ejPivotGrid = _aureliaDependencyInjection.inject(Element)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = generateBindables('ejPivotGrid', ['analysisMode', 'cssClass', 'currentReport', 'dataSource', 'drilledItems', 'customObject', 'enableCellContext', 'enableCellSelection', 'enableCollapseByDefault', 'enableColumnGrandTotal', 'enableConditionalFormatting', 'enableDeferUpdate', 'enableGroupingBar', 'enableGrandTotal', 'enableJSONRendering', 'enablePivotFieldList', 'enableRowGrandTotal', 'enableRTL', 'enableToolTip', 'enableVirtualScrolling', 'hyperlinkSettings', 'isNamedSets', 'isResponsive', 'jsonRecords', 'layout', 'locale', 'operationalMode', 'serviceMethodSettings', 'url'], [], { 'enableRTL': 'enableRtl' })(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejPivotGrid) || ejPivotGrid; - ejPivotGrid = _aureliaTemplating.customElement(constants.elementPrefix + 'pivot-grid')(ejPivotGrid) || ejPivotGrid; return ejPivotGrid; -})(WidgetBase); - -exports.ejPivotGrid = ejPivotGrid; - -var ejPivotSchemaDesigner = (function (_WidgetBase36) { +}(WidgetBase)) || _class58) || _class58) || _class58) || _class58); +var ejPivotSchemaDesigner = exports.ejPivotSchemaDesigner = (_dec154 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'pivot-schema-designer'), _dec155 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec156 = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width']), _dec157 = (0, _aureliaDependencyInjection.inject)(Element), _dec154(_class59 = _dec155(_class59 = _dec156(_class59 = _dec157(_class59 = function (_WidgetBase36) { _inherits(ejPivotSchemaDesigner, _WidgetBase36); function ejPivotSchemaDesigner(element) { - _classCallCheck(this, _ejPivotSchemaDesigner); + _classCallCheck(this, ejPivotSchemaDesigner); + + var _this38 = _possibleConstructorReturn(this, _WidgetBase36.call(this)); - _WidgetBase36.call(this); - this.element = element; + _this38.element = element; + return _this38; } - var _ejPivotSchemaDesigner = ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _aureliaDependencyInjection.inject(Element)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = generateBindables('ejPivotSchemaDesigner', ['cssClass', 'customObject', 'enableWrapper', 'filters', 'height', 'locale', 'pivotCalculations', 'pivotColumns', 'pivotControl', 'pivotRows', 'pivotTableFields', 'serviceMethod', 'url', 'width'])(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; - ejPivotSchemaDesigner = _aureliaTemplating.customElement(constants.elementPrefix + 'pivot-schema-designer')(ejPivotSchemaDesigner) || ejPivotSchemaDesigner; return ejPivotSchemaDesigner; -})(WidgetBase); - -exports.ejPivotSchemaDesigner = ejPivotSchemaDesigner; - -var ejProgressBar = (function (_WidgetBase37) { +}(WidgetBase)) || _class59) || _class59) || _class59) || _class59); +var ejProgressBar = exports.ejProgressBar = (_dec158 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'progress-bar'), _dec159 = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec160 = (0, _aureliaDependencyInjection.inject)(Element), _dec158(_class60 = _dec159(_class60 = _dec160(_class60 = function (_WidgetBase37) { _inherits(ejProgressBar, _WidgetBase37); function ejProgressBar(element) { - _classCallCheck(this, _ejProgressBar); + _classCallCheck(this, ejProgressBar); + + var _this39 = _possibleConstructorReturn(this, _WidgetBase37.call(this)); - _WidgetBase37.call(this); - this.element = element; + _this39.element = element; + return _this39; } - var _ejProgressBar = ejProgressBar; - ejProgressBar = _aureliaDependencyInjection.inject(Element)(ejProgressBar) || ejProgressBar; - ejProgressBar = generateBindables('ejProgressBar', ['cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'maxValue', 'minValue', 'percentage', 'showRoundedCorner', 'text', 'value', 'width'], [], { 'enableRTL': 'enableRtl' })(ejProgressBar) || ejProgressBar; - ejProgressBar = _aureliaTemplating.customAttribute(constants.attributePrefix + 'progress-bar')(ejProgressBar) || ejProgressBar; return ejProgressBar; -})(WidgetBase); - -exports.ejProgressBar = ejProgressBar; - -var Item = (function () { - var _instanceInitializers8 = {}; - +}(WidgetBase)) || _class60) || _class60) || _class60); +var Item = exports.Item = (_dec161 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec162 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'item'), _dec163 = generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings']), _dec164 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec161(_class61 = _dec162(_class61 = _dec163(_class61 = (_class62 = function () { function Item() { - _classCallCheck(this, _Item); + _classCallCheck(this, Item); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers8); + _initDefineProp(this, 'template', _descriptor8, this); } Item.prototype.setTemplates = function setTemplates() { @@ -1929,647 +1628,427 @@ var Item = (function () { } }; - _createDecoratedClass(Item, [{ - key: 'template', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers8); - - var _Item = Item; - Item = generateBindables('items', ['imageUrl', 'text', 'enabled', 'click', 'badge', 'type', 'sliderSettings'])(Item) || Item; - Item = _aureliaTemplating.customElement(constants.elementPrefix + 'item')(Item) || Item; - Item = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(Item) || Item; return Item; -})(); - -exports.Item = Item; - -var ejRadialMenu = (function (_WidgetBase38) { - var _instanceInitializers9 = {}; - +}(), (_descriptor8 = _applyDecoratedDescriptor(_class62.prototype, 'template', [_dec164], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class62)) || _class61) || _class61) || _class61); +var ejRadialMenu = exports.ejRadialMenu = (_dec165 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-menu'), _dec166 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec167 = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position']), _dec168 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec169 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'item'), _dec165(_class64 = _dec166(_class64 = _dec167(_class64 = _dec168(_class64 = (_class65 = function (_WidgetBase38) { _inherits(ejRadialMenu, _WidgetBase38); - _createDecoratedClass(ejRadialMenu, [{ - key: 'items', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'item')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers9); - function ejRadialMenu(element, templateEngine) { - _classCallCheck(this, _ejRadialMenu); + _classCallCheck(this, ejRadialMenu); - _WidgetBase38.call(this); + var _this40 = _possibleConstructorReturn(this, _WidgetBase38.call(this)); - _defineDecoratedPropertyDescriptor(this, 'items', _instanceInitializers9); + _initDefineProp(_this40, 'items', _descriptor9, _this40); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'items'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this40.element = element; + _this40.hasChildProperty = true; + _this40.childPropertyName = 'items'; + _this40.templateProcessor = new TemplateProcessor(_this40, templateEngine); + _this40.templateProcessor.initTemplate(); + return _this40; } - var _ejRadialMenu = ejRadialMenu; - ejRadialMenu = _aureliaDependencyInjection.inject(Element, _aureliaTemplating.TemplatingEngine)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = generateBindables('ejRadialMenu', ['autoOpen', 'backImageClass', 'cssClass', 'enableAnimation', 'imageClass', 'items', 'radius', 'targetElementId', 'position'])(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejRadialMenu) || ejRadialMenu; - ejRadialMenu = _aureliaTemplating.customElement(constants.elementPrefix + 'radial-menu')(ejRadialMenu) || ejRadialMenu; return ejRadialMenu; -})(WidgetBase); - -exports.ejRadialMenu = ejRadialMenu; - -var ejRadialSlider = (function (_WidgetBase39) { +}(WidgetBase), (_descriptor9 = _applyDecoratedDescriptor(_class65.prototype, 'items', [_dec169], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class65)) || _class64) || _class64) || _class64) || _class64); +var ejRadialSlider = exports.ejRadialSlider = (_dec170 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'radial-slider'), _dec171 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec172 = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth']), _dec173 = (0, _aureliaDependencyInjection.inject)(Element), _dec170(_class67 = _dec171(_class67 = _dec172(_class67 = _dec173(_class67 = function (_WidgetBase39) { _inherits(ejRadialSlider, _WidgetBase39); function ejRadialSlider(element) { - _classCallCheck(this, _ejRadialSlider); + _classCallCheck(this, ejRadialSlider); + + var _this41 = _possibleConstructorReturn(this, _WidgetBase39.call(this)); - _WidgetBase39.call(this); - this.element = element; + _this41.element = element; + return _this41; } - var _ejRadialSlider = ejRadialSlider; - ejRadialSlider = _aureliaDependencyInjection.inject(Element)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = generateBindables('ejRadialSlider', ['autoOpen', 'cssClass', 'enableAnimation', 'enableRoundOff', 'endAngle', 'inline', 'innerCircleImageClass', 'innerCircleImageUrl', 'radius', 'strokeWidth'])(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejRadialSlider) || ejRadialSlider; - ejRadialSlider = _aureliaTemplating.customElement(constants.elementPrefix + 'radial-slider')(ejRadialSlider) || ejRadialSlider; return ejRadialSlider; -})(WidgetBase); - -exports.ejRadialSlider = ejRadialSlider; - -var ejRadioButton = (function (_WidgetBase40) { +}(WidgetBase)) || _class67) || _class67) || _class67) || _class67); +var ejRadioButton = exports.ejRadioButton = (_dec174 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'radio-button'), _dec175 = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' }), _dec176 = (0, _aureliaDependencyInjection.inject)(Element), _dec174(_class68 = _dec175(_class68 = _dec176(_class68 = function (_WidgetBase40) { _inherits(ejRadioButton, _WidgetBase40); function ejRadioButton(element) { - _classCallCheck(this, _ejRadioButton); + _classCallCheck(this, ejRadioButton); - _WidgetBase40.call(this); - this.element = element; + var _this42 = _possibleConstructorReturn(this, _WidgetBase40.call(this)); + + _this42.element = element; + return _this42; } - var _ejRadioButton = ejRadioButton; - ejRadioButton = _aureliaDependencyInjection.inject(Element)(ejRadioButton) || ejRadioButton; - ejRadioButton = generateBindables('ejRadioButton', ['checked', 'cssClass', 'enabled', 'enablePersistence', 'enableRTL', 'htmlAttributes', 'id', 'idPrefix', 'name', 'size', 'text', 'validationMessage', 'validationRules', 'value'], [], { 'enableRTL': 'enableRtl' })(ejRadioButton) || ejRadioButton; - ejRadioButton = _aureliaTemplating.customAttribute(constants.attributePrefix + 'radio-button')(ejRadioButton) || ejRadioButton; return ejRadioButton; -})(WidgetBase); - -exports.ejRadioButton = ejRadioButton; - -var ejRangeNavigator = (function (_WidgetBase41) { - var _instanceInitializers10 = {}; - +}(WidgetBase)) || _class68) || _class68) || _class68); +var ejRangeNavigator = exports.ejRangeNavigator = (_dec177 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'range-navigator'), _dec178 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec179 = generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' }), _dec180 = (0, _aureliaDependencyInjection.inject)(Element), _dec181 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'range-series'), _dec177(_class69 = _dec178(_class69 = _dec179(_class69 = _dec180(_class69 = (_class70 = function (_WidgetBase41) { _inherits(ejRangeNavigator, _WidgetBase41); - _createDecoratedClass(ejRangeNavigator, [{ - key: 'series', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'range-series')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers10); - function ejRangeNavigator(element) { - _classCallCheck(this, _ejRangeNavigator); + _classCallCheck(this, ejRangeNavigator); - _WidgetBase41.call(this); + var _this43 = _possibleConstructorReturn(this, _WidgetBase41.call(this)); - _defineDecoratedPropertyDescriptor(this, 'series', _instanceInitializers10); + _initDefineProp(_this43, 'series', _descriptor10, _this43); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'series'; + _this43.element = element; + _this43.hasChildProperty = true; + _this43.childPropertyName = 'series'; + return _this43; } - var _ejRangeNavigator = ejRangeNavigator; - ejRangeNavigator = _aureliaDependencyInjection.inject(Element)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = generateBindables('ejRangeNavigator', ['allowSnapping', 'border', 'dataSource', 'enableDeferredUpdate', 'enableScrollbar', 'enableRTL', 'isResponsive', 'labelSettings', 'locale', 'navigatorStyleSettings', 'padding', 'rangePadding', 'rangeSettings', 'selectedData', 'selectedRangeSettings', 'scrollRangeSettings', 'sizeSettings', 'theme', 'tooltipSettings', 'valueAxisSettings', 'valueType', 'xName', 'yName'], [], { 'enableRTL': 'enableRtl' })(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejRangeNavigator) || ejRangeNavigator; - ejRangeNavigator = _aureliaTemplating.customElement(constants.elementPrefix + 'range-navigator')(ejRangeNavigator) || ejRangeNavigator; return ejRangeNavigator; -})(WidgetBase); - -exports.ejRangeNavigator = ejRangeNavigator; - -var RangeSeries = (function () { - function RangeSeries() { - _classCallCheck(this, _RangeSeries); - } - - var _RangeSeries = RangeSeries; - RangeSeries = generateBindables('series', [])(RangeSeries) || RangeSeries; - RangeSeries = _aureliaTemplating.customElement(constants.elementPrefix + 'range-series')(RangeSeries) || RangeSeries; - RangeSeries = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(RangeSeries) || RangeSeries; - return RangeSeries; -})(); - -exports.RangeSeries = RangeSeries; - -var ejRating = (function (_WidgetBase42) { +}(WidgetBase), (_descriptor10 = _applyDecoratedDescriptor(_class70.prototype, 'series', [_dec181], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class70)) || _class69) || _class69) || _class69) || _class69); +var RangeSeries = exports.RangeSeries = (_dec182 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec183 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'range-series'), _dec184 = generateBindables('series', []), _dec182(_class72 = _dec183(_class72 = _dec184(_class72 = function RangeSeries() { + _classCallCheck(this, RangeSeries); +}) || _class72) || _class72) || _class72); +var ejRating = exports.ejRating = (_dec185 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rating'), _dec186 = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value']), _dec187 = (0, _aureliaDependencyInjection.inject)(Element), _dec185(_class73 = _dec186(_class73 = _dec187(_class73 = function (_WidgetBase42) { _inherits(ejRating, _WidgetBase42); function ejRating(element) { - _classCallCheck(this, _ejRating); + _classCallCheck(this, ejRating); + + var _this44 = _possibleConstructorReturn(this, _WidgetBase42.call(this)); - _WidgetBase42.call(this); - this.element = element; + _this44.element = element; + return _this44; } - var _ejRating = ejRating; - ejRating = _aureliaDependencyInjection.inject(Element)(ejRating) || ejRating; - ejRating = generateBindables('ejRating', ['allowReset', 'cssClass', 'enabled', 'enablePersistence', 'height', 'incrementStep', 'maxValue', 'minValue', 'orientation', 'precision', 'readOnly', 'shapeHeight', 'shapeWidth', 'showTooltip', 'value', 'width'], ['value'])(ejRating) || ejRating; - ejRating = _aureliaTemplating.customAttribute(constants.attributePrefix + 'rating')(ejRating) || ejRating; return ejRating; -})(WidgetBase); - -exports.ejRating = ejRating; - -var ejReportViewer = (function (_WidgetBase43) { +}(WidgetBase)) || _class73) || _class73) || _class73); +var ejReportViewer = exports.ejReportViewer = (_dec188 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'report-viewer'), _dec189 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec190 = generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor']), _dec191 = (0, _aureliaDependencyInjection.inject)(Element), _dec188(_class74 = _dec189(_class74 = _dec190(_class74 = _dec191(_class74 = function (_WidgetBase43) { _inherits(ejReportViewer, _WidgetBase43); function ejReportViewer(element) { - _classCallCheck(this, _ejReportViewer); + _classCallCheck(this, ejReportViewer); + + var _this45 = _possibleConstructorReturn(this, _WidgetBase43.call(this)); - _WidgetBase43.call(this); - this.element = element; + _this45.element = element; + return _this45; } - var _ejReportViewer = ejReportViewer; - ejReportViewer = _aureliaDependencyInjection.inject(Element)(ejReportViewer) || ejReportViewer; - ejReportViewer = generateBindables('ejReportViewer', ['dataSources', 'enablePageCache', 'exportSettings', 'isResponsive', 'locale', 'pageSettings', 'parameters', 'printMode', 'printOptions', 'processingMode', 'renderMode', 'reportPath', 'reportServerUrl', 'reportServiceUrl', 'toolbarSettings', 'zoomFactor'])(ejReportViewer) || ejReportViewer; - ejReportViewer = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejReportViewer) || ejReportViewer; - ejReportViewer = _aureliaTemplating.customElement(constants.elementPrefix + 'report-viewer')(ejReportViewer) || ejReportViewer; return ejReportViewer; -})(WidgetBase); - -exports.ejReportViewer = ejReportViewer; - -var ejRibbon = (function (_WidgetBase44) { +}(WidgetBase)) || _class74) || _class74) || _class74) || _class74); +var ejRibbon = exports.ejRibbon = (_dec192 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'ribbon'), _dec193 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec194 = generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width']), _dec195 = (0, _aureliaDependencyInjection.inject)(Element), _dec192(_class75 = _dec193(_class75 = _dec194(_class75 = _dec195(_class75 = function (_WidgetBase44) { _inherits(ejRibbon, _WidgetBase44); function ejRibbon(element) { - _classCallCheck(this, _ejRibbon); + _classCallCheck(this, ejRibbon); + + var _this46 = _possibleConstructorReturn(this, _WidgetBase44.call(this)); - _WidgetBase44.call(this); - this.element = element; + _this46.element = element; + return _this46; } - var _ejRibbon = ejRibbon; - ejRibbon = _aureliaDependencyInjection.inject(Element)(ejRibbon) || ejRibbon; - ejRibbon = generateBindables('ejRibbon', ['allowResizing', 'buttonDefaults', 'showQAT', 'collapsePinSettings', 'expandPinSettings', 'applicationTab', 'contextualTabs', 'disabledItemIndex', 'enabledItemIndex', 'selectedItemIndex', 'tabs', 'locale', 'width'])(ejRibbon) || ejRibbon; - ejRibbon = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejRibbon) || ejRibbon; - ejRibbon = _aureliaTemplating.customElement(constants.elementPrefix + 'ribbon')(ejRibbon) || ejRibbon; return ejRibbon; -})(WidgetBase); - -exports.ejRibbon = ejRibbon; - -var ejRotator = (function (_WidgetBase45) { +}(WidgetBase)) || _class75) || _class75) || _class75) || _class75); +var ejRotator = exports.ejRotator = (_dec196 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rotator'), _dec197 = 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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' }), _dec198 = (0, _aureliaDependencyInjection.inject)(Element), _dec196(_class76 = _dec197(_class76 = _dec198(_class76 = function (_WidgetBase45) { _inherits(ejRotator, _WidgetBase45); function ejRotator(element) { - _classCallCheck(this, _ejRotator); + _classCallCheck(this, ejRotator); - _WidgetBase45.call(this); - this.element = element; + var _this47 = _possibleConstructorReturn(this, _WidgetBase45.call(this)); + + _this47.element = element; + return _this47; } - var _ejRotator = ejRotator; - ejRotator = _aureliaDependencyInjection.inject(Element)(ejRotator) || ejRotator; - ejRotator = 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', 'thumbnailSourceID'], [], { 'enableRTL': 'enableRtl', 'thumbnailSourceID': 'thumbnailSourceId' })(ejRotator) || ejRotator; - ejRotator = _aureliaTemplating.customAttribute(constants.attributePrefix + 'rotator')(ejRotator) || ejRotator; return ejRotator; -})(WidgetBase); - -exports.ejRotator = ejRotator; - -var ejRte = (function (_WidgetBase46) { +}(WidgetBase)) || _class76) || _class76) || _class76); +var ejRte = exports.ejRte = (_dec199 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'rte'), _dec200 = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' }), _dec201 = (0, _aureliaDependencyInjection.inject)(Element), _dec199(_class77 = _dec200(_class77 = _dec201(_class77 = function (_WidgetBase46) { _inherits(ejRte, _WidgetBase46); function ejRte(element) { - _classCallCheck(this, _ejRte); + _classCallCheck(this, ejRte); - _WidgetBase46.call(this); - this.element = element; + var _this48 = _possibleConstructorReturn(this, _WidgetBase46.call(this)); + + _this48.element = element; + return _this48; } - var _ejRte = ejRte; - ejRte = _aureliaDependencyInjection.inject(Element)(ejRte) || ejRte; - ejRte = generateBindables('ejRTE', ['allowEditing', 'allowKeyboardNavigation', 'autoFocus', 'autoHeight', 'colorCode', 'colorPaletteColumns', 'colorPaletteRows', 'cssClass', 'enabled', 'enableHtmlEncode', 'enablePersistence', 'enableResize', 'enableRTL', 'enableXHTML', 'enableTabKeyNavigation', 'externalCSS', 'fileBrowser', 'fontName', 'fontSize', 'format', 'height', 'htmlAttributes', 'iframeAttributes', 'imageBrowser', 'isResponsive', 'locale', 'maxHeight', 'maxLength', 'maxWidth', 'minHeight', 'minWidth', 'name', 'showClearAll', 'showClearFormat', 'showCustomTable', 'showContextMenu', 'showDimensions', 'showFontOption', 'showFooter', 'showHtmlSource', 'showHtmlTagInfo', 'showToolbar', 'showCharCount', 'showWordCount', 'tableColumns', 'tableRows', 'tools', 'toolsList', 'undoStackLimit', 'value', 'validationRules', 'validationMessage', 'width', 'zoomStep'], ['value'], { 'enableRTL': 'enableRtl' })(ejRte) || ejRte; - ejRte = _aureliaTemplating.customAttribute(constants.attributePrefix + 'rte')(ejRte) || ejRte; return ejRte; -})(WidgetBase); - -exports.ejRte = ejRte; - -var ejSchedule = (function (_WidgetBase47) { - var _instanceInitializers11 = {}; - +}(WidgetBase)) || _class77) || _class77) || _class77); +var ejSchedule = exports.ejSchedule = (_dec202 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule'), _dec203 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec204 = generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' }), _dec205 = (0, _aureliaDependencyInjection.inject)(Element), _dec206 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'schedule-resource'), _dec202(_class78 = _dec203(_class78 = _dec204(_class78 = _dec205(_class78 = (_class79 = function (_WidgetBase47) { _inherits(ejSchedule, _WidgetBase47); - _createDecoratedClass(ejSchedule, [{ - key: 'resources', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'schedule-resource')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers11); - function ejSchedule(element) { - _classCallCheck(this, _ejSchedule); + _classCallCheck(this, ejSchedule); - _WidgetBase47.call(this); + var _this49 = _possibleConstructorReturn(this, _WidgetBase47.call(this)); - _defineDecoratedPropertyDescriptor(this, 'resources', _instanceInitializers11); + _initDefineProp(_this49, 'resources', _descriptor11, _this49); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'resources'; + _this49.element = element; + _this49.hasChildProperty = true; + _this49.childPropertyName = 'resources'; + return _this49; } - var _ejSchedule = ejSchedule; - ejSchedule = _aureliaDependencyInjection.inject(Element)(ejSchedule) || ejSchedule; - ejSchedule = generateBindables('ejSchedule', ['allowDragAndDrop', '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', 'showCurrentTimeIndicator', 'showHeaderBar', 'showLocationField', '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' })(ejSchedule) || ejSchedule; - ejSchedule = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejSchedule) || ejSchedule; - ejSchedule = _aureliaTemplating.customElement(constants.elementPrefix + 'schedule')(ejSchedule) || ejSchedule; return ejSchedule; -})(WidgetBase); - -exports.ejSchedule = ejSchedule; - -var ScheduleResource = (function () { - function ScheduleResource() { - _classCallCheck(this, _ScheduleResource); - } - - var _ScheduleResource = ScheduleResource; - ScheduleResource = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings'])(ScheduleResource) || ScheduleResource; - ScheduleResource = _aureliaTemplating.customElement(constants.elementPrefix + 'schedule-resource')(ScheduleResource) || ScheduleResource; - ScheduleResource = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ScheduleResource) || ScheduleResource; - return ScheduleResource; -})(); - -exports.ScheduleResource = ScheduleResource; - -var ejScroller = (function (_WidgetBase48) { +}(WidgetBase), (_descriptor11 = _applyDecoratedDescriptor(_class79.prototype, 'resources', [_dec206], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class79)) || _class78) || _class78) || _class78) || _class78); +var ScheduleResource = exports.ScheduleResource = (_dec207 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec208 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'schedule-resource'), _dec209 = generateBindables('resources', ['field', 'title', 'name', 'allowMultiple', 'resourceSettings']), _dec207(_class81 = _dec208(_class81 = _dec209(_class81 = function ScheduleResource() { + _classCallCheck(this, ScheduleResource); +}) || _class81) || _class81) || _class81); +var ejScroller = exports.ejScroller = (_dec210 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'scroller'), _dec211 = generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' }), _dec212 = (0, _aureliaDependencyInjection.inject)(Element), _dec210(_class82 = _dec211(_class82 = _dec212(_class82 = function (_WidgetBase48) { _inherits(ejScroller, _WidgetBase48); function ejScroller(element) { - _classCallCheck(this, _ejScroller); + _classCallCheck(this, ejScroller); - _WidgetBase48.call(this); - this.element = element; + var _this50 = _possibleConstructorReturn(this, _WidgetBase48.call(this)); + + _this50.element = element; + return _this50; } - var _ejScroller = ejScroller; - ejScroller = _aureliaDependencyInjection.inject(Element)(ejScroller) || ejScroller; - ejScroller = generateBindables('ejScroller', ['autoHide', 'buttonSize', 'enabled', 'enablePersistence', 'enableRTL', 'enableTouchScroll', 'height', 'scrollerSize', 'scrollLeft', 'scrollOneStepBy', 'scrollTop', 'targetPane', 'width'], ['scrollLeft', 'scrollTop'], { 'enableRTL': 'enableRtl' })(ejScroller) || ejScroller; - ejScroller = _aureliaTemplating.customAttribute(constants.attributePrefix + 'scroller')(ejScroller) || ejScroller; return ejScroller; -})(WidgetBase); - -exports.ejScroller = ejScroller; - -var ejSlider = (function (_WidgetBase49) { +}(WidgetBase)) || _class82) || _class82) || _class82); +var ejSlider = exports.ejSlider = (_dec213 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'slider'), _dec214 = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec215 = (0, _aureliaDependencyInjection.inject)(Element), _dec213(_class83 = _dec214(_class83 = _dec215(_class83 = function (_WidgetBase49) { _inherits(ejSlider, _WidgetBase49); function ejSlider(element) { - _classCallCheck(this, _ejSlider); + _classCallCheck(this, ejSlider); - _WidgetBase49.call(this); - this.element = element; + var _this51 = _possibleConstructorReturn(this, _WidgetBase49.call(this)); + + _this51.element = element; + return _this51; } - var _ejSlider = ejSlider; - ejSlider = _aureliaDependencyInjection.inject(Element)(ejSlider) || ejSlider; - ejSlider = generateBindables('ejSlider', ['allowMouseWheel', 'animationSpeed', 'cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'incrementStep', 'largeStep', 'maxValue', 'minValue', 'orientation', 'readOnly', 'showRoundedCorner', 'showScale', 'showSmallTicks', 'showTooltip', 'sliderType', 'smallStep', 'value', 'values', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejSlider) || ejSlider; - ejSlider = _aureliaTemplating.customAttribute(constants.attributePrefix + 'slider')(ejSlider) || ejSlider; return ejSlider; -})(WidgetBase); - -exports.ejSlider = ejSlider; - -var ejSparkline = (function (_WidgetBase50) { +}(WidgetBase)) || _class83) || _class83) || _class83); +var ejSparkline = exports.ejSparkline = (_dec216 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sparkline'), _dec217 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec218 = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine']), _dec219 = (0, _aureliaDependencyInjection.inject)(Element), _dec216(_class84 = _dec217(_class84 = _dec218(_class84 = _dec219(_class84 = function (_WidgetBase50) { _inherits(ejSparkline, _WidgetBase50); function ejSparkline(element) { - _classCallCheck(this, _ejSparkline); + _classCallCheck(this, ejSparkline); + + var _this52 = _possibleConstructorReturn(this, _WidgetBase50.call(this)); - _WidgetBase50.call(this); - this.element = element; + _this52.element = element; + return _this52; } - var _ejSparkline = ejSparkline; - ejSparkline = _aureliaDependencyInjection.inject(Element)(ejSparkline) || ejSparkline; - ejSparkline = generateBindables('ejSparkline', ['background', 'fill', 'stroke', 'strokeWidth', 'opacity', 'bandOpacity', 'highPointColor', 'lowPointColor', 'startPointColor', 'endPointColor', 'negativePointColor', 'startRange', 'endRange', 'enableCanvasRendering', 'dataSource', 'xName', 'yName', 'padding', 'type', 'theme', 'tooltip', 'markerSettings', 'size', 'border', 'showAxis', 'axisLine'])(ejSparkline) || ejSparkline; - ejSparkline = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejSparkline) || ejSparkline; - ejSparkline = _aureliaTemplating.customElement(constants.elementPrefix + 'sparkline')(ejSparkline) || ejSparkline; return ejSparkline; -})(WidgetBase); - -exports.ejSparkline = ejSparkline; - -var ejSplitButton = (function (_WidgetBase51) { +}(WidgetBase)) || _class84) || _class84) || _class84) || _class84); +var ejSplitButton = exports.ejSplitButton = (_dec220 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'split-button'), _dec221 = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec222 = (0, _aureliaDependencyInjection.inject)(Element), _dec220(_class85 = _dec221(_class85 = _dec222(_class85 = function (_WidgetBase51) { _inherits(ejSplitButton, _WidgetBase51); function ejSplitButton(element) { - _classCallCheck(this, _ejSplitButton); + _classCallCheck(this, ejSplitButton); + + var _this53 = _possibleConstructorReturn(this, _WidgetBase51.call(this)); - _WidgetBase51.call(this); - this.element = element; + _this53.element = element; + return _this53; } - var _ejSplitButton = ejSplitButton; - ejSplitButton = _aureliaDependencyInjection.inject(Element)(ejSplitButton) || ejSplitButton; - ejSplitButton = generateBindables('ejSplitButton', ['arrowPosition', 'buttonMode', 'contentType', 'cssClass', 'enabled', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'prefixIcon', 'showRoundedCorner', 'size', 'suffixIcon', 'targetID', 'text', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejSplitButton) || ejSplitButton; - ejSplitButton = _aureliaTemplating.customAttribute(constants.attributePrefix + 'split-button')(ejSplitButton) || ejSplitButton; return ejSplitButton; -})(WidgetBase); - -exports.ejSplitButton = ejSplitButton; - -var ejSplitter = (function (_WidgetBase52) { +}(WidgetBase)) || _class85) || _class85) || _class85); +var ejSplitter = exports.ejSplitter = (_dec223 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'splitter'), _dec224 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec225 = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec226 = (0, _aureliaDependencyInjection.inject)(Element), _dec223(_class86 = _dec224(_class86 = _dec225(_class86 = _dec226(_class86 = function (_WidgetBase52) { _inherits(ejSplitter, _WidgetBase52); function ejSplitter(element) { - _classCallCheck(this, _ejSplitter); - - _WidgetBase52.call(this); - this.element = element; - } - - var _ejSplitter = ejSplitter; - ejSplitter = _aureliaDependencyInjection.inject(Element)(ejSplitter) || ejSplitter; - ejSplitter = generateBindables('ejSplitter', ['allowKeyboardNavigation', 'animationSpeed', 'cssClass', 'enableAnimation', 'enableRTL', 'height', 'htmlAttributes', 'isResponsive', 'orientation', 'properties', 'width'], [], { 'enableRTL': 'enableRtl' })(ejSplitter) || ejSplitter; - ejSplitter = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejSplitter) || ejSplitter; - ejSplitter = _aureliaTemplating.customElement(constants.elementPrefix + 'splitter')(ejSplitter) || ejSplitter; - return ejSplitter; -})(WidgetBase); + _classCallCheck(this, ejSplitter); -exports.ejSplitter = ejSplitter; + var _this54 = _possibleConstructorReturn(this, _WidgetBase52.call(this)); -var Sheet = (function () { - function Sheet() { - _classCallCheck(this, _Sheet); + _this54.element = element; + return _this54; } - var _Sheet = Sheet; - Sheet = generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell'])(Sheet) || Sheet; - Sheet = _aureliaTemplating.customElement(constants.elementPrefix + 'sheet')(Sheet) || Sheet; - Sheet = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(Sheet) || Sheet; - return Sheet; -})(); - -exports.Sheet = Sheet; - -var ejSpreadsheet = (function (_WidgetBase53) { - var _instanceInitializers12 = {}; - + return ejSplitter; +}(WidgetBase)) || _class86) || _class86) || _class86) || _class86); +var Sheet = exports.Sheet = (_dec227 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec228 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'sheet'), _dec229 = generateBindables('sheets', ['colCount', 'columnWidth', 'dataSource', 'fieldAsColumnHeader', 'headerStyles', 'primaryKey', 'query', 'rangeSettings', 'rowCount', 'sheetName', 'showGridlines', 'showHeader', 'showHeadings', 'startCell']), _dec227(_class87 = _dec228(_class87 = _dec229(_class87 = function Sheet() { + _classCallCheck(this, Sheet); +}) || _class87) || _class87) || _class87); +var ejSpreadsheet = exports.ejSpreadsheet = (_dec230 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'spreadsheet'), _dec231 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec232 = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName']), _dec233 = (0, _aureliaDependencyInjection.inject)(Element), _dec234 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'sheet'), _dec230(_class88 = _dec231(_class88 = _dec232(_class88 = _dec233(_class88 = (_class89 = function (_WidgetBase53) { _inherits(ejSpreadsheet, _WidgetBase53); - _createDecoratedClass(ejSpreadsheet, [{ - key: 'sheets', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'sheet')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers12); - function ejSpreadsheet(element) { - _classCallCheck(this, _ejSpreadsheet); + _classCallCheck(this, ejSpreadsheet); - _WidgetBase53.call(this); + var _this55 = _possibleConstructorReturn(this, _WidgetBase53.call(this)); - _defineDecoratedPropertyDescriptor(this, 'sheets', _instanceInitializers12); + _initDefineProp(_this55, 'sheets', _descriptor12, _this55); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'sheets'; + _this55.element = element; + _this55.hasChildProperty = true; + _this55.childPropertyName = 'sheets'; + return _this55; } - var _ejSpreadsheet = ejSpreadsheet; - ejSpreadsheet = _aureliaDependencyInjection.inject(Element)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = generateBindables('ejSpreadsheet', ['activeSheetIndex', 'allowAutoCellType', 'allowAutoFill', 'allowAutoSum', 'allowCellFormatting', 'allowCellType', 'allowCharts', 'allowClipboard', 'allowComments', 'allowConditionalFormats', 'allowDataValidation', 'allowDelete', 'allowDragAndDrop', 'allowEditing', 'allowFiltering', 'allowFormatAsTable', 'allowFormatPainter', 'allowFormulaBar', 'allowFreezing', 'allowHyperlink', 'allowImport', 'allowInsert', 'allowKeyboardNavigation', 'allowLockCell', 'allowMerging', 'allowResizing', 'allowSearching', 'allowSelection', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'apWidth', 'autoFillSettings', 'chartSettings', 'columnCount', 'columnWidth', 'cssClass', 'customFormulas', 'enableContextMenu', 'enablePivotTable', 'exportSettings', 'formatSettings', 'importOnLoad', 'importSettings', 'locale', 'pictureSettings', 'printSettings', 'rowCount', 'rowHeight', 'scrollSettings', 'selectionSettings', 'sheetCount', 'sheets', 'showRibbon', 'undoRedoStep', 'userName'])(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejSpreadsheet) || ejSpreadsheet; - ejSpreadsheet = _aureliaTemplating.customElement(constants.elementPrefix + 'spreadsheet')(ejSpreadsheet) || ejSpreadsheet; return ejSpreadsheet; -})(WidgetBase); - -exports.ejSpreadsheet = ejSpreadsheet; - -var ejSymbolPalette = (function (_WidgetBase54) { +}(WidgetBase), (_descriptor12 = _applyDecoratedDescriptor(_class89.prototype, 'sheets', [_dec234], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class89)) || _class88) || _class88) || _class88) || _class88); +var ejSymbolPalette = exports.ejSymbolPalette = (_dec235 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'symbol-palette'), _dec236 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec237 = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width']), _dec238 = (0, _aureliaDependencyInjection.inject)(Element), _dec235(_class91 = _dec236(_class91 = _dec237(_class91 = _dec238(_class91 = function (_WidgetBase54) { _inherits(ejSymbolPalette, _WidgetBase54); function ejSymbolPalette(element) { - _classCallCheck(this, _ejSymbolPalette); + _classCallCheck(this, ejSymbolPalette); + + var _this56 = _possibleConstructorReturn(this, _WidgetBase54.call(this)); - _WidgetBase54.call(this); - this.element = element; + _this56.element = element; + return _this56; } - var _ejSymbolPalette = ejSymbolPalette; - ejSymbolPalette = _aureliaDependencyInjection.inject(Element)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = generateBindables('ejSymbolPalette', ['allowDrag', 'cssClass', 'defaultSettings', 'diagramId', 'headerHeight', 'height', 'paletteItemHeight', 'paletteItemWidth', 'palettes', 'previewHeight', 'previewOffset', 'previewWidth', 'showPaletteItemText', 'width'])(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejSymbolPalette) || ejSymbolPalette; - ejSymbolPalette = _aureliaTemplating.customElement(constants.elementPrefix + 'symbol-palette')(ejSymbolPalette) || ejSymbolPalette; return ejSymbolPalette; -})(WidgetBase); - -exports.ejSymbolPalette = ejSymbolPalette; - -var ejTab = (function (_WidgetBase55) { +}(WidgetBase)) || _class91) || _class91) || _class91) || _class91); +var ejTab = exports.ejTab = (_dec239 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tab'), _dec240 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec241 = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' }), _dec242 = (0, _aureliaDependencyInjection.inject)(Element), _dec239(_class92 = _dec240(_class92 = _dec241(_class92 = _dec242(_class92 = function (_WidgetBase55) { _inherits(ejTab, _WidgetBase55); function ejTab(element) { - _classCallCheck(this, _ejTab); + _classCallCheck(this, ejTab); + + var _this57 = _possibleConstructorReturn(this, _WidgetBase55.call(this)); - _WidgetBase55.call(this); - this.element = element; + _this57.element = element; + return _this57; } - var _ejTab = ejTab; - ejTab = _aureliaDependencyInjection.inject(Element)(ejTab) || ejTab; - ejTab = generateBindables('ejTab', ['ajaxSettings', 'allowKeyboardNavigation', 'collapsible', 'cssClass', 'disabledItemIndex', 'enableAnimation', 'enabled', 'enabledItemIndex', 'enablePersistence', 'enableRTL', 'enableTabScroll', 'events', 'headerPosition', 'headerSize', 'height', 'heightAdjustMode', 'hiddenItemIndex', 'htmlAttributes', 'idPrefix', 'selectedItemIndex', 'showCloseButton', 'showReloadIcon', 'showRoundedCorner', 'width'], ['selectedItemIndex'], { 'enableRTL': 'enableRtl' })(ejTab) || ejTab; - ejTab = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejTab) || ejTab; - ejTab = _aureliaTemplating.customElement(constants.elementPrefix + 'tab')(ejTab) || ejTab; return ejTab; -})(WidgetBase); - -exports.ejTab = ejTab; - -var ejTagCloud = (function (_WidgetBase56) { +}(WidgetBase)) || _class92) || _class92) || _class92) || _class92); +var ejTagCloud = exports.ejTagCloud = (_dec243 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tag-cloud'), _dec244 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec245 = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' }), _dec246 = (0, _aureliaDependencyInjection.inject)(Element), _dec243(_class93 = _dec244(_class93 = _dec245(_class93 = _dec246(_class93 = function (_WidgetBase56) { _inherits(ejTagCloud, _WidgetBase56); function ejTagCloud(element) { - _classCallCheck(this, _ejTagCloud); + _classCallCheck(this, ejTagCloud); - _WidgetBase56.call(this); - this.element = element; + var _this58 = _possibleConstructorReturn(this, _WidgetBase56.call(this)); + + _this58.element = element; + return _this58; } - var _ejTagCloud = ejTagCloud; - ejTagCloud = _aureliaDependencyInjection.inject(Element)(ejTagCloud) || ejTagCloud; - ejTagCloud = generateBindables('ejTagCloud', ['cssClass', 'dataSource', 'enableRTL', 'fields', 'format', 'maxFontSize', 'minFontSize', 'query', 'showTitle', 'titleImage', 'titleText'], [], { 'enableRTL': 'enableRtl' })(ejTagCloud) || ejTagCloud; - ejTagCloud = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejTagCloud) || ejTagCloud; - ejTagCloud = _aureliaTemplating.customElement(constants.elementPrefix + 'tag-cloud')(ejTagCloud) || ejTagCloud; return ejTagCloud; -})(WidgetBase); - -exports.ejTagCloud = ejTagCloud; - -var ejTile = (function (_WidgetBase57) { +}(WidgetBase)) || _class93) || _class93) || _class93) || _class93); +var ejTile = exports.ejTile = (_dec247 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tile'), _dec248 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec249 = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor']), _dec250 = (0, _aureliaDependencyInjection.inject)(Element), _dec247(_class94 = _dec248(_class94 = _dec249(_class94 = _dec250(_class94 = function (_WidgetBase57) { _inherits(ejTile, _WidgetBase57); function ejTile(element) { - _classCallCheck(this, _ejTile); + _classCallCheck(this, ejTile); - _WidgetBase57.call(this); - this.element = element; + var _this59 = _possibleConstructorReturn(this, _WidgetBase57.call(this)); + + _this59.element = element; + return _this59; } - var _ejTile = ejTile; - ejTile = _aureliaDependencyInjection.inject(Element)(ejTile) || ejTile; - ejTile = generateBindables('ejTile', ['badge', 'caption', 'cssClass', 'enablePersistence', 'height', 'imageClass', 'imagePosition', 'imageTemplateId', 'imageUrl', 'liveTile', 'tileSize', 'width', 'showRoundedCorner', 'allowSelection', 'backgroundColor'])(ejTile) || ejTile; - ejTile = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejTile) || ejTile; - ejTile = _aureliaTemplating.customElement(constants.elementPrefix + 'tile')(ejTile) || ejTile; return ejTile; -})(WidgetBase); - -exports.ejTile = ejTile; - -var ejTimePicker = (function (_WidgetBase58) { +}(WidgetBase)) || _class94) || _class94) || _class94) || _class94); +var ejTimePicker = exports.ejTimePicker = (_dec251 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'time-picker'), _dec252 = generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' }), _dec253 = (0, _aureliaDependencyInjection.inject)(Element), _dec251(_class95 = _dec252(_class95 = _dec253(_class95 = function (_WidgetBase58) { _inherits(ejTimePicker, _WidgetBase58); function ejTimePicker(element) { - _classCallCheck(this, _ejTimePicker); + _classCallCheck(this, ejTimePicker); + + var _this60 = _possibleConstructorReturn(this, _WidgetBase58.call(this)); - _WidgetBase58.call(this); - this.isEditor = true; - this.element = element; + _this60.isEditor = true; + _this60.element = element; + return _this60; } - var _ejTimePicker = ejTimePicker; - ejTimePicker = _aureliaDependencyInjection.inject(Element)(ejTimePicker) || ejTimePicker; - ejTimePicker = generateBindables('ejTimePicker', ['cssClass', 'enableAnimation', 'enabled', 'enablePersistence', 'enableRTL', 'enableStrictMode', 'disableTimeRanges', 'height', 'hourInterval', 'htmlAttributes', 'interval', 'locale', 'maxTime', 'minTime', 'minutesInterval', 'popupHeight', 'popupWidth', 'readOnly', 'secondsInterval', 'showPopupButton', 'showRoundedCorner', 'timeFormat', 'value', 'width'], ['value'], { 'enableRTL': 'enableRtl' })(ejTimePicker) || ejTimePicker; - ejTimePicker = _aureliaTemplating.customAttribute(constants.attributePrefix + 'time-picker')(ejTimePicker) || ejTimePicker; return ejTimePicker; -})(WidgetBase); - -exports.ejTimePicker = ejTimePicker; - -var ejToggleButton = (function (_WidgetBase59) { +}(WidgetBase)) || _class95) || _class95) || _class95); +var ejToggleButton = exports.ejToggleButton = (_dec254 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'toggle-button'), _dec255 = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec256 = (0, _aureliaDependencyInjection.inject)(Element), _dec254(_class96 = _dec255(_class96 = _dec256(_class96 = function (_WidgetBase59) { _inherits(ejToggleButton, _WidgetBase59); function ejToggleButton(element) { - _classCallCheck(this, _ejToggleButton); + _classCallCheck(this, ejToggleButton); + + var _this61 = _possibleConstructorReturn(this, _WidgetBase59.call(this)); - _WidgetBase59.call(this); - this.element = element; + _this61.element = element; + return _this61; } - var _ejToggleButton = ejToggleButton; - ejToggleButton = _aureliaDependencyInjection.inject(Element)(ejToggleButton) || ejToggleButton; - ejToggleButton = generateBindables('ejToggleButton', ['activePrefixIcon', 'activeSuffixIcon', 'activeText', 'contentType', 'cssClass', 'defaultPrefixIcon', 'defaultSuffixIcon', 'defaultText', 'enabled', 'enablePersistence', 'enableRTL', 'height', 'htmlAttributes', 'imagePosition', 'preventToggle', 'showRoundedCorner', 'size', 'toggleState', 'type', 'width'], [], { 'enableRTL': 'enableRtl' })(ejToggleButton) || ejToggleButton; - ejToggleButton = _aureliaTemplating.customAttribute(constants.attributePrefix + 'toggle-button')(ejToggleButton) || ejToggleButton; return ejToggleButton; -})(WidgetBase); - -exports.ejToggleButton = ejToggleButton; - -var ejToolbar = (function (_WidgetBase60) { +}(WidgetBase)) || _class96) || _class96) || _class96); +var ejToolbar = exports.ejToolbar = (_dec257 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'toolbar'), _dec258 = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' }), _dec259 = (0, _aureliaDependencyInjection.inject)(Element), _dec257(_class97 = _dec258(_class97 = _dec259(_class97 = function (_WidgetBase60) { _inherits(ejToolbar, _WidgetBase60); function ejToolbar(element) { - _classCallCheck(this, _ejToolbar); + _classCallCheck(this, ejToolbar); + + var _this62 = _possibleConstructorReturn(this, _WidgetBase60.call(this)); - _WidgetBase60.call(this); - this.element = element; + _this62.element = element; + return _this62; } - var _ejToolbar = ejToolbar; - ejToolbar = _aureliaDependencyInjection.inject(Element)(ejToolbar) || ejToolbar; - ejToolbar = generateBindables('ejToolbar', ['cssClass', 'dataSource', 'enabled', 'enableRTL', 'enableSeparator', 'fields', 'height', 'hide', 'isResponsive', 'orientation', 'query', 'showRoundedCorner', 'targetID', 'width'], [], { 'enableRTL': 'enableRtl', 'targetID': 'targetId' })(ejToolbar) || ejToolbar; - ejToolbar = _aureliaTemplating.customAttribute(constants.attributePrefix + 'toolbar')(ejToolbar) || ejToolbar; return ejToolbar; -})(WidgetBase); - -exports.ejToolbar = ejToolbar; - -var ejTooltip = (function (_WidgetBase61) { +}(WidgetBase)) || _class97) || _class97) || _class97); +var ejTooltip = exports.ejTooltip = (_dec260 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'tooltip'), _dec261 = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec262 = (0, _aureliaDependencyInjection.inject)(Element), _dec260(_class98 = _dec261(_class98 = _dec262(_class98 = function (_WidgetBase61) { _inherits(ejTooltip, _WidgetBase61); function ejTooltip(element) { - _classCallCheck(this, _ejTooltip); + _classCallCheck(this, ejTooltip); - _WidgetBase61.call(this); - this.element = element; + var _this63 = _possibleConstructorReturn(this, _WidgetBase61.call(this)); + + _this63.element = element; + return _this63; } - var _ejTooltip = ejTooltip; - ejTooltip = _aureliaDependencyInjection.inject(Element)(ejTooltip) || ejTooltip; - ejTooltip = generateBindables('ejTooltip', ['allowKeyboardNavigation', 'animation', 'associate', 'autoCloseTimeout', 'closeMode', 'collision', 'containment', 'content', 'cssClass', 'enabled', 'enableRTL', 'height', 'isBalloon', 'position', 'showRoundedCorner', 'showShadow', 'target', 'title', 'trigger', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTooltip) || ejTooltip; - ejTooltip = _aureliaTemplating.customAttribute(constants.attributePrefix + 'tooltip')(ejTooltip) || ejTooltip; return ejTooltip; -})(WidgetBase); - -exports.ejTooltip = ejTooltip; - -var ejTreeGrid = (function (_WidgetBase62) { - var _instanceInitializers13 = {}; - +}(WidgetBase)) || _class98) || _class98) || _class98); +var ejTreeGrid = exports.ejTreeGrid = (_dec263 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-grid'), _dec264 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec265 = generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' }), _dec266 = (0, _aureliaDependencyInjection.inject)(Element, _aureliaTemplating.TemplatingEngine), _dec267 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'tree-grid-column'), _dec263(_class99 = _dec264(_class99 = _dec265(_class99 = _dec266(_class99 = (_class100 = function (_WidgetBase62) { _inherits(ejTreeGrid, _WidgetBase62); - _createDecoratedClass(ejTreeGrid, [{ - key: 'columns', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'tree-grid-column')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers13); - function ejTreeGrid(element, templateEngine) { - _classCallCheck(this, _ejTreeGrid); + _classCallCheck(this, ejTreeGrid); - _WidgetBase62.call(this); + var _this64 = _possibleConstructorReturn(this, _WidgetBase62.call(this)); - _defineDecoratedPropertyDescriptor(this, 'columns', _instanceInitializers13); + _initDefineProp(_this64, 'columns', _descriptor13, _this64); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'columns'; - this.templateProcessor = new TemplateProcessor(this, templateEngine); - this.templateProcessor.initTemplate(); + _this64.element = element; + _this64.hasChildProperty = true; + _this64.childPropertyName = 'columns'; + _this64.templateProcessor = new TemplateProcessor(_this64, templateEngine); + _this64.templateProcessor.initTemplate(); + return _this64; } - var _ejTreeGrid = ejTreeGrid; - ejTreeGrid = _aureliaDependencyInjection.inject(Element, _aureliaTemplating.TemplatingEngine)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = generateBindables('ejTreeGrid', ['allowColumnResize', 'allowDragAndDrop', 'allowFiltering', 'allowKeyboardNavigation', 'allowMultiSorting', 'allowSelection', 'allowSorting', 'altRowTemplateID', 'childMapping', 'columns', 'contextMenuSettings', 'dataSource', 'headerTextOverflow', 'dragTooltip', 'editSettings', 'enableAltRow', 'enableCollapseAll', 'enableResize', 'enableVirtualization', 'filterBarMode', 'idMapping', 'parentIdMapping', 'query', 'rowHeight', 'rowTemplateID', 'selectedRowIndex', 'selectionType', 'showColumnChooser', 'showGridCellTooltip', 'showGridExpandCellTooltip', 'sizeSettings', 'sortSettings', 'toolbarSettings', 'treeColumnIndex'], ['dataSource', 'selectedRowIndex'], { 'altRowTemplateID': 'altRowTemplateId', 'rowTemplateID': 'rowTemplateId' })(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejTreeGrid) || ejTreeGrid; - ejTreeGrid = _aureliaTemplating.customElement(constants.elementPrefix + 'tree-grid')(ejTreeGrid) || ejTreeGrid; return ejTreeGrid; -})(WidgetBase); - -exports.ejTreeGrid = ejTreeGrid; - -var TreeGridColumn = (function () { - var _instanceInitializers14 = {}; - +}(WidgetBase), (_descriptor13 = _applyDecoratedDescriptor(_class100.prototype, 'columns', [_dec267], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class100)) || _class99) || _class99) || _class99) || _class99); +var TreeGridColumn = exports.TreeGridColumn = (_dec268 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec269 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-grid-column'), _dec270 = generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing']), _dec271 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'template'), _dec268(_class102 = _dec269(_class102 = _dec270(_class102 = (_class103 = function () { function TreeGridColumn() { - _classCallCheck(this, _TreeGridColumn); + _classCallCheck(this, TreeGridColumn); - _defineDecoratedPropertyDescriptor(this, 'template', _instanceInitializers14); + _initDefineProp(this, 'template', _descriptor14, this); } TreeGridColumn.prototype.setTemplates = function setTemplates() { @@ -2579,128 +2058,78 @@ var TreeGridColumn = (function () { } }; - _createDecoratedClass(TreeGridColumn, [{ - key: 'template', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'template')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers14); - - var _TreeGridColumn = TreeGridColumn; - TreeGridColumn = generateBindables('columns', ['allowFiltering', 'allowSorting', 'editType', 'field', 'filterEditType', 'headerText', 'visible', 'headerTemplateID', 'isFrozen', 'allowFreezing'])(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = _aureliaTemplating.customElement(constants.elementPrefix + 'tree-grid-column')(TreeGridColumn) || TreeGridColumn; - TreeGridColumn = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(TreeGridColumn) || TreeGridColumn; return TreeGridColumn; -})(); - -exports.TreeGridColumn = TreeGridColumn; - -var Level = (function () { - function Level() { - _classCallCheck(this, _Level); - } - - var _Level = Level; - Level = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels'])(Level) || Level; - Level = _aureliaTemplating.customElement(constants.elementPrefix + 'level')(Level) || Level; - Level = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(Level) || Level; - return Level; -})(); - -exports.Level = Level; - -var ejTreeMap = (function (_WidgetBase63) { - var _instanceInitializers15 = {}; - +}(), (_descriptor14 = _applyDecoratedDescriptor(_class103.prototype, 'template', [_dec271], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class103)) || _class102) || _class102) || _class102); +var Level = exports.Level = (_dec272 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec273 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'level'), _dec274 = generateBindables('levels', ['groupBackground', 'groupBorderColor', 'groupBorderThickness', 'groupGap', 'groupPadding', 'groupPath', 'headerHeight', 'headerTemplate', 'headerVisibilityMode', 'labelPosition', 'labelTemplate', 'labelVisibilityMode', 'showHeader', 'showLabels']), _dec272(_class105 = _dec273(_class105 = _dec274(_class105 = function Level() { + _classCallCheck(this, Level); +}) || _class105) || _class105) || _class105); +var ejTreeMap = exports.ejTreeMap = (_dec275 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'tree-map'), _dec276 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec277 = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath']), _dec278 = (0, _aureliaDependencyInjection.inject)(Element), _dec279 = (0, _aureliaTemplating.children)(constants.elementPrefix + 'level'), _dec275(_class106 = _dec276(_class106 = _dec277(_class106 = _dec278(_class106 = (_class107 = function (_WidgetBase63) { _inherits(ejTreeMap, _WidgetBase63); - _createDecoratedClass(ejTreeMap, [{ - key: 'levels', - decorators: [_aureliaTemplating.children(constants.elementPrefix + 'level')], - initializer: function initializer() { - return []; - }, - enumerable: true - }], null, _instanceInitializers15); - function ejTreeMap(element) { - _classCallCheck(this, _ejTreeMap); + _classCallCheck(this, ejTreeMap); - _WidgetBase63.call(this); + var _this65 = _possibleConstructorReturn(this, _WidgetBase63.call(this)); - _defineDecoratedPropertyDescriptor(this, 'levels', _instanceInitializers15); + _initDefineProp(_this65, 'levels', _descriptor15, _this65); - this.element = element; - this.hasChildProperty = true; - this.childPropertyName = 'levels'; + _this65.element = element; + _this65.hasChildProperty = true; + _this65.childPropertyName = 'levels'; + return _this65; } - var _ejTreeMap = ejTreeMap; - ejTreeMap = _aureliaDependencyInjection.inject(Element)(ejTreeMap) || ejTreeMap; - ejTreeMap = generateBindables('ejTreeMap', ['borderBrush', 'borderThickness', 'uniColorMapping', 'desaturationColorMapping', 'paletteColorMapping', 'colorValuePath', 'dataSource', 'dockPosition', 'drillDownHeaderColor', 'drillDownSelectionColor', 'enableDrillDown', 'enableResize', 'groupColorMapping', 'legendSettings', 'highlightBorderBrush', 'highlightBorderThickness', 'highlightGroupBorderBrush', 'highlightGroupBorderThickness', 'highlightGroupOnSelection', 'highlightOnSelection', 'itemsLayoutMode', 'leafItemSettings', 'rangeColorMapping', 'groupSelectionMode', 'showLegend', 'showTooltip', 'tooltipTemplate', 'treeMapItems', 'levels', 'weightValuePath'], ['dataSource', 'weightValuePath'])(ejTreeMap) || ejTreeMap; - ejTreeMap = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejTreeMap) || ejTreeMap; - ejTreeMap = _aureliaTemplating.customElement(constants.elementPrefix + 'tree-map')(ejTreeMap) || ejTreeMap; return ejTreeMap; -})(WidgetBase); - -exports.ejTreeMap = ejTreeMap; - -var ejTreeView = (function (_WidgetBase64) { +}(WidgetBase), (_descriptor15 = _applyDecoratedDescriptor(_class107.prototype, 'levels', [_dec279], { + enumerable: true, + initializer: function initializer() { + return []; + } +})), _class107)) || _class106) || _class106) || _class106) || _class106); +var ejTreeView = exports.ejTreeView = (_dec280 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'tree-view'), _dec281 = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec282 = (0, _aureliaDependencyInjection.inject)(Element), _dec280(_class109 = _dec281(_class109 = _dec282(_class109 = function (_WidgetBase64) { _inherits(ejTreeView, _WidgetBase64); function ejTreeView(element) { - _classCallCheck(this, _ejTreeView); + _classCallCheck(this, ejTreeView); + + var _this66 = _possibleConstructorReturn(this, _WidgetBase64.call(this)); - _WidgetBase64.call(this); - this.element = element; + _this66.element = element; + return _this66; } - var _ejTreeView = ejTreeView; - ejTreeView = _aureliaDependencyInjection.inject(Element)(ejTreeView) || ejTreeView; - ejTreeView = generateBindables('ejTreeView', ['allowDragAndDrop', 'allowDragAndDropAcrossControl', 'allowDropSibling', 'allowDropChild', 'allowEditing', 'allowKeyboardNavigation', 'autoCheck', 'autoCheckParentNode', 'checkedNodes', 'cssClass', 'enableAnimation', 'enabled', 'enableMultipleExpand', 'enablePersistence', 'enableRTL', 'expandedNodes', 'expandOn', 'fields', 'height', 'htmlAttributes', 'loadOnDemand', 'selectedNode', 'showCheckbox', 'sortSettings', 'template', 'width'], [], { 'enableRTL': 'enableRtl' })(ejTreeView) || ejTreeView; - ejTreeView = _aureliaTemplating.customAttribute(constants.attributePrefix + 'tree-view')(ejTreeView) || ejTreeView; return ejTreeView; -})(WidgetBase); - -exports.ejTreeView = ejTreeView; - -var ejUploadbox = (function (_WidgetBase65) { +}(WidgetBase)) || _class109) || _class109) || _class109); +var ejUploadbox = exports.ejUploadbox = (_dec283 = (0, _aureliaTemplating.customElement)(constants.elementPrefix + 'uploadbox'), _dec284 = (0, _aureliaTemplating.inlineView)('' + constants.aureliaTemplateString), _dec285 = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' }), _dec286 = (0, _aureliaDependencyInjection.inject)(Element), _dec283(_class110 = _dec284(_class110 = _dec285(_class110 = _dec286(_class110 = function (_WidgetBase65) { _inherits(ejUploadbox, _WidgetBase65); function ejUploadbox(element) { - _classCallCheck(this, _ejUploadbox); + _classCallCheck(this, ejUploadbox); + + var _this67 = _possibleConstructorReturn(this, _WidgetBase65.call(this)); - _WidgetBase65.call(this); - this.element = element; + _this67.element = element; + return _this67; } - var _ejUploadbox = ejUploadbox; - ejUploadbox = _aureliaDependencyInjection.inject(Element)(ejUploadbox) || ejUploadbox; - ejUploadbox = generateBindables('ejUploadbox', ['allowDragAndDrop', 'asyncUpload', 'autoUpload', 'buttonText', 'cssClass', 'customFileDetails', 'dialogAction', 'dialogPosition', 'dialogText', 'dropAreaText', 'dropAreaHeight', 'dropAreaWidth', 'enabled', 'enableRTL', 'extensionsAllow', 'extensionsDeny', 'fileSize', 'height', 'locale', 'multipleFilesSelection', 'pushFile', 'removeUrl', 'saveUrl', 'showBrowseButton', 'showFileDetails', 'uploadName', 'width'], [], { 'enableRTL': 'enableRtl' })(ejUploadbox) || ejUploadbox; - ejUploadbox = _aureliaTemplating.inlineView('' + constants.aureliaTemplateString)(ejUploadbox) || ejUploadbox; - ejUploadbox = _aureliaTemplating.customElement(constants.elementPrefix + 'uploadbox')(ejUploadbox) || ejUploadbox; return ejUploadbox; -})(WidgetBase); - -exports.ejUploadbox = ejUploadbox; - -var ejWaitingPopup = (function (_WidgetBase66) { +}(WidgetBase)) || _class110) || _class110) || _class110) || _class110); +var ejWaitingPopup = exports.ejWaitingPopup = (_dec287 = (0, _aureliaTemplating.customAttribute)(constants.attributePrefix + 'waiting-popup'), _dec288 = generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text']), _dec289 = (0, _aureliaDependencyInjection.inject)(Element), _dec287(_class111 = _dec288(_class111 = _dec289(_class111 = function (_WidgetBase66) { _inherits(ejWaitingPopup, _WidgetBase66); function ejWaitingPopup(element) { - _classCallCheck(this, _ejWaitingPopup); + _classCallCheck(this, ejWaitingPopup); - _WidgetBase66.call(this); - this.element = element; + var _this68 = _possibleConstructorReturn(this, _WidgetBase66.call(this)); + + _this68.element = element; + return _this68; } - var _ejWaitingPopup = ejWaitingPopup; - ejWaitingPopup = _aureliaDependencyInjection.inject(Element)(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = generateBindables('ejWaitingPopup', ['cssClass', 'showImage', 'showOnInit', 'template', 'text'])(ejWaitingPopup) || ejWaitingPopup; - ejWaitingPopup = _aureliaTemplating.customAttribute(constants.attributePrefix + 'waiting-popup')(ejWaitingPopup) || ejWaitingPopup; return ejWaitingPopup; -})(WidgetBase); - -exports.ejWaitingPopup = ejWaitingPopup; \ No newline at end of file +}(WidgetBase)) || _class111) || _class111) || _class111); \ No newline at end of file diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index c1e4f9d61..5b26cf022 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,16 @@ +## 0.2.0 (2016-07-13) + + +#### Bug Fixes + +* **jsondata:** fixed some encodings ([6d9410e2](https://github.com/aurelia-ui-toolkits/aurelia-syncfusion-bridge.git/commit/6d9410e2ff6b794bf7562818115261804419a497)) + + +#### Features + +* **all:** initial version ([f55a0a5d](https://github.com/aurelia-ui-toolkits/aurelia-syncfusion-bridge.git/commit/f55a0a5d5fd3f3a5e3375eb005b549cf90c3750b)) + + ## 0.1.0 (2016-05-27) diff --git a/package.json b/package.json index bfc510070..4f22c0590 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-syncfusion-bridge", - "version": "0.1.0", + "version": "0.2.0", "registry": "github", "description": "A set of Syncfusion wrappers for Aurelia allowing developers to easily use Syncfusion components in their Aurelia application", "keywords": [ @@ -16,6 +16,7 @@ "license": "MIT", "author": "aurelia-ui-toolkits", "main": "dist/commonjs/index.js", + "typings": "dist/amd/aurelia-syncfusion-bridge.d.ts", "directories": { "lib": "dist/system" }, @@ -53,6 +54,7 @@ "babel": "npm:babel-core@^5.8.24", "babel-runtime": "npm:babel-runtime@^5.8.24", "bootstrap": "twbs/bootstrap@^3.3.6", + "core-js": "npm:core-js@^1.1.4", "jquery": "components/jquery@^2.1.4", "jquery-easing": "npm:jquery.easing@^1.3.2", "polymer/mutationobservers": "^0.4.2", @@ -61,16 +63,24 @@ }, "devDependencies": { "aurelia-tools": "^0.1.18", - "babel": "^5.8.22", - "babel-dts-generator": "^0.2.17", + "babel-plugin-syntax-flow": "^6.8.0", + "babel-plugin-transform-decorators-legacy": "^1.3.4", + "babel-plugin-transform-es2015-modules-amd": "^6.8.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.8.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.9.0", + "babel-plugin-transform-flow-strip-types": "^6.8.0", + "babel-preset-es2015": "^6.9.0", + "babel-preset-es2015-loose": "^7.0.0", + "babel-preset-es2015-loose-native-modules": "^1.0.0", + "babel-preset-stage-1": "^6.5.0", + "babel-dts-generator": "^0.5.1", "babel-eslint": "^4.1.1", "babel-runtime": "^5.8.20", "browser-sync": "2.11.2", - "left-pad": "git://github.com/azer/left-pad.git#bff80e3ef0db0bfaba7698606c4f623433d14355", "conventional-changelog": "0.0.11", "del": "^1.1.0", "gulp": "^3.8.10", - "gulp-babel": "^5.1.0", + "gulp-babel": "^6.1.2", "gulp-bump": "^0.3.1", "gulp-concat": "^2.6.0", "gulp-coveralls": "^0.1.4", @@ -80,6 +90,7 @@ "gulp-sourcemaps": "^1.6.0", "gulp-typedoc": "^1.2.1", "gulp-typedoc-extractor": "0.0.8", + "gulp-typescript": "^2.13.6", "isparta": "^4.0.0", "istanbul": "^0.4.1", "jasmine-core": "^2.1.3", @@ -92,11 +103,13 @@ "karma-jasmine": "^0.2.3", "karma-jspm": "^2.0.2", "karma-sourcemap-loader": "^0.3.6", + "left-pad": "git://github.com/azer/left-pad.git#bff80e3ef0db0bfaba7698606c4f623433d14355", "object.assign": "^1.0.3", "phantomjs-polyfill": "0.0.1", "require-dir": "^0.1.0", "run-sequence": "^1.0.2", "through2": "^2.0.0", + "typescript": "^1.9.0-dev.20160613-1.0", "vinyl": "^1.1.0", "vinyl-paths": "^1.0.0", "yargs": "^2.1.1" diff --git a/sample/src/samples/fileexplorer/API's.js b/sample/src/samples/fileexplorer/API's.js index 513d51e2a..81bfbfb63 100644 --- a/sample/src/samples/fileexplorer/API's.js +++ b/sample/src/samples/fileexplorer/API's.js @@ -1,28 +1,28 @@ export class methods { - constructor() { - this.path = 'http://mvc.syncfusion.com/ODataServices/FileBrowser/'; - this.ajaxAction = 'http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction'; - this.width = '100%'; - this.height = '100%'; - } - hideShowToolbar(event){ - let args = event.detail; - let fileobj = $('#fileexplorer').ejFileExplorer('instance'); - fileobj.option("showToolbar", !args.isChecked); - } - hideShowFooter(event){ - let args = event.detail; - let fileobj = $('#fileexplorer').ejFileExplorer('instance'); - fileobj.option("showFooter", !args.isChecked); - } - hideShowTreeView(event){ - let args = event.detail; - let fileobj = $('#fileexplorer').ejFileExplorer('instance'); - fileobj.option("showNavigationPane", !args.isChecked); - } - hideShowContextMenu(event){ - let args = event.detail; - let fileobj = $('#fileexplorer').ejFileExplorer('instance'); - fileobj.option("showContextMenu", !args.isChecked); - } + constructor() { + this.path = 'http://mvc.syncfusion.com/ODataServices/FileBrowser/'; + this.ajaxAction = 'http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction'; + this.width = '100%'; + this.height = '100%'; + } + hideShowToolbar(event) { + let args = event.detail; + let fileobj = $('#fileexplorer').ejFileExplorer('instance'); + fileobj.option('showToolbar', !args.isChecked); + } + hideShowFooter(event) { + let args = event.detail; + let fileobj = $('#fileexplorer').ejFileExplorer('instance'); + fileobj.option('showFooter', !args.isChecked); + } + hideShowTreeView(event) { + let args = event.detail; + let fileobj = $('#fileexplorer').ejFileExplorer('instance'); + fileobj.option('showNavigationPane', !args.isChecked); + } + hideShowContextMenu(event) { + let args = event.detail; + let fileobj = $('#fileexplorer').ejFileExplorer('instance'); + fileobj.option('showContextMenu', !args.isChecked); + } } diff --git a/sample/src/samples/fileexplorer/Localization.js b/sample/src/samples/fileexplorer/Localization.js index 3515c1c7b..4a953358d 100644 --- a/sample/src/samples/fileexplorer/Localization.js +++ b/sample/src/samples/fileexplorer/Localization.js @@ -1,228 +1,227 @@ export class Localization { - constructor() { - this.path = 'http://mvc.syncfusion.com/ODataServices/FileBrowser/'; - this.ajaxAction = 'http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction'; - this.width = '100%'; - this.height = '100%'; - this.target = 'localelist'; - this.localeValue = 'en-US'; - ej.FileExplorer.Locale['de-DE'] = { - EmptyResult: "Keine Artikel entsprechen Ihrer Suche nach", - EmptyFolder:"Dieser Ordner ist leer", - Back: 'rückwärts', - Forward: 'Nach Vorne', - Upward: 'nach oben', - Refresh: 'erfrischen', - Addressbar: 'Adressleiste', - Upload: 'hochladen', - Rename: 'umbenennen', - Delete: 'löschen', - Download: 'herunterladen', - Error: 'Fehler', - Cut: 'Schnitt', - Copy: 'Kopie', - Paste: 'kleben', - Details: 'Einzelheiten', - Searchbar: 'Searchbar', - Open: 'geöffnet', - Search: 'Suche', - NewFolder: 'neuer Ordner', - SelectedFileUrl: 'Web-Adresse', - SelectedFileName: 'Titel', - ImageWidth: 'Breite', - ImageHeight: 'Höhe', - Insert: 'Insert', - Cancel: 'Rückgängig Machen', - RenameAlert: 'Bitte geben Sie neuen Namen', - NewFolderAlert: 'Geben Sie den neuen Ordnernamen ein', - ContextMenuOpen: 'geöffnet', - ContextMenuNewFolder: 'Neuer Ordner', - ContextMenuDelete: 'löschen', - ContextMenuRename: 'umbenennen', - ContextMenuUpload: 'hochladen', - ContextMenuDownload: 'Herunterladen', - ContextMenuCut: 'Schnitt', - ContextMenuCopy: 'Kopie', - ContextMenuPaste: 'kleben', - ContextMenuGetinfo: 'Ausführliche Infos', - ContextMenuRefresh: 'erfrischen', - ContextMenuOpenFolderLocation: 'Öffnen Sie Ordner', - Item: ' Artikel', - Items: ' Angebote', - Selected: 'ausgewählt', - Permission: 'Erlaubnis', - OkButton: 'Ok', - CancelButton: 'Rückgängig machen', - YesToAllButton: 'Ja zu allem', - NoToAllButton: 'Nein, alle', - YesButton: 'Ja', - NoButton: 'Unterlassen Sie', - Size: 'Größe', - Grid: 'Gitter Ansicht', - Tile: 'Kachelansicht', - LargeIcons: 'Große Icons', - Layout: 'Gestaltung', - SkipButton: 'Überspringen', - ErrorOnFolderCreation: 'Dieses Ziel ist bereits ein Ordner mit dem Namen "{0}". Möchten Sie diesen Ordner Inhalte mit bereits vorhandenen Ordner "{0}" zusammenführen möchten?', - InvalidFileName: 'Ein Dateiname darf keines der folgenden Zeichen enthalten: \\/:*?\'<>|', - GeneralError: 'Bitte beachten Sie Browser Konsolenfenster für weitere Informationen', - ErrorPath: 'Fileexplorer kann nicht finden {0}. Überprüfen Sie die Schreibweise und versuchen Sie es erneut.', - ReplaceAlert: 'Datei mit dem Namen "{0}" ist bereits vorhanden. Ersetzen Sie alte Datei durch eine neue?', - DuplicateAlert: 'Es gibt bereits eine Datei mit dem gleichen Namen "{0}". Möchten Sie diese Datei mit doppelten Namen erstellen möchten', - DuplicateFileCreation: 'Es gibt bereits eine Datei mit dem gleichen Namen in diesem Ort. Möchten Sie umbenennen "{0}" bis "{1}" suchen?', - DeleteFolder: ' Sind Sie sicher, dass Sie löschen möchten ', - DeleteMultipleFolder: 'Sind Sie sicher, dass Sie diese {0} Einträge löschen?', - CancelPasteAction: 'Der Zielordner ist ein Unterordner des Quellordners.', - Name: 'Namen', - Location: 'Ort', - Type: 'Gegenstandsart', - Created: 'Erstellt', - Modified: 'geändert', - DialogCloseToolTip: 'schließen', - UploadSettings: { - buttonText: { - upload: 'hochladen', - browse: 'blättern', - cancel: 'Rückgängig Machen', - close: 'schließen' - }, - dialogText: { - title: 'hochladen Box', - name: 'Name', - size: 'Größe', - status: 'Status' - }, - cancelToolTip: 'stornieren', - removeToolTip: 'entfernen', - retryToolTip: 'wiederholen', - completedToolTip: 'fertiggestellt', - failedToolTip: 'fehlgeschlagen', - closeToolTip: 'schließen' - } - }; - ej.FileExplorer.Locale['ar-SA'] = { - EmptyResult: "لا توجد عناصر تطابق بحثك", - EmptyFolder:"هذا المجلد فارغ", - Back: 'الى الوراء', - Forward: 'إلى الأمام', - Upward: 'فوق', - Refresh: 'تحديث', - Addressbar: 'شريط العنوان', - Upload: 'تحميل', - Rename: 'إعادة تسمية', - Delete: 'حذف', - Download: 'تحميل', - Error: 'خطأ', - Cut: 'قطع', - Copy: 'نسخة', - Paste: 'لصق', - Details: 'تفاصيل', - Searchbar: 'شريط البحث', - Open: 'فتح', - Search: 'بحث', - NewFolder: 'ملف جديد', - Size: 'حجم', - SelectedFileUrl: 'العنوان على شبكة الإنترنت', - SelectedFileName: 'لقب', - ImageWidth: 'عرض', - ImageHeight: 'ارتفاع', - Insert: 'أدخل', - Cancel: 'خراب', - RenameAlert: 'الرجاء إدخال اسم جديد', - NewFolderAlert: 'الرجاء إدخال اسم المجلد الجديد', - ContextMenuOpen: 'فتح', - ContextMenuNewFolder: 'ملف جديد', - ContextMenuDelete: 'حذف', - ContextMenuRename: 'إعادة تسمية', - ContextMenuUpload: 'تحميل', - ContextMenuDownload: 'تحميل', - ContextMenuCut: 'قطع', - ContextMenuCopy: 'نسخة', - ContextMenuPaste: 'لصق', - ContextMenuGetinfo: 'يحصل على معلومات', - ContextMenuRefresh: 'تحديث', - ContextMenuOpenFolderLocation: 'موقع المجلد المفتوح', - Item: 'العنصر', - Items: 'العناصر', - Selected: 'مختار', - Permission: 'تصريح', - ErrorOnFolderCreation: 'هذه الوجهة يحتوي بالفعل على المجلد المسمى "{0}". هل تريد دمج هذا المحتوى مجلد مع مجلد "{0}" موجود بالفعل؟', - InvalidFileName: '\\/:*\'<>| :لا يمكن أن يحتوي اسم أي من الأحرف التالية', - GeneralError: 'يرجى الاطلاع إطار وحدة التحكم متصفح للمزيد من المعلومات', - ErrorPath: 'ملف لا يمكن إكسبلورر العثور على "{0}". التدقيق الإملائي وحاول مرة أخرى.', - ReplaceAlert: 'الملف المسمى "{0}" موجود مسبقا. استبدال الملف القديم مع واحدة جديدة؟', - DuplicateAlert: 'هناك بالفعل ملف بنفس الاسم "{0}". هل ترغب في إنشاء الملف مع اسم مكرر', - DuplicateFileCreation: 'بالفعل هناك ملف بنفس الاسم في هذا الموقع. هل تريد إعادة تسمية "{0}" إلى"{1}"؟', - DeleteFolder: ' هل أنت متأكد أنك تريد حذف', - DeleteMultipleFolder: 'هل أنت متأكد أنك تريد حذف هذه البنود {0}؟', - CancelPasteAction: 'المجلد الوجهة فرعي من المجلد المصدر.', - OkButton: 'حسنا', - CancelButton: 'إلغاء', - YesToAllButton: 'نعم للكل', - NoToAllButton: 'لا للجميع', - YesButton: 'نعم', - NoButton: 'لا', - Grid: 'عرض الشبكة', - Tile: 'بلاط مشاهدة', - LargeIcons: 'رموز كبيرة', - Layout: 'تصميم', - SkipButton: 'تخطى', - Name: 'اسم', - Location: 'موقع', - Type: 'نوع العنصر', - Created: 'خلق', - Accessed: 'الوصول', - Modified: 'تعديل', - DialogCloseToolTip: 'أغلق', - UploadSettings: { - buttonText: { - upload: 'تحميل', - browse: 'تصفح', - cancel: 'إلغاء', - close: 'قريب' - }, - dialogText: { - title: 'تحميل صندوق', - name: 'اسم', - size: 'حجم', - status: 'الحالة' - }, - cancelToolTip: 'إلغاء', - removeToolTip: 'إزالة', - retryToolTip: 'إعادة المحاولة', - completedToolTip: 'الانتهاء', - failedToolTip: 'فشل', - closeToolTip: 'أغلق' - } - }; - } - get updateLocale() { - return this.localeValue; - } - set updateLocale(value) { - this.localeValue = value; - } - onChange(args) { - $('#fileexplorer').ejFileExplorer('model.enableRTL', (args.value === 'ar-SA' ? true : false)); - switch (args.detail.value) { - case 'de-DE': - $('#fileexplorer').ejFileExplorer({ - gridSettings: { columns: [{ field: 'name', headerText: 'Name' }, { field: 'type', headerText: 'Art' }, { field: 'dateModified', headerText: 'Änderungsdatum' }, { field: 'size', headerText: 'Größe' }] } - }); - break; - case 'en-US': - $('#fileexplorer').ejFileExplorer({ - gridSettings: { columns: [{ field: 'name', headerText: 'Name' }, { field: 'type', headerText: 'Type' }, { field: 'dateModified', headerText: 'Date Modified' }, { field: 'size', headerText: 'Size' }] } - }); - break; - case 'ar-SA': - $('#fileexplorer').ejFileExplorer({ - gridSettings: { columns: [{ field: 'name', headerText: 'اسم' }, { field: 'type', headerText: 'اكتب' }, { field: 'dateModified', headerText: 'تاريخ التعديل' }, { field: 'size', headerText: 'حجم' }] } - }); - break; - default : break; + constructor() { + this.path = 'http://mvc.syncfusion.com/ODataServices/FileBrowser/'; + this.ajaxAction = 'http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction'; + this.width = '100%'; + this.height = '100%'; + this.target = 'localelist'; + this.localeValue = 'en-US'; + ej.FileExplorer.Locale['de-DE'] = { + EmptyResult: 'Keine Artikel entsprechen Ihrer Suche nach', + EmptyFolder: 'Dieser Ordner ist leer', + Back: 'rückwärts', + Forward: 'Nach Vorne', + Upward: 'nach oben', + Refresh: 'erfrischen', + Addressbar: 'Adressleiste', + Upload: 'hochladen', + Rename: 'umbenennen', + Delete: 'löschen', + Download: 'herunterladen', + Error: 'Fehler', + Cut: 'Schnitt', + Copy: 'Kopie', + Paste: 'kleben', + Details: 'Einzelheiten', + Searchbar: 'Searchbar', + Open: 'geöffnet', + Search: 'Suche', + NewFolder: 'neuer Ordner', + SelectedFileUrl: 'Web-Adresse', + SelectedFileName: 'Titel', + ImageWidth: 'Breite', + ImageHeight: 'Höhe', + Insert: 'Insert', + Cancel: 'Rückgängig Machen', + RenameAlert: 'Bitte geben Sie neuen Namen', + NewFolderAlert: 'Geben Sie den neuen Ordnernamen ein', + ContextMenuOpen: 'geöffnet', + ContextMenuNewFolder: 'Neuer Ordner', + ContextMenuDelete: 'löschen', + ContextMenuRename: 'umbenennen', + ContextMenuUpload: 'hochladen', + ContextMenuDownload: 'Herunterladen', + ContextMenuCut: 'Schnitt', + ContextMenuCopy: 'Kopie', + ContextMenuPaste: 'kleben', + ContextMenuGetinfo: 'Ausführliche Infos', + ContextMenuRefresh: 'erfrischen', + ContextMenuOpenFolderLocation: 'Öffnen Sie Ordner', + Item: ' Artikel', + Items: ' Angebote', + Selected: 'ausgewählt', + Permission: 'Erlaubnis', + OkButton: 'Ok', + CancelButton: 'Rückgängig machen', + YesToAllButton: 'Ja zu allem', + NoToAllButton: 'Nein, alle', + YesButton: 'Ja', + NoButton: 'Unterlassen Sie', + Size: 'Größe', + Grid: 'Gitter Ansicht', + Tile: 'Kachelansicht', + LargeIcons: 'Große Icons', + Layout: 'Gestaltung', + SkipButton: 'Überspringen', + ErrorOnFolderCreation: 'Dieses Ziel ist bereits ein Ordner mit dem Namen "{0}". Möchten Sie diesen Ordner Inhalte mit bereits vorhandenen Ordner "{0}" zusammenführen möchten?', + InvalidFileName: 'Ein Dateiname darf keines der folgenden Zeichen enthalten: \\/:*?\'<>|', + GeneralError: 'Bitte beachten Sie Browser Konsolenfenster für weitere Informationen', + ErrorPath: 'Fileexplorer kann nicht finden {0}. Überprüfen Sie die Schreibweise und versuchen Sie es erneut.', + ReplaceAlert: 'Datei mit dem Namen "{0}" ist bereits vorhanden. Ersetzen Sie alte Datei durch eine neue?', + DuplicateAlert: 'Es gibt bereits eine Datei mit dem gleichen Namen "{0}". Möchten Sie diese Datei mit doppelten Namen erstellen möchten', + DuplicateFileCreation: 'Es gibt bereits eine Datei mit dem gleichen Namen in diesem Ort. Möchten Sie umbenennen "{0}" bis "{1}" suchen?', + DeleteFolder: ' Sind Sie sicher, dass Sie löschen möchten ', + DeleteMultipleFolder: 'Sind Sie sicher, dass Sie diese {0} Einträge löschen?', + CancelPasteAction: 'Der Zielordner ist ein Unterordner des Quellordners.', + Name: 'Namen', + Location: 'Ort', + Type: 'Gegenstandsart', + Created: 'Erstellt', + Modified: 'geändert', + DialogCloseToolTip: 'schließen', + UploadSettings: { + buttonText: { + upload: 'hochladen', + browse: 'blättern', + cancel: 'Rückgängig Machen', + close: 'schließen' + }, + dialogText: { + title: 'hochladen Box', + name: 'Name', + size: 'Größe', + status: 'Status' + }, + cancelToolTip: 'stornieren', + removeToolTip: 'entfernen', + retryToolTip: 'wiederholen', + completedToolTip: 'fertiggestellt', + failedToolTip: 'fehlgeschlagen', + closeToolTip: 'schließen' + } + }; + ej.FileExplorer.Locale['ar-SA'] = { + EmptyResult: 'لا توجد عناصر تطابق بحثك', + EmptyFolder: 'هذا المجلد فارغ', + Back: 'الى الوراء', + Forward: 'إلى الأمام', + Upward: 'فوق', + Refresh: 'تحديث', + Addressbar: 'شريط العنوان', + Upload: 'تحميل', + Rename: 'إعادة تسمية', + Delete: 'حذف', + Download: 'تحميل', + Error: 'خطأ', + Cut: 'قطع', + Copy: 'نسخة', + Paste: 'لصق', + Details: 'تفاصيل', + Searchbar: 'شريط البحث', + Open: 'فتح', + Search: 'بحث', + NewFolder: 'ملف جديد', + Size: 'حجم', + SelectedFileUrl: 'العنوان على شبكة الإنترنت', + SelectedFileName: 'لقب', + ImageWidth: 'عرض', + ImageHeight: 'ارتفاع', + Insert: 'أدخل', + Cancel: 'خراب', + RenameAlert: 'الرجاء إدخال اسم جديد', + NewFolderAlert: 'الرجاء إدخال اسم المجلد الجديد', + ContextMenuOpen: 'فتح', + ContextMenuNewFolder: 'ملف جديد', + ContextMenuDelete: 'حذف', + ContextMenuRename: 'إعادة تسمية', + ContextMenuUpload: 'تحميل', + ContextMenuDownload: 'تحميل', + ContextMenuCut: 'قطع', + ContextMenuCopy: 'نسخة', + ContextMenuPaste: 'لصق', + ContextMenuGetinfo: 'يحصل على معلومات', + ContextMenuRefresh: 'تحديث', + ContextMenuOpenFolderLocation: 'موقع المجلد المفتوح', + Item: 'العنصر', + Items: 'العناصر', + Selected: 'مختار', + Permission: 'تصريح', + ErrorOnFolderCreation: 'هذه الوجهة يحتوي بالفعل على المجلد المسمى "{0}". هل تريد دمج هذا المحتوى مجلد مع مجلد "{0}" موجود بالفعل؟', + InvalidFileName: '\\/:*\'<>| :لا يمكن أن يحتوي اسم أي من الأحرف التالية', + GeneralError: 'يرجى الاطلاع إطار وحدة التحكم متصفح للمزيد من المعلومات', + ErrorPath: 'ملف لا يمكن إكسبلورر العثور على "{0}". التدقيق الإملائي وحاول مرة أخرى.', + ReplaceAlert: 'الملف المسمى "{0}" موجود مسبقا. استبدال الملف القديم مع واحدة جديدة؟', + DuplicateAlert: 'هناك بالفعل ملف بنفس الاسم "{0}". هل ترغب في إنشاء الملف مع اسم مكرر', + DuplicateFileCreation: 'بالفعل هناك ملف بنفس الاسم في هذا الموقع. هل تريد إعادة تسمية "{0}" إلى"{1}"؟', + DeleteFolder: ' هل أنت متأكد أنك تريد حذف', + DeleteMultipleFolder: 'هل أنت متأكد أنك تريد حذف هذه البنود {0}؟', + CancelPasteAction: 'المجلد الوجهة فرعي من المجلد المصدر.', + OkButton: 'حسنا', + CancelButton: 'إلغاء', + YesToAllButton: 'نعم للكل', + NoToAllButton: 'لا للجميع', + YesButton: 'نعم', + NoButton: 'لا', + Grid: 'عرض الشبكة', + Tile: 'بلاط مشاهدة', + LargeIcons: 'رموز كبيرة', + Layout: 'تصميم', + SkipButton: 'تخطى', + Name: 'اسم', + Location: 'موقع', + Type: 'نوع العنصر', + Created: 'خلق', + Accessed: 'الوصول', + Modified: 'تعديل', + DialogCloseToolTip: 'أغلق', + UploadSettings: { + buttonText: { + upload: 'تحميل', + browse: 'تصفح', + cancel: 'إلغاء', + close: 'قريب' + }, + dialogText: { + title: 'تحميل صندوق', + name: 'اسم', + size: 'حجم', + status: 'الحالة' + }, + cancelToolTip: 'إلغاء', + removeToolTip: 'إزالة', + retryToolTip: 'إعادة المحاولة', + completedToolTip: 'الانتهاء', + failedToolTip: 'فشل', + closeToolTip: 'أغلق' } - $('#fileexplorer').ejFileExplorer('model.locale', args.value); + }; + } + get updateLocale() { + return this.localeValue; + } + set updateLocale(value) { + this.localeValue = value; + } + onChange(args) { + $('#fileexplorer').ejFileExplorer('model.enableRTL', (args.value === 'ar-SA' ? true : false)); + switch (args.detail.value) { + case 'de-DE': + $('#fileexplorer').ejFileExplorer({ + gridSettings: { columns: [{ field: 'name', headerText: 'Name' }, { field: 'type', headerText: 'Art' }, { field: 'dateModified', headerText: 'Änderungsdatum' }, { field: 'size', headerText: 'Größe' }] } + }); + break; + case 'en-US': + $('#fileexplorer').ejFileExplorer({ + gridSettings: { columns: [{ field: 'name', headerText: 'Name' }, { field: 'type', headerText: 'Type' }, { field: 'dateModified', headerText: 'Date Modified' }, { field: 'size', headerText: 'Size' }] } + }); + break; + case 'ar-SA': + $('#fileexplorer').ejFileExplorer({ + gridSettings: { columns: [{ field: 'name', headerText: 'اسم' }, { field: 'type', headerText: 'اكتب' }, { field: 'dateModified', headerText: 'تاريخ التعديل' }, { field: 'size', headerText: 'حجم' }] } + }); + break; + default : break; } + $('#fileexplorer').ejFileExplorer('model.locale', args.value); + } } - diff --git a/sample/src/samples/schedule/time-scale.js b/sample/src/samples/schedule/time-scale.js index 7887a15ff..9c9d05441 100644 --- a/sample/src/samples/schedule/time-scale.js +++ b/sample/src/samples/schedule/time-scale.js @@ -1,171 +1,171 @@ export class TimeScale { - changeTime() { - $('#Schedule1').ejSchedule({ - timeScale: { - minorSlotCount: parseInt($('#minorslot').val()), // eslint-disable-line radix - majorSlot: parseInt($('#majorslot').val()) // eslint-disable-line radix - } - }); - } + changeTime() { + $('#Schedule1').ejSchedule({ + timeScale: { + minorSlotCount: parseInt($('#minorslot').val()), // eslint-disable-line radix + majorSlot: parseInt($('#majorslot').val()) // eslint-disable-line radix + } + }); + } - constructor() { - this.majorSlotTimings = 'majorslotlist'; - this.minorSlotTimings = 'minorslotlist'; - this.TimeInterval = { - minorSlotCount: 5, - majorSlot: 60 - }; - this.AppointmentList = { - dataSource: [ - { - Id: 100, - Subject: 'Bering Sea Gold', - StartTime: '2014/4/5 10:00:00', - EndTime: '2014/4/5 11:00:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '1,3' - }, - { - Id: 102, - Subject: 'What Happened Next?', - StartTime: '2014/4/4 01:00:00', - EndTime: '2014/4/4 01:30:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '3,6' - }, { - Id: 104, - Subject: 'Daily Planet', - StartTime: '2014/4/3 01:00:00', - EndTime: '2014/4/3 02:00:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '1,3,6' - }, { - Id: 105, - Subject: 'Alaska: The Last Frontier', - StartTime: '2014/4/3 04:00:00', - EndTime: '2014/4/3 05:00:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '2,3,4,5' - }, { - Id: 106, - Subject: 'Deadest Catch', - StartTime: '2014/4/3 16:00:00', - EndTime: '2014/4/3 17:00:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '2,4,6,1' - }, { - Id: 107, - Subject: 'MayDay', - StartTime: '2014/3/30 06:30:00', - EndTime: '2014/3/30 07:30:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '5,3' - }, { - Id: 108, - Subject: "How It's Made", - StartTime: '2014/4/1 06:30:00', - EndTime: '2014/4/1 07:30:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: true, - RecurrenceRule: 'FREQ=WEEKLY;BYDAY=MO,TU;INTERVAL=1;COUNT=15', - Categorize: '2,3,6' - }, { - Id: 110, - Subject: 'MoonShiners', - StartTime: '2014/4/2 02:00:00', - EndTime: '2014/4/2 02:30:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: true, - RecurrenceRule: 'FREQ=DAILY;INTERVAL=1;COUNT=5', - Categorize: '6,2,5' - }, { - Id: 111, - Subject: 'Close Encounters', - StartTime: '2014/3/30 14:00:00', - EndTime: '2014/3/30 15:30:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: true, - RecurrenceRule: 'FREQ=WEEKLY;BYDAY=MO,TH;INTERVAL=1;COUNT=5', - Categorize: '3,4,5' - }, { - Id: 113, - Subject: 'HighWay Thru Hell', - StartTime: '2014/4/1 03:00:00', - EndTime: '2014/4/1 07:00:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '5,6,3' - }, { - Id: 114, - Subject: 'Moon Shiners', - StartTime: '2014/4/2 04:20:00', - EndTime: '2014/4/2 05:50:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: false, - Categorize: '1,2,3,4,5,6' - }, { - Id: 115, - Subject: 'Cash Cab', - StartTime: '2014/3/30 15:00:00', - EndTime: '2014/3/30 16:30:00', - StartTimeZone: 'UTC +05:30', - EndTimeZone: 'UTC +05:30', - Description: '', - AllDay: false, - Recurrence: true, - RecurrenceRule: 'FREQ=DAILY;INTERVAL=1;COUNT=5', - Categorize: '1,3' + constructor() { + this.majorSlotTimings = 'majorslotlist'; + this.minorSlotTimings = 'minorslotlist'; + this.TimeInterval = { + minorSlotCount: 5, + majorSlot: 60 + }; + this.AppointmentList = { + dataSource: [ + { + Id: 100, + Subject: 'Bering Sea Gold', + StartTime: '2014/4/5 10:00:00', + EndTime: '2014/4/5 11:00:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '1,3' + }, + { + Id: 102, + Subject: 'What Happened Next?', + StartTime: '2014/4/4 01:00:00', + EndTime: '2014/4/4 01:30:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '3,6' + }, { + Id: 104, + Subject: 'Daily Planet', + StartTime: '2014/4/3 01:00:00', + EndTime: '2014/4/3 02:00:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '1,3,6' + }, { + Id: 105, + Subject: 'Alaska: The Last Frontier', + StartTime: '2014/4/3 04:00:00', + EndTime: '2014/4/3 05:00:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '2,3,4,5' + }, { + Id: 106, + Subject: 'Deadest Catch', + StartTime: '2014/4/3 16:00:00', + EndTime: '2014/4/3 17:00:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '2,4,6,1' + }, { + Id: 107, + Subject: 'MayDay', + StartTime: '2014/3/30 06:30:00', + EndTime: '2014/3/30 07:30:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '5,3' + }, { + Id: 108, + Subject: "How It's Made", + StartTime: '2014/4/1 06:30:00', + EndTime: '2014/4/1 07:30:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: true, + RecurrenceRule: 'FREQ=WEEKLY;BYDAY=MO,TU;INTERVAL=1;COUNT=15', + Categorize: '2,3,6' + }, { + Id: 110, + Subject: 'MoonShiners', + StartTime: '2014/4/2 02:00:00', + EndTime: '2014/4/2 02:30:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: true, + RecurrenceRule: 'FREQ=DAILY;INTERVAL=1;COUNT=5', + Categorize: '6,2,5' + }, { + Id: 111, + Subject: 'Close Encounters', + StartTime: '2014/3/30 14:00:00', + EndTime: '2014/3/30 15:30:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: true, + RecurrenceRule: 'FREQ=WEEKLY;BYDAY=MO,TH;INTERVAL=1;COUNT=5', + Categorize: '3,4,5' + }, { + Id: 113, + Subject: 'HighWay Thru Hell', + StartTime: '2014/4/1 03:00:00', + EndTime: '2014/4/1 07:00:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '5,6,3' + }, { + Id: 114, + Subject: 'Moon Shiners', + StartTime: '2014/4/2 04:20:00', + EndTime: '2014/4/2 05:50:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: false, + Categorize: '1,2,3,4,5,6' + }, { + Id: 115, + Subject: 'Cash Cab', + StartTime: '2014/3/30 15:00:00', + EndTime: '2014/3/30 16:30:00', + StartTimeZone: 'UTC +05:30', + EndTimeZone: 'UTC +05:30', + Description: '', + AllDay: false, + Recurrence: true, + RecurrenceRule: 'FREQ=DAILY;INTERVAL=1;COUNT=5', + Categorize: '1,3' - }], - id: 'Id', - subject: 'Subject', - startTime: 'StartTime', - endTime: 'EndTime', - startTimeZone: 'StartTimeZone', - endTimeZone: 'EndTimeZone', - description: 'Description', - allDay: 'AllDay', - recurrence: 'Recurrence', - recurrenceRule: 'RecurrenceRule' - }; - } + }], + id: 'Id', + subject: 'Subject', + startTime: 'StartTime', + endTime: 'EndTime', + startTimeZone: 'StartTimeZone', + endTimeZone: 'EndTimeZone', + description: 'Description', + allDay: 'AllDay', + recurrence: 'Recurrence', + recurrenceRule: 'RecurrenceRule' + }; + } } diff --git a/sample/src/samples/spreadsheet/default-functionalities.js b/sample/src/samples/spreadsheet/default-functionalities.js index 431bf5dbb..85031b2bd 100644 --- a/sample/src/samples/spreadsheet/default-functionalities.js +++ b/sample/src/samples/spreadsheet/default-functionalities.js @@ -19,9 +19,9 @@ export class DefaultFunctionalities { } } openfailure(args) { - let xlObj = $("#Spreadsheet1").data("ejSpreadsheet"); - let alertDlg = $("#" + xlObj._id + "_alertdlg"); - xlObj._renderAlertDlgContent(alertDlg, "Alert", args.detail.statusText); - alertDlg.ejDialog("open"); + let xlObj = $('#Spreadsheet1').data('ejSpreadsheet'); + let alertDlg = $('#' + xlObj._id + '_alertdlg'); + xlObj._renderAlertDlgContent(alertDlg, 'Alert', args.detail.statusText); + alertDlg.ejDialog('open'); } } diff --git a/sample/src/samples/spreadsheet/import-export.js b/sample/src/samples/spreadsheet/import-export.js index b8a248e79..6d9edb689 100644 --- a/sample/src/samples/spreadsheet/import-export.js +++ b/sample/src/samples/spreadsheet/import-export.js @@ -1,4 +1,5 @@ import '../scripts/xljsondata.js'; + export class ImportExport { constructor() { let filteredData = ej.DataManager(window.importData).executeLocal(ej.Query().take(20).select('Order ID', 'Customer ID', 'Employee ID', 'Ship Name', 'Ship City', 'Ship Address'));//eslint-disable-line new-cap @@ -31,9 +32,9 @@ export class ImportExport { } } openfailure(args) { - let xlObj = $("#Spreadsheet1").data("ejSpreadsheet"); - let alertDlg = $("#" + xlObj._id + "_alertdlg"); - xlObj._renderAlertDlgContent(alertDlg, "Alert", args.detail.statusText); - alertDlg.ejDialog("open"); + let xlObj = $('#Spreadsheet1').data('ejSpreadsheet'); + let alertDlg = $('#' + xlObj._id + '_alertdlg'); + xlObj._renderAlertDlgContent(alertDlg, 'Alert', args.detail.statusText); + alertDlg.ejDialog('open'); } } diff --git a/sample/src/samples/treeview/Events.js b/sample/src/samples/treeview/Events.js index 9a5e3edd1..959a490b9 100644 --- a/sample/src/samples/treeview/Events.js +++ b/sample/src/samples/treeview/Events.js @@ -1,42 +1,42 @@ export class Events { - nodeExpand(args) { - this.logger.log($.trim(args.detail.value) + ' node is expanded'); - } - nodeCollapse(args) { - this.logger.log($.trim(args.detail.value) + ' node is collapsed'); - } - beforeExpand(args) { - this.logger.log('BeforeExpand event is fired for ' + $.trim(args.detail.value) + ' node.'); - } - beforeCollapse(args) { - this.logger.log('BeforeCollapse event is fired for ' + $.trim(args.detail.value) + ' node.'); - } - nodeSelect(args) { - this.logger.log($.trim(args.detail.value) + ' node is selected.'); - } - nodeCheck(args) { - this.logger.log($.trim(args.detail.value) + ' node is checked.'); - } - nodeUncheck(args) { - this.logger.log($.trim(args.detail.value) + ' node is unchecked.'); - } - nodeDragStart(args) { - this.logger.log($.trim(args.detail.targetElementData.text) + ' node dragging has been started.'); - } - nodeDrag(args) { - this.logger.log($.trim(args.detail.draggedElementData.text) + ' node is being dragged.'); - } - nodeDragStop(args) { - this.logger.log($.trim(args.detail.draggedElementData.text) + ' node dragging has been stopped.'); - } - nodeDropped(args) { - let targetText = (args.detail.targetElementData.text !== '') ? $.trim(args.detail.targetElementData.text) : 'Treeview'; - this.logger.log($.trim(args.detail.droppedElementData.text) + ' node has been dropped to ' + targetText + '.'); - } - beforeEdit(args) { - this.logger.log('BeforeEdit event is fired for ' + $.trim(args.detail.currentElement.text()) + ' node.'); - } - nodeEdit(args) { - this.logger.log($.trim(args.detail.oldText) +'Node has been edited to ' + $.trim(args.detail.newText)); - } + nodeExpand(args) { + this.logger.log($.trim(args.detail.value) + ' node is expanded'); + } + nodeCollapse(args) { + this.logger.log($.trim(args.detail.value) + ' node is collapsed'); + } + beforeExpand(args) { + this.logger.log('BeforeExpand event is fired for ' + $.trim(args.detail.value) + ' node.'); + } + beforeCollapse(args) { + this.logger.log('BeforeCollapse event is fired for ' + $.trim(args.detail.value) + ' node.'); + } + nodeSelect(args) { + this.logger.log($.trim(args.detail.value) + ' node is selected.'); + } + nodeCheck(args) { + this.logger.log($.trim(args.detail.value) + ' node is checked.'); + } + nodeUncheck(args) { + this.logger.log($.trim(args.detail.value) + ' node is unchecked.'); + } + nodeDragStart(args) { + this.logger.log($.trim(args.detail.targetElementData.text) + ' node dragging has been started.'); + } + nodeDrag(args) { + this.logger.log($.trim(args.detail.draggedElementData.text) + ' node is being dragged.'); + } + nodeDragStop(args) { + this.logger.log($.trim(args.detail.draggedElementData.text) + ' node dragging has been stopped.'); + } + nodeDropped(args) { + let targetText = (args.detail.targetElementData.text !== '') ? $.trim(args.detail.targetElementData.text) : 'Treeview'; + this.logger.log($.trim(args.detail.droppedElementData.text) + ' node has been dropped to ' + targetText + '.'); + } + beforeEdit(args) { + this.logger.log('BeforeEdit event is fired for ' + $.trim(args.detail.currentElement.text()) + ' node.'); + } + nodeEdit(args) { + this.logger.log($.trim(args.detail.oldText) + 'Node has been edited to ' + $.trim(args.detail.newText)); + } } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..4adcc86c5 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "es2015", + "module": "es2015", + "experimentalDecorators": true, + "emitDecoratorMetadata": false, + "moduleResolution": "node", + "stripInternal": true, + "preserveConstEnums": true, + "listFiles": true, + "declaration": true, + "removeComments": true, + "lib": ["es2015", "dom"] + }, + "exclude": [ + "node_modules", + "dist", + "build", + "doc", + "test", + "config.js", + "gulpfile.js", + "karma.conf.js" + ] +} diff --git a/typings.json b/typings.json new file mode 100644 index 000000000..c2bbf75d6 --- /dev/null +++ b/typings.json @@ -0,0 +1,4 @@ +{ + "name": "aurelia-kendoui-bridge", + "main": "dist/amd/aurelia-kendoui-bridge.d.ts" +}