aurelia-syncfusion-ej2-bridge 0.1.0-beta.20 → 0.1.0-beta.24
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 -36
- 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 -48
- package/dist/commonjs/configBuider.d.ts +0 -38
- package/dist/commonjs/configBuider.js +0 -208
- package/dist/commonjs/controlBindings.d.ts +0 -135
- package/dist/commonjs/controlBindings.js +0 -147
- 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 -57
- 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/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 -36
- 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 -44
- package/dist/native-modules/configBuider.d.ts +0 -38
- package/dist/native-modules/configBuider.js +0 -204
- package/dist/native-modules/controlBindings.d.ts +0 -135
- package/dist/native-modules/controlBindings.js +0 -144
- 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 -54
- 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/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,15 +0,0 @@
|
|
|
1
|
-
export class ControlContainer {
|
|
2
|
-
constructor() {
|
|
3
|
-
this.controls = [];
|
|
4
|
-
}
|
|
5
|
-
add(control) {
|
|
6
|
-
let existing = this.controls.find((x) => x.type === control.type);
|
|
7
|
-
if (!existing) {
|
|
8
|
-
this.controls.push(control);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
get(type) {
|
|
12
|
-
let _control = this.controls.find((x) => x.type === type);
|
|
13
|
-
return _control;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ControlBase } from "./controlBase";
|
|
2
|
-
export declare abstract class SyncfusionWrapper<T, U> extends ControlBase<T, U> {
|
|
3
|
-
protected abstract syncfusionWidgetType: any;
|
|
4
|
-
protected abstract onWrapperCreated(): any;
|
|
5
|
-
protected abstract onWidgetCreated(): any;
|
|
6
|
-
onCreateControl(): void;
|
|
7
|
-
recreate(): void;
|
|
8
|
-
onRecreate(): void;
|
|
9
|
-
recreating(): void;
|
|
10
|
-
recreated(): void;
|
|
11
|
-
refresh(): void;
|
|
12
|
-
dataBind(): void;
|
|
13
|
-
protected get controlType(): any;
|
|
14
|
-
protected onBeforeWidgetInstantiation(): void;
|
|
15
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ControlBase } from "./controlBase";
|
|
2
|
-
export class SyncfusionWrapper extends ControlBase {
|
|
3
|
-
constructor() {
|
|
4
|
-
super(...arguments);
|
|
5
|
-
this.syncfusionWidgetType = null;
|
|
6
|
-
}
|
|
7
|
-
onCreateControl() {
|
|
8
|
-
this.onBeforeWidgetInstantiation();
|
|
9
|
-
this.widget = new this.syncfusionWidgetType(this.eModel);
|
|
10
|
-
this.widget.created = () => { this.onWidgetCreated(); };
|
|
11
|
-
this.onWrapperCreated();
|
|
12
|
-
this.createControlEvents(this.getBindables());
|
|
13
|
-
}
|
|
14
|
-
recreate() {
|
|
15
|
-
this.onRecreate();
|
|
16
|
-
this.widget.destroy();
|
|
17
|
-
this.widget = null;
|
|
18
|
-
this.recreating();
|
|
19
|
-
this.setInitialBindings();
|
|
20
|
-
this.onCreateControl();
|
|
21
|
-
this.appendWidget();
|
|
22
|
-
this.recreated();
|
|
23
|
-
}
|
|
24
|
-
onRecreate() {
|
|
25
|
-
}
|
|
26
|
-
recreating() {
|
|
27
|
-
}
|
|
28
|
-
recreated() {
|
|
29
|
-
}
|
|
30
|
-
refresh() {
|
|
31
|
-
this.widget.refresh();
|
|
32
|
-
}
|
|
33
|
-
dataBind() {
|
|
34
|
-
this.widget.dataBind();
|
|
35
|
-
}
|
|
36
|
-
get controlType() {
|
|
37
|
-
if (this.syncfusionWidgetType) {
|
|
38
|
-
return this.syncfusionWidgetType;
|
|
39
|
-
}
|
|
40
|
-
throw "syncfusionControlType is not set";
|
|
41
|
-
}
|
|
42
|
-
onBeforeWidgetInstantiation() {
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare class ConfigBuilder {
|
|
2
|
-
resources: any[];
|
|
3
|
-
useGlobalResources: boolean;
|
|
4
|
-
useAll(): ConfigBuilder;
|
|
5
|
-
useDefaults(): ConfigBuilder;
|
|
6
|
-
useTheme(theme: "material" | "bootstrap" | "bootstrap4" | "fabric" | "highcontrast"): this;
|
|
7
|
-
materialTheme(): this;
|
|
8
|
-
withoutGlobalResources(): ConfigBuilder;
|
|
9
|
-
ej2Accordion(): ConfigBuilder;
|
|
10
|
-
ej2AutoComplete(): ConfigBuilder;
|
|
11
|
-
ej2Button(): ConfigBuilder;
|
|
12
|
-
ej2Checkbox(): ConfigBuilder;
|
|
13
|
-
ej2CheckboxList(): ConfigBuilder;
|
|
14
|
-
ej2ComboBox(): ConfigBuilder;
|
|
15
|
-
ej2DashboardLayout(): ConfigBuilder;
|
|
16
|
-
ej2DatePicker(): ConfigBuilder;
|
|
17
|
-
ej2DateRangePicker(): ConfigBuilder;
|
|
18
|
-
ej2DateTimePicker(): ConfigBuilder;
|
|
19
|
-
ej2DropDownList(): ConfigBuilder;
|
|
20
|
-
ej2DropDownTree(): ConfigBuilder;
|
|
21
|
-
ej2FileManager(): ConfigBuilder;
|
|
22
|
-
ej2Grid(): ConfigBuilder;
|
|
23
|
-
ej2ListView(): ConfigBuilder;
|
|
24
|
-
ej2MaskedTextBox(): ConfigBuilder;
|
|
25
|
-
ej2NumericTextBox(): ConfigBuilder;
|
|
26
|
-
ej2Pager(): ConfigBuilder;
|
|
27
|
-
ej2ProgressButton(): ConfigBuilder;
|
|
28
|
-
ej2Radio(): ConfigBuilder;
|
|
29
|
-
ej2Schedule(): ConfigBuilder;
|
|
30
|
-
ej2Sidebar(): ConfigBuilder;
|
|
31
|
-
ej2Slider(): ConfigBuilder;
|
|
32
|
-
ej2Splitter(): ConfigBuilder;
|
|
33
|
-
ej2Switch(): ConfigBuilder;
|
|
34
|
-
ej2TextBox(): ConfigBuilder;
|
|
35
|
-
ej2TimePicker(): ConfigBuilder;
|
|
36
|
-
ej2TreeView(): ConfigBuilder;
|
|
37
|
-
ej2Uploader(): ConfigBuilder;
|
|
38
|
-
}
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import { Ej2Schedule } from './widgets/schedule/ej2-schedule';
|
|
2
|
-
import { Ej2FileManager } from './widgets/fileManager/ej2-fileManager';
|
|
3
|
-
import { Ej2Sidebar } from './widgets/sidebar/ej2-sidebar';
|
|
4
|
-
import { Ej2DatePicker } from './widgets/datePicker/ej2-DatePicker';
|
|
5
|
-
import { PLATFORM } from "aurelia-pal";
|
|
6
|
-
import { Ej2TextBox } from './widgets/textBox/ej2-textBox';
|
|
7
|
-
import { Ej2DateRangePicker } from './widgets/dateRangePicker/ej2-dateRangePicker';
|
|
8
|
-
import { Ej2DateTimePicker } from './widgets/dateTimePicker/ej2-dateTimePicker';
|
|
9
|
-
import { Ej2DashboardLayout } from './widgets/dashboardLayout/ej2-dashboardLayout';
|
|
10
|
-
import { Ej2ComboBox } from './widgets/comboBox/ej2-comboBox';
|
|
11
|
-
import { Ej2CheckboxList } from './widgets/checkbox/ej2-checkbox-list';
|
|
12
|
-
import { Ej2Checkbox } from './widgets/checkbox/ej2-checkbox';
|
|
13
|
-
import { Ej2Button } from './widgets/button/ej2-button';
|
|
14
|
-
import { Ej2AutoComplete } from './widgets/autoComplete/ej2-autoComplete';
|
|
15
|
-
import { Ej2Accordion } from './widgets/accordion/ej2-accordion';
|
|
16
|
-
import { Ej2DropDownList } from './widgets/dropDownList/ej2-dropDownList';
|
|
17
|
-
import { Ej2Grid } from './widgets/grid/ej2-grid';
|
|
18
|
-
import { Ej2ListView } from './widgets/listView/ej2-listView';
|
|
19
|
-
import { Ej2MaskedTextBox } from './widgets/maskedTextBox/ej2-maskedTextBox';
|
|
20
|
-
import { Ej2NumericTextBox } from './widgets/numericTextBox/ej2-numericTextBox';
|
|
21
|
-
import { Ej2Pager } from './widgets/pager/ej2-pager';
|
|
22
|
-
import { Ej2ProgressButton } from './widgets/progressButton/ej2-progress-button';
|
|
23
|
-
import { Ej2Radio } from './widgets/radio/ej2-radio';
|
|
24
|
-
import { Ej2Slider } from './widgets/slider/ej2-slider';
|
|
25
|
-
import { Ej2Switch } from './widgets/switch/ej2-switch';
|
|
26
|
-
import { Ej2TimePicker } from './widgets/timePicker/ej2-timePicker';
|
|
27
|
-
import { Ej2TreeView } from './widgets/treeView/ej2-treeView';
|
|
28
|
-
import { Ej2Uploader } from './widgets/uploader/ej2-uploader';
|
|
29
|
-
import { Ej2Splitter } from './widgets/splitter/ej2-splitter';
|
|
30
|
-
import { Ej2DropDownTree } from './widgets/dropDownTree/ej2-dropDownTree';
|
|
31
|
-
export class ConfigBuilder {
|
|
32
|
-
constructor() {
|
|
33
|
-
this.resources = [];
|
|
34
|
-
this.useGlobalResources = true;
|
|
35
|
-
}
|
|
36
|
-
useAll() {
|
|
37
|
-
this
|
|
38
|
-
.ej2Accordion()
|
|
39
|
-
.ej2AutoComplete()
|
|
40
|
-
.ej2Button()
|
|
41
|
-
.ej2Checkbox()
|
|
42
|
-
.ej2CheckboxList()
|
|
43
|
-
.ej2ComboBox()
|
|
44
|
-
.ej2DatePicker()
|
|
45
|
-
.ej2DateRangePicker()
|
|
46
|
-
.ej2DateTimePicker()
|
|
47
|
-
.ej2DashboardLayout()
|
|
48
|
-
.ej2DropDownList()
|
|
49
|
-
.ej2DropDownTree()
|
|
50
|
-
.ej2FileManager()
|
|
51
|
-
.ej2Grid()
|
|
52
|
-
.ej2ListView()
|
|
53
|
-
.ej2MaskedTextBox()
|
|
54
|
-
.ej2NumericTextBox()
|
|
55
|
-
.ej2Pager()
|
|
56
|
-
.ej2ProgressButton()
|
|
57
|
-
.ej2Radio()
|
|
58
|
-
.ej2Schedule()
|
|
59
|
-
.ej2Sidebar()
|
|
60
|
-
.ej2Slider()
|
|
61
|
-
.ej2Splitter()
|
|
62
|
-
.ej2Switch()
|
|
63
|
-
.ej2TextBox()
|
|
64
|
-
.ej2TimePicker()
|
|
65
|
-
.ej2TreeView()
|
|
66
|
-
.ej2Uploader();
|
|
67
|
-
return this;
|
|
68
|
-
}
|
|
69
|
-
useDefaults() {
|
|
70
|
-
return this.useAll().useTheme("material");
|
|
71
|
-
}
|
|
72
|
-
useTheme(theme) {
|
|
73
|
-
switch (theme) {
|
|
74
|
-
case "material":
|
|
75
|
-
return this.materialTheme();
|
|
76
|
-
default:
|
|
77
|
-
return this;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
materialTheme() {
|
|
81
|
-
this.resources.push(PLATFORM.moduleName("@syncfusion/ej2/material.css"));
|
|
82
|
-
return this;
|
|
83
|
-
}
|
|
84
|
-
withoutGlobalResources() {
|
|
85
|
-
this.useGlobalResources = false;
|
|
86
|
-
return this;
|
|
87
|
-
}
|
|
88
|
-
ej2Accordion() {
|
|
89
|
-
this.resources.push(Ej2Accordion);
|
|
90
|
-
return this;
|
|
91
|
-
}
|
|
92
|
-
ej2AutoComplete() {
|
|
93
|
-
this.resources.push(Ej2AutoComplete);
|
|
94
|
-
return this;
|
|
95
|
-
}
|
|
96
|
-
ej2Button() {
|
|
97
|
-
this.resources.push(Ej2Button);
|
|
98
|
-
return this;
|
|
99
|
-
}
|
|
100
|
-
ej2Checkbox() {
|
|
101
|
-
this.resources.push(Ej2Checkbox);
|
|
102
|
-
return this;
|
|
103
|
-
}
|
|
104
|
-
ej2CheckboxList() {
|
|
105
|
-
this.resources.push(Ej2CheckboxList);
|
|
106
|
-
return this;
|
|
107
|
-
}
|
|
108
|
-
ej2ComboBox() {
|
|
109
|
-
this.resources.push(Ej2ComboBox);
|
|
110
|
-
return this;
|
|
111
|
-
}
|
|
112
|
-
ej2DashboardLayout() {
|
|
113
|
-
this.resources.push(Ej2DashboardLayout);
|
|
114
|
-
return this;
|
|
115
|
-
}
|
|
116
|
-
ej2DatePicker() {
|
|
117
|
-
this.resources.push(Ej2DatePicker);
|
|
118
|
-
return this;
|
|
119
|
-
}
|
|
120
|
-
ej2DateRangePicker() {
|
|
121
|
-
this.resources.push(Ej2DateRangePicker);
|
|
122
|
-
return this;
|
|
123
|
-
}
|
|
124
|
-
ej2DateTimePicker() {
|
|
125
|
-
this.resources.push(Ej2DateTimePicker);
|
|
126
|
-
return this;
|
|
127
|
-
}
|
|
128
|
-
ej2DropDownList() {
|
|
129
|
-
this.resources.push(Ej2DropDownList);
|
|
130
|
-
return this;
|
|
131
|
-
}
|
|
132
|
-
ej2DropDownTree() {
|
|
133
|
-
this.resources.push(Ej2DropDownTree);
|
|
134
|
-
return this;
|
|
135
|
-
}
|
|
136
|
-
ej2FileManager() {
|
|
137
|
-
this.resources.push(Ej2FileManager);
|
|
138
|
-
return this;
|
|
139
|
-
}
|
|
140
|
-
ej2Grid() {
|
|
141
|
-
this.resources.push(Ej2Grid);
|
|
142
|
-
return this;
|
|
143
|
-
}
|
|
144
|
-
ej2ListView() {
|
|
145
|
-
this.resources.push(Ej2ListView);
|
|
146
|
-
return this;
|
|
147
|
-
}
|
|
148
|
-
ej2MaskedTextBox() {
|
|
149
|
-
this.resources.push(Ej2MaskedTextBox);
|
|
150
|
-
return this;
|
|
151
|
-
}
|
|
152
|
-
ej2NumericTextBox() {
|
|
153
|
-
this.resources.push(Ej2NumericTextBox);
|
|
154
|
-
return this;
|
|
155
|
-
}
|
|
156
|
-
ej2Pager() {
|
|
157
|
-
this.resources.push(Ej2Pager);
|
|
158
|
-
return this;
|
|
159
|
-
}
|
|
160
|
-
ej2ProgressButton() {
|
|
161
|
-
this.resources.push(Ej2ProgressButton);
|
|
162
|
-
return this;
|
|
163
|
-
}
|
|
164
|
-
ej2Radio() {
|
|
165
|
-
this.resources.push(Ej2Radio);
|
|
166
|
-
return this;
|
|
167
|
-
}
|
|
168
|
-
ej2Schedule() {
|
|
169
|
-
this.resources.push(Ej2Schedule);
|
|
170
|
-
return this;
|
|
171
|
-
}
|
|
172
|
-
ej2Sidebar() {
|
|
173
|
-
this.resources.push(Ej2Sidebar);
|
|
174
|
-
return this;
|
|
175
|
-
}
|
|
176
|
-
ej2Slider() {
|
|
177
|
-
this.resources.push(Ej2Slider);
|
|
178
|
-
return this;
|
|
179
|
-
}
|
|
180
|
-
ej2Splitter() {
|
|
181
|
-
this.resources.push(Ej2Splitter);
|
|
182
|
-
return this;
|
|
183
|
-
}
|
|
184
|
-
ej2Switch() {
|
|
185
|
-
this.resources.push(Ej2Switch);
|
|
186
|
-
return this;
|
|
187
|
-
}
|
|
188
|
-
ej2TextBox() {
|
|
189
|
-
this.resources.push(Ej2TextBox);
|
|
190
|
-
return this;
|
|
191
|
-
}
|
|
192
|
-
ej2TimePicker() {
|
|
193
|
-
this.resources.push(Ej2TimePicker);
|
|
194
|
-
return this;
|
|
195
|
-
}
|
|
196
|
-
ej2TreeView() {
|
|
197
|
-
this.resources.push(Ej2TreeView);
|
|
198
|
-
return this;
|
|
199
|
-
}
|
|
200
|
-
ej2Uploader() {
|
|
201
|
-
this.resources.push(Ej2Uploader);
|
|
202
|
-
return this;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
export declare const ControlBindings: {
|
|
2
|
-
common: {
|
|
3
|
-
oneWay: string[];
|
|
4
|
-
};
|
|
5
|
-
accordion: {
|
|
6
|
-
oneWay: string[];
|
|
7
|
-
events: string[];
|
|
8
|
-
};
|
|
9
|
-
autoComplete: {
|
|
10
|
-
oneWay: string[];
|
|
11
|
-
twoWay: string[];
|
|
12
|
-
events: string[];
|
|
13
|
-
};
|
|
14
|
-
button: {
|
|
15
|
-
oneWay: string[];
|
|
16
|
-
events: string[];
|
|
17
|
-
};
|
|
18
|
-
checkbox: {
|
|
19
|
-
oneWay: string[];
|
|
20
|
-
twoWay: string[];
|
|
21
|
-
events: string[];
|
|
22
|
-
};
|
|
23
|
-
comboBox: {
|
|
24
|
-
oneWay: string[];
|
|
25
|
-
twoWay: string[];
|
|
26
|
-
events: string[];
|
|
27
|
-
};
|
|
28
|
-
dashboardLayout: {
|
|
29
|
-
oneWay: string[];
|
|
30
|
-
events: string[];
|
|
31
|
-
};
|
|
32
|
-
datePicker: {
|
|
33
|
-
oneWay: string[];
|
|
34
|
-
twoWay: string[];
|
|
35
|
-
events: string[];
|
|
36
|
-
};
|
|
37
|
-
dateRangePicker: {
|
|
38
|
-
oneWay: string[];
|
|
39
|
-
twoWay: string[];
|
|
40
|
-
events: string[];
|
|
41
|
-
};
|
|
42
|
-
dateTimePicker: {
|
|
43
|
-
oneWay: string[];
|
|
44
|
-
twoWay: string[];
|
|
45
|
-
events: string[];
|
|
46
|
-
};
|
|
47
|
-
dropDownList: {
|
|
48
|
-
oneWay: string[];
|
|
49
|
-
twoWay: string[];
|
|
50
|
-
events: string[];
|
|
51
|
-
};
|
|
52
|
-
dropDownTree: {
|
|
53
|
-
oneWay: string[];
|
|
54
|
-
twoWay: string[];
|
|
55
|
-
events: string[];
|
|
56
|
-
};
|
|
57
|
-
fileManager: {
|
|
58
|
-
oneWay: string[];
|
|
59
|
-
twoWay: any[];
|
|
60
|
-
events: string[];
|
|
61
|
-
};
|
|
62
|
-
grid: {
|
|
63
|
-
oneWay: string[];
|
|
64
|
-
fromView: string[];
|
|
65
|
-
twoWay: string[];
|
|
66
|
-
events: string[];
|
|
67
|
-
};
|
|
68
|
-
listView: {
|
|
69
|
-
oneWay: string[];
|
|
70
|
-
events: string[];
|
|
71
|
-
};
|
|
72
|
-
maskedTextBox: {
|
|
73
|
-
oneWay: string[];
|
|
74
|
-
twoWay: string[];
|
|
75
|
-
events: string[];
|
|
76
|
-
};
|
|
77
|
-
numericTextBox: {
|
|
78
|
-
oneWay: string[];
|
|
79
|
-
twoWay: string[];
|
|
80
|
-
events: string[];
|
|
81
|
-
};
|
|
82
|
-
pager: {
|
|
83
|
-
twoWay: string[];
|
|
84
|
-
events: string[];
|
|
85
|
-
};
|
|
86
|
-
progressButton: {
|
|
87
|
-
oneWay: string[];
|
|
88
|
-
events: string[];
|
|
89
|
-
};
|
|
90
|
-
radio: {
|
|
91
|
-
oneWay: string[];
|
|
92
|
-
events: string[];
|
|
93
|
-
};
|
|
94
|
-
schedule: {
|
|
95
|
-
oneWay: string[];
|
|
96
|
-
events: string[];
|
|
97
|
-
};
|
|
98
|
-
sidebar: {
|
|
99
|
-
oneWay: string[];
|
|
100
|
-
events: string[];
|
|
101
|
-
};
|
|
102
|
-
slider: {
|
|
103
|
-
oneWay: string[];
|
|
104
|
-
twoWay: string[];
|
|
105
|
-
events: string[];
|
|
106
|
-
};
|
|
107
|
-
splitter: {
|
|
108
|
-
oneWay: string[];
|
|
109
|
-
events: string[];
|
|
110
|
-
};
|
|
111
|
-
switch: {
|
|
112
|
-
oneWay: string[];
|
|
113
|
-
twoWay: string[];
|
|
114
|
-
events: string[];
|
|
115
|
-
};
|
|
116
|
-
textBox: {
|
|
117
|
-
oneWay: string[];
|
|
118
|
-
twoWay: string[];
|
|
119
|
-
events: string[];
|
|
120
|
-
};
|
|
121
|
-
timePicker: {
|
|
122
|
-
oneWay: string[];
|
|
123
|
-
twoWay: string[];
|
|
124
|
-
events: string[];
|
|
125
|
-
};
|
|
126
|
-
treeView: {
|
|
127
|
-
oneWay: string[];
|
|
128
|
-
twoWay: string[];
|
|
129
|
-
events: string[];
|
|
130
|
-
};
|
|
131
|
-
uploader: {
|
|
132
|
-
oneWay: string[];
|
|
133
|
-
events: string[];
|
|
134
|
-
};
|
|
135
|
-
};
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
export const ControlBindings = {
|
|
2
|
-
common: {
|
|
3
|
-
oneWay: ["enablePersistence", "enableRtl", "locale"]
|
|
4
|
-
},
|
|
5
|
-
accordion: {
|
|
6
|
-
oneWay: ["animation", "expandMode", "height", "items", "width"],
|
|
7
|
-
events: ["clicked", "created", "destroyed", "expanded", "expanding"]
|
|
8
|
-
},
|
|
9
|
-
autoComplete: {
|
|
10
|
-
oneWay: ["actionFailureTemplate", "allowCustom", "autofill", "cssClass", "dataSource", "enabled", "fields", "filterType", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "highlight", "htmlAttributes", "ignoreAccent", "ignoreCase", "itemTemplate", "minLength", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "showPopupButton", "sortOrder", "suggestionCount", "width", "zIndex"],
|
|
11
|
-
twoWay: ["value"],
|
|
12
|
-
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "customValueSpecifier", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
13
|
-
},
|
|
14
|
-
button: {
|
|
15
|
-
oneWay: ["disabled", "isPrimary", "content", "cssClass", "iconCss", "iconPosition", "isToggle", "enableRtl"],
|
|
16
|
-
events: ["created"]
|
|
17
|
-
},
|
|
18
|
-
checkbox: {
|
|
19
|
-
oneWay: ["cssClass", "disabled", "indeterminate", "label", "labelPosition", "name", "value"],
|
|
20
|
-
twoWay: ["checked"],
|
|
21
|
-
events: ["change", "created"]
|
|
22
|
-
},
|
|
23
|
-
comboBox: {
|
|
24
|
-
oneWay: ["actionFailureTemplate", "allowCustom", "allowFiltering", "autofill", "cssClass", "dataSource", "enabled", "fields", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "index", "itemTemplate", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "sortOrder", "text", "width", "zIndex"],
|
|
25
|
-
twoWay: ["value"],
|
|
26
|
-
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "customValueSpecifier", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
27
|
-
},
|
|
28
|
-
dashboardLayout: {
|
|
29
|
-
oneWay: ["allowDragging", "allowFloating", "allowResizing", "cellSpacing", "columns", "draggableHandle", "mediaQuery", "panels", "resizableHandles", "showGridLines"],
|
|
30
|
-
events: ["change", "created", "destroyed", "drag", "dragStart", "dragStop", "resize", "resizeStart", "resizeStop"]
|
|
31
|
-
},
|
|
32
|
-
datePicker: {
|
|
33
|
-
oneWay: ["allowEdit", "calendarMode", "cssClass", "dayHeaderFormat", "depth", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "max", "min", "placeholder", "readonly", "showClearButton", "showTodayButton", "start", "strictMode", "weekNumber", "width", "zindex"],
|
|
34
|
-
twoWay: ["value"],
|
|
35
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
36
|
-
},
|
|
37
|
-
dateRangePicker: {
|
|
38
|
-
oneWay: ["allowEdit", "cssClass", "dayHeaderFormat", "depth", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "max", "maxDays", "min", "minDays", "placeholder", "presets", "readonly", "separator", "showClearButton", "start", "strictMode", "weekNumber", "width", "zindex"],
|
|
39
|
-
twoWay: ["value", "startDate", "endDate"],
|
|
40
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell", "select"]
|
|
41
|
-
},
|
|
42
|
-
dateTimePicker: {
|
|
43
|
-
oneWay: ["allowEdit", "calendarMode", "cssClass", "dayHeaderFormat", "depth", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "max", "min", "placeholder", "readonly", "scrollTo", "showClearButton", "showTodayButton", "start", "step", "strictMode", "timeFormat", "weekNumber", "width", "zindex"],
|
|
44
|
-
twoWay: ["value"],
|
|
45
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
46
|
-
},
|
|
47
|
-
dropDownList: {
|
|
48
|
-
oneWay: ["actionFailureTemplate", "allowFiltering", "cssClass", "dataSource", "enabled", "fields", "filterBarPlaceholder", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "index", "itemTemplate", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "sortOrder", "text", "valueTemplate", "width", "zindex"],
|
|
49
|
-
twoWay: ["value"],
|
|
50
|
-
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
51
|
-
},
|
|
52
|
-
dropDownTree: {
|
|
53
|
-
oneWay: ["actionFailureTemplate", "allowFiltering", "allowMultiSelection", "changeOnBlur", "cssClass", "delimiterChar", "enabled", "fields", "filterBarPlaceholder", "filterType", "floatLabelType", "footerTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "ignoreCase", "itemTemplate", "mode", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "readonly", "selectAllText", "showCheckBox", "showClearButton", "showDropDownIcon", "showSelectAll", "sortOrder", "treeSettings", "unSelectAllText", "wrapText", "zIndex"],
|
|
54
|
-
twoWay: ["text", "value"],
|
|
55
|
-
events: ["actionFailure", "beforeOpen", "blur", "change", "close", "created", "dataBound", "destroyed", "filtering", "focus", "keyPress", "open", "select"]
|
|
56
|
-
},
|
|
57
|
-
fileManager: {
|
|
58
|
-
oneWay: ["ajaxSettings", "allowDragAndDrop", "allowMultiSelection", "contextMenuSettings", "cssClass", "detailsViewSettings", "enableHtmlSanitizer", "height", "navigationPaneSettings", "path", "popupTarget", "rootAliasName", "searchSettings", "selectedItems", "showFileExtension", "showHiddenItems", "showThumbnail", "sortOrder", "toolbarSettings", "uploadSettings", "view", "width"],
|
|
59
|
-
twoWay: [],
|
|
60
|
-
events: ["beforeDownload", "beforeImageLoad", "beforePopupClose", "beforePopupOpen", "beforeSend", "created", "destroyed", "failure", "fileDragStart", "fileDragStop", "fileDragging", "fileDropped", "fileLoad", "fileOpen", "fileSelect", "fileSelection", "menuClick", "menuOpen", "popupClose", "popupOpen", "success", "toolbarClick", "toolbarCreate", "uploadListCreate"]
|
|
61
|
-
},
|
|
62
|
-
grid: {
|
|
63
|
-
oneWay: ["aggregates", "allowExcelExport", "disabled", "allowFiltering", "allowGrouping", "allowMultiSorting", "allowPaging", "allowPdfExport",
|
|
64
|
-
"allowReordering", "allowResizing", "allowRowDragAndDrop", "allowSelection", "allowSorting", "allowTextWrap", "childGrid", "clipboardModule",
|
|
65
|
-
"columnMenuItems", "columnMenuModule", "columnQueryMode", "columns", "contextMenuItems", "contextMenuModule", "dataSource",
|
|
66
|
-
"detailTemplate", "editModule", "editSettings", "enableAltRow", "enableAutoFill", "enableColumnVirtualization", "enableHover", "enableVirtualiziation",
|
|
67
|
-
"excelExportModule", "filterModule", "filterSettings", "frozenColumns", "frozenRows", "gridLines", "groupModule", "groupSettings", "height", "hierarchyPrintMode", "keyboardModule",
|
|
68
|
-
"pageSettings", "pagerModule", "pagerTemplate", "pdfExportModule", "printMode", "printModule", "query", "queryString", "reorderModule", "rowDragAndDropModule", "rowDropSettings", "rowHeight",
|
|
69
|
-
"rowTemplate", "scrollModule", "searchModule", "searchSettings", "selectionModule", "selectionSettings", "showColumnChooser", "showColumnMenu", "showHider", "sortModule",
|
|
70
|
-
"sortSettings", "textWrapSettings", "toolbar", "toolbarModule", "toolbarTemplate", "width"],
|
|
71
|
-
fromView: [
|
|
72
|
-
"currentViewData"
|
|
73
|
-
],
|
|
74
|
-
twoWay: ["selectedRowIndex"],
|
|
75
|
-
events: ["actionBegins", "actionComplete", "actionFailure", "batchAdd", "batchCancel", "batchDelete", "beforeBatchAdd", "beforeBatchDelete", "beforeBatchSave", "beforeCopy", "beforeDataBound", "beforeExcelExport", "beforeOpenColumnChooser", "beforePaste", "beforePdfExport", "beforePrint", "beginEdit", "cellDeselected", "cellDeselecting", "cellEdit", "cellSave", "cellSaved", "cellSelected", "cellSelecting", "checkBoxChange", "columnDrag", "columnDragStart", "columnDrop", "columnMenuClick", "columnMenuOpen", "commandClick", "contextMenuClick", "contextMenuOpen", "created", "dataBound", "dataSourceChanged", "dataStateChange", "destroyed", "detailDataBound", "excelExportComplete", "excelHeaderQueryCellInfo", "excelQueryCellInfo", "exportDetailDataBound", "headerCellInfo", "keyPressed", "load", "pdfExportComplete", "pdfHeaderQueryCellInfo", "pdfQueryCellInfo", "printComplete", "queryCellInfo", "recordDoubleClick", "resizeStart", "resizeStop", "resizing", "rowDataBound", "rowDeselected", "rowDeselecting", "rowDrag", "rowDragStart", "rowDragStartHelper", "rowDrop", "rowSelected", "rowSelecting", "toolbarClick"]
|
|
76
|
-
},
|
|
77
|
-
listView: {
|
|
78
|
-
oneWay: ["animation", "checkBoxPosition", "cssClass", "dataSource", "enable", "enableVirtualization", "fields", "groupTemplate", "fields", "groupTemplate", "headerTemplate", "headerTitle", "height", "htmlAttributes", "query", "showCheckBox", "showHeader", "showIcon", "sortOrder", "template", "width"],
|
|
79
|
-
events: ["actionBegin", "actionComplete", "actionFailure", "select"]
|
|
80
|
-
},
|
|
81
|
-
maskedTextBox: {
|
|
82
|
-
oneWay: ["cssClass", "customCharacters", "enabled", "floatLabelType", "htmlAttributes", "mask", "placeholder", "promptChar", "showClearButton", "width"],
|
|
83
|
-
twoWay: ["value"],
|
|
84
|
-
events: ["blur", "change", "created", "destroyed", "focus", "input"]
|
|
85
|
-
},
|
|
86
|
-
numericTextBox: {
|
|
87
|
-
oneWay: ["cssClass", "currency", "decimals", "enabled", "floatLabelType", "format", "htmlAttributes", "max", "min", "placeholder", "readonly", "showClearButon", "showSpinButton", "step", "StrictMode", "validateDecimalOnType", "width"],
|
|
88
|
-
twoWay: ["value"],
|
|
89
|
-
events: ["blur", "change", "created", "destroyed", "focus"]
|
|
90
|
-
},
|
|
91
|
-
pager: {
|
|
92
|
-
twoWay: ["currentPage", "customText", "enableExternalMessage", "enablePagerMessage", "enableQueryString", "externalMessage", "pageCount", "pageSize", "pageSizes", "template", "totalRecordsCount"],
|
|
93
|
-
events: ["click", "created", "dropDownChanged"]
|
|
94
|
-
},
|
|
95
|
-
progressButton: {
|
|
96
|
-
oneWay: ["animationSettings", "content", "cssClass", "disabled", "duration", "enableProgress", "iconCss", "iconPosition", "isPrimary", "isToggle", "spinSettings"],
|
|
97
|
-
events: ["begin", "created", "end", "fail", "progress"]
|
|
98
|
-
},
|
|
99
|
-
radio: {
|
|
100
|
-
oneWay: ["checked", "cssClass", "disabled", "label", "labelPosition", "name", "value"],
|
|
101
|
-
events: ["change", "created"]
|
|
102
|
-
},
|
|
103
|
-
schedule: {
|
|
104
|
-
oneWay: ["agendaDaysCount", "allowDragAndDrop", "allowInline", "allowKeyboardInteraction", "allowMultiCellSelection", "allowMultiDrag", "allowMultiRowSelection", "allowResizing", "calendarMode", "cellHeaderTemplate", "cellTemplate", "cssClass", "currentView", "dateFormat", "dateHeaderTemplate", "editorTemplate", "enableRecurrenceValidation", "endHour", "eventDragArea", "eventSettings", "firstDayOfWeek", "group", "headerRows", "height", "hideEmptyAgendaDays", "maxDate", "minDate", "quickInfoOnSelectionEnd", "quickInfoTemplates", "readonly", "resourceHeaderTemplate", "resources", "rowAutoHeight", "selectedDate", "showHeaderBar", "showQuickInfo", "showTimeIndicator", "showWeekNumber", "showWeekend", "startHour", "timeFormat", "timeScale", "timezone", "views", "weekRule", "width", "workDays", "workHours"],
|
|
105
|
-
events: ["actionBegin", "actionComplete", "actionFailure", "cellClick", "cellDoubleClick", "created", "dataBinding", "dataBound", "destroyed", "drag", "dragStart", "dragStop", "eventClick", "eventRendered", "hover", "moreEventsClick", "navigating", "popupClose", "popupOpen", "renderCell", "resizeStart", "resizeStop", "resizing", "select"]
|
|
106
|
-
},
|
|
107
|
-
sidebar: {
|
|
108
|
-
oneWay: ["animate", "closeOnDocumentClick", "dockSize", "enableDock", "enableGestures", "isOpen", "mediaQuery", "position", "showBackdrop", "target", "type", "width", "zIndex"],
|
|
109
|
-
events: ["change", "close", "created", "destroyed", "open"]
|
|
110
|
-
},
|
|
111
|
-
slider: {
|
|
112
|
-
oneWay: ["cssClass", "customValues", "enableAnimation", "enabled", "limits", "max", "min", "orientation", "readonly", "showButtons", "step", "ticks", "tooltip", "type"],
|
|
113
|
-
twoWay: ["value"],
|
|
114
|
-
events: ["change", "changed", "created", "renderedTicks", "renderingTicks", "tooltipChange"]
|
|
115
|
-
},
|
|
116
|
-
splitter: {
|
|
117
|
-
oneWay: ["cssClass", "enableHtmlSanitizer", "enabled", "height", "orientation", "paneSettings", "separatorSize", "width"],
|
|
118
|
-
events: ["beforeCollapse", "beforeExpand", "beforeSanitizeHtml", "collapsed", "created", "expanded", "resizeStart", "resizeStop", "resizing"]
|
|
119
|
-
},
|
|
120
|
-
switch: {
|
|
121
|
-
oneWay: ["cssClass", "disabled", , "name", "offLabel", "onLabel"],
|
|
122
|
-
twoWay: ["value", "checked"],
|
|
123
|
-
events: ["change", "created"]
|
|
124
|
-
},
|
|
125
|
-
textBox: {
|
|
126
|
-
oneWay: ["cssClass", "enabled", "floatLabelType", "htmlAttributes", "multiline", "placeholder", "readonly", "showClearButton", "type"],
|
|
127
|
-
twoWay: ["value"],
|
|
128
|
-
events: ["blur", "change", "created", "destroyed", "focus", "input"]
|
|
129
|
-
},
|
|
130
|
-
timePicker: {
|
|
131
|
-
oneWay: ["allowEdit", "cssClass", "enabled", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "placeholder", "readonly", "scrollTo", "showClearButton", "step", "strictMode", "width", "zIndex"],
|
|
132
|
-
twoWay: ["value", "min", "max"],
|
|
133
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "itemRender", "open"]
|
|
134
|
-
},
|
|
135
|
-
treeView: {
|
|
136
|
-
oneWay: ["allowDragAndDrop", "allowEditing", "allowMultiSelection", "animation", "autoCheck", "checkedNodes", "cssClass", "expandOn", "expandedNodes", "fields", "fullRowSelect", "loadOnDemand", "nodeTemplate", "showCheckBox", "sortOrder"],
|
|
137
|
-
twoWay: ["selectedNodes"],
|
|
138
|
-
events: ["created", "dataBound", "dataSourceChanged", "destroyed", "drawNode", "keyPress", "nodeChecked", "nodeChecking", "nodeClicked", "nodeCollapsed", "nodeCollapsing", "nodeDragStart", "nodeDragStop", "nodeDragging", "nodeDropped", "nodeEdited", "nodeEditing", "nodeExpanded", "nodeExpanding", "nodeSelected", "nodeSelecting"]
|
|
139
|
-
},
|
|
140
|
-
uploader: {
|
|
141
|
-
oneWay: ["allowedExtensions", "asyncSettings", "autoUpload", "buttons", "cssClass", "directoryUpload", "dropArea", "enabled", "files", "htmlAttributes", "maxFileSize", "minFileSize", "multiple", "sequentialUpload", "showFileList", "template", "formData"],
|
|
142
|
-
events: ["actionComplete", "canceling", "change", "chunkFailure", "chunkSuccess", "chunkUploading", "clearing", "created", "failure", "fileListRendering", "pausing", "progress", "removing", "rendering", "resuming", "selected", "success", "uploading"]
|
|
143
|
-
}
|
|
144
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ConfigBuilder } from './configBuider';
|
|
2
|
-
export { ConfigBuilder } from './configBuider';
|
|
3
|
-
export { IEj2Uplaoder as Ej2Uploader } from "./interfaces/IEj2Uploader";
|
|
4
|
-
export { IEJ2WidgetBridge } from "./interfaces/IEJ2WidgetBridge";
|
|
5
|
-
export { Ej2UploaderDataAdapter } from "./widgets/uploader/ej2-uploader";
|
|
6
|
-
export declare function configure(aurelia: any, configCallback?: (builder: ConfigBuilder) => void): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ConfigBuilder } from './configBuider';
|
|
2
|
-
export { ConfigBuilder } from './configBuider';
|
|
3
|
-
export function configure(aurelia, configCallback) {
|
|
4
|
-
let builder = new ConfigBuilder();
|
|
5
|
-
if (configCallback !== undefined && typeof (configCallback) === 'function') {
|
|
6
|
-
configCallback(builder);
|
|
7
|
-
}
|
|
8
|
-
let resources = builder.resources;
|
|
9
|
-
if (builder.useGlobalResources) {
|
|
10
|
-
aurelia.globalResources(resources);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Ej2UploaderDataAdapter } from '../widgets/uploader/ej2-uploader';
|
|
2
|
-
import { Uploader } from '@syncfusion/ej2-inputs';
|
|
3
|
-
import { IEJ2WidgetBridge } from './IEJ2WidgetBridge';
|
|
4
|
-
export interface IEj2Uplaoder extends IEJ2WidgetBridge<Uploader> {
|
|
5
|
-
mapAdditionalFilePropertiesToFiles: boolean;
|
|
6
|
-
sendAdditionalFilePropertiesAsFormData: boolean;
|
|
7
|
-
metadata: any;
|
|
8
|
-
formDataProperty: any;
|
|
9
|
-
metadataGenerator: (file: object) => object;
|
|
10
|
-
uploadResultModel: object;
|
|
11
|
-
dataAdapter: Ej2UploaderDataAdapter;
|
|
12
|
-
autoRemoveServerFiles: any;
|
|
13
|
-
context: any;
|
|
14
|
-
serverDelete: boolean;
|
|
15
|
-
removeFile(file: any): void;
|
|
16
|
-
removeAll(): void;
|
|
17
|
-
}
|
|
File without changes
|