aurelia-syncfusion-ej2-bridge 0.1.0-beta.3 → 0.1.0-beta.30
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 +32 -29
- package/dist/commonjs/common/constants.js +1 -0
- package/dist/commonjs/common/controlBase.d.ts +3 -1
- package/dist/commonjs/common/controlBase.js +14 -4
- package/dist/commonjs/common/controlContainer.js +1 -0
- package/dist/commonjs/common/syncfusionWrapper.d.ts +3 -0
- package/dist/commonjs/common/syncfusionWrapper.js +12 -2
- package/dist/commonjs/configBuider.d.ts +6 -4
- package/dist/commonjs/configBuider.js +85 -48
- package/dist/commonjs/controlBindings.d.ts +28 -0
- package/dist/commonjs/controlBindings.js +87 -36
- package/dist/commonjs/index.js +2 -1
- package/dist/commonjs/utilities/decorator.js +1 -0
- package/dist/commonjs/widgets/accordion/ej2-accordion.js +5 -1
- package/dist/commonjs/widgets/autoComplete/ej2-autoComplete.js +5 -1
- package/dist/commonjs/widgets/button/ej2-button.d.ts +2 -1
- package/dist/commonjs/widgets/button/ej2-button.js +15 -5
- package/dist/commonjs/widgets/checkbox/ej2-checkbox-list.js +15 -3
- package/dist/commonjs/widgets/checkbox/ej2-checkbox.js +7 -1
- package/dist/commonjs/widgets/comboBox/ej2-comboBox.js +5 -1
- package/dist/commonjs/widgets/dashboardLayout/ej2-dashboardLayout.js +5 -1
- package/dist/commonjs/widgets/datePicker/ej2-DatePicker.js +5 -1
- package/dist/commonjs/widgets/dateRangePicker/ej2-dateRangePicker.js +5 -1
- package/dist/commonjs/widgets/dateTimePicker/ej2-dateTimePicker.js +5 -1
- package/dist/commonjs/widgets/dropDownList/ej2-dropDownList.js +5 -1
- package/dist/commonjs/widgets/dropDownTree/ej2-dropDownTree.d.ts +8 -0
- package/dist/commonjs/widgets/dropDownTree/ej2-dropDownTree.js +35 -0
- package/dist/commonjs/widgets/fileManager/ej2-fileManager.d.ts +9 -0
- package/dist/commonjs/widgets/fileManager/ej2-fileManager.js +34 -0
- package/dist/commonjs/widgets/grid/ej2-grid.js +27 -23
- package/dist/commonjs/widgets/listView/ej2-listView.js +6 -2
- package/dist/commonjs/widgets/maskedTextBox/ej2-maskedTextBox.js +5 -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/numericTextBox/ej2-numericTextBox.js +5 -1
- package/dist/commonjs/widgets/pager/ej2-pager.js +5 -1
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.d.ts +2 -1
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.js +15 -5
- package/dist/commonjs/widgets/radio/ej2-radio.js +8 -4
- 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/sidebar/ej2-sidebar.d.ts +7 -0
- package/dist/commonjs/widgets/sidebar/ej2-sidebar.js +30 -0
- package/dist/commonjs/widgets/slider/ej2-slider.js +5 -1
- package/dist/commonjs/widgets/splitter/ej2-splitter.d.ts +7 -0
- package/dist/commonjs/widgets/splitter/ej2-splitter.js +29 -0
- package/dist/commonjs/widgets/switch/ej2-switch.d.ts +2 -1
- package/dist/commonjs/widgets/switch/ej2-switch.js +13 -5
- package/dist/commonjs/widgets/textBox/ej2-textBox.js +5 -1
- package/dist/commonjs/widgets/timePicker/ej2-timePicker.js +5 -1
- package/dist/commonjs/widgets/treeView/ej2-treeView.js +5 -1
- package/dist/commonjs/widgets/uploader/ej2-uploader.d.ts +7 -1
- package/dist/commonjs/widgets/uploader/ej2-uploader.js +70 -30
- 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 +6 -4
- package/dist/native-modules/configBuider.js +84 -48
- package/dist/native-modules/controlBindings.d.ts +28 -0
- package/dist/native-modules/controlBindings.js +86 -36
- package/dist/native-modules/widgets/accordion/ej2-accordion.js +4 -1
- package/dist/native-modules/widgets/autoComplete/ej2-autoComplete.js +4 -1
- package/dist/native-modules/widgets/button/ej2-button.d.ts +2 -1
- package/dist/native-modules/widgets/button/ej2-button.js +14 -5
- package/dist/native-modules/widgets/checkbox/ej2-checkbox-list.js +16 -4
- package/dist/native-modules/widgets/checkbox/ej2-checkbox.js +7 -2
- package/dist/native-modules/widgets/comboBox/ej2-comboBox.js +4 -1
- package/dist/native-modules/widgets/dashboardLayout/ej2-dashboardLayout.js +4 -1
- package/dist/native-modules/widgets/datePicker/ej2-DatePicker.js +4 -1
- package/dist/native-modules/widgets/dateRangePicker/ej2-dateRangePicker.js +4 -1
- package/dist/native-modules/widgets/dateTimePicker/ej2-dateTimePicker.js +4 -1
- package/dist/native-modules/widgets/dropDownList/ej2-dropDownList.js +4 -1
- package/dist/native-modules/widgets/dropDownTree/ej2-dropDownTree.d.ts +8 -0
- package/dist/native-modules/widgets/dropDownTree/ej2-dropDownTree.js +32 -0
- package/dist/native-modules/widgets/fileManager/ej2-fileManager.d.ts +9 -0
- package/dist/native-modules/widgets/fileManager/ej2-fileManager.js +31 -0
- package/dist/native-modules/widgets/grid/ej2-grid.js +26 -23
- package/dist/native-modules/widgets/listView/ej2-listView.js +5 -2
- package/dist/native-modules/widgets/maskedTextBox/ej2-maskedTextBox.js +4 -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/numericTextBox/ej2-numericTextBox.js +4 -1
- package/dist/native-modules/widgets/pager/ej2-pager.js +4 -1
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.d.ts +2 -1
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.js +14 -5
- package/dist/native-modules/widgets/radio/ej2-radio.js +7 -4
- 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/sidebar/ej2-sidebar.d.ts +7 -0
- package/dist/native-modules/widgets/sidebar/ej2-sidebar.js +27 -0
- package/dist/native-modules/widgets/slider/ej2-slider.js +4 -1
- package/dist/native-modules/widgets/splitter/ej2-splitter.d.ts +7 -0
- package/dist/native-modules/widgets/splitter/ej2-splitter.js +26 -0
- package/dist/native-modules/widgets/switch/ej2-switch.d.ts +2 -1
- package/dist/native-modules/widgets/switch/ej2-switch.js +12 -5
- package/dist/native-modules/widgets/textBox/ej2-textBox.js +4 -1
- package/dist/native-modules/widgets/timePicker/ej2-timePicker.js +4 -1
- package/dist/native-modules/widgets/treeView/ej2-treeView.js +4 -1
- package/dist/native-modules/widgets/uploader/ej2-uploader.d.ts +7 -1
- package/dist/native-modules/widgets/uploader/ej2-uploader.js +69 -30
- package/package.json +4 -4
- package/dist/commonjs/widgets/accordion/ej2-accordion.html +0 -3
- package/dist/commonjs/widgets/autoComplete/ej2-autoComplete.html +0 -3
- package/dist/commonjs/widgets/button/ej2-button.html +0 -5
- package/dist/commonjs/widgets/checkbox/ej2-checkbox-list.html +0 -9
- package/dist/commonjs/widgets/checkbox/ej2-checkbox.html +0 -3
- package/dist/commonjs/widgets/comboBox/ej2-comboBox.html +0 -3
- package/dist/commonjs/widgets/dashboardLayout/ej2-dashboardLayout.html +0 -7
- package/dist/commonjs/widgets/datePicker/ej2-DatePicker.html +0 -3
- package/dist/commonjs/widgets/dateRangePicker/ej2-dateRangePicker.html +0 -3
- package/dist/commonjs/widgets/dateTimePicker/ej2-dateTimePicker.html +0 -3
- package/dist/commonjs/widgets/dropDownList/ej2-dropDownList.html +0 -5
- package/dist/commonjs/widgets/grid/ej2-grid.html +0 -3
- package/dist/commonjs/widgets/listView/ej2-listView.html +0 -3
- package/dist/commonjs/widgets/maskedTextBox/ej2-maskedTextBox.html +0 -3
- package/dist/commonjs/widgets/numericTextBox/ej2-numericTextBox.html +0 -3
- package/dist/commonjs/widgets/pager/ej2-pager.html +0 -3
- package/dist/commonjs/widgets/progressButton/ej2-progress-button.html +0 -5
- package/dist/commonjs/widgets/radio/ej2-radio.html +0 -3
- package/dist/commonjs/widgets/slider/ej2-slider.html +0 -3
- package/dist/commonjs/widgets/switch/ej2-switch.html +0 -4
- package/dist/commonjs/widgets/textBox/ej2-textBox.html +0 -3
- package/dist/commonjs/widgets/timePicker/ej2-timePicker.html +0 -3
- package/dist/commonjs/widgets/treeView/ej2-treeView.html +0 -3
- package/dist/commonjs/widgets/uploader/ej2-uploader.html +0 -3
- package/dist/native-modules/widgets/accordion/ej2-accordion.html +0 -3
- package/dist/native-modules/widgets/autoComplete/ej2-autoComplete.html +0 -3
- package/dist/native-modules/widgets/button/ej2-button.html +0 -5
- package/dist/native-modules/widgets/checkbox/ej2-checkbox-list.html +0 -9
- package/dist/native-modules/widgets/checkbox/ej2-checkbox.html +0 -3
- package/dist/native-modules/widgets/comboBox/ej2-comboBox.html +0 -3
- package/dist/native-modules/widgets/dashboardLayout/ej2-dashboardLayout.html +0 -7
- package/dist/native-modules/widgets/datePicker/ej2-DatePicker.html +0 -3
- package/dist/native-modules/widgets/dateRangePicker/ej2-dateRangePicker.html +0 -3
- package/dist/native-modules/widgets/dateTimePicker/ej2-dateTimePicker.html +0 -3
- package/dist/native-modules/widgets/dropDownList/ej2-dropDownList.html +0 -5
- package/dist/native-modules/widgets/grid/ej2-grid.html +0 -3
- package/dist/native-modules/widgets/listView/ej2-listView.html +0 -3
- package/dist/native-modules/widgets/maskedTextBox/ej2-maskedTextBox.html +0 -3
- package/dist/native-modules/widgets/numericTextBox/ej2-numericTextBox.html +0 -3
- package/dist/native-modules/widgets/pager/ej2-pager.html +0 -3
- package/dist/native-modules/widgets/progressButton/ej2-progress-button.html +0 -5
- package/dist/native-modules/widgets/radio/ej2-radio.html +0 -3
- package/dist/native-modules/widgets/slider/ej2-slider.html +0 -3
- package/dist/native-modules/widgets/switch/ej2-switch.html +0 -4
- package/dist/native-modules/widgets/textBox/ej2-textBox.html +0 -3
- package/dist/native-modules/widgets/timePicker/ej2-timePicker.html +0 -3
- package/dist/native-modules/widgets/treeView/ej2-treeView.html +0 -3
- package/dist/native-modules/widgets/uploader/ej2-uploader.html +0 -3
|
@@ -1,124 +1,175 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ControlBindings = void 0;
|
|
3
4
|
exports.ControlBindings = {
|
|
4
5
|
common: {
|
|
5
6
|
oneWay: ["enablePersistence", "enableRtl", "locale"]
|
|
6
7
|
},
|
|
7
8
|
accordion: {
|
|
8
|
-
oneWay: ["animation", "expandMode", "height", "items", "width"],
|
|
9
|
+
oneWay: ["animation", "dataSource", "enableHtmlSanitizer", "expandMode", "expandedIndices", "height", "itemTemplate", "items", "width"],
|
|
9
10
|
events: ["clicked", "created", "destroyed", "expanded", "expanding"]
|
|
10
11
|
},
|
|
11
12
|
autoComplete: {
|
|
12
|
-
oneWay: ["actionFailureTemplate", "allowCustom", "autofill", "cssClass", "dataSource", "enabled", "fields", "
|
|
13
|
+
oneWay: ["actionFailureTemplate", "allowCustom", "autofill", "cssClass", "dataSource", "enabled", "fields", "ignoreAccent", "ignoreCase", "itemTemplate", "minLength", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "showPopupButton", "sortOrder", "suggestionCount", "width", "zIndex"],
|
|
13
14
|
twoWay: ["value"],
|
|
14
15
|
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "customValueSpecifier", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
15
16
|
},
|
|
16
17
|
button: {
|
|
17
|
-
oneWay: ["disabled", "isPrimary", "content", "cssClass", "iconCss", "iconPosition", "isToggle", "enableRtl"],
|
|
18
|
+
oneWay: ["disabled", "isPrimary", "content", "cssClass", "enableHtmlSanitizer", "iconCss", "iconPosition", "isToggle", "enableRtl"],
|
|
18
19
|
events: ["created"]
|
|
19
20
|
},
|
|
20
21
|
checkbox: {
|
|
21
|
-
oneWay: ["cssClass", "disabled", "indeterminate", "label", "labelPosition", "name", "value"],
|
|
22
|
+
oneWay: ["cssClass", "disabled", "enableHtmlSanitizer", "htmlAttributes", "indeterminate", "label", "labelPosition", "name", "value"],
|
|
22
23
|
twoWay: ["checked"],
|
|
23
24
|
events: ["change", "created"]
|
|
24
25
|
},
|
|
25
26
|
comboBox: {
|
|
26
|
-
oneWay: ["actionFailureTemplate", "allowCustom", "allowFiltering", "autofill", "cssClass", "dataSource", "enabled", "fields",
|
|
27
|
+
oneWay: ["actionFailureTemplate", "allowCustom", "allowFiltering", "autofill", "cssClass", "dataSource", "enabled", "fields",
|
|
28
|
+
"filterType", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "ignoreCase", "index", "itemTemplate", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "sortOrder", "text", "width", "zIndex"],
|
|
27
29
|
twoWay: ["value"],
|
|
28
30
|
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "customValueSpecifier", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
29
31
|
},
|
|
30
32
|
dashboardLayout: {
|
|
31
|
-
oneWay: ["allowDragging", "allowFloating", "allowResizing", "cellSpacing", "columns", "draggableHandle",
|
|
32
|
-
|
|
33
|
+
oneWay: ["allowDragging", "allowFloating", "allowResizing", "cellSpacing", "columns", "draggableHandle",
|
|
34
|
+
"enableHtmlSanitizer", "mediaQuery", "panels", "resizableHandles", "showGridLines"],
|
|
35
|
+
events: ["change", "created", "destroyed", "drag", "dragStart", "dragStop", "resize", "resizeStart", "resizeStop"]
|
|
33
36
|
},
|
|
34
37
|
datePicker: {
|
|
35
|
-
oneWay: ["allowEdit", "calendarMode", "cssClass", "dayHeaderFormat", "depth", "enabled", "firstDayOfWeek", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "max", "min", "placeholder", "readonly", "showClearButton", "showTodayButton", "start", "strictMode", "weekNumber", "width", "zindex"],
|
|
38
|
+
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"],
|
|
36
39
|
twoWay: ["value"],
|
|
37
40
|
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
38
41
|
},
|
|
39
42
|
dateRangePicker: {
|
|
40
|
-
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"],
|
|
43
|
+
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"],
|
|
41
44
|
twoWay: ["value", "startDate", "endDate"],
|
|
42
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell", "select"]
|
|
45
|
+
events: ["blur", "change", "cleared", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell", "select"]
|
|
43
46
|
},
|
|
44
47
|
dateTimePicker: {
|
|
45
|
-
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"],
|
|
48
|
+
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"],
|
|
46
49
|
twoWay: ["value"],
|
|
47
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
50
|
+
events: ["blur", "change", "cleared", "close", "created", "destroyed", "focus", "navigated", "open", "renderDayCell"]
|
|
48
51
|
},
|
|
49
52
|
dropDownList: {
|
|
50
|
-
oneWay: ["actionFailureTemplate", "allowFiltering", "cssClass", "dataSource", "enabled", "fields", "filterBarPlaceholder",
|
|
53
|
+
oneWay: ["actionFailureTemplate", "allowFiltering", "cssClass", "dataSource", "enabled", "fields", "filterBarPlaceholder",
|
|
54
|
+
"filterType", "floatLabelType", "footerTemplate", "groupTemplate", "headerTemplate", "htmlAttributes", "ignoreAccent", "ignoreCase", "index", "itemTemplate", "noRecordsTemplate", "placeholder", "popupHeight", "popupWidth", "query", "readonly", "showClearButton", "sortOrder", "text", "valueTemplate", "width", "zindex"],
|
|
51
55
|
twoWay: ["value"],
|
|
52
56
|
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen", "blur", "change", "close", "created", "dataBound", "destroyed", "filtering", "focus", "open", "select"]
|
|
53
57
|
},
|
|
58
|
+
dropDownTree: {
|
|
59
|
+
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"],
|
|
60
|
+
twoWay: ["text", "value"],
|
|
61
|
+
events: ["actionFailure", "beforeOpen", "blur", "change", "close", "created", "dataBound", "destroyed", "filtering", "focus", "keyPress", "open", "select"]
|
|
62
|
+
},
|
|
63
|
+
fileManager: {
|
|
64
|
+
oneWay: ["ajaxSettings", "allowDragAndDrop", "allowMultiSelection", "contextMenuSettings", "cssClass", "detailsViewSettings", "enableHtmlSanitizer", "height", "navigationPaneSettings", "path", "popupTarget", "rootAliasName", "searchSettings", "selectedItems", "showFileExtension", "showHiddenItems", "showThumbnail", "sortBy", "sortOrder", "toolbarSettings", "uploadSettings", "view", "width"],
|
|
65
|
+
twoWay: [],
|
|
66
|
+
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"]
|
|
67
|
+
},
|
|
54
68
|
grid: {
|
|
55
|
-
oneWay: ["aggregates", "allowExcelExport", "disabled", "allowFiltering", "allowGrouping", "allowMultiSorting", "allowPaging", "allowPdfExport",
|
|
56
|
-
"allowReordering", "allowResizing", "allowRowDragAndDrop", "allowSelection", "allowSorting", "allowTextWrap", "childGrid", "clipboardModule",
|
|
57
|
-
"columnMenuItems", "columnMenuModule", "columnQueryMode", "columns", "contextMenuItems", "contextMenuModule", "dataSource",
|
|
58
|
-
"detailTemplate", "editModule", "editSettings", "enableAltRow", "enableAutoFill", "enableColumnVirtualization", "enableHover", "enableVirtualiziation",
|
|
59
|
-
"excelExportModule", "filterModule", "filterSettings", "frozenColumns", "frozenRows", "gridLines", "groupModule", "groupSettings", "height", "hierarchyPrintMode", "keyboardModule",
|
|
60
|
-
"pageSettings", "pagerModule", "pagerTemplate", "pdfExportModule", "printMode", "printModule", "query", "queryString", "reorderModule", "rowDragAndDropModule", "rowDropSettings", "rowHeight",
|
|
69
|
+
oneWay: ["aggregates", "allowExcelExport", "disabled", "allowFiltering", "allowGrouping", "allowKeyboard", "allowMultiSorting", "allowPaging", "allowPdfExport",
|
|
70
|
+
"allowReordering", "allowResizing", "allowRowDragAndDrop", "allowSelection", "allowSorting", "allowTextWrap", "childGrid", "clipMode", "clipboardModule", "columnChooserSettings",
|
|
71
|
+
"columnMenuItems", "columnMenuModule", "columnQueryMode", "columns", "contextMenuItems", "contextMenuModule", "cssClass", "currentAction", "currentViewData", "dataSource",
|
|
72
|
+
"detailTemplate", "editModule", "editSettings", "ej2StatePersistenceVersion", "enableAdaptiveUI", "enableAltRow", "enableAutoFill", "enableColumnVirtualization", "enableHeaderFocus", "enableHover", "enableImmutableMode", "enableInfinitScrolling", "enableStickyHeader", "enableVirtualMaskRow", "enableVirtualiziation",
|
|
73
|
+
"excelExportModule", "filterModule", "filterSettings", "frozenColumns", "frozenRows", "gridLines", "groupModule", "groupSettings", "height", "hierarchyPrintMode", "infiniteScrollModule", "infiniteScrollSettings", "keyboardModule", "loadingIndicator",
|
|
74
|
+
"pageSettings", "pagerModule", "pagerTemplate", "parentDetails", "pdfExportModule", "printMode", "printModule", "query", "queryString", "reorderModule", "resizeSettings", "rowDragAndDropModule", "rowDropSettings", "rowHeight", "rowRenderingMode",
|
|
61
75
|
"rowTemplate", "scrollModule", "searchModule", "searchSettings", "selectionModule", "selectionSettings", "showColumnChooser", "showColumnMenu", "showHider", "sortModule",
|
|
62
76
|
"sortSettings", "textWrapSettings", "toolbar", "toolbarModule", "toolbarTemplate", "width"],
|
|
63
77
|
fromView: [
|
|
64
78
|
"currentViewData"
|
|
65
79
|
],
|
|
66
80
|
twoWay: ["selectedRowIndex"],
|
|
67
|
-
events: ["
|
|
81
|
+
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"]
|
|
68
82
|
},
|
|
69
83
|
listView: {
|
|
70
|
-
oneWay: ["animation", "checkBoxPosition", "cssClass", "dataSource", "enable", "
|
|
84
|
+
oneWay: ["animation", "checkBoxPosition", "cssClass", "dataSource", "enable", "enableHtmlSanitizer", "enableVirtualization", "fields", "groupTemplate", "headerTemplate", "headerTitle", "height", "htmlAttributes", "query", "showCheckBox", "showHeader", "showIcon", "sortOrder", "template", "width"],
|
|
71
85
|
events: ["actionBegin", "actionComplete", "actionFailure", "select"]
|
|
72
86
|
},
|
|
73
87
|
maskedTextBox: {
|
|
74
88
|
oneWay: ["cssClass", "customCharacters", "enabled", "floatLabelType", "htmlAttributes", "mask", "placeholder", "promptChar", "showClearButton", "width"],
|
|
75
89
|
twoWay: ["value"],
|
|
76
|
-
events: ["blur", "change", "created", "destroyed", "focus"
|
|
90
|
+
events: ["blur", "change", "created", "destroyed", "focus"]
|
|
91
|
+
},
|
|
92
|
+
multiSelect: {
|
|
93
|
+
oneWay: ["actionFailureTemplate",
|
|
94
|
+
"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"],
|
|
95
|
+
twoWay: ["value"],
|
|
96
|
+
events: ["actionBegin", "actionComplete", "actionFailure", "beforeOpen",
|
|
97
|
+
"beforeSelectAll", "blur", "change", "chipSelection", "close", "created", "customValueSelection", "dataBound", "destroyed", "filtering", "focus", "open", "removed", "removing", "select", "selectedAll", "tagging"]
|
|
77
98
|
},
|
|
78
99
|
numericTextBox: {
|
|
79
|
-
oneWay: ["cssClass", "currency", "decimals", "enabled", "floatLabelType", "format", "htmlAttributes", "max", "min", "placeholder", "readonly", "
|
|
100
|
+
oneWay: ["cssClass", "currency", "decimals", "enabled", "floatLabelType", "format", "htmlAttributes", "max", "min", "placeholder", "readonly", "showClearButton", "showSpinButton", "step", "strictMode", "validateDecimalOnType", "width"],
|
|
80
101
|
twoWay: ["value"],
|
|
81
102
|
events: ["blur", "change", "created", "destroyed", "focus"]
|
|
82
103
|
},
|
|
83
104
|
pager: {
|
|
84
|
-
|
|
105
|
+
oneWay: ["cssClass", "customText", "enableExternalMessage", "enablePagerMessage", "enableQueryString", "externalMessage",
|
|
106
|
+
"pageCount", "pageSize", "pageSizes",
|
|
107
|
+
"template"],
|
|
108
|
+
twoWay: ["currentPage", "totalRecordsCount"],
|
|
85
109
|
events: ["click", "created", "dropDownChanged"]
|
|
86
110
|
},
|
|
87
111
|
progressButton: {
|
|
88
|
-
oneWay: ["animationSettings", "content", "cssClass", "disabled", "duration", "enableProgress", "iconCss", "iconPosition", "isPrimary", "isToggle", "spinSettings"],
|
|
112
|
+
oneWay: ["animationSettings", "content", "cssClass", "disabled", "duration", "enableHtmlSanitizer", "enableProgress", "iconCss", "iconPosition", "isPrimary", "isToggle", "spinSettings"],
|
|
89
113
|
events: ["begin", "created", "end", "fail", "progress"]
|
|
90
114
|
},
|
|
91
115
|
radio: {
|
|
92
|
-
oneWay: ["checked", "cssClass", "disabled", "label", "labelPosition", "name", "value"],
|
|
116
|
+
oneWay: ["checked", "cssClass", "disabled", "enableHtmlSanitizer", "htmlAttributes", "label", "labelPosition", "name", "value"],
|
|
93
117
|
events: ["change", "created"]
|
|
94
118
|
},
|
|
119
|
+
schedule: {
|
|
120
|
+
oneWay: ["agendaDaysCount", "allowDragAndDrop", "allowInline", "allowKeyboardInteraction", "allowMultiCellSelection", "allowMultiDrag", "allowMultiRowSelection", "allowResizing",
|
|
121
|
+
"allowSwiping", "calendarMode", "cellHeaderTemplate", "cellTemplate", "cssClass", "currentView", "dateFormat", "dateHeaderTemplate",
|
|
122
|
+
"dayHeaderTemplate",
|
|
123
|
+
"enableAdaptiveUI",
|
|
124
|
+
"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"],
|
|
125
|
+
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"]
|
|
126
|
+
},
|
|
127
|
+
sidebar: {
|
|
128
|
+
oneWay: ["animate", "closeOnDocumentClick", "dockSize", "enableDock", "enableGestures", "isOpen", "mediaQuery", "position", "showBackdrop", "target", "type", "width", "zIndex"],
|
|
129
|
+
events: ["change", "close", "created", "destroyed", "open"]
|
|
130
|
+
},
|
|
95
131
|
slider: {
|
|
96
|
-
oneWay: ["cssClass", "customValues", "enableAnimation", "enabled", "limits", "max", "min", "orientation", "readonly", "showButtons", "step", "ticks", "tooltip", "type"],
|
|
132
|
+
oneWay: ["colorRange", "cssClass", "customValues", "enableAnimation", "enableHtmlSanitizer", "enabled", "limits", "max", "min", "orientation", "readonly", "showButtons", "step", "ticks", "tooltip", "type", "width"],
|
|
97
133
|
twoWay: ["value"],
|
|
98
134
|
events: ["change", "changed", "created", "renderedTicks", "renderingTicks", "tooltipChange"]
|
|
99
135
|
},
|
|
136
|
+
splitter: {
|
|
137
|
+
oneWay: ["cssClass", "enableHtmlSanitizer",
|
|
138
|
+
"enableReversePanes", "enabled", "height", "orientation", "paneSettings", "separatorSize", "width"],
|
|
139
|
+
events: ["beforeCollapse", "beforeExpand", "beforeSanitizeHtml", "collapsed", "created", "expanded", "resizeStart", "resizeStop", "resizing"]
|
|
140
|
+
},
|
|
100
141
|
switch: {
|
|
101
|
-
oneWay: ["cssClass", "disabled", "
|
|
142
|
+
oneWay: ["cssClass", "disabled", "name", "offLabel", "onLabel"],
|
|
102
143
|
twoWay: ["value", "checked"],
|
|
103
144
|
events: ["change", "created"]
|
|
104
145
|
},
|
|
105
146
|
textBox: {
|
|
106
|
-
oneWay: [
|
|
147
|
+
oneWay: [
|
|
148
|
+
"autocomplete",
|
|
149
|
+
"cssClass", "enabled", "floatLabelType", "htmlAttributes", "multiline", "placeholder", "readonly", "showClearButton", "type"
|
|
150
|
+
],
|
|
107
151
|
twoWay: ["value"],
|
|
108
152
|
events: ["blur", "change", "created", "destroyed", "focus", "input"]
|
|
109
153
|
},
|
|
110
154
|
timePicker: {
|
|
111
|
-
oneWay: ["allowEdit", "cssClass", "enabled", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "placeholder", "readonly", "scrollTo", "showClearButton", "step", "strictMode", "width", "zIndex"],
|
|
155
|
+
oneWay: ["allowEdit", "cssClass", "enableMask", "enabled", "floatLabelType", "format", "htmlAttributes", "keyConfigs", "maskPlaceholder", "openOnFocus", "placeholder", "readonly", "scrollTo", "showClearButton", "step", "strictMode", "width", "zIndex"],
|
|
112
156
|
twoWay: ["value", "min", "max"],
|
|
113
|
-
events: ["blur", "change", "close", "created", "destroyed", "focus", "itemRender", "open"]
|
|
157
|
+
events: ["blur", "change", "cleared", "close", "created", "destroyed", "focus", "itemRender", "open"]
|
|
114
158
|
},
|
|
115
159
|
treeView: {
|
|
116
|
-
oneWay: ["allowDragAndDrop", "allowEditing", "allowMultiSelection",
|
|
117
|
-
|
|
118
|
-
|
|
160
|
+
oneWay: ["allowDragAndDrop", "allowEditing", "allowMultiSelection",
|
|
161
|
+
"allowTextWrap", "animation", "autoCheck", "cssClass",
|
|
162
|
+
"disabled", "dragArea",
|
|
163
|
+
"enableHtmlSanitizer", "expandOn", "fields",
|
|
164
|
+
"fullRowNavigable", "fullRowSelect", "loadOnDemand", "nodeTemplate", "showCheckBox", "sortOrder"],
|
|
165
|
+
twoWay: ["selectedNodes", "checkedNodes",
|
|
166
|
+
"expandedNodes"],
|
|
167
|
+
events: ["actionFailure", "created", "dataBound", "dataSourceChanged", "destroyed", "drawNode", "keyPress", "nodeChecked", "nodeChecking", "nodeClicked", "nodeCollapsed", "nodeCollapsing", "nodeDragStart", "nodeDragStop", "nodeDragging", "nodeDropped", "nodeEdited", "nodeEditing", "nodeExpanded", "nodeExpanding", "nodeSelected", "nodeSelecting"]
|
|
119
168
|
},
|
|
120
169
|
uploader: {
|
|
121
|
-
oneWay: ["allowedExtensions", "asyncSettings", "autoUpload", "buttons", "cssClass", "directoryUpload", "dropArea",
|
|
122
|
-
|
|
170
|
+
oneWay: ["allowedExtensions", "asyncSettings", "autoUpload", "buttons", "cssClass", "directoryUpload", "dropArea",
|
|
171
|
+
"dropEffect", "enabled", "files", "htmlAttributes", "maxFileSize", "minFileSize", "multiple", "sequentialUpload", "showFileList", "template", "formData"],
|
|
172
|
+
events: ["actionComplete",
|
|
173
|
+
"beforeRemove", "beforeUpload", "canceling", "change", "chunkFailure", "chunkSuccess", "chunkUploading", "clearing", "created", "failure", "fileListRendering", "pausing", "progress", "removing", "rendering", "resuming", "selected", "success", "uploading"]
|
|
123
174
|
}
|
|
124
175
|
};
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.configure = void 0;
|
|
3
4
|
const configBuider_1 = require("./configBuider");
|
|
4
5
|
var configBuider_2 = require("./configBuider");
|
|
5
|
-
exports
|
|
6
|
+
Object.defineProperty(exports, "ConfigBuilder", { enumerable: true, get: function () { return configBuider_2.ConfigBuilder; } });
|
|
6
7
|
function configure(aurelia, configCallback) {
|
|
7
8
|
let builder = new configBuider_1.ConfigBuilder();
|
|
8
9
|
if (configCallback !== undefined && typeof (configCallback) === 'function') {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.delayed = exports.generateBindables = void 0;
|
|
3
4
|
const aurelia_templating_1 = require("aurelia-templating");
|
|
4
5
|
const aurelia_dependency_injection_1 = require("aurelia-dependency-injection");
|
|
5
6
|
const aurelia_metadata_1 = require("aurelia-metadata");
|
|
@@ -6,10 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2Accordion = void 0;
|
|
9
10
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
10
11
|
const ej2_navigations_1 = require("@syncfusion/ej2-navigations");
|
|
11
12
|
const decorator_1 = require("../../utilities/decorator");
|
|
12
13
|
const ej2_base_1 = require("@syncfusion/ej2-base");
|
|
14
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
15
|
ej2_base_1.enableRipple(true);
|
|
14
16
|
let Ej2Accordion = class Ej2Accordion extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
15
17
|
constructor() {
|
|
@@ -22,6 +24,8 @@ let Ej2Accordion = class Ej2Accordion extends syncfusionWrapper_1.SyncfusionWrap
|
|
|
22
24
|
}
|
|
23
25
|
};
|
|
24
26
|
Ej2Accordion = __decorate([
|
|
25
|
-
decorator_1.generateBindables("accordion")
|
|
27
|
+
decorator_1.generateBindables("accordion"),
|
|
28
|
+
aurelia_framework_1.customElement('ej2-accordion'),
|
|
29
|
+
aurelia_framework_1.inlineView('<template><div element.ref="widgetElement"></div></template>')
|
|
26
30
|
], Ej2Accordion);
|
|
27
31
|
exports.Ej2Accordion = Ej2Accordion;
|
|
@@ -6,9 +6,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2AutoComplete = void 0;
|
|
9
10
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
10
11
|
const ej2_dropdowns_1 = require("@syncfusion/ej2-dropdowns");
|
|
11
12
|
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
12
14
|
let Ej2AutoComplete = class Ej2AutoComplete extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
13
15
|
constructor() {
|
|
14
16
|
super(...arguments);
|
|
@@ -20,6 +22,8 @@ let Ej2AutoComplete = class Ej2AutoComplete extends syncfusionWrapper_1.Syncfusi
|
|
|
20
22
|
}
|
|
21
23
|
};
|
|
22
24
|
Ej2AutoComplete = __decorate([
|
|
23
|
-
decorator_1.generateBindables("autoComplete")
|
|
25
|
+
decorator_1.generateBindables("autoComplete"),
|
|
26
|
+
aurelia_framework_1.customElement('ej2-auto-complete'),
|
|
27
|
+
aurelia_framework_1.inlineView('<template><input element.ref="widgetElement" type="text" /></template>')
|
|
24
28
|
], Ej2AutoComplete);
|
|
25
29
|
exports.Ej2AutoComplete = Ej2AutoComplete;
|
|
@@ -2,12 +2,13 @@ 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
12
|
dataBind(): void;
|
|
13
|
+
detached(): void;
|
|
13
14
|
}
|
|
@@ -6,26 +6,31 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2Button = void 0;
|
|
9
10
|
const ej2_buttons_1 = require("@syncfusion/ej2-buttons");
|
|
11
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
10
12
|
const decorator_1 = require("../../utilities/decorator");
|
|
11
13
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
14
|
let Ej2Button = class Ej2Button extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
13
15
|
constructor() {
|
|
14
16
|
super(...arguments);
|
|
15
17
|
this.clickEvent = null;
|
|
18
|
+
this._onClick = null;
|
|
16
19
|
this.syncfusionWidgetType = ej2_buttons_1.Button;
|
|
17
20
|
}
|
|
18
21
|
onWidgetCreated() {
|
|
22
|
+
let _this = this;
|
|
23
|
+
this._onClick = (event) => {
|
|
24
|
+
_this.element.dispatchEvent(_this.clickEvent);
|
|
25
|
+
event.stopPropagation();
|
|
26
|
+
};
|
|
27
|
+
this.widget.element.addEventListener("click", this._onClick, false);
|
|
19
28
|
}
|
|
20
29
|
onWrapperCreated() {
|
|
21
30
|
this.clickEvent = new CustomEvent("on-click", {
|
|
22
31
|
bubbles: true
|
|
23
32
|
});
|
|
24
33
|
}
|
|
25
|
-
_onClick(event) {
|
|
26
|
-
this.element.dispatchEvent(this.clickEvent);
|
|
27
|
-
event.stopPropagation();
|
|
28
|
-
}
|
|
29
34
|
refresh() {
|
|
30
35
|
this.widget.refresh();
|
|
31
36
|
}
|
|
@@ -38,8 +43,13 @@ let Ej2Button = class Ej2Button extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
|
38
43
|
dataBind() {
|
|
39
44
|
this.widget.dataBind();
|
|
40
45
|
}
|
|
46
|
+
detached() {
|
|
47
|
+
this.widget.element.removeEventListener("click", this._onClick, false);
|
|
48
|
+
}
|
|
41
49
|
};
|
|
42
50
|
Ej2Button = __decorate([
|
|
43
|
-
decorator_1.generateBindables("button")
|
|
51
|
+
decorator_1.generateBindables("button"),
|
|
52
|
+
aurelia_framework_1.inlineView('<template><button element.ref="widgetElement"><slot></slot></button></template>'),
|
|
53
|
+
aurelia_framework_1.customElement('ej2-button')
|
|
44
54
|
], Ej2Button);
|
|
45
55
|
exports.Ej2Button = Ej2Button;
|
|
@@ -9,9 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Ej2CheckboxList = void 0;
|
|
12
13
|
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
14
|
const constants_1 = require("../../common/constants");
|
|
14
|
-
class Ej2CheckboxList {
|
|
15
|
+
let Ej2CheckboxList = class Ej2CheckboxList {
|
|
15
16
|
constructor() {
|
|
16
17
|
this.dataSource = [];
|
|
17
18
|
this.selectedItems = [];
|
|
@@ -23,7 +24,6 @@ class Ej2CheckboxList {
|
|
|
23
24
|
attached() {
|
|
24
25
|
}
|
|
25
26
|
checkboxClick(option, ej2Checkbox) {
|
|
26
|
-
console.log("matcher", this.matcher);
|
|
27
27
|
if (ej2Checkbox[`${constants_1.constants.bindablePrefix}checked`]) {
|
|
28
28
|
if ((this.matcher && this.selectedItems.find((x) => this.matcher(x, option))) || !this.selectedItems.includes(option)) {
|
|
29
29
|
this.selectedItems.push(option);
|
|
@@ -41,7 +41,7 @@ class Ej2CheckboxList {
|
|
|
41
41
|
isMatch(option) {
|
|
42
42
|
return this.selectedItems.findIndex((x) => this.matcher(x, option)) !== -1;
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
};
|
|
45
45
|
__decorate([
|
|
46
46
|
aurelia_framework_1.bindable,
|
|
47
47
|
__metadata("design:type", Array)
|
|
@@ -62,4 +62,16 @@ __decorate([
|
|
|
62
62
|
aurelia_framework_1.bindable,
|
|
63
63
|
__metadata("design:type", Function)
|
|
64
64
|
], Ej2CheckboxList.prototype, "matcher", void 0);
|
|
65
|
+
Ej2CheckboxList = __decorate([
|
|
66
|
+
aurelia_framework_1.customElement("ej2-checkbox-list"),
|
|
67
|
+
aurelia_framework_1.inlineView(`<template>
|
|
68
|
+
<div repeat.for="option of dataSource" css="\${orientation === 'horizontal' ? 'display: inline;' : ''}">
|
|
69
|
+
<ej2-checkbox view-model.ref="viewModels[$index]" e-label.bind="optionModel? option[optionModel.label]: option"
|
|
70
|
+
e-name.bind="optionModel? option[optionModel.name]: option"
|
|
71
|
+
click.delegate="checkboxClick(option, viewModels[$index])"
|
|
72
|
+
e-checked.bind="selectedItems.length >0 && matcher? isMatch(option) : selectedItems.indexOf(option) !== -1">
|
|
73
|
+
</ej2-checkbox>
|
|
74
|
+
</div>
|
|
75
|
+
</template>`)
|
|
76
|
+
], Ej2CheckboxList);
|
|
65
77
|
exports.Ej2CheckboxList = Ej2CheckboxList;
|
|
@@ -6,6 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2Checkbox = void 0;
|
|
9
10
|
const ej2_buttons_1 = require("@syncfusion/ej2-buttons");
|
|
10
11
|
const aurelia_framework_1 = require("aurelia-framework");
|
|
11
12
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
@@ -18,6 +19,7 @@ let Ej2Checkbox = class Ej2Checkbox extends syncfusionWrapper_1.SyncfusionWrappe
|
|
|
18
19
|
this.checkedSubscription = null;
|
|
19
20
|
}
|
|
20
21
|
onWidgetCreated() {
|
|
22
|
+
this.widget.element.addEventListener("click", this._onClick.bind(this));
|
|
21
23
|
}
|
|
22
24
|
onWrapperCreated() {
|
|
23
25
|
}
|
|
@@ -42,11 +44,15 @@ let Ej2Checkbox = class Ej2Checkbox extends syncfusionWrapper_1.SyncfusionWrappe
|
|
|
42
44
|
}
|
|
43
45
|
detached() {
|
|
44
46
|
this.checkedSubscription.dispose();
|
|
47
|
+
this.widget.element.removeEventListener("click", this._onClick);
|
|
45
48
|
super.detached();
|
|
46
49
|
}
|
|
47
50
|
};
|
|
48
51
|
Ej2Checkbox = __decorate([
|
|
49
52
|
aurelia_framework_1.autoinject,
|
|
50
|
-
|
|
53
|
+
aurelia_framework_1.transient(),
|
|
54
|
+
decorator_1.generateBindables("checkbox"),
|
|
55
|
+
aurelia_framework_1.customElement("ej2-checkbox"),
|
|
56
|
+
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" type="checkbox" /></template>`)
|
|
51
57
|
], Ej2Checkbox);
|
|
52
58
|
exports.Ej2Checkbox = Ej2Checkbox;
|
|
@@ -6,10 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2ComboBox = void 0;
|
|
9
10
|
const constants_1 = require("../../common/constants");
|
|
10
11
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
11
12
|
const ej2_dropdowns_1 = require("@syncfusion/ej2-dropdowns");
|
|
12
13
|
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
15
|
let Ej2ComboBox = class Ej2ComboBox extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
@@ -26,6 +28,8 @@ let Ej2ComboBox = class Ej2ComboBox extends syncfusionWrapper_1.SyncfusionWrappe
|
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
30
|
Ej2ComboBox = __decorate([
|
|
29
|
-
decorator_1.generateBindables("comboBox")
|
|
31
|
+
decorator_1.generateBindables("comboBox"),
|
|
32
|
+
aurelia_framework_1.inlineView(`<template><input type="text" tabindex="1" element.ref="widgetElement" /></template>`),
|
|
33
|
+
aurelia_framework_1.customElement('ej2-combo-box')
|
|
30
34
|
], Ej2ComboBox);
|
|
31
35
|
exports.Ej2ComboBox = Ej2ComboBox;
|
|
@@ -6,9 +6,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2DashboardLayout = void 0;
|
|
9
10
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
10
11
|
const ej2_layouts_1 = require("@syncfusion/ej2-layouts");
|
|
11
12
|
const decorator_1 = require("../../utilities/decorator");
|
|
13
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
12
14
|
let Ej2DashboardLayout = class Ej2DashboardLayout extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
13
15
|
constructor() {
|
|
14
16
|
super(...arguments);
|
|
@@ -20,6 +22,8 @@ let Ej2DashboardLayout = class Ej2DashboardLayout extends syncfusionWrapper_1.Sy
|
|
|
20
22
|
}
|
|
21
23
|
};
|
|
22
24
|
Ej2DashboardLayout = __decorate([
|
|
23
|
-
decorator_1.generateBindables("dashboardLayout")
|
|
25
|
+
decorator_1.generateBindables("dashboardLayout"),
|
|
26
|
+
aurelia_framework_1.inlineView(`<template><div class="dashboard-container"><div element.ref="widgetElement"><slot></slot></div></div></template>`),
|
|
27
|
+
aurelia_framework_1.customElement("ej2-dashboard-layout")
|
|
24
28
|
], Ej2DashboardLayout);
|
|
25
29
|
exports.Ej2DashboardLayout = Ej2DashboardLayout;
|
|
@@ -6,10 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2DatePicker = void 0;
|
|
9
10
|
const constants_1 = require("./../../common/constants");
|
|
10
11
|
const ej2_calendars_1 = require("@syncfusion/ej2-calendars");
|
|
11
12
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
12
13
|
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
15
|
let Ej2DatePicker = class Ej2DatePicker extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
@@ -26,6 +28,8 @@ let Ej2DatePicker = class Ej2DatePicker extends syncfusionWrapper_1.SyncfusionWr
|
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
30
|
Ej2DatePicker = __decorate([
|
|
29
|
-
decorator_1.generateBindables("datePicker")
|
|
31
|
+
decorator_1.generateBindables("datePicker"),
|
|
32
|
+
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" /></template>`),
|
|
33
|
+
aurelia_framework_1.customElement("ej2-date-picker")
|
|
30
34
|
], Ej2DatePicker);
|
|
31
35
|
exports.Ej2DatePicker = Ej2DatePicker;
|
|
@@ -6,10 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2DateRangePicker = void 0;
|
|
9
10
|
const constants_1 = require("./../../common/constants");
|
|
10
11
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
11
12
|
const ej2_calendars_1 = require("@syncfusion/ej2-calendars");
|
|
12
13
|
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
15
|
let Ej2DateRangePicker = class Ej2DateRangePicker extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
@@ -28,6 +30,8 @@ let Ej2DateRangePicker = class Ej2DateRangePicker extends syncfusionWrapper_1.Sy
|
|
|
28
30
|
}
|
|
29
31
|
};
|
|
30
32
|
Ej2DateRangePicker = __decorate([
|
|
31
|
-
decorator_1.generateBindables("dateRangePicker")
|
|
33
|
+
decorator_1.generateBindables("dateRangePicker"),
|
|
34
|
+
aurelia_framework_1.customElement('ej2-date-range-picker'),
|
|
35
|
+
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" /></template>`)
|
|
32
36
|
], Ej2DateRangePicker);
|
|
33
37
|
exports.Ej2DateRangePicker = Ej2DateRangePicker;
|
|
@@ -6,10 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2DateTimePicker = void 0;
|
|
9
10
|
const constants_1 = require("./../../common/constants");
|
|
10
11
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
11
12
|
const ej2_calendars_1 = require("@syncfusion/ej2-calendars");
|
|
12
13
|
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
15
|
let Ej2DateTimePicker = class Ej2DateTimePicker extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
@@ -26,6 +28,8 @@ let Ej2DateTimePicker = class Ej2DateTimePicker extends syncfusionWrapper_1.Sync
|
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
30
|
Ej2DateTimePicker = __decorate([
|
|
29
|
-
decorator_1.generateBindables("dateTimePicker")
|
|
31
|
+
decorator_1.generateBindables("dateTimePicker"),
|
|
32
|
+
aurelia_framework_1.inlineView(`<template><input element.ref="widgetElement" /></template>`),
|
|
33
|
+
aurelia_framework_1.customElement('ej2-date-time-picker')
|
|
30
34
|
], Ej2DateTimePicker);
|
|
31
35
|
exports.Ej2DateTimePicker = Ej2DateTimePicker;
|
|
@@ -6,10 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Ej2DropDownList = void 0;
|
|
9
10
|
const constants_1 = require("./../../common/constants");
|
|
10
11
|
const syncfusionWrapper_1 = require("../../common/syncfusionWrapper");
|
|
11
12
|
const ej2_dropdowns_1 = require("@syncfusion/ej2-dropdowns");
|
|
12
13
|
const decorator_1 = require("../../utilities/decorator");
|
|
14
|
+
const aurelia_framework_1 = require("aurelia-framework");
|
|
13
15
|
let Ej2DropDownList = class Ej2DropDownList extends syncfusionWrapper_1.SyncfusionWrapper {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
@@ -30,6 +32,8 @@ let Ej2DropDownList = class Ej2DropDownList extends syncfusionWrapper_1.Syncfusi
|
|
|
30
32
|
}
|
|
31
33
|
};
|
|
32
34
|
Ej2DropDownList = __decorate([
|
|
33
|
-
decorator_1.generateBindables("dropDownList")
|
|
35
|
+
decorator_1.generateBindables("dropDownList"),
|
|
36
|
+
aurelia_framework_1.inlineView(`<template><div><slot><input /></slot></div></template>`),
|
|
37
|
+
aurelia_framework_1.customElement('ej2-drop-down-list')
|
|
34
38
|
], Ej2DropDownList);
|
|
35
39
|
exports.Ej2DropDownList = Ej2DropDownList;
|