aurelia-syncfusion-ej2-bridge 0.1.0-beta.9 → 1.0.0
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 +1 -0
- package/dist/commonjs/common/controlBase.d.ts +3 -1
- package/dist/commonjs/common/controlBase.js +13 -4
- package/dist/commonjs/common/syncfusionWrapper.d.ts +3 -0
- package/dist/commonjs/common/syncfusionWrapper.js +11 -2
- package/dist/commonjs/configBuider.d.ts +2 -0
- package/dist/commonjs/configBuider.js +12 -2
- package/dist/commonjs/controlBindings.d.ts +10 -0
- package/dist/commonjs/controlBindings.js +70 -38
- package/dist/commonjs/widgets/button/ej2-button.d.ts +1 -1
- package/dist/commonjs/widgets/button/ej2-button.js +9 -7
- package/dist/commonjs/widgets/checkbox/ej2-checkbox-list.js +0 -1
- package/dist/commonjs/widgets/checkbox/ej2-checkbox.js +1 -2
- package/dist/commonjs/widgets/grid/ej2-grid.js +22 -22
- package/dist/commonjs/widgets/listView/ej2-listView.js +1 -1
- package/dist/commonjs/widgets/multiSelect/ej2-multiSelect.d.ts +10 -0
- package/dist/commonjs/widgets/multiSelect/ej2-multiSelect.js +44 -0
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.d.ts +1 -1
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.js +8 -6
- package/dist/commonjs/widgets/radio/ej2-radio.js +3 -3
- package/dist/commonjs/widgets/schedule/ej2-schedule.d.ts +8 -0
- package/dist/commonjs/widgets/schedule/ej2-schedule.js +32 -0
- package/dist/commonjs/widgets/splitter/ej2-splitter.js +0 -2
- package/dist/commonjs/widgets/switch/ej2-switch.d.ts +2 -1
- package/dist/commonjs/widgets/switch/ej2-switch.js +8 -4
- package/dist/commonjs/widgets/uploader/ej2-uploader.d.ts +7 -1
- package/dist/commonjs/widgets/uploader/ej2-uploader.js +65 -29
- package/dist/native-modules/common/controlBase.d.ts +3 -1
- package/dist/native-modules/common/controlBase.js +13 -4
- package/dist/native-modules/common/syncfusionWrapper.d.ts +3 -0
- package/dist/native-modules/common/syncfusionWrapper.js +11 -2
- package/dist/native-modules/configBuider.d.ts +2 -0
- package/dist/native-modules/configBuider.js +12 -2
- package/dist/native-modules/controlBindings.d.ts +10 -0
- package/dist/native-modules/controlBindings.js +70 -38
- package/dist/native-modules/widgets/button/ej2-button.d.ts +1 -1
- package/dist/native-modules/widgets/button/ej2-button.js +9 -7
- package/dist/native-modules/widgets/checkbox/ej2-checkbox-list.js +0 -1
- package/dist/native-modules/widgets/checkbox/ej2-checkbox.js +2 -3
- package/dist/native-modules/widgets/grid/ej2-grid.js +22 -22
- package/dist/native-modules/widgets/listView/ej2-listView.js +1 -1
- package/dist/native-modules/widgets/multiSelect/ej2-multiSelect.d.ts +10 -0
- package/dist/native-modules/widgets/multiSelect/ej2-multiSelect.js +41 -0
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.d.ts +1 -1
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.js +8 -6
- package/dist/native-modules/widgets/radio/ej2-radio.js +3 -3
- package/dist/native-modules/widgets/schedule/ej2-schedule.d.ts +8 -0
- package/dist/native-modules/widgets/schedule/ej2-schedule.js +29 -0
- package/dist/native-modules/widgets/splitter/ej2-splitter.js +0 -2
- package/dist/native-modules/widgets/switch/ej2-switch.d.ts +2 -1
- package/dist/native-modules/widgets/switch/ej2-switch.js +8 -4
- package/dist/native-modules/widgets/uploader/ej2-uploader.d.ts +7 -1
- package/dist/native-modules/widgets/uploader/ej2-uploader.js +65 -29
- package/package.json +9 -4
|
@@ -6,17 +6,26 @@ export class SyncfusionWrapper extends ControlBase {
|
|
|
6
6
|
}
|
|
7
7
|
onCreateControl() {
|
|
8
8
|
this.onBeforeWidgetInstantiation();
|
|
9
|
-
this.widget = new this.syncfusionWidgetType(this.
|
|
9
|
+
this.widget = new this.syncfusionWidgetType(this._eModel);
|
|
10
10
|
this.widget.created = () => { this.onWidgetCreated(); };
|
|
11
11
|
this.onWrapperCreated();
|
|
12
12
|
this.createControlEvents(this.getBindables());
|
|
13
13
|
}
|
|
14
14
|
recreate() {
|
|
15
|
-
this.
|
|
15
|
+
this.onRecreate();
|
|
16
16
|
this.widget.destroy();
|
|
17
|
+
this.widget = null;
|
|
18
|
+
this.recreating();
|
|
17
19
|
this.setInitialBindings();
|
|
18
20
|
this.onCreateControl();
|
|
19
21
|
this.appendWidget();
|
|
22
|
+
this.recreated();
|
|
23
|
+
}
|
|
24
|
+
onRecreate() {
|
|
25
|
+
}
|
|
26
|
+
recreating() {
|
|
27
|
+
}
|
|
28
|
+
recreated() {
|
|
20
29
|
}
|
|
21
30
|
refresh() {
|
|
22
31
|
this.widget.refresh();
|
|
@@ -22,10 +22,12 @@ export declare class ConfigBuilder {
|
|
|
22
22
|
ej2Grid(): ConfigBuilder;
|
|
23
23
|
ej2ListView(): ConfigBuilder;
|
|
24
24
|
ej2MaskedTextBox(): ConfigBuilder;
|
|
25
|
+
ej2MultiSelect(): ConfigBuilder;
|
|
25
26
|
ej2NumericTextBox(): ConfigBuilder;
|
|
26
27
|
ej2Pager(): ConfigBuilder;
|
|
27
28
|
ej2ProgressButton(): ConfigBuilder;
|
|
28
29
|
ej2Radio(): ConfigBuilder;
|
|
30
|
+
ej2Schedule(): ConfigBuilder;
|
|
29
31
|
ej2Sidebar(): ConfigBuilder;
|
|
30
32
|
ej2Slider(): ConfigBuilder;
|
|
31
33
|
ej2Splitter(): ConfigBuilder;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Ej2MultiSelect } from './widgets/multiSelect/ej2-multiSelect';
|
|
2
|
+
import { Ej2Schedule } from './widgets/schedule/ej2-schedule';
|
|
1
3
|
import { Ej2FileManager } from './widgets/fileManager/ej2-fileManager';
|
|
2
4
|
import { Ej2Sidebar } from './widgets/sidebar/ej2-sidebar';
|
|
3
5
|
import { Ej2DatePicker } from './widgets/datePicker/ej2-DatePicker';
|
|
4
|
-
import { PLATFORM } from "aurelia-pal";
|
|
5
6
|
import { Ej2TextBox } from './widgets/textBox/ej2-textBox';
|
|
6
7
|
import { Ej2DateRangePicker } from './widgets/dateRangePicker/ej2-dateRangePicker';
|
|
7
8
|
import { Ej2DateTimePicker } from './widgets/dateTimePicker/ej2-dateTimePicker';
|
|
@@ -50,10 +51,12 @@ export class ConfigBuilder {
|
|
|
50
51
|
.ej2Grid()
|
|
51
52
|
.ej2ListView()
|
|
52
53
|
.ej2MaskedTextBox()
|
|
54
|
+
.ej2MultiSelect()
|
|
53
55
|
.ej2NumericTextBox()
|
|
54
56
|
.ej2Pager()
|
|
55
57
|
.ej2ProgressButton()
|
|
56
58
|
.ej2Radio()
|
|
59
|
+
.ej2Schedule()
|
|
57
60
|
.ej2Sidebar()
|
|
58
61
|
.ej2Slider()
|
|
59
62
|
.ej2Splitter()
|
|
@@ -76,7 +79,6 @@ export class ConfigBuilder {
|
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
materialTheme() {
|
|
79
|
-
this.resources.push(PLATFORM.moduleName("@syncfusion/ej2/material.css"));
|
|
80
82
|
return this;
|
|
81
83
|
}
|
|
82
84
|
withoutGlobalResources() {
|
|
@@ -147,6 +149,10 @@ export class ConfigBuilder {
|
|
|
147
149
|
this.resources.push(Ej2MaskedTextBox);
|
|
148
150
|
return this;
|
|
149
151
|
}
|
|
152
|
+
ej2MultiSelect() {
|
|
153
|
+
this.resources.push(Ej2MultiSelect);
|
|
154
|
+
return this;
|
|
155
|
+
}
|
|
150
156
|
ej2NumericTextBox() {
|
|
151
157
|
this.resources.push(Ej2NumericTextBox);
|
|
152
158
|
return this;
|
|
@@ -163,6 +169,10 @@ export class ConfigBuilder {
|
|
|
163
169
|
this.resources.push(Ej2Radio);
|
|
164
170
|
return this;
|
|
165
171
|
}
|
|
172
|
+
ej2Schedule() {
|
|
173
|
+
this.resources.push(Ej2Schedule);
|
|
174
|
+
return this;
|
|
175
|
+
}
|
|
166
176
|
ej2Sidebar() {
|
|
167
177
|
this.resources.push(Ej2Sidebar);
|
|
168
178
|
return this;
|
|
@@ -74,12 +74,18 @@ export declare const ControlBindings: {
|
|
|
74
74
|
twoWay: string[];
|
|
75
75
|
events: string[];
|
|
76
76
|
};
|
|
77
|
+
multiSelect: {
|
|
78
|
+
oneWay: string[];
|
|
79
|
+
twoWay: string[];
|
|
80
|
+
events: string[];
|
|
81
|
+
};
|
|
77
82
|
numericTextBox: {
|
|
78
83
|
oneWay: string[];
|
|
79
84
|
twoWay: string[];
|
|
80
85
|
events: string[];
|
|
81
86
|
};
|
|
82
87
|
pager: {
|
|
88
|
+
oneWay: string[];
|
|
83
89
|
twoWay: string[];
|
|
84
90
|
events: string[];
|
|
85
91
|
};
|
|
@@ -91,6 +97,10 @@ export declare const ControlBindings: {
|
|
|
91
97
|
oneWay: string[];
|
|
92
98
|
events: string[];
|
|
93
99
|
};
|
|
100
|
+
schedule: {
|
|
101
|
+
oneWay: string[];
|
|
102
|
+
events: string[];
|
|
103
|
+
};
|
|
94
104
|
sidebar: {
|
|
95
105
|
oneWay: string[];
|
|
96
106
|
events: string[];
|
|
@@ -3,138 +3,170 @@ export const ControlBindings = {
|
|
|
3
3
|
oneWay: ["enablePersistence", "enableRtl", "locale"]
|
|
4
4
|
},
|
|
5
5
|
accordion: {
|
|
6
|
-
oneWay: ["animation", "expandMode", "height", "items", "width"],
|
|
6
|
+
oneWay: ["animation", "dataSource", "enableHtmlSanitizer", "expandMode", "expandedIndices", "height", "itemTemplate", "items", "width"],
|
|
7
7
|
events: ["clicked", "created", "destroyed", "expanded", "expanding"]
|
|
8
8
|
},
|
|
9
9
|
autoComplete: {
|
|
10
|
-
oneWay: ["actionFailureTemplate", "allowCustom", "autofill", "cssClass", "dataSource", "enabled", "fields", "
|
|
10
|
+
oneWay: ["actionFailureTemplate", "allowCustom", "autofill", "cssClass", "dataSource", "enabled", "fields", "ignoreAccent", "ignoreCase", "itemTemplate", "minLength", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "showPopupButton", "sortOrder", "suggestionCount", "width", "zIndex"],
|
|
11
11
|
twoWay: ["value"],
|
|
12
12
|
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "customValueSpecifier", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
13
13
|
},
|
|
14
14
|
button: {
|
|
15
|
-
oneWay: ["disabled", "isPrimary", "content", "cssClass", "iconCss", "iconPosition", "isToggle", "enableRtl"],
|
|
15
|
+
oneWay: ["disabled", "isPrimary", "content", "cssClass", "enableHtmlSanitizer", "iconCss", "iconPosition", "isToggle", "enableRtl"],
|
|
16
16
|
events: ["created"]
|
|
17
17
|
},
|
|
18
18
|
checkbox: {
|
|
19
|
-
oneWay: ["cssClass", "disabled", "indeterminate", "label", "labelPosition", "name", "value"],
|
|
19
|
+
oneWay: ["cssClass", "disabled", "enableHtmlSanitizer", "htmlAttributes", "indeterminate", "label", "labelPosition", "name", "value"],
|
|
20
20
|
twoWay: ["checked"],
|
|
21
21
|
events: ["change", "created"]
|
|
22
22
|
},
|
|
23
23
|
comboBox: {
|
|
24
|
-
oneWay: ["actionFailureTemplate", "allowCustom", "allowFiltering", "autofill", "cssClass", "dataSource", "enabled", "fields",
|
|
24
|
+
oneWay: ["actionFailureTemplate", "allowCustom", "allowFiltering", "autofill", "cssClass", "dataSource", "enabled", "fields",
|
|
25
|
+
"filterType", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "ignoreCase", "index", "itemTemplate", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "sortOrder", "text", "width", "zIndex"],
|
|
25
26
|
twoWay: ["value"],
|
|
26
27
|
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "customValueSpecifier", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
27
28
|
},
|
|
28
29
|
dashboardLayout: {
|
|
29
|
-
oneWay: ["allowDragging", "allowFloating", "allowResizing", "cellSpacing", "columns", "draggableHandle",
|
|
30
|
+
oneWay: ["allowDragging", "allowFloating", "allowResizing", "cellSpacing", "columns", "draggableHandle",
|
|
31
|
+
"enableHtmlSanitizer", "mediaQuery", "panels", "resizableHandles", "showGridLines"],
|
|
30
32
|
events: ["change", "created", "destroyed", "drag", "dragStart", "dragStop", "resize", "resizeStart", "resizeStop"]
|
|
31
33
|
},
|
|
32
34
|
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"],
|
|
35
|
+
oneWay: ["allowEdit", "calendarMode", "cssClass", "dayHeaderFormat", "depth", "enableMask", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "max", "min", "openOnFocus", "placeholder", "readonly", "serverTimezoneOffset", "showClearButton", "showTodayButton", "start", "strictMode", "weekNumber", "weekRule", "width", "zindex"],
|
|
34
36
|
twoWay: ["value"],
|
|
35
37
|
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
36
38
|
},
|
|
37
39
|
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"],
|
|
40
|
+
oneWay: ["allowEdit", "cssClass", "dayHeaderFormat", "depth", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "max", "maxDays", "min", "minDays", "openOnFocus", "placeholder", "presets", "readonly", "separator", "serverTimezoneOffset", "showClearButton", "start", "strictMode", "weekNumber", "weekRule", "width", "zindex"],
|
|
39
41
|
twoWay: ["value", "startDate", "endDate"],
|
|
40
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell", "select"]
|
|
42
|
+
events: ["blur", "change", "cleared", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell", "select"]
|
|
41
43
|
},
|
|
42
44
|
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"],
|
|
45
|
+
oneWay: ["allowEdit", "calendarMode", "cssClass", "dayHeaderFormat", "depth", "enableMask", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "maskPlaceholder", "max", "min", "openOnFocus", "placeholder", "readonly", "scrollTo", "serverTimezoneOffset", "showClearButton", "showTodayButton", "start", "step", "strictMode", "timeFormat", "weekNumber", "weekRule", "width", "zindex"],
|
|
44
46
|
twoWay: ["value"],
|
|
45
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
47
|
+
events: ["blur", "change", "cleared", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
46
48
|
},
|
|
47
49
|
dropDownList: {
|
|
48
|
-
oneWay: ["actionFailureTemplate", "allowFiltering", "cssClass", "dataSource", "enabled", "fields", "filterBarPlaceholder",
|
|
50
|
+
oneWay: ["actionFailureTemplate", "allowFiltering", "cssClass", "dataSource", "enabled", "fields", "filterBarPlaceholder",
|
|
51
|
+
"filterType", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "ignoreCase", "index", "itemTemplate", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "sortOrder", "text", "valueTemplate", "width", "zindex"],
|
|
49
52
|
twoWay: ["value"],
|
|
50
53
|
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
51
54
|
},
|
|
52
55
|
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"],
|
|
56
|
+
oneWay: ["actionFailureTemplate", "allowFiltering", "allowMultiSelection", "changeOnBlur", "cssClass", "customTemplate", "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", "width", "wrapText", "zIndex"],
|
|
54
57
|
twoWay: ["text", "value"],
|
|
55
58
|
events: ["actionFailure", "beforeOpen", "blur", "change", "close", "created", "dataBound", "destroyed", "filtering", "focus", "keyPress", "open", "select"]
|
|
56
59
|
},
|
|
57
60
|
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"],
|
|
61
|
+
oneWay: ["ajaxSettings", "allowDragAndDrop", "allowMultiSelection", "contextMenuSettings", "cssClass", "detailsViewSettings", "enableHtmlSanitizer", "height", "navigationPaneSettings", "path", "popupTarget", "rootAliasName", "searchSettings", "selectedItems", "showFileExtension", "showHiddenItems", "showThumbnail", "sortBy", "sortOrder", "toolbarSettings", "uploadSettings", "view", "width"],
|
|
59
62
|
twoWay: [],
|
|
60
63
|
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
64
|
},
|
|
62
65
|
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",
|
|
66
|
+
oneWay: ["aggregates", "allowExcelExport", "disabled", "allowFiltering", "allowGrouping", "allowKeyboard", "allowMultiSorting", "allowPaging", "allowPdfExport",
|
|
67
|
+
"allowReordering", "allowResizing", "allowRowDragAndDrop", "allowSelection", "allowSorting", "allowTextWrap", "childGrid", "clipMode", "clipboardModule", "columnChooserSettings",
|
|
68
|
+
"columnMenuItems", "columnMenuModule", "columnQueryMode", "columns", "contextMenuItems", "contextMenuModule", "cssClass", "currentAction", "currentViewData", "dataSource",
|
|
69
|
+
"detailTemplate", "editModule", "editSettings", "ej2StatePersistenceVersion", "enableAdaptiveUI", "enableAltRow", "enableAutoFill", "enableColumnVirtualization", "enableHeaderFocus", "enableHover", "enableImmutableMode", "enableInfinitScrolling", "enableStickyHeader", "enableVirtualMaskRow", "enableVirtualiziation",
|
|
70
|
+
"excelExportModule", "filterModule", "filterSettings", "frozenColumns", "frozenRows", "gridLines", "groupModule", "groupSettings", "height", "hierarchyPrintMode", "infiniteScrollModule", "infiniteScrollSettings", "keyboardModule", "loadingIndicator",
|
|
71
|
+
"pageSettings", "pagerModule", "pagerTemplate", "parentDetails", "pdfExportModule", "printMode", "printModule", "query", "queryString", "reorderModule", "resizeSettings", "rowDragAndDropModule", "rowDropSettings", "rowHeight", "rowRenderingMode",
|
|
69
72
|
"rowTemplate", "scrollModule", "searchModule", "searchSettings", "selectionModule", "selectionSettings", "showColumnChooser", "showColumnMenu", "showHider", "sortModule",
|
|
70
73
|
"sortSettings", "textWrapSettings", "toolbar", "toolbarModule", "toolbarTemplate", "width"],
|
|
71
74
|
fromView: [
|
|
72
75
|
"currentViewData"
|
|
73
76
|
],
|
|
74
77
|
twoWay: ["selectedRowIndex"],
|
|
75
|
-
events: ["
|
|
78
|
+
events: ["actionBegin", "actionComplete", "actionFailure", "batchAdd", "batchCancel", "batchDelete", "beforeAutoFill", "beforeBatchAdd", "beforeBatchDelete", "beforeBatchSave", "beforeCopy", "beforeDataBound", "beforeExcelExport", "beforeOpenAdaptiveDialog", "beforeOpenColumnChooser", "beforePaste", "beforePdfExport", "beforePrint", "beginEdit", "cellDeselected", "cellDeselecting", "cellEdit", "cellSave", "cellSaved", "cellSelected", "cellSelecting", "checkBoxChange", "columnDataStateChange", "columnDeselected", "columnDeselecting", "columnDrag", "columnDragStart", "columnDrop", "columnMenuClick", "columnMenuOpen", "columnSelected", "columnSelecting", "commandClick", "contextMenuClick", "contextMenuOpen", "created", "dataBound", "dataSourceChanged", "dataStateChange", "destroyed", "detailDataBound", "excelAggregateQueryCellInfo", "excelExportComplete", "excelHeaderQueryCellInfo", "excelQueryCellInfo", "exportDetailDataBound", "exporeGroupCaption", "headerCellInfo", "keyPressed", "lazyLoadGroupCollapse", "lazyLoadGroupExpand", "load", "pdfAggregateQueryCellInfo", "pdfExportComplete", "pdfHeaderQueryCellInfo", "pdfQueryCellInfo", "printComplete", "queryCellInfo", "recordClick", "recordDoubleClick", "resizeStart", "resizeStop", "resizing", "rowDataBound", "rowDeselected", "rowDeselecting", "rowDrag", "rowDragStart", "rowDragStartHelper", "rowDrop", "rowSelected", "rowSelecting", "toolbarClick"]
|
|
76
79
|
},
|
|
77
80
|
listView: {
|
|
78
|
-
oneWay: ["animation", "checkBoxPosition", "cssClass", "dataSource", "enable", "
|
|
81
|
+
oneWay: ["animation", "checkBoxPosition", "cssClass", "dataSource", "enable", "enableHtmlSanitizer", "enableVirtualization", "fields", "groupTemplate", "headerTemplate", "headerTitle", "height", "htmlAttributes", "query", "showCheckBox", "showHeader", "showIcon", "sortOrder", "template", "width"],
|
|
79
82
|
events: ["actionBegin", "actionComplete", "actionFailure", "select"]
|
|
80
83
|
},
|
|
81
84
|
maskedTextBox: {
|
|
82
85
|
oneWay: ["cssClass", "customCharacters", "enabled", "floatLabelType", "htmlAttributes", "mask", "placeholder", "promptChar", "showClearButton", "width"],
|
|
83
86
|
twoWay: ["value"],
|
|
84
|
-
events: ["blur", "change", "created", "destroyed", "focus"
|
|
87
|
+
events: ["blur", "change", "created", "destroyed", "focus"]
|
|
88
|
+
},
|
|
89
|
+
multiSelect: {
|
|
90
|
+
oneWay: ["actionFailureTemplate",
|
|
91
|
+
"addTagOnBlur", "allowCustomValue", "allowFiltering", "changeOnBlur", "closePopupOnSelect", "cssClass", "dataSource", "delimiterChar", "enableGroupCheckBox", "enableHtmlSanitizer", "enableSelectionOrder", "enabled", "fields", "filterBarPlaceholder", "filterType", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "hideSelectedItem", "htmlAttributes", "ignoreAccent", "ignoreCase", "itemTemplate", "locale", "maximumSelectionLength", "mode", "noRecordsTemplate", "openOnClick", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "selectAllText", "showClearButton", "showDropDownIcon", "showSelectAll", "sortOrder", "text", "unSelectAllText", "valueTemplate", "width", "zIndex"],
|
|
92
|
+
twoWay: ["value"],
|
|
93
|
+
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen",
|
|
94
|
+
"beforeSelectAll", "blur", "change", "chipSelection", "close", "created", "customValueSelection", "dataBound", "destroyed", "filtering", "focus", "open", "removed", "removing", "select", "selectedAll", "tagging"]
|
|
85
95
|
},
|
|
86
96
|
numericTextBox: {
|
|
87
|
-
oneWay: ["cssClass", "currency", "decimals", "enabled", "floatLabelType", "format", "htmlAttributes", "max", "min", "placeholder", "readonly", "
|
|
97
|
+
oneWay: ["cssClass", "currency", "decimals", "enabled", "floatLabelType", "format", "htmlAttributes", "max", "min", "placeholder", "readonly", "showClearButton", "showSpinButton", "step", "strictMode", "validateDecimalOnType", "width"],
|
|
88
98
|
twoWay: ["value"],
|
|
89
99
|
events: ["blur", "change", "created", "destroyed", "focus"]
|
|
90
100
|
},
|
|
91
101
|
pager: {
|
|
92
|
-
|
|
102
|
+
oneWay: ["cssClass", "customText", "enableExternalMessage", "enablePagerMessage", "enableQueryString", "externalMessage",
|
|
103
|
+
"pageCount", "pageSize", "pageSizes",
|
|
104
|
+
"template"],
|
|
105
|
+
twoWay: ["currentPage", "totalRecordsCount"],
|
|
93
106
|
events: ["click", "created", "dropDownChanged"]
|
|
94
107
|
},
|
|
95
108
|
progressButton: {
|
|
96
|
-
oneWay: ["animationSettings", "content", "cssClass", "disabled", "duration", "enableProgress", "iconCss", "iconPosition", "isPrimary", "isToggle", "spinSettings"],
|
|
109
|
+
oneWay: ["animationSettings", "content", "cssClass", "disabled", "duration", "enableHtmlSanitizer", "enableProgress", "iconCss", "iconPosition", "isPrimary", "isToggle", "spinSettings"],
|
|
97
110
|
events: ["begin", "created", "end", "fail", "progress"]
|
|
98
111
|
},
|
|
99
112
|
radio: {
|
|
100
|
-
oneWay: ["checked", "cssClass", "disabled", "label", "labelPosition", "name", "value"],
|
|
113
|
+
oneWay: ["checked", "cssClass", "disabled", "enableHtmlSanitizer", "htmlAttributes", "label", "labelPosition", "name", "value"],
|
|
101
114
|
events: ["change", "created"]
|
|
102
115
|
},
|
|
116
|
+
schedule: {
|
|
117
|
+
oneWay: ["agendaDaysCount", "allowDragAndDrop", "allowInline", "allowKeyboardInteraction", "allowMultiCellSelection", "allowMultiDrag", "allowMultiRowSelection", "allowResizing",
|
|
118
|
+
"allowSwiping", "calendarMode", "cellHeaderTemplate", "cellTemplate", "cssClass", "currentView", "dateFormat", "dateHeaderTemplate",
|
|
119
|
+
"dayHeaderTemplate",
|
|
120
|
+
"enableAdaptiveUI",
|
|
121
|
+
"enableAllDayScroll", "editorTemplate", "enableRecurrenceValidation", "endHour", "eventDragArea", "eventSettings", "firstDayOfWeek", "firstMonthOfYear", "group", "headerIndentTemplate", "headerRows", "height", "hideEmptyAgendaDays", "maxDate", "minDate", "monthHeaderTemplate", "monthsCount", "quickInfoOnSelectionEnd", "quickInfoTemplates", "readonly", "resourceHeaderTemplate", "resources", "rowAutoHeight", "selectedDate", "showHeaderBar", "showQuickInfo", "showTimeIndicator", "showWeekNumber", "showWeekend", "startHour", "timeFormat", "timeScale", "timezone", "timezoneDataSource", "views", "weekRule", "width", "workDays", "workHours"],
|
|
122
|
+
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"]
|
|
123
|
+
},
|
|
103
124
|
sidebar: {
|
|
104
125
|
oneWay: ["animate", "closeOnDocumentClick", "dockSize", "enableDock", "enableGestures", "isOpen", "mediaQuery", "position", "showBackdrop", "target", "type", "width", "zIndex"],
|
|
105
126
|
events: ["change", "close", "created", "destroyed", "open"]
|
|
106
127
|
},
|
|
107
128
|
slider: {
|
|
108
|
-
oneWay: ["cssClass", "customValues", "enableAnimation", "enabled", "limits", "max", "min", "orientation", "readonly", "showButtons", "step", "ticks", "tooltip", "type"],
|
|
129
|
+
oneWay: ["colorRange", "cssClass", "customValues", "enableAnimation", "enableHtmlSanitizer", "enabled", "limits", "max", "min", "orientation", "readonly", "showButtons", "step", "ticks", "tooltip", "type", "width"],
|
|
109
130
|
twoWay: ["value"],
|
|
110
131
|
events: ["change", "changed", "created", "renderedTicks", "renderingTicks", "tooltipChange"]
|
|
111
132
|
},
|
|
112
133
|
splitter: {
|
|
113
|
-
oneWay: ["cssClass", "enableHtmlSanitizer",
|
|
134
|
+
oneWay: ["cssClass", "enableHtmlSanitizer",
|
|
135
|
+
"enableReversePanes", "enabled", "height", "orientation", "paneSettings", "separatorSize", "width"],
|
|
114
136
|
events: ["beforeCollapse", "beforeExpand", "beforeSanitizeHtml", "collapsed", "created", "expanded", "resizeStart", "resizeStop", "resizing"]
|
|
115
137
|
},
|
|
116
138
|
switch: {
|
|
117
|
-
oneWay: ["cssClass", "disabled",
|
|
139
|
+
oneWay: ["cssClass", "disabled", "name", "offLabel", "onLabel"],
|
|
118
140
|
twoWay: ["value", "checked"],
|
|
119
141
|
events: ["change", "created"]
|
|
120
142
|
},
|
|
121
143
|
textBox: {
|
|
122
|
-
oneWay: [
|
|
144
|
+
oneWay: [
|
|
145
|
+
"autocomplete",
|
|
146
|
+
"cssClass", "enabled", "floatLabelType", "htmlAttributes", "multiline", "placeholder", "readonly", "showClearButton", "type"
|
|
147
|
+
],
|
|
123
148
|
twoWay: ["value"],
|
|
124
149
|
events: ["blur", "change", "created", "destroyed", "focus", "input"]
|
|
125
150
|
},
|
|
126
151
|
timePicker: {
|
|
127
|
-
oneWay: ["allowEdit", "cssClass", "enabled", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "placeholder", "readonly", "scrollTo", "showClearButton", "step", "strictMode", "width", "zIndex"],
|
|
152
|
+
oneWay: ["allowEdit", "cssClass", "enableMask", "enabled", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "maskPlaceholder", "openOnFocus", "placeholder", "readonly", "scrollTo", "showClearButton", "step", "strictMode", "width", "zIndex"],
|
|
128
153
|
twoWay: ["value", "min", "max"],
|
|
129
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "itemRender", "open"]
|
|
154
|
+
events: ["blur", "change", "cleared", "close", "created", "destroyed", "focus", "itemRender", "open"]
|
|
130
155
|
},
|
|
131
156
|
treeView: {
|
|
132
|
-
oneWay: ["allowDragAndDrop", "allowEditing", "allowMultiSelection",
|
|
133
|
-
|
|
134
|
-
|
|
157
|
+
oneWay: ["allowDragAndDrop", "allowEditing", "allowMultiSelection",
|
|
158
|
+
"allowTextWrap", "animation", "autoCheck", "cssClass",
|
|
159
|
+
"disabled", "dragArea",
|
|
160
|
+
"enableHtmlSanitizer", "expandOn", "fields",
|
|
161
|
+
"fullRowNavigable", "fullRowSelect", "loadOnDemand", "nodeTemplate", "showCheckBox", "sortOrder"],
|
|
162
|
+
twoWay: ["selectedNodes", "checkedNodes",
|
|
163
|
+
"expandedNodes"],
|
|
164
|
+
events: ["actionFailure", "created", "dataBound", "dataSourceChanged", "destroyed", "drawNode", "keyPress", "nodeChecked", "nodeChecking", "nodeClicked", "nodeCollapsed", "nodeCollapsing", "nodeDragStart", "nodeDragStop", "nodeDragging", "nodeDropped", "nodeEdited", "nodeEditing", "nodeExpanded", "nodeExpanding", "nodeSelected", "nodeSelecting"]
|
|
135
165
|
},
|
|
136
166
|
uploader: {
|
|
137
|
-
oneWay: ["allowedExtensions", "asyncSettings", "autoUpload", "buttons", "cssClass", "directoryUpload", "dropArea",
|
|
138
|
-
|
|
167
|
+
oneWay: ["allowedExtensions", "asyncSettings", "autoUpload", "buttons", "cssClass", "directoryUpload", "dropArea",
|
|
168
|
+
"dropEffect", "enabled", "files", "htmlAttributes", "maxFileSize", "minFileSize", "multiple", "sequentialUpload", "showFileList", "template", "formData"],
|
|
169
|
+
events: ["actionComplete",
|
|
170
|
+
"beforeRemove", "beforeUpload", "canceling", "change", "chunkFailure", "chunkSuccess", "chunkUploading", "clearing", "created", "failure", "fileListRendering", "pausing", "progress", "removing", "rendering", "resuming", "selected", "success", "uploading"]
|
|
139
171
|
}
|
|
140
172
|
};
|
|
@@ -2,10 +2,10 @@ import { Button, ButtonModel } from '@syncfusion/ej2-buttons';
|
|
|
2
2
|
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
3
3
|
export declare class Ej2Button extends SyncfusionWrapper<Button, ButtonModel> {
|
|
4
4
|
clickEvent: Event;
|
|
5
|
+
_onClick: (event: Event) => void;
|
|
5
6
|
protected onWidgetCreated(): void;
|
|
6
7
|
protected onWrapperCreated(): void;
|
|
7
8
|
protected syncfusionWidgetType: typeof Button;
|
|
8
|
-
_onClick(event: Event): void;
|
|
9
9
|
refresh(): void;
|
|
10
10
|
focusIn(): void;
|
|
11
11
|
click(): void;
|
|
@@ -12,20 +12,22 @@ let Ej2Button = class Ej2Button extends SyncfusionWrapper {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
|
14
14
|
this.clickEvent = null;
|
|
15
|
+
this._onClick = null;
|
|
15
16
|
this.syncfusionWidgetType = Button;
|
|
16
17
|
}
|
|
17
18
|
onWidgetCreated() {
|
|
18
|
-
|
|
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);
|
|
19
25
|
}
|
|
20
26
|
onWrapperCreated() {
|
|
21
27
|
this.clickEvent = new CustomEvent("on-click", {
|
|
22
28
|
bubbles: true
|
|
23
29
|
});
|
|
24
30
|
}
|
|
25
|
-
_onClick(event) {
|
|
26
|
-
this.element.dispatchEvent(this.clickEvent);
|
|
27
|
-
event.stopPropagation();
|
|
28
|
-
}
|
|
29
31
|
refresh() {
|
|
30
32
|
this.widget.refresh();
|
|
31
33
|
}
|
|
@@ -39,12 +41,12 @@ let Ej2Button = class Ej2Button extends SyncfusionWrapper {
|
|
|
39
41
|
this.widget.dataBind();
|
|
40
42
|
}
|
|
41
43
|
detached() {
|
|
42
|
-
this.widget.element.removeEventListener("click", this._onClick);
|
|
44
|
+
this.widget.element.removeEventListener("click", this._onClick, false);
|
|
43
45
|
}
|
|
44
46
|
};
|
|
45
47
|
Ej2Button = __decorate([
|
|
46
48
|
generateBindables("button"),
|
|
47
|
-
inlineView('<template><button element.ref="widgetElement"
|
|
49
|
+
inlineView('<template><button element.ref="widgetElement"><slot></slot></button></template>'),
|
|
48
50
|
customElement('ej2-button')
|
|
49
51
|
], Ej2Button);
|
|
50
52
|
export { Ej2Button };
|
|
@@ -21,7 +21,6 @@ let Ej2CheckboxList = class Ej2CheckboxList {
|
|
|
21
21
|
attached() {
|
|
22
22
|
}
|
|
23
23
|
checkboxClick(option, ej2Checkbox) {
|
|
24
|
-
console.log("matcher", this.matcher);
|
|
25
24
|
if (ej2Checkbox[`${constants.bindablePrefix}checked`]) {
|
|
26
25
|
if ((this.matcher && this.selectedItems.find((x) => this.matcher(x, option))) || !this.selectedItems.includes(option)) {
|
|
27
26
|
this.selectedItems.push(option);
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { CheckBox } from '@syncfusion/ej2-buttons';
|
|
8
|
-
import { autoinject, inlineView, customElement } from 'aurelia-framework';
|
|
8
|
+
import { autoinject, inlineView, customElement, transient } from 'aurelia-framework';
|
|
9
9
|
import { SyncfusionWrapper } from '../../common/syncfusionWrapper';
|
|
10
10
|
import { generateBindables } from '../../utilities/decorator';
|
|
11
11
|
import { constants } from '../../common/constants';
|
|
@@ -22,8 +22,6 @@ let Ej2Checkbox = class Ej2Checkbox extends SyncfusionWrapper {
|
|
|
22
22
|
}
|
|
23
23
|
onBind() {
|
|
24
24
|
this.widget.change = () => {
|
|
25
|
-
console.log("changed", this.widget.checked);
|
|
26
|
-
console.log("current widget value", this[`${constants.bindablePrefix}checked`]);
|
|
27
25
|
this[`${constants.bindablePrefix}checked`] = this.widget.checked;
|
|
28
26
|
};
|
|
29
27
|
this.checkedSubscription = this.bindingEngine.propertyObserver(this, "checked").subscribe((newValue) => {
|
|
@@ -49,6 +47,7 @@ let Ej2Checkbox = class Ej2Checkbox extends SyncfusionWrapper {
|
|
|
49
47
|
};
|
|
50
48
|
Ej2Checkbox = __decorate([
|
|
51
49
|
autoinject,
|
|
50
|
+
transient(),
|
|
52
51
|
generateBindables("checkbox"),
|
|
53
52
|
customElement("ej2-checkbox"),
|
|
54
53
|
inlineView(`<template><input element.ref="widgetElement" type="checkbox" /></template>`)
|
|
@@ -14,70 +14,70 @@ let Ej2Grid = class Ej2Grid extends SyncfusionWrapper {
|
|
|
14
14
|
this.syncfusionWidgetType = Grid;
|
|
15
15
|
}
|
|
16
16
|
onBeforeWidgetInstantiation() {
|
|
17
|
-
if (this.
|
|
17
|
+
if (this._eModel.allowPaging) {
|
|
18
18
|
Grid.Inject(Page);
|
|
19
19
|
}
|
|
20
|
-
if (this.
|
|
20
|
+
if (this._eModel.allowSelection) {
|
|
21
21
|
Grid.Inject(Selection);
|
|
22
22
|
}
|
|
23
|
-
if (this.
|
|
23
|
+
if (this._eModel.editSettings) {
|
|
24
24
|
Grid.Inject(Edit);
|
|
25
25
|
}
|
|
26
|
-
if (this.
|
|
26
|
+
if (this._eModel.allowReordering) {
|
|
27
27
|
Grid.Inject(Reorder);
|
|
28
28
|
}
|
|
29
|
-
if (this.
|
|
29
|
+
if (this._eModel.allowSorting) {
|
|
30
30
|
Grid.Inject(Sort);
|
|
31
31
|
}
|
|
32
|
-
if (this.
|
|
32
|
+
if (this._eModel.showColumnChooser) {
|
|
33
33
|
Grid.Inject(ColumnChooser);
|
|
34
34
|
}
|
|
35
|
-
if (this.
|
|
35
|
+
if (this._eModel.toolbar) {
|
|
36
36
|
Grid.Inject(Toolbar);
|
|
37
37
|
}
|
|
38
|
-
if (this.
|
|
38
|
+
if (this._eModel.editSettings) {
|
|
39
39
|
Grid.Inject(Edit);
|
|
40
40
|
}
|
|
41
|
-
if (this.
|
|
41
|
+
if (this._eModel.filterSettings) {
|
|
42
42
|
Grid.Inject(Filter);
|
|
43
43
|
}
|
|
44
|
-
if (this.
|
|
44
|
+
if (this._eModel.groupSettings) {
|
|
45
45
|
Grid.Inject(Group);
|
|
46
46
|
}
|
|
47
|
-
if (this.
|
|
47
|
+
if (this._eModel.aggregates) {
|
|
48
48
|
Grid.Inject(Aggregate);
|
|
49
49
|
}
|
|
50
|
-
if (this.
|
|
50
|
+
if (this._eModel.showColumnMenu) {
|
|
51
51
|
Grid.Inject(ColumnMenu);
|
|
52
52
|
}
|
|
53
|
-
if (this.
|
|
53
|
+
if (this._eModel.detailTemplate) {
|
|
54
54
|
Grid.Inject(DetailRow);
|
|
55
55
|
}
|
|
56
|
-
if (this.
|
|
56
|
+
if (this._eModel.contextMenuItems) {
|
|
57
57
|
Grid.Inject(ContextMenu);
|
|
58
58
|
}
|
|
59
|
-
if (this.
|
|
59
|
+
if (this._eModel.frozenColumns || this._eModel.frozenRows) {
|
|
60
60
|
Grid.Inject(Freeze);
|
|
61
61
|
}
|
|
62
|
-
if (this.
|
|
62
|
+
if (this._eModel.allowResizing) {
|
|
63
63
|
Grid.Inject(Resize);
|
|
64
64
|
}
|
|
65
|
-
if (this.
|
|
65
|
+
if (this._eModel.allowRowDragAndDrop) {
|
|
66
66
|
Grid.Inject(RowDD);
|
|
67
67
|
}
|
|
68
|
-
if (this.
|
|
68
|
+
if (this._eModel.searchSettings) {
|
|
69
69
|
Grid.Inject(Search);
|
|
70
70
|
}
|
|
71
|
-
if (this.
|
|
71
|
+
if (this._eModel.printMode) {
|
|
72
72
|
Grid.Inject(Print);
|
|
73
73
|
}
|
|
74
|
-
if (this.
|
|
74
|
+
if (this._eModel.enableVirtualization) {
|
|
75
75
|
Grid.Inject(VirtualScroll);
|
|
76
76
|
}
|
|
77
|
-
if (this.
|
|
77
|
+
if (this._eModel.allowExcelExport) {
|
|
78
78
|
Grid.Inject(ExcelExport);
|
|
79
79
|
}
|
|
80
|
-
if (this.
|
|
80
|
+
if (this._eModel.allowPdfExport) {
|
|
81
81
|
Grid.Inject(PdfExport);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|