aurelia-syncfusion-ej2-bridge 0.1.0-beta.22 → 0.1.0-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/dist/commonjs/common/constants.d.ts +0 -4
- package/dist/commonjs/common/constants.js +0 -7
- package/dist/commonjs/common/controlBase.d.ts +0 -37
- package/dist/commonjs/common/controlBase.js +0 -162
- package/dist/commonjs/common/controlContainer.d.ts +0 -10
- package/dist/commonjs/common/controlContainer.js +0 -19
- package/dist/commonjs/common/syncfusionWrapper.d.ts +0 -15
- package/dist/commonjs/common/syncfusionWrapper.js +0 -48
- package/dist/commonjs/configBuider.d.ts +0 -39
- package/dist/commonjs/configBuider.js +0 -214
- package/dist/commonjs/controlBindings.d.ts +0 -140
- package/dist/commonjs/controlBindings.js +0 -152
- package/dist/commonjs/index.d.ts +0 -6
- package/dist/commonjs/index.js +0 -17
- package/dist/commonjs/interfaces/IEJ2WidgetBridge.d.ts +0 -6
- package/dist/commonjs/interfaces/IEJ2WidgetBridge.js +0 -2
- package/dist/commonjs/interfaces/IEj2Uploader.d.ts +0 -17
- package/dist/commonjs/interfaces/IEj2Uploader.js +0 -2
- package/dist/commonjs/utilities/decorator.d.ts +0 -2
- package/dist/commonjs/utilities/decorator.js +0 -64
- package/dist/commonjs/widgets/accordion/ej2-accordion.d.ts +0 -7
- package/dist/commonjs/widgets/accordion/ej2-accordion.js +0 -31
- package/dist/commonjs/widgets/autoComplete/ej2-autoComplete.d.ts +0 -7
- package/dist/commonjs/widgets/autoComplete/ej2-autoComplete.js +0 -29
- package/dist/commonjs/widgets/button/ej2-button.d.ts +0 -14
- package/dist/commonjs/widgets/button/ej2-button.js +0 -55
- package/dist/commonjs/widgets/checkbox/ej2-checkbox-list.d.ts +0 -17
- package/dist/commonjs/widgets/checkbox/ej2-checkbox-list.js +0 -77
- package/dist/commonjs/widgets/checkbox/ej2-checkbox.d.ts +0 -12
- package/dist/commonjs/widgets/checkbox/ej2-checkbox.js +0 -58
- package/dist/commonjs/widgets/comboBox/ej2-comboBox.d.ts +0 -8
- package/dist/commonjs/widgets/comboBox/ej2-comboBox.js +0 -35
- package/dist/commonjs/widgets/dashboardLayout/ej2-dashboardLayout.d.ts +0 -7
- package/dist/commonjs/widgets/dashboardLayout/ej2-dashboardLayout.js +0 -29
- package/dist/commonjs/widgets/datePicker/ej2-DatePicker.d.ts +0 -8
- package/dist/commonjs/widgets/datePicker/ej2-DatePicker.js +0 -35
- package/dist/commonjs/widgets/dateRangePicker/ej2-dateRangePicker.d.ts +0 -8
- package/dist/commonjs/widgets/dateRangePicker/ej2-dateRangePicker.js +0 -37
- package/dist/commonjs/widgets/dateTimePicker/ej2-dateTimePicker.d.ts +0 -8
- package/dist/commonjs/widgets/dateTimePicker/ej2-dateTimePicker.js +0 -35
- package/dist/commonjs/widgets/dropDownList/ej2-dropDownList.d.ts +0 -9
- package/dist/commonjs/widgets/dropDownList/ej2-dropDownList.js +0 -39
- package/dist/commonjs/widgets/dropDownTree/ej2-dropDownTree.d.ts +0 -8
- package/dist/commonjs/widgets/dropDownTree/ej2-dropDownTree.js +0 -35
- package/dist/commonjs/widgets/fileManager/ej2-fileManager.d.ts +0 -9
- package/dist/commonjs/widgets/fileManager/ej2-fileManager.js +0 -34
- package/dist/commonjs/widgets/grid/ej2-grid.d.ts +0 -8
- package/dist/commonjs/widgets/grid/ej2-grid.js +0 -97
- package/dist/commonjs/widgets/listView/ej2-listView.d.ts +0 -8
- package/dist/commonjs/widgets/listView/ej2-listView.js +0 -34
- package/dist/commonjs/widgets/maskedTextBox/ej2-maskedTextBox.d.ts +0 -8
- package/dist/commonjs/widgets/maskedTextBox/ej2-maskedTextBox.js +0 -37
- package/dist/commonjs/widgets/multiSelect/ej2-multiSelect.d.ts +0 -10
- package/dist/commonjs/widgets/multiSelect/ej2-multiSelect.js +0 -44
- package/dist/commonjs/widgets/numericTextBox/ej2-numericTextBox.d.ts +0 -8
- package/dist/commonjs/widgets/numericTextBox/ej2-numericTextBox.js +0 -35
- package/dist/commonjs/widgets/pager/ej2-pager.d.ts +0 -7
- package/dist/commonjs/widgets/pager/ej2-pager.js +0 -29
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.d.ts +0 -17
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.js +0 -64
- package/dist/commonjs/widgets/radio/ej2-radio.d.ts +0 -13
- package/dist/commonjs/widgets/radio/ej2-radio.js +0 -54
- package/dist/commonjs/widgets/schedule/ej2-schedule.d.ts +0 -8
- package/dist/commonjs/widgets/schedule/ej2-schedule.js +0 -32
- package/dist/commonjs/widgets/sidebar/ej2-sidebar.d.ts +0 -7
- package/dist/commonjs/widgets/sidebar/ej2-sidebar.js +0 -30
- package/dist/commonjs/widgets/slider/ej2-slider.d.ts +0 -8
- package/dist/commonjs/widgets/slider/ej2-slider.js +0 -37
- package/dist/commonjs/widgets/splitter/ej2-splitter.d.ts +0 -7
- package/dist/commonjs/widgets/splitter/ej2-splitter.js +0 -29
- package/dist/commonjs/widgets/switch/ej2-switch.d.ts +0 -11
- package/dist/commonjs/widgets/switch/ej2-switch.js +0 -52
- package/dist/commonjs/widgets/textBox/ej2-textBox.d.ts +0 -8
- package/dist/commonjs/widgets/textBox/ej2-textBox.js +0 -37
- package/dist/commonjs/widgets/timePicker/ej2-timePicker.d.ts +0 -8
- package/dist/commonjs/widgets/timePicker/ej2-timePicker.js +0 -35
- package/dist/commonjs/widgets/treeView/ej2-treeView.d.ts +0 -7
- package/dist/commonjs/widgets/treeView/ej2-treeView.js +0 -29
- package/dist/commonjs/widgets/uploader/ej2-uploader.d.ts +0 -50
- package/dist/commonjs/widgets/uploader/ej2-uploader.js +0 -346
- package/dist/native-modules/common/constants.d.ts +0 -4
- package/dist/native-modules/common/constants.js +0 -4
- package/dist/native-modules/common/controlBase.d.ts +0 -37
- package/dist/native-modules/common/controlBase.js +0 -159
- package/dist/native-modules/common/controlContainer.d.ts +0 -10
- package/dist/native-modules/common/controlContainer.js +0 -15
- package/dist/native-modules/common/syncfusionWrapper.d.ts +0 -15
- package/dist/native-modules/common/syncfusionWrapper.js +0 -44
- package/dist/native-modules/configBuider.d.ts +0 -39
- package/dist/native-modules/configBuider.js +0 -210
- package/dist/native-modules/controlBindings.d.ts +0 -140
- package/dist/native-modules/controlBindings.js +0 -149
- package/dist/native-modules/index.d.ts +0 -6
- package/dist/native-modules/index.js +0 -12
- package/dist/native-modules/interfaces/IEJ2WidgetBridge.d.ts +0 -6
- package/dist/native-modules/interfaces/IEJ2WidgetBridge.js +0 -0
- package/dist/native-modules/interfaces/IEj2Uploader.d.ts +0 -17
- package/dist/native-modules/interfaces/IEj2Uploader.js +0 -0
- package/dist/native-modules/utilities/decorator.d.ts +0 -2
- package/dist/native-modules/utilities/decorator.js +0 -59
- package/dist/native-modules/widgets/accordion/ej2-accordion.d.ts +0 -7
- package/dist/native-modules/widgets/accordion/ej2-accordion.js +0 -28
- package/dist/native-modules/widgets/autoComplete/ej2-autoComplete.d.ts +0 -7
- package/dist/native-modules/widgets/autoComplete/ej2-autoComplete.js +0 -26
- package/dist/native-modules/widgets/button/ej2-button.d.ts +0 -14
- package/dist/native-modules/widgets/button/ej2-button.js +0 -52
- package/dist/native-modules/widgets/checkbox/ej2-checkbox-list.d.ts +0 -17
- package/dist/native-modules/widgets/checkbox/ej2-checkbox-list.js +0 -74
- package/dist/native-modules/widgets/checkbox/ej2-checkbox.d.ts +0 -12
- package/dist/native-modules/widgets/checkbox/ej2-checkbox.js +0 -55
- package/dist/native-modules/widgets/comboBox/ej2-comboBox.d.ts +0 -8
- package/dist/native-modules/widgets/comboBox/ej2-comboBox.js +0 -32
- package/dist/native-modules/widgets/dashboardLayout/ej2-dashboardLayout.d.ts +0 -7
- package/dist/native-modules/widgets/dashboardLayout/ej2-dashboardLayout.js +0 -26
- package/dist/native-modules/widgets/datePicker/ej2-DatePicker.d.ts +0 -8
- package/dist/native-modules/widgets/datePicker/ej2-DatePicker.js +0 -32
- package/dist/native-modules/widgets/dateRangePicker/ej2-dateRangePicker.d.ts +0 -8
- package/dist/native-modules/widgets/dateRangePicker/ej2-dateRangePicker.js +0 -34
- package/dist/native-modules/widgets/dateTimePicker/ej2-dateTimePicker.d.ts +0 -8
- package/dist/native-modules/widgets/dateTimePicker/ej2-dateTimePicker.js +0 -32
- package/dist/native-modules/widgets/dropDownList/ej2-dropDownList.d.ts +0 -9
- package/dist/native-modules/widgets/dropDownList/ej2-dropDownList.js +0 -36
- package/dist/native-modules/widgets/dropDownTree/ej2-dropDownTree.d.ts +0 -8
- package/dist/native-modules/widgets/dropDownTree/ej2-dropDownTree.js +0 -32
- package/dist/native-modules/widgets/fileManager/ej2-fileManager.d.ts +0 -9
- package/dist/native-modules/widgets/fileManager/ej2-fileManager.js +0 -31
- package/dist/native-modules/widgets/grid/ej2-grid.d.ts +0 -8
- package/dist/native-modules/widgets/grid/ej2-grid.js +0 -94
- package/dist/native-modules/widgets/listView/ej2-listView.d.ts +0 -8
- package/dist/native-modules/widgets/listView/ej2-listView.js +0 -31
- package/dist/native-modules/widgets/maskedTextBox/ej2-maskedTextBox.d.ts +0 -8
- package/dist/native-modules/widgets/maskedTextBox/ej2-maskedTextBox.js +0 -34
- package/dist/native-modules/widgets/multiSelect/ej2-multiSelect.d.ts +0 -10
- package/dist/native-modules/widgets/multiSelect/ej2-multiSelect.js +0 -41
- package/dist/native-modules/widgets/numericTextBox/ej2-numericTextBox.d.ts +0 -8
- package/dist/native-modules/widgets/numericTextBox/ej2-numericTextBox.js +0 -32
- package/dist/native-modules/widgets/pager/ej2-pager.d.ts +0 -7
- package/dist/native-modules/widgets/pager/ej2-pager.js +0 -26
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.d.ts +0 -17
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.js +0 -61
- package/dist/native-modules/widgets/radio/ej2-radio.d.ts +0 -13
- package/dist/native-modules/widgets/radio/ej2-radio.js +0 -51
- package/dist/native-modules/widgets/schedule/ej2-schedule.d.ts +0 -8
- package/dist/native-modules/widgets/schedule/ej2-schedule.js +0 -29
- package/dist/native-modules/widgets/sidebar/ej2-sidebar.d.ts +0 -7
- package/dist/native-modules/widgets/sidebar/ej2-sidebar.js +0 -27
- package/dist/native-modules/widgets/slider/ej2-slider.d.ts +0 -8
- package/dist/native-modules/widgets/slider/ej2-slider.js +0 -34
- package/dist/native-modules/widgets/splitter/ej2-splitter.d.ts +0 -7
- package/dist/native-modules/widgets/splitter/ej2-splitter.js +0 -26
- package/dist/native-modules/widgets/switch/ej2-switch.d.ts +0 -11
- package/dist/native-modules/widgets/switch/ej2-switch.js +0 -49
- package/dist/native-modules/widgets/textBox/ej2-textBox.d.ts +0 -8
- package/dist/native-modules/widgets/textBox/ej2-textBox.js +0 -34
- package/dist/native-modules/widgets/timePicker/ej2-timePicker.d.ts +0 -8
- package/dist/native-modules/widgets/timePicker/ej2-timePicker.js +0 -32
- package/dist/native-modules/widgets/treeView/ej2-treeView.d.ts +0 -7
- package/dist/native-modules/widgets/treeView/ej2-treeView.js +0 -26
- package/dist/native-modules/widgets/uploader/ej2-uploader.d.ts +0 -50
- package/dist/native-modules/widgets/uploader/ej2-uploader.js +0 -343
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2ListView = void 0;
|
|
10
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
11
|
-
const ej2_lists_1 = require("@syncfusion/ej2-lists");
|
|
12
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
14
|
-
let Ej2ListView = class Ej2ListView extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = ej2_lists_1.ListView;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
}
|
|
23
|
-
onBeforeWidgetInstantiation() {
|
|
24
|
-
if (this.eModel.enableVirtualization) {
|
|
25
|
-
ej2_lists_1.ListView.Inject(ej2_lists_1.Virtualization);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
Ej2ListView = __decorate([
|
|
30
|
-
decorator_1.generateBindables("listView"),
|
|
31
|
-
aurelia_framework_1.inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
32
|
-
aurelia_framework_1.customElement('ej2-list-view')
|
|
33
|
-
], Ej2ListView);
|
|
34
|
-
exports.Ej2ListView = Ej2ListView;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { MaskedTextBox, MaskedTextBoxModel } from "@syncfusion/ej2-inputs";
|
|
3
|
-
export declare class Ej2MaskedTextBox extends SyncfusionWrapper<MaskedTextBox, MaskedTextBoxModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof MaskedTextBox;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onInput(args: any): void;
|
|
8
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2MaskedTextBox = void 0;
|
|
10
|
-
const constants_1 = require("./../../common/constants");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const ej2_inputs_1 = require("@syncfusion/ej2-inputs");
|
|
13
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
-
const ej2_base_1 = require("@syncfusion/ej2-base");
|
|
15
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
16
|
-
ej2_base_1.enableRipple(true);
|
|
17
|
-
let Ej2MaskedTextBox = class Ej2MaskedTextBox extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments);
|
|
20
|
-
this.syncfusionWidgetType = ej2_inputs_1.MaskedTextBox;
|
|
21
|
-
}
|
|
22
|
-
onWrapperCreated() {
|
|
23
|
-
}
|
|
24
|
-
onWidgetCreated() {
|
|
25
|
-
let _this = this;
|
|
26
|
-
this.widget.addEventListener("input", (args) => { _this.onInput(args); });
|
|
27
|
-
}
|
|
28
|
-
onInput(args) {
|
|
29
|
-
this[`${constants_1.constants.bindablePrefix}value`] = args.value;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
Ej2MaskedTextBox = __decorate([
|
|
33
|
-
decorator_1.generateBindables("maskedTextBox"),
|
|
34
|
-
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" /></template>`),
|
|
35
|
-
aurelia_framework_1.customElement('ej2-masked-text-box')
|
|
36
|
-
], Ej2MaskedTextBox);
|
|
37
|
-
exports.Ej2MaskedTextBox = Ej2MaskedTextBox;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { MultiSelect, MultiSelectModel } from "@syncfusion/ej2-dropdowns";
|
|
3
|
-
export declare class Ej2MultiSelect extends SyncfusionWrapper<MultiSelect, MultiSelectModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof MultiSelect;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onInput(args: any): void;
|
|
8
|
-
onChange(args: any): void;
|
|
9
|
-
attached(): void;
|
|
10
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2MultiSelect = void 0;
|
|
10
|
-
const constants_1 = require("../../common/constants");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const ej2_dropdowns_1 = require("@syncfusion/ej2-dropdowns");
|
|
13
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
-
const ej2_base_1 = require("@syncfusion/ej2-base");
|
|
15
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
16
|
-
ej2_base_1.enableRipple(true);
|
|
17
|
-
let Ej2MultiSelect = class Ej2MultiSelect extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments);
|
|
20
|
-
this.syncfusionWidgetType = ej2_dropdowns_1.MultiSelect;
|
|
21
|
-
}
|
|
22
|
-
onWrapperCreated() {
|
|
23
|
-
}
|
|
24
|
-
onWidgetCreated() {
|
|
25
|
-
let _this = this;
|
|
26
|
-
this.widget.addEventListener("change", (args) => { _this.onChange(args); });
|
|
27
|
-
}
|
|
28
|
-
onInput(args) {
|
|
29
|
-
this[`${constants_1.constants.bindablePrefix}value`] = args.value;
|
|
30
|
-
}
|
|
31
|
-
onChange(args) {
|
|
32
|
-
this[`${constants_1.constants.bindablePrefix}value`] = args.value;
|
|
33
|
-
}
|
|
34
|
-
attached() {
|
|
35
|
-
this.widgetElement = this.element.querySelector("select,input");
|
|
36
|
-
super.attached();
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
Ej2MultiSelect = __decorate([
|
|
40
|
-
decorator_1.generateBindables("multiSelect"),
|
|
41
|
-
aurelia_framework_1.inlineView(`<template><div><slot><input /></slot></div></template>`),
|
|
42
|
-
aurelia_framework_1.customElement('ej2-multi-select')
|
|
43
|
-
], Ej2MultiSelect);
|
|
44
|
-
exports.Ej2MultiSelect = Ej2MultiSelect;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { NumericTextBox, NumericTextBoxModel } from "@syncfusion/ej2-inputs";
|
|
3
|
-
export declare class Ej2NumericTextBox extends SyncfusionWrapper<NumericTextBox, NumericTextBoxModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof NumericTextBox;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onChange(args: any): void;
|
|
8
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2NumericTextBox = void 0;
|
|
10
|
-
const constants_1 = require("./../../common/constants");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const ej2_inputs_1 = require("@syncfusion/ej2-inputs");
|
|
13
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
15
|
-
let Ej2NumericTextBox = class Ej2NumericTextBox extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.syncfusionWidgetType = ej2_inputs_1.NumericTextBox;
|
|
19
|
-
}
|
|
20
|
-
onWrapperCreated() {
|
|
21
|
-
}
|
|
22
|
-
onWidgetCreated() {
|
|
23
|
-
let _this = this;
|
|
24
|
-
this.widget.addEventListener("change", (args) => { _this.onChange(args); });
|
|
25
|
-
}
|
|
26
|
-
onChange(args) {
|
|
27
|
-
this[`${constants_1.constants.bindablePrefix}value`] = args.value;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
Ej2NumericTextBox = __decorate([
|
|
31
|
-
decorator_1.generateBindables("numericTextBox"),
|
|
32
|
-
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" /></template>`),
|
|
33
|
-
aurelia_framework_1.customElement('ej2-numeric-text-box')
|
|
34
|
-
], Ej2NumericTextBox);
|
|
35
|
-
exports.Ej2NumericTextBox = Ej2NumericTextBox;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PagerModel, Pager } from "@syncfusion/ej2-grids";
|
|
2
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
3
|
-
export declare class Ej2Pager extends SyncfusionWrapper<Pager, PagerModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof Pager;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Pager = void 0;
|
|
10
|
-
const ej2_grids_1 = require("@syncfusion/ej2-grids");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
14
|
-
let Ej2Pager = class Ej2Pager extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = ej2_grids_1.Pager;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
Ej2Pager = __decorate([
|
|
25
|
-
decorator_1.generateBindables("pager"),
|
|
26
|
-
aurelia_framework_1.inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
27
|
-
aurelia_framework_1.customElement('ej2-pager')
|
|
28
|
-
], Ej2Pager);
|
|
29
|
-
exports.Ej2Pager = Ej2Pager;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ProgressButton, ProgressButtonModel } from '@syncfusion/ej2-splitbuttons';
|
|
2
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
3
|
-
export declare class Ej2ProgressButton extends SyncfusionWrapper<ProgressButton, ProgressButtonModel> {
|
|
4
|
-
clickEvent: Event;
|
|
5
|
-
_onClick: (event: Event) => void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
protected onWrapperCreated(): void;
|
|
8
|
-
protected syncfusionWidgetType: typeof ProgressButton;
|
|
9
|
-
refresh(): void;
|
|
10
|
-
focusIn(): void;
|
|
11
|
-
click(): void;
|
|
12
|
-
dataBind(): void;
|
|
13
|
-
progressComplete(): void;
|
|
14
|
-
start(): void;
|
|
15
|
-
stop(): void;
|
|
16
|
-
detached(): void;
|
|
17
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2ProgressButton = void 0;
|
|
10
|
-
const ej2_splitbuttons_1 = require("@syncfusion/ej2-splitbuttons");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
14
|
-
let Ej2ProgressButton = class Ej2ProgressButton extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.clickEvent = null;
|
|
18
|
-
this._onClick = null;
|
|
19
|
-
this.syncfusionWidgetType = ej2_splitbuttons_1.ProgressButton;
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
let _this = this;
|
|
23
|
-
this._onClick = (event) => {
|
|
24
|
-
_this.element.dispatchEvent(_this.clickEvent);
|
|
25
|
-
event.stopPropagation();
|
|
26
|
-
};
|
|
27
|
-
this.widget.element.addEventListener("click", this._onClick, false);
|
|
28
|
-
}
|
|
29
|
-
onWrapperCreated() {
|
|
30
|
-
this.clickEvent = new CustomEvent("on-click", {
|
|
31
|
-
bubbles: true
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
refresh() {
|
|
35
|
-
this.widget.refresh();
|
|
36
|
-
}
|
|
37
|
-
focusIn() {
|
|
38
|
-
this.widget.focusIn();
|
|
39
|
-
}
|
|
40
|
-
click() {
|
|
41
|
-
this.widget.click();
|
|
42
|
-
}
|
|
43
|
-
dataBind() {
|
|
44
|
-
this.widget.dataBind();
|
|
45
|
-
}
|
|
46
|
-
progressComplete() {
|
|
47
|
-
this.widget.progressComplete();
|
|
48
|
-
}
|
|
49
|
-
start() {
|
|
50
|
-
this.widget.start();
|
|
51
|
-
}
|
|
52
|
-
stop() {
|
|
53
|
-
this.widget.stop();
|
|
54
|
-
}
|
|
55
|
-
detached() {
|
|
56
|
-
this.widget.element.removeEventListener("click", this._onClick, false);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
Ej2ProgressButton = __decorate([
|
|
60
|
-
decorator_1.generateBindables("progressButton"),
|
|
61
|
-
aurelia_framework_1.inlineView(`<template><button element.ref="widgetElement"><slot></slot></button></template>`),
|
|
62
|
-
aurelia_framework_1.customElement('ej2-progress-button')
|
|
63
|
-
], Ej2ProgressButton);
|
|
64
|
-
exports.Ej2ProgressButton = Ej2ProgressButton;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Disposable } from 'aurelia-binding';
|
|
2
|
-
import { Subscription } from "aurelia-event-aggregator";
|
|
3
|
-
import { RadioButtonModel, RadioButton } from '@syncfusion/ej2-buttons';
|
|
4
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
5
|
-
export declare class Ej2Radio extends SyncfusionWrapper<RadioButton, RadioButtonModel> {
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
protected onWrapperCreated(): void;
|
|
8
|
-
protected syncfusionWidgetType: typeof RadioButton;
|
|
9
|
-
checkedSubscription: Disposable;
|
|
10
|
-
selectionChangedSubscription: Subscription;
|
|
11
|
-
onBind(): void;
|
|
12
|
-
detached(): void;
|
|
13
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Radio = void 0;
|
|
10
|
-
const ej2_buttons_1 = require("@syncfusion/ej2-buttons");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const constants_1 = require("../../common/constants");
|
|
13
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
15
|
-
let Ej2Radio = class Ej2Radio extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.syncfusionWidgetType = ej2_buttons_1.RadioButton;
|
|
19
|
-
this.checkedSubscription = null;
|
|
20
|
-
this.selectionChangedSubscription = null;
|
|
21
|
-
}
|
|
22
|
-
onWidgetCreated() {
|
|
23
|
-
}
|
|
24
|
-
onWrapperCreated() {
|
|
25
|
-
}
|
|
26
|
-
onBind() {
|
|
27
|
-
if (!this.eModel.name) {
|
|
28
|
-
throw "Radio e-name is required";
|
|
29
|
-
}
|
|
30
|
-
this.widget.change = () => {
|
|
31
|
-
this[`${constants_1.constants.bindablePrefix}checked`] = this.widget.checked;
|
|
32
|
-
this.eventAggregator.publish(`ej2-radio-${this.eModel.name}-changed`, this[`${constants_1.constants.bindablePrefix}label`]);
|
|
33
|
-
};
|
|
34
|
-
this.checkedSubscription = this.bindingEngine.propertyObserver(this, this[`${constants_1.constants.bindablePrefix}checked`]).subscribe((newValue) => {
|
|
35
|
-
this.widget.checked = newValue;
|
|
36
|
-
});
|
|
37
|
-
this.selectionChangedSubscription = this.eventAggregator.subscribe(`ej2-radio-${this.eModel.name}-changed`, (selectedLabel) => {
|
|
38
|
-
if (this[`${constants_1.constants.bindablePrefix}label`] !== selectedLabel) {
|
|
39
|
-
this[`${constants_1.constants.bindablePrefix}checked`] = false;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
detached() {
|
|
44
|
-
this.checkedSubscription.dispose();
|
|
45
|
-
this.selectionChangedSubscription.dispose();
|
|
46
|
-
super.detached();
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Ej2Radio = __decorate([
|
|
50
|
-
decorator_1.generateBindables("radio"),
|
|
51
|
-
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" type="radio" /></template>`),
|
|
52
|
-
aurelia_framework_1.customElement('ej2-radio')
|
|
53
|
-
], Ej2Radio);
|
|
54
|
-
exports.Ej2Radio = Ej2Radio;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Schedule, ScheduleModel } from '@syncfusion/ej2-schedule';
|
|
2
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
3
|
-
export declare class Ej2Schedule extends SyncfusionWrapper<Schedule, ScheduleModel> {
|
|
4
|
-
protected syncfusionWidgetType: any;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onBeforeWidgetInstantiation(): void;
|
|
8
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Schedule = void 0;
|
|
10
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
11
|
-
const ej2_schedule_1 = require("@syncfusion/ej2-schedule");
|
|
12
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
14
|
-
let Ej2Schedule = class Ej2Schedule extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = ej2_schedule_1.Schedule;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
}
|
|
23
|
-
onBeforeWidgetInstantiation() {
|
|
24
|
-
ej2_schedule_1.Schedule.Inject(ej2_schedule_1.Day, ej2_schedule_1.Week, ej2_schedule_1.WorkWeek, ej2_schedule_1.Month, ej2_schedule_1.Agenda, ej2_schedule_1.TimelineViews, ej2_schedule_1.TimelineMonth, ej2_schedule_1.TimelineYear, ej2_schedule_1.DragAndDrop, ej2_schedule_1.Resize, ej2_schedule_1.ExcelExport, ej2_schedule_1.ICalendarExport, ej2_schedule_1.ICalendarImport, ej2_schedule_1.Print);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
Ej2Schedule = __decorate([
|
|
28
|
-
decorator_1.generateBindables("radio"),
|
|
29
|
-
aurelia_framework_1.inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
30
|
-
aurelia_framework_1.customElement('ej2-schedule')
|
|
31
|
-
], Ej2Schedule);
|
|
32
|
-
exports.Ej2Schedule = Ej2Schedule;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { Sidebar, SidebarModel } from "@syncfusion/ej2-navigations";
|
|
3
|
-
export declare class Ej2Sidebar extends SyncfusionWrapper<Sidebar, SidebarModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof Sidebar;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Sidebar = void 0;
|
|
10
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
11
|
-
const ej2_navigations_1 = require("@syncfusion/ej2-navigations");
|
|
12
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
14
|
-
let Ej2Sidebar = class Ej2Sidebar extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = ej2_navigations_1.Sidebar;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
let _this = this;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
Ej2Sidebar = __decorate([
|
|
26
|
-
decorator_1.generateBindables("sidebar"),
|
|
27
|
-
aurelia_framework_1.inlineView(`<template element.ref="widgetElement"><slot></slot></template>`),
|
|
28
|
-
aurelia_framework_1.customElement('ej2-sidebar')
|
|
29
|
-
], Ej2Sidebar);
|
|
30
|
-
exports.Ej2Sidebar = Ej2Sidebar;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { Slider, SliderModel, SliderChangeEventArgs } from "@syncfusion/ej2-inputs";
|
|
3
|
-
export declare class Ej2Slider extends SyncfusionWrapper<Slider, SliderModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof Slider;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onChanged(event: SliderChangeEventArgs): void;
|
|
8
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Slider = void 0;
|
|
10
|
-
const constants_1 = require("./../../common/constants");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const ej2_inputs_1 = require("@syncfusion/ej2-inputs");
|
|
13
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
15
|
-
let Ej2Slider = class Ej2Slider extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.syncfusionWidgetType = ej2_inputs_1.Slider;
|
|
19
|
-
}
|
|
20
|
-
onWrapperCreated() {
|
|
21
|
-
}
|
|
22
|
-
onWidgetCreated() {
|
|
23
|
-
let _this = this;
|
|
24
|
-
this.widget.addEventListener("changed", (event) => {
|
|
25
|
-
_this.onChanged(event);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
onChanged(event) {
|
|
29
|
-
this[`${constants_1.constants.bindablePrefix}value`] = event.value;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
Ej2Slider = __decorate([
|
|
33
|
-
decorator_1.generateBindables("slider"),
|
|
34
|
-
aurelia_framework_1.inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
35
|
-
aurelia_framework_1.customElement('ej2-slider')
|
|
36
|
-
], Ej2Slider);
|
|
37
|
-
exports.Ej2Slider = Ej2Slider;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
2
|
-
import { Splitter, SplitterModel } from '@syncfusion/ej2-layouts';
|
|
3
|
-
export declare class Ej2Splitter extends SyncfusionWrapper<Splitter, SplitterModel> {
|
|
4
|
-
protected onWrapperCreated(): void;
|
|
5
|
-
protected onWidgetCreated(): void;
|
|
6
|
-
protected syncfusionWidgetType: typeof Splitter;
|
|
7
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Splitter = void 0;
|
|
10
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
11
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
12
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
13
|
-
const ej2_layouts_1 = require("@syncfusion/ej2-layouts");
|
|
14
|
-
let Ej2Splitter = class Ej2Splitter extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = ej2_layouts_1.Splitter;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
Ej2Splitter = __decorate([
|
|
25
|
-
decorator_1.generateBindables("splitter"),
|
|
26
|
-
aurelia_framework_1.inlineView(`<template><div element.ref="widgetElement"><slot></slot></div></template>`),
|
|
27
|
-
aurelia_framework_1.customElement('ej2-splitter')
|
|
28
|
-
], Ej2Splitter);
|
|
29
|
-
exports.Ej2Splitter = Ej2Splitter;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
2
|
-
import { Switch, SwitchModel } from '@syncfusion/ej2-buttons';
|
|
3
|
-
export declare class Ej2Switch extends SyncfusionWrapper<Switch, SwitchModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof Switch;
|
|
5
|
-
private id;
|
|
6
|
-
private onChange;
|
|
7
|
-
protected onWrapperCreated(): void;
|
|
8
|
-
protected onWidgetCreated(): void;
|
|
9
|
-
recreate(): void;
|
|
10
|
-
detached(): void;
|
|
11
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Ej2Switch = void 0;
|
|
10
|
-
const constants_1 = require("./../../common/constants");
|
|
11
|
-
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
|
-
const ej2_buttons_1 = require("@syncfusion/ej2-buttons");
|
|
13
|
-
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
-
const aurelia_framework_1 = require("aurelia-framework");
|
|
15
|
-
let Ej2Switch = class Ej2Switch extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.syncfusionWidgetType = ej2_buttons_1.Switch;
|
|
19
|
-
this.id = null;
|
|
20
|
-
this.onChange = null;
|
|
21
|
-
}
|
|
22
|
-
onWrapperCreated() {
|
|
23
|
-
this.id = this.element.getAttribute("id");
|
|
24
|
-
if (this.id) {
|
|
25
|
-
this.element.removeAttribute("id");
|
|
26
|
-
}
|
|
27
|
-
this.widgetElement.setAttribute("id", this.id);
|
|
28
|
-
}
|
|
29
|
-
onWidgetCreated() {
|
|
30
|
-
let _this = this;
|
|
31
|
-
this.onChange = (args) => {
|
|
32
|
-
_this[`${constants_1.constants.bindablePrefix}checked`] = args.checked;
|
|
33
|
-
};
|
|
34
|
-
this.widget.addEventListener("change", this.onChange);
|
|
35
|
-
}
|
|
36
|
-
recreate() {
|
|
37
|
-
if (this.id) {
|
|
38
|
-
this.widgetElement.removeAttribute("id");
|
|
39
|
-
}
|
|
40
|
-
this.element.setAttribute("id", this.id);
|
|
41
|
-
super.recreate();
|
|
42
|
-
}
|
|
43
|
-
detached() {
|
|
44
|
-
this.widget.removeEventListener("change", this.onChange);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
Ej2Switch = __decorate([
|
|
48
|
-
decorator_1.generateBindables("switch"),
|
|
49
|
-
aurelia_framework_1.inlineView(`<template><slot></slot><input element.ref="widgetElement" type="checkbox" /></template>`),
|
|
50
|
-
aurelia_framework_1.customElement('ej2-switch')
|
|
51
|
-
], Ej2Switch);
|
|
52
|
-
exports.Ej2Switch = Ej2Switch;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { TextBox, TextBoxModel } from "@syncfusion/ej2-inputs";
|
|
3
|
-
export declare class Ej2TextBox extends SyncfusionWrapper<TextBox, TextBoxModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof TextBox;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onInput(args: any): void;
|
|
8
|
-
}
|