aurelia-syncfusion-ej2-bridge 1.0.6 → 1.0.8
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/README.md +35 -34
- package/package.json +2 -2
- package/.vscode/extensions.json +0 -10
- package/.vscode/launch.json +0 -31
- package/.vscode/settings.json +0 -5
- 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 -161
- 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 -44
- package/dist/commonjs/configBuider.d.ts +0 -41
- package/dist/commonjs/configBuider.js +0 -224
- package/dist/commonjs/controlBindings.d.ts +0 -150
- package/dist/commonjs/controlBindings.js +0 -184
- 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 -63
- 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/richTextEditor/ej2-richTextEditor.d.ts +0 -8
- package/dist/commonjs/widgets/richTextEditor/ej2-richTextEditor.js +0 -32
- 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 -10
- package/dist/commonjs/widgets/slider/ej2-slider.js +0 -52
- 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/timeline/ej2-timeline.d.ts +0 -7
- package/dist/commonjs/widgets/timeline/ej2-timeline.js +0 -29
- 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 -357
- 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 -158
- 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 -40
- package/dist/native-modules/configBuider.d.ts +0 -41
- package/dist/native-modules/configBuider.js +0 -220
- package/dist/native-modules/controlBindings.d.ts +0 -150
- package/dist/native-modules/controlBindings.js +0 -181
- 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 -1
- package/dist/native-modules/interfaces/IEj2Uploader.d.ts +0 -17
- package/dist/native-modules/interfaces/IEj2Uploader.js +0 -1
- 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/richTextEditor/ej2-richTextEditor.d.ts +0 -8
- package/dist/native-modules/widgets/richTextEditor/ej2-richTextEditor.js +0 -29
- 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 -10
- package/dist/native-modules/widgets/slider/ej2-slider.js +0 -46
- 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/timeline/ej2-timeline.d.ts +0 -7
- package/dist/native-modules/widgets/timeline/ej2-timeline.js +0 -26
- 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 -354
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
8
|
-
import { DropDownTree } from '@syncfusion/ej2-dropdowns';
|
|
9
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
10
|
-
import { inlineView, customElement } from "aurelia-framework";
|
|
11
|
-
import { constants } from './../../common/constants';
|
|
12
|
-
let Ej2DropDownTree = class Ej2DropDownTree extends SyncfusionWrapper {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.syncfusionWidgetType = DropDownTree;
|
|
16
|
-
}
|
|
17
|
-
onWrapperCreated() {
|
|
18
|
-
}
|
|
19
|
-
onWidgetCreated() {
|
|
20
|
-
let _this = this;
|
|
21
|
-
this.widget.addEventListener("change", (args) => { _this.onChange(args); });
|
|
22
|
-
}
|
|
23
|
-
onChange(args) {
|
|
24
|
-
this[`${constants.bindablePrefix}value`] = args.value;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
Ej2DropDownTree = __decorate([
|
|
28
|
-
generateBindables("dropDownTree"),
|
|
29
|
-
customElement('ej2-drop-down-tree'),
|
|
30
|
-
inlineView('<template><input type="text" element.ref="widgetElement" /></template>')
|
|
31
|
-
], Ej2DropDownTree);
|
|
32
|
-
export { Ej2DropDownTree };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
2
|
-
import { FileManager, FileManagerModel } from "@syncfusion/ej2-filemanager";
|
|
3
|
-
export declare class Ej2FileManager extends SyncfusionWrapper<FileManager, FileManagerModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof FileManager;
|
|
5
|
-
id: string;
|
|
6
|
-
onBeforeWidgetInstantiation(): void;
|
|
7
|
-
protected onWidgetCreated(): void;
|
|
8
|
-
protected onWrapperCreated(): void;
|
|
9
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
8
|
-
import { generateBindables } from '../../utilities/decorator';
|
|
9
|
-
import { inlineView, customElement } from "aurelia-framework";
|
|
10
|
-
import { FileManager, Toolbar, NavigationPane, DetailsView, ContextMenu } from "@syncfusion/ej2-filemanager";
|
|
11
|
-
import { v4 as uuidv4 } from "uuid";
|
|
12
|
-
let Ej2FileManager = class Ej2FileManager extends SyncfusionWrapper {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.syncfusionWidgetType = FileManager;
|
|
16
|
-
this.id = `fm-${uuidv4()}`;
|
|
17
|
-
}
|
|
18
|
-
onBeforeWidgetInstantiation() {
|
|
19
|
-
FileManager.Inject(Toolbar, NavigationPane, DetailsView, ContextMenu);
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
}
|
|
23
|
-
onWrapperCreated() {
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
Ej2FileManager = __decorate([
|
|
27
|
-
generateBindables("fileManager"),
|
|
28
|
-
inlineView(`<template><div id.bind="id" element.ref="widgetElement"></div></template>`),
|
|
29
|
-
customElement('ej2-file-manager')
|
|
30
|
-
], Ej2FileManager);
|
|
31
|
-
export { Ej2FileManager };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
2
|
-
import { Grid, GridModel } from '@syncfusion/ej2-grids';
|
|
3
|
-
export declare class Ej2Grid extends SyncfusionWrapper<Grid, GridModel> {
|
|
4
|
-
onBeforeWidgetInstantiation(): void;
|
|
5
|
-
protected onWidgetCreated(): void;
|
|
6
|
-
protected onWrapperCreated(): void;
|
|
7
|
-
protected syncfusionWidgetType: typeof Grid;
|
|
8
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
8
|
-
import { generateBindables } from '../../utilities/decorator';
|
|
9
|
-
import { Grid, Selection, Page, Edit, Reorder, Sort, ColumnChooser, Toolbar, Filter, Group, Aggregate, ColumnMenu, DetailRow, ContextMenu, Freeze, Resize, RowDD, Search, Print, VirtualScroll, ExcelExport, PdfExport } from '@syncfusion/ej2-grids';
|
|
10
|
-
import { inlineView, customElement } from "aurelia-framework";
|
|
11
|
-
let Ej2Grid = class Ej2Grid extends SyncfusionWrapper {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.syncfusionWidgetType = Grid;
|
|
15
|
-
}
|
|
16
|
-
onBeforeWidgetInstantiation() {
|
|
17
|
-
if (this._eModel.allowPaging) {
|
|
18
|
-
Grid.Inject(Page);
|
|
19
|
-
}
|
|
20
|
-
if (this._eModel.allowSelection) {
|
|
21
|
-
Grid.Inject(Selection);
|
|
22
|
-
}
|
|
23
|
-
if (this._eModel.editSettings) {
|
|
24
|
-
Grid.Inject(Edit);
|
|
25
|
-
}
|
|
26
|
-
if (this._eModel.allowReordering) {
|
|
27
|
-
Grid.Inject(Reorder);
|
|
28
|
-
}
|
|
29
|
-
if (this._eModel.allowSorting) {
|
|
30
|
-
Grid.Inject(Sort);
|
|
31
|
-
}
|
|
32
|
-
if (this._eModel.showColumnChooser) {
|
|
33
|
-
Grid.Inject(ColumnChooser);
|
|
34
|
-
}
|
|
35
|
-
if (this._eModel.toolbar) {
|
|
36
|
-
Grid.Inject(Toolbar);
|
|
37
|
-
}
|
|
38
|
-
if (this._eModel.editSettings) {
|
|
39
|
-
Grid.Inject(Edit);
|
|
40
|
-
}
|
|
41
|
-
if (this._eModel.filterSettings) {
|
|
42
|
-
Grid.Inject(Filter);
|
|
43
|
-
}
|
|
44
|
-
if (this._eModel.groupSettings) {
|
|
45
|
-
Grid.Inject(Group);
|
|
46
|
-
}
|
|
47
|
-
if (this._eModel.aggregates) {
|
|
48
|
-
Grid.Inject(Aggregate);
|
|
49
|
-
}
|
|
50
|
-
if (this._eModel.showColumnMenu) {
|
|
51
|
-
Grid.Inject(ColumnMenu);
|
|
52
|
-
}
|
|
53
|
-
if (this._eModel.detailTemplate) {
|
|
54
|
-
Grid.Inject(DetailRow);
|
|
55
|
-
}
|
|
56
|
-
if (this._eModel.contextMenuItems) {
|
|
57
|
-
Grid.Inject(ContextMenu);
|
|
58
|
-
}
|
|
59
|
-
if (this._eModel.frozenColumns || this._eModel.frozenRows) {
|
|
60
|
-
Grid.Inject(Freeze);
|
|
61
|
-
}
|
|
62
|
-
if (this._eModel.allowResizing) {
|
|
63
|
-
Grid.Inject(Resize);
|
|
64
|
-
}
|
|
65
|
-
if (this._eModel.allowRowDragAndDrop) {
|
|
66
|
-
Grid.Inject(RowDD);
|
|
67
|
-
}
|
|
68
|
-
if (this._eModel.searchSettings) {
|
|
69
|
-
Grid.Inject(Search);
|
|
70
|
-
}
|
|
71
|
-
if (this._eModel.printMode) {
|
|
72
|
-
Grid.Inject(Print);
|
|
73
|
-
}
|
|
74
|
-
if (this._eModel.enableVirtualization) {
|
|
75
|
-
Grid.Inject(VirtualScroll);
|
|
76
|
-
}
|
|
77
|
-
if (this._eModel.allowExcelExport) {
|
|
78
|
-
Grid.Inject(ExcelExport);
|
|
79
|
-
}
|
|
80
|
-
if (this._eModel.allowPdfExport) {
|
|
81
|
-
Grid.Inject(PdfExport);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
onWidgetCreated() {
|
|
85
|
-
}
|
|
86
|
-
onWrapperCreated() {
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
Ej2Grid = __decorate([
|
|
90
|
-
generateBindables("grid"),
|
|
91
|
-
inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
92
|
-
customElement('ej2-grid')
|
|
93
|
-
], Ej2Grid);
|
|
94
|
-
export { Ej2Grid };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
2
|
-
import { ListView, ListViewModel } from "@syncfusion/ej2-lists";
|
|
3
|
-
export declare class Ej2ListView extends SyncfusionWrapper<ListView, ListViewModel> {
|
|
4
|
-
protected syncfusionWidgetType: typeof ListView;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onBeforeWidgetInstantiation(): void;
|
|
8
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
8
|
-
import { ListView, Virtualization } from "@syncfusion/ej2-lists";
|
|
9
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
10
|
-
import { inlineView, customElement } from "aurelia-framework";
|
|
11
|
-
let Ej2ListView = class Ej2ListView extends SyncfusionWrapper {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.syncfusionWidgetType = ListView;
|
|
15
|
-
}
|
|
16
|
-
onWrapperCreated() {
|
|
17
|
-
}
|
|
18
|
-
onWidgetCreated() {
|
|
19
|
-
}
|
|
20
|
-
onBeforeWidgetInstantiation() {
|
|
21
|
-
if (this._eModel.enableVirtualization) {
|
|
22
|
-
ListView.Inject(Virtualization);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
Ej2ListView = __decorate([
|
|
27
|
-
generateBindables("listView"),
|
|
28
|
-
inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
29
|
-
customElement('ej2-list-view')
|
|
30
|
-
], Ej2ListView);
|
|
31
|
-
export { 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,34 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { constants } from './../../common/constants';
|
|
8
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
9
|
-
import { MaskedTextBox } from "@syncfusion/ej2-inputs";
|
|
10
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
11
|
-
import { enableRipple } from '@syncfusion/ej2-base';
|
|
12
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
13
|
-
enableRipple(true);
|
|
14
|
-
let Ej2MaskedTextBox = class Ej2MaskedTextBox extends SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = MaskedTextBox;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
let _this = this;
|
|
23
|
-
this.widget.addEventListener("input", (args) => { _this.onInput(args); });
|
|
24
|
-
}
|
|
25
|
-
onInput(args) {
|
|
26
|
-
this[`${constants.bindablePrefix}value`] = args.value;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
Ej2MaskedTextBox = __decorate([
|
|
30
|
-
generateBindables("maskedTextBox"),
|
|
31
|
-
inlineView(`<template><input element.ref="widgetElement" /></template>`),
|
|
32
|
-
customElement('ej2-masked-text-box')
|
|
33
|
-
], Ej2MaskedTextBox);
|
|
34
|
-
export { 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,41 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { constants } from '../../common/constants';
|
|
8
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
9
|
-
import { MultiSelect } from "@syncfusion/ej2-dropdowns";
|
|
10
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
11
|
-
import { enableRipple } from '@syncfusion/ej2-base';
|
|
12
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
13
|
-
enableRipple(true);
|
|
14
|
-
let Ej2MultiSelect = class Ej2MultiSelect extends SyncfusionWrapper {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.syncfusionWidgetType = MultiSelect;
|
|
18
|
-
}
|
|
19
|
-
onWrapperCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWidgetCreated() {
|
|
22
|
-
let _this = this;
|
|
23
|
-
this.widget.addEventListener("change", (args) => { _this.onChange(args); });
|
|
24
|
-
}
|
|
25
|
-
onInput(args) {
|
|
26
|
-
this[`${constants.bindablePrefix}value`] = args.value;
|
|
27
|
-
}
|
|
28
|
-
onChange(args) {
|
|
29
|
-
this[`${constants.bindablePrefix}value`] = args.value;
|
|
30
|
-
}
|
|
31
|
-
attached() {
|
|
32
|
-
this.widgetElement = this.element.querySelector("select,input");
|
|
33
|
-
super.attached();
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
Ej2MultiSelect = __decorate([
|
|
37
|
-
generateBindables("multiSelect"),
|
|
38
|
-
inlineView(`<template><div><slot><input /></slot></div></template>`),
|
|
39
|
-
customElement('ej2-multi-select')
|
|
40
|
-
], Ej2MultiSelect);
|
|
41
|
-
export { 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,32 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { constants } from './../../common/constants';
|
|
8
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
9
|
-
import { NumericTextBox } from "@syncfusion/ej2-inputs";
|
|
10
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
11
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
12
|
-
let Ej2NumericTextBox = class Ej2NumericTextBox extends SyncfusionWrapper {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.syncfusionWidgetType = NumericTextBox;
|
|
16
|
-
}
|
|
17
|
-
onWrapperCreated() {
|
|
18
|
-
}
|
|
19
|
-
onWidgetCreated() {
|
|
20
|
-
let _this = this;
|
|
21
|
-
this.widget.addEventListener("change", (args) => { _this.onChange(args); });
|
|
22
|
-
}
|
|
23
|
-
onChange(args) {
|
|
24
|
-
this[`${constants.bindablePrefix}value`] = args.value;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
Ej2NumericTextBox = __decorate([
|
|
28
|
-
generateBindables("numericTextBox"),
|
|
29
|
-
inlineView(`<template><input element.ref="widgetElement" /></template>`),
|
|
30
|
-
customElement('ej2-numeric-text-box')
|
|
31
|
-
], Ej2NumericTextBox);
|
|
32
|
-
export { 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,26 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Pager } from "@syncfusion/ej2-grids";
|
|
8
|
-
import { SyncfusionWrapper } from "../../common/syncfusionWrapper";
|
|
9
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
10
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
11
|
-
let Ej2Pager = class Ej2Pager extends SyncfusionWrapper {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.syncfusionWidgetType = Pager;
|
|
15
|
-
}
|
|
16
|
-
onWrapperCreated() {
|
|
17
|
-
}
|
|
18
|
-
onWidgetCreated() {
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
Ej2Pager = __decorate([
|
|
22
|
-
generateBindables("pager"),
|
|
23
|
-
inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
24
|
-
customElement('ej2-pager')
|
|
25
|
-
], Ej2Pager);
|
|
26
|
-
export { 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,61 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { ProgressButton } from '@syncfusion/ej2-splitbuttons';
|
|
8
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
9
|
-
import { generateBindables } from "../../utilities/decorator";
|
|
10
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
11
|
-
let Ej2ProgressButton = class Ej2ProgressButton extends SyncfusionWrapper {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.clickEvent = null;
|
|
15
|
-
this._onClick = null;
|
|
16
|
-
this.syncfusionWidgetType = ProgressButton;
|
|
17
|
-
}
|
|
18
|
-
onWidgetCreated() {
|
|
19
|
-
let _this = this;
|
|
20
|
-
this._onClick = (event) => {
|
|
21
|
-
_this.element.dispatchEvent(_this.clickEvent);
|
|
22
|
-
event.stopPropagation();
|
|
23
|
-
};
|
|
24
|
-
this.widget.element.addEventListener("click", this._onClick, false);
|
|
25
|
-
}
|
|
26
|
-
onWrapperCreated() {
|
|
27
|
-
this.clickEvent = new CustomEvent("on-click", {
|
|
28
|
-
bubbles: true
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
refresh() {
|
|
32
|
-
this.widget.refresh();
|
|
33
|
-
}
|
|
34
|
-
focusIn() {
|
|
35
|
-
this.widget.focusIn();
|
|
36
|
-
}
|
|
37
|
-
click() {
|
|
38
|
-
this.widget.click();
|
|
39
|
-
}
|
|
40
|
-
dataBind() {
|
|
41
|
-
this.widget.dataBind();
|
|
42
|
-
}
|
|
43
|
-
progressComplete() {
|
|
44
|
-
this.widget.progressComplete();
|
|
45
|
-
}
|
|
46
|
-
start() {
|
|
47
|
-
this.widget.start();
|
|
48
|
-
}
|
|
49
|
-
stop() {
|
|
50
|
-
this.widget.stop();
|
|
51
|
-
}
|
|
52
|
-
detached() {
|
|
53
|
-
this.widget.element.removeEventListener("click", this._onClick, false);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
Ej2ProgressButton = __decorate([
|
|
57
|
-
generateBindables("progressButton"),
|
|
58
|
-
inlineView(`<template><button element.ref="widgetElement"><slot></slot></button></template>`),
|
|
59
|
-
customElement('ej2-progress-button')
|
|
60
|
-
], Ej2ProgressButton);
|
|
61
|
-
export { 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,51 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { RadioButton } from '@syncfusion/ej2-buttons';
|
|
8
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
9
|
-
import { constants } from '../../common/constants';
|
|
10
|
-
import { generateBindables } from '../../utilities/decorator';
|
|
11
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
12
|
-
let Ej2Radio = class Ej2Radio extends SyncfusionWrapper {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.syncfusionWidgetType = RadioButton;
|
|
16
|
-
this.checkedSubscription = null;
|
|
17
|
-
this.selectionChangedSubscription = null;
|
|
18
|
-
}
|
|
19
|
-
onWidgetCreated() {
|
|
20
|
-
}
|
|
21
|
-
onWrapperCreated() {
|
|
22
|
-
}
|
|
23
|
-
onBind() {
|
|
24
|
-
if (!this._eModel.name) {
|
|
25
|
-
throw "Radio e-name is required";
|
|
26
|
-
}
|
|
27
|
-
this.widget.change = () => {
|
|
28
|
-
this[`${constants.bindablePrefix}checked`] = this.widget.checked;
|
|
29
|
-
this.eventAggregator.publish(`ej2-radio-${this._eModel.name}-changed`, this[`${constants.bindablePrefix}label`]);
|
|
30
|
-
};
|
|
31
|
-
this.checkedSubscription = this.bindingEngine.propertyObserver(this, this[`${constants.bindablePrefix}checked`]).subscribe((newValue) => {
|
|
32
|
-
this.widget.checked = newValue;
|
|
33
|
-
});
|
|
34
|
-
this.selectionChangedSubscription = this.eventAggregator.subscribe(`ej2-radio-${this._eModel.name}-changed`, (selectedLabel) => {
|
|
35
|
-
if (this[`${constants.bindablePrefix}label`] !== selectedLabel) {
|
|
36
|
-
this[`${constants.bindablePrefix}checked`] = false;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
detached() {
|
|
41
|
-
this.checkedSubscription.dispose();
|
|
42
|
-
this.selectionChangedSubscription.dispose();
|
|
43
|
-
super.detached();
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
Ej2Radio = __decorate([
|
|
47
|
-
generateBindables("radio"),
|
|
48
|
-
inlineView(`<template><input element.ref="widgetElement" type="radio" /></template>`),
|
|
49
|
-
customElement('ej2-radio')
|
|
50
|
-
], Ej2Radio);
|
|
51
|
-
export { Ej2Radio };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
2
|
-
import { RichTextEditor, RichTextEditorModel } from '@syncfusion/ej2-richtexteditor';
|
|
3
|
-
export declare class Ej2RichTextEditor extends SyncfusionWrapper<RichTextEditor, RichTextEditorModel> {
|
|
4
|
-
protected syncfusionWidgetType: any;
|
|
5
|
-
protected onWrapperCreated(): void;
|
|
6
|
-
protected onWidgetCreated(): void;
|
|
7
|
-
onBeforeWidgetInstantiation(): void;
|
|
8
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
8
|
-
import { generateBindables } from '../../utilities/decorator';
|
|
9
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
10
|
-
import { RichTextEditor, Count, FileManager, EmojiPicker, FormatPainter, Toolbar, SlashMenu, ImportExport, Link, Image, HtmlEditor, QuickToolbar, Table, Video, Audio, PasteCleanup } from '@syncfusion/ej2-richtexteditor';
|
|
11
|
-
let Ej2RichTextEditor = class Ej2RichTextEditor extends SyncfusionWrapper {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.syncfusionWidgetType = RichTextEditor;
|
|
15
|
-
}
|
|
16
|
-
onWrapperCreated() {
|
|
17
|
-
}
|
|
18
|
-
onWidgetCreated() {
|
|
19
|
-
}
|
|
20
|
-
onBeforeWidgetInstantiation() {
|
|
21
|
-
RichTextEditor.Inject(Toolbar, Link, Image, Count, HtmlEditor, QuickToolbar, Table, FileManager, EmojiPicker, Audio, Video, FormatPainter, PasteCleanup, SlashMenu, ImportExport);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
Ej2RichTextEditor = __decorate([
|
|
25
|
-
generateBindables("richTextEditor"),
|
|
26
|
-
inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
27
|
-
customElement('ej2-rich-text-editor')
|
|
28
|
-
], Ej2RichTextEditor);
|
|
29
|
-
export { Ej2RichTextEditor };
|
|
@@ -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,29 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { inlineView, customElement } from 'aurelia-framework';
|
|
8
|
-
import { Schedule, TimelineViews, TimelineMonth, Resize, DragAndDrop, Day, Week, WorkWeek, Month, Agenda, TimelineYear, ExcelExport, ICalendarExport, ICalendarImport, Print } from '@syncfusion/ej2-schedule';
|
|
9
|
-
import { generateBindables } from '../../utilities/decorator';
|
|
10
|
-
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
11
|
-
let Ej2Schedule = class Ej2Schedule extends SyncfusionWrapper {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.syncfusionWidgetType = Schedule;
|
|
15
|
-
}
|
|
16
|
-
onWrapperCreated() {
|
|
17
|
-
}
|
|
18
|
-
onWidgetCreated() {
|
|
19
|
-
}
|
|
20
|
-
onBeforeWidgetInstantiation() {
|
|
21
|
-
Schedule.Inject(Day, Week, WorkWeek, Month, Agenda, TimelineViews, TimelineMonth, TimelineYear, DragAndDrop, Resize, ExcelExport, ICalendarExport, ICalendarImport, Print);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
Ej2Schedule = __decorate([
|
|
25
|
-
generateBindables("radio"),
|
|
26
|
-
inlineView(`<template><div element.ref="widgetElement"></div></template>`),
|
|
27
|
-
customElement('ej2-schedule')
|
|
28
|
-
], Ej2Schedule);
|
|
29
|
-
export { 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
|
-
}
|