smart-webcomponents-react 13.1.1 → 13.1.26
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/alertwindow/alertwindow.d.ts +10 -0
- package/alertwindow/alertwindow.esm.js +23 -1
- package/alertwindow/alertwindow.umd.js +23 -1
- package/barcode/barcode.d.ts +4 -2
- package/datetimepicker/datetimepicker.d.ts +8 -0
- package/datetimepicker/datetimepicker.esm.js +55 -0
- package/datetimepicker/datetimepicker.umd.js +860 -805
- package/dialogwindow/dialogwindow.d.ts +10 -0
- package/dialogwindow/dialogwindow.esm.js +23 -1
- package/dialogwindow/dialogwindow.umd.js +23 -1
- package/dockinglayout/dockinglayout.d.ts +6 -0
- package/dockinglayout/dockinglayout.esm.js +15 -0
- package/dockinglayout/dockinglayout.umd.js +15 -0
- package/grid/grid.d.ts +16 -1
- package/grid/grid.esm.js +29 -0
- package/grid/grid.umd.js +29 -0
- package/index.d.ts +225 -7
- package/kanban/kanban.d.ts +26 -1
- package/kanban/kanban.esm.js +56 -1
- package/kanban/kanban.umd.js +56 -1
- package/layout/dockinglayout.d.ts +6 -0
- package/multilinewindow/multilinewindow.d.ts +10 -0
- package/multilinewindow/multilinewindow.esm.js +23 -1
- package/multilinewindow/multilinewindow.umd.js +23 -1
- package/package.json +1 -1
- package/progresswindow/progresswindow.d.ts +10 -0
- package/progresswindow/progresswindow.esm.js +23 -1
- package/progresswindow/progresswindow.umd.js +23 -1
- package/promptwindow/promptwindow.d.ts +10 -0
- package/promptwindow/promptwindow.esm.js +23 -1
- package/promptwindow/promptwindow.umd.js +23 -1
- package/qrcode/package.json +7 -0
- package/qrcode/qrcode.d.ts +141 -0
- package/qrcode/qrcode.esm.js +376 -0
- package/qrcode/qrcode.umd.js +387 -0
- package/source/modules/smart.accordion.js +1 -1
- package/source/modules/smart.array.js +1 -1
- package/source/modules/smart.barcode.js +2 -2
- package/source/modules/smart.breadcrumb.js +1 -1
- package/source/modules/smart.button.js +1 -1
- package/source/modules/smart.buttongroup.js +1 -1
- package/source/modules/smart.calendar.js +2 -2
- package/source/modules/smart.card.js +1 -1
- package/source/modules/smart.cardview.js +5 -5
- package/source/modules/smart.carousel.js +1 -1
- package/source/modules/smart.chart.js +2 -2
- package/source/modules/smart.checkbox.js +1 -1
- package/source/modules/smart.checkinput.js +1 -1
- package/source/modules/smart.chip.js +1 -1
- package/source/modules/smart.colorinput.js +1 -1
- package/source/modules/smart.colorpanel.js +1 -1
- package/source/modules/smart.colorpicker.js +1 -1
- package/source/modules/smart.combobox.js +1 -1
- package/source/modules/smart.common.js +3 -3
- package/source/modules/smart.countryinput.js +1 -1
- package/source/modules/smart.dateinput.js +3 -3
- package/source/modules/smart.daterangeinput.js +3 -3
- package/source/modules/smart.datetimepicker.js +3 -3
- package/source/modules/smart.dockinglayout.js +4 -4
- package/source/modules/smart.dropdownbutton.js +1 -1
- package/source/modules/smart.dropdownlist.js +1 -1
- package/source/modules/smart.editor.js +3 -3
- package/source/modules/smart.element.js +1 -1
- package/source/modules/smart.fileupload.js +1 -1
- package/source/modules/smart.form.js +1 -1
- package/source/modules/smart.formulaparser.js +1 -1
- package/source/modules/smart.ganttchart.js +7 -7
- package/source/modules/smart.gauge.js +2 -2
- package/source/modules/smart.grid.js +16 -16
- package/source/modules/smart.gridpanel.js +5 -5
- package/source/modules/smart.input.js +1 -1
- package/source/modules/smart.kanban.js +6 -6
- package/source/modules/smart.layout.js +1 -1
- package/source/modules/smart.led.js +1 -1
- package/source/modules/smart.listbox.js +1 -1
- package/source/modules/smart.listmenu.js +1 -1
- package/source/modules/smart.map.js +1 -1
- package/source/modules/smart.maskedtextbox.js +1 -1
- package/source/modules/smart.menu.js +1 -1
- package/source/modules/smart.multicomboinput.js +1 -1
- package/source/modules/smart.multiinput.js +1 -1
- package/source/modules/smart.multilinetextbox.js +1 -1
- package/source/modules/smart.multisplitbutton.js +1 -1
- package/source/modules/smart.numberinput.js +1 -1
- package/source/modules/smart.numerictextbox.js +1 -1
- package/source/modules/smart.pager.js +1 -1
- package/source/modules/smart.passwordinput.js +1 -1
- package/source/modules/smart.passwordtextbox.js +1 -1
- package/source/modules/smart.path.js +1 -1
- package/source/modules/smart.phoneinput.js +1 -1
- package/source/modules/smart.pivottable.js +6 -6
- package/source/modules/smart.progressbar.js +1 -1
- package/source/modules/smart.qrcode.js +117 -0
- package/source/modules/smart.querybuilder.js +3 -3
- package/source/modules/smart.radiobutton.js +1 -1
- package/source/modules/smart.rating.js +1 -1
- package/source/modules/smart.router.js +2 -2
- package/source/modules/smart.scheduler.js +5 -5
- package/source/modules/smart.scrollbar.js +1 -1
- package/source/modules/smart.slider.js +2 -2
- package/source/modules/smart.sortable.js +1 -1
- package/source/modules/smart.splitter.js +1 -1
- package/source/modules/smart.switchbutton.js +1 -1
- package/source/modules/smart.table.js +5 -5
- package/source/modules/smart.tabs.js +2 -2
- package/source/modules/smart.tank.js +2 -2
- package/source/modules/smart.textarea.js +1 -1
- package/source/modules/smart.textbox.js +1 -1
- package/source/modules/smart.timeinput.js +1 -1
- package/source/modules/smart.timepicker.js +1 -1
- package/source/modules/smart.toast.js +1 -1
- package/source/modules/smart.tooltip.js +1 -1
- package/source/modules/smart.tree.js +2 -2
- package/source/modules/smart.validator.js +1 -1
- package/source/modules/smart.window.js +2 -2
- package/source/smart.accordion.js +1 -1
- package/source/smart.ajax.js +1 -1
- package/source/smart.array.js +1 -1
- package/source/smart.barcode.js +2 -2
- package/source/smart.bootstrap.js +1 -1
- package/source/smart.breadcrumb.js +1 -1
- package/source/smart.button.js +1 -1
- package/source/smart.buttongroup.js +1 -1
- package/source/smart.calendar.js +1 -1
- package/source/smart.card.js +1 -1
- package/source/smart.cardview.js +1 -1
- package/source/smart.carousel.js +1 -1
- package/source/smart.chart.annotations.js +1 -1
- package/source/smart.chart.api.js +1 -1
- package/source/smart.chart.core.js +1 -1
- package/source/smart.chart.js +1 -1
- package/source/smart.chart.rangeselector.js +1 -1
- package/source/smart.chart.waterfall.js +1 -1
- package/source/smart.checkbox.js +1 -1
- package/source/smart.checkinput.js +1 -1
- package/source/smart.chip.js +1 -1
- package/source/smart.colorinput.js +1 -1
- package/source/smart.colorpanel.js +1 -1
- package/source/smart.colorpicker.js +1 -1
- package/source/smart.combobox.js +1 -1
- package/source/smart.complex.js +1 -1
- package/source/smart.core.js +1 -1
- package/source/smart.countryinput.js +1 -1
- package/source/smart.data.js +2 -2
- package/source/smart.date.js +2 -2
- package/source/smart.dateformatpanel.js +1 -1
- package/source/smart.dateinput.js +2 -2
- package/source/smart.daterangeinput.js +1 -1
- package/source/smart.datetimepicker.js +2 -2
- package/source/smart.dockinglayout.js +2 -2
- package/source/smart.draw.js +1 -1
- package/source/smart.dropdownbutton.js +1 -1
- package/source/smart.dropdownlist.js +1 -1
- package/source/smart.editor.js +2 -2
- package/source/smart.element.js +1 -1
- package/source/smart.elements.js +21 -21
- package/source/smart.export.js +1 -1
- package/source/smart.fileupload.js +1 -1
- package/source/smart.filter.js +1 -1
- package/source/smart.filterbuilder.js +1 -1
- package/source/smart.filterpanel.js +1 -1
- package/source/smart.form.js +1 -1
- package/source/smart.format.js +1 -1
- package/source/smart.formulaparser.js +1 -1
- package/source/smart.ganttchart.js +1 -1
- package/source/smart.gauge.js +1 -1
- package/source/smart.grid.cell.js +2 -2
- package/source/smart.grid.chart.js +1 -1
- package/source/smart.grid.column.js +2 -2
- package/source/smart.grid.core.js +2 -2
- package/source/smart.grid.dialog.js +2 -2
- package/source/smart.grid.edit.js +2 -2
- package/source/smart.grid.export.js +1 -1
- package/source/smart.grid.filter.js +2 -2
- package/source/smart.grid.group.js +1 -1
- package/source/smart.grid.js +1 -1
- package/source/smart.grid.menu.js +1 -1
- package/source/smart.grid.pager.js +1 -1
- package/source/smart.grid.reorder.js +2 -2
- package/source/smart.grid.resize.js +1 -1
- package/source/smart.grid.row.js +1 -1
- package/source/smart.grid.select.js +2 -2
- package/source/smart.grid.sort.js +2 -2
- package/source/smart.grid.toolbar.js +1 -1
- package/source/smart.grid.tree.js +1 -1
- package/source/smart.grid.view.js +2 -2
- package/source/smart.gridpanel.js +1 -1
- package/source/smart.input.js +1 -1
- package/source/smart.kanban.js +2 -2
- package/source/smart.layout.js +1 -1
- package/source/smart.led.js +1 -1
- package/source/smart.listbox.js +1 -1
- package/source/smart.listmenu.js +1 -1
- package/source/smart.map.js +1 -1
- package/source/smart.maskedtextbox.js +1 -1
- package/source/smart.math.js +1 -1
- package/source/smart.menu.js +1 -1
- package/source/smart.multicomboinput.js +1 -1
- package/source/smart.multiinput.js +1 -1
- package/source/smart.multilinetextbox.js +1 -1
- package/source/smart.multisplitbutton.js +1 -1
- package/source/smart.numberformatpanel.js +1 -1
- package/source/smart.numberinput.js +1 -1
- package/source/smart.numeric.js +1 -1
- package/source/smart.numerictextbox.js +1 -1
- package/source/smart.pager.js +1 -1
- package/source/smart.passwordinput.js +1 -1
- package/source/smart.passwordtextbox.js +1 -1
- package/source/smart.path.js +1 -1
- package/source/smart.phoneinput.js +1 -1
- package/source/smart.pivottable.js +1 -1
- package/source/smart.powerbutton.js +1 -1
- package/source/smart.progressbar.js +1 -1
- package/source/smart.qrcode.js +6 -0
- package/source/smart.radiobutton.js +1 -1
- package/source/smart.rating.js +1 -1
- package/source/smart.router.js +1 -1
- package/source/smart.scheduler.js +1 -1
- package/source/smart.scrollbar.js +1 -1
- package/source/smart.slider.js +1 -1
- package/source/smart.sortable.js +1 -1
- package/source/smart.splitter.js +1 -1
- package/source/smart.switchbutton.js +1 -1
- package/source/smart.table.js +2 -2
- package/source/smart.tabs.js +2 -2
- package/source/smart.tank.js +1 -1
- package/source/smart.textarea.js +1 -1
- package/source/smart.textbox.js +1 -1
- package/source/smart.tickintervalhandler.js +1 -1
- package/source/smart.timeinput.js +1 -1
- package/source/smart.timepicker.js +1 -1
- package/source/smart.toast.js +1 -1
- package/source/smart.tooltip.js +1 -1
- package/source/smart.tree.js +2 -2
- package/source/smart.validationpanel.js +1 -1
- package/source/smart.validator.js +1 -1
- package/source/smart.window.js +2 -2
- package/source/styles/components/smart.base.css +1 -1
- package/source/styles/components/smart.grid.css +1 -1
- package/source/styles/components/smart.kanban.css +1 -1
- package/source/styles/default/scss/smart.grid.scss +13 -17
- package/source/styles/default/scss/smart.kanban.scss +289 -233
- package/source/styles/default/scss/smart.qrcode.scss +6 -0
- package/source/styles/default/smart.grid.css +15 -16
- package/source/styles/default/smart.kanban.css +247 -200
- package/source/styles/default/smart.qrcode.css +6 -0
- package/source/styles/default/smart.variables.css +2 -2
- package/source/styles/smart.default.css +3 -3
- package/source/typescript/smart.barcode.d.ts +4 -2
- package/source/typescript/smart.datetimepicker.d.ts +10 -0
- package/source/typescript/smart.dockinglayout.d.ts +7 -0
- package/source/typescript/smart.elements.d.ts +225 -7
- package/source/typescript/smart.grid.d.ts +18 -1
- package/source/typescript/smart.kanban.d.ts +27 -2
- package/source/typescript/smart.qrcode.d.ts +134 -0
- package/source/typescript/smart.tree.d.ts +17 -2
- package/source/typescript/smart.window.d.ts +10 -0
- package/tabs/tabswindow.d.ts +10 -0
- package/tabswindow/tabswindow.d.ts +10 -0
- package/tabswindow/tabswindow.esm.js +23 -1
- package/tabswindow/tabswindow.umd.js +23 -1
- package/timepicker/datetimepicker.d.ts +8 -0
- package/tree/tree.d.ts +14 -2
- package/tree/tree.esm.js +45 -2
- package/tree/tree.umd.js +45 -2
- package/waitwindow/waitwindow.d.ts +10 -0
- package/waitwindow/waitwindow.esm.js +23 -1
- package/waitwindow/waitwindow.umd.js +23 -1
- package/window/alertwindow.d.ts +10 -0
- package/window/dialogwindow.d.ts +10 -0
- package/window/multilinewindow.d.ts +10 -0
- package/window/progresswindow.d.ts +10 -0
- package/window/promptwindow.d.ts +10 -0
- package/window/tabswindow.d.ts +10 -0
- package/window/waitwindow.d.ts +10 -0
- package/window/window.d.ts +10 -0
- package/window/window.esm.js +23 -1
- package/window/window.umd.js +23 -1
|
@@ -97,6 +97,16 @@ export declare class DialogWindow extends React.Component<React.HTMLAttributes<E
|
|
|
97
97
|
*/
|
|
98
98
|
get disableSnap(): boolean;
|
|
99
99
|
set disableSnap(value: boolean);
|
|
100
|
+
/** By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that.
|
|
101
|
+
* Property type: boolean
|
|
102
|
+
*/
|
|
103
|
+
get disableEscape(): boolean;
|
|
104
|
+
set disableEscape(value: boolean);
|
|
105
|
+
/** By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that.
|
|
106
|
+
* Property type: boolean
|
|
107
|
+
*/
|
|
108
|
+
get disableKeyboard(): boolean;
|
|
109
|
+
set disableKeyboard(value: boolean);
|
|
100
110
|
/** Determines how the characters are displayed inside the input. Applicable to Prompt Window.
|
|
101
111
|
* Property type: WindowDisplayMode
|
|
102
112
|
*/
|
|
@@ -176,6 +176,28 @@ class DialogWindow extends React.Component {
|
|
|
176
176
|
this.nativeElement.disableSnap = value;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
+
/** By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that.
|
|
180
|
+
* Property type: boolean
|
|
181
|
+
*/
|
|
182
|
+
get disableEscape() {
|
|
183
|
+
return this.nativeElement ? this.nativeElement.disableEscape : undefined;
|
|
184
|
+
}
|
|
185
|
+
set disableEscape(value) {
|
|
186
|
+
if (this.nativeElement) {
|
|
187
|
+
this.nativeElement.disableEscape = value;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
/** By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that.
|
|
191
|
+
* Property type: boolean
|
|
192
|
+
*/
|
|
193
|
+
get disableKeyboard() {
|
|
194
|
+
return this.nativeElement ? this.nativeElement.disableKeyboard : undefined;
|
|
195
|
+
}
|
|
196
|
+
set disableKeyboard(value) {
|
|
197
|
+
if (this.nativeElement) {
|
|
198
|
+
this.nativeElement.disableKeyboard = value;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
179
201
|
/** Determines how the characters are displayed inside the input. Applicable to Prompt Window.
|
|
180
202
|
* Property type: WindowDisplayMode
|
|
181
203
|
*/
|
|
@@ -783,7 +805,7 @@ class DialogWindow extends React.Component {
|
|
|
783
805
|
}
|
|
784
806
|
// Gets the properties of the React component.
|
|
785
807
|
get properties() {
|
|
786
|
-
return ["addNewTab", "animation", "autoCapitalize", "autoExpand", "cancelLabel", "completeLabel", "confirmLabel", "collapsed", "closeOnMaskClick", "dataSource", "disabled", "disableSnap", "displayMode", "dropPosition", "formatFunction", "footerPosition", "footerTemplate", "headerButtons", "headerTemplate", "headerPosition", "hint", "indeterminate", "inverted", "label", "liveResize", "layout", "locale", "locked", "localizeFormatFunction", "maximized", "messages", "modal", "max", "min", "minimized", "maxLength", "minLength", "opened", "pinned", "placeholder", "promptLabel", "readonly", "resizeIndicator", "resizeMode", "rightToLeft", "required", "requiredMessage", "selectAllOnFocus", "selectedIndex", "selectionMode", "selectionEnd", "selectionStart", "showProgressValue", "siblings", "size", "spellCheck", "tabCloseButtons", "tabCloseButtonMode", "tabOverflow", "tabPosition", "tabScrollButtonsPosition", "tabTextOrientation", "theme", "unfocusable", "value", "windowParent", "wrap"];
|
|
808
|
+
return ["addNewTab", "animation", "autoCapitalize", "autoExpand", "cancelLabel", "completeLabel", "confirmLabel", "collapsed", "closeOnMaskClick", "dataSource", "disabled", "disableSnap", "disableEscape", "disableKeyboard", "displayMode", "dropPosition", "formatFunction", "footerPosition", "footerTemplate", "headerButtons", "headerTemplate", "headerPosition", "hint", "indeterminate", "inverted", "label", "liveResize", "layout", "locale", "locked", "localizeFormatFunction", "maximized", "messages", "modal", "max", "min", "minimized", "maxLength", "minLength", "opened", "pinned", "placeholder", "promptLabel", "readonly", "resizeIndicator", "resizeMode", "rightToLeft", "required", "requiredMessage", "selectAllOnFocus", "selectedIndex", "selectionMode", "selectionEnd", "selectionStart", "showProgressValue", "siblings", "size", "spellCheck", "tabCloseButtons", "tabCloseButtonMode", "tabOverflow", "tabPosition", "tabScrollButtonsPosition", "tabTextOrientation", "theme", "unfocusable", "value", "windowParent", "wrap"];
|
|
787
809
|
}
|
|
788
810
|
// Gets the events of the React component.
|
|
789
811
|
get eventListeners() {
|
|
@@ -182,6 +182,28 @@ require('../source/modules/smart.dialogwindow');
|
|
|
182
182
|
this.nativeElement.disableSnap = value;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
+
/** By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that.
|
|
186
|
+
* Property type: boolean
|
|
187
|
+
*/
|
|
188
|
+
get disableEscape() {
|
|
189
|
+
return this.nativeElement ? this.nativeElement.disableEscape : undefined;
|
|
190
|
+
}
|
|
191
|
+
set disableEscape(value) {
|
|
192
|
+
if (this.nativeElement) {
|
|
193
|
+
this.nativeElement.disableEscape = value;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
/** By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that.
|
|
197
|
+
* Property type: boolean
|
|
198
|
+
*/
|
|
199
|
+
get disableKeyboard() {
|
|
200
|
+
return this.nativeElement ? this.nativeElement.disableKeyboard : undefined;
|
|
201
|
+
}
|
|
202
|
+
set disableKeyboard(value) {
|
|
203
|
+
if (this.nativeElement) {
|
|
204
|
+
this.nativeElement.disableKeyboard = value;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
185
207
|
/** Determines how the characters are displayed inside the input. Applicable to Prompt Window.
|
|
186
208
|
* Property type: WindowDisplayMode
|
|
187
209
|
*/
|
|
@@ -789,7 +811,7 @@ require('../source/modules/smart.dialogwindow');
|
|
|
789
811
|
}
|
|
790
812
|
// Gets the properties of the React component.
|
|
791
813
|
get properties() {
|
|
792
|
-
return ["addNewTab", "animation", "autoCapitalize", "autoExpand", "cancelLabel", "completeLabel", "confirmLabel", "collapsed", "closeOnMaskClick", "dataSource", "disabled", "disableSnap", "displayMode", "dropPosition", "formatFunction", "footerPosition", "footerTemplate", "headerButtons", "headerTemplate", "headerPosition", "hint", "indeterminate", "inverted", "label", "liveResize", "layout", "locale", "locked", "localizeFormatFunction", "maximized", "messages", "modal", "max", "min", "minimized", "maxLength", "minLength", "opened", "pinned", "placeholder", "promptLabel", "readonly", "resizeIndicator", "resizeMode", "rightToLeft", "required", "requiredMessage", "selectAllOnFocus", "selectedIndex", "selectionMode", "selectionEnd", "selectionStart", "showProgressValue", "siblings", "size", "spellCheck", "tabCloseButtons", "tabCloseButtonMode", "tabOverflow", "tabPosition", "tabScrollButtonsPosition", "tabTextOrientation", "theme", "unfocusable", "value", "windowParent", "wrap"];
|
|
814
|
+
return ["addNewTab", "animation", "autoCapitalize", "autoExpand", "cancelLabel", "completeLabel", "confirmLabel", "collapsed", "closeOnMaskClick", "dataSource", "disabled", "disableSnap", "disableEscape", "disableKeyboard", "displayMode", "dropPosition", "formatFunction", "footerPosition", "footerTemplate", "headerButtons", "headerTemplate", "headerPosition", "hint", "indeterminate", "inverted", "label", "liveResize", "layout", "locale", "locked", "localizeFormatFunction", "maximized", "messages", "modal", "max", "min", "minimized", "maxLength", "minLength", "opened", "pinned", "placeholder", "promptLabel", "readonly", "resizeIndicator", "resizeMode", "rightToLeft", "required", "requiredMessage", "selectAllOnFocus", "selectedIndex", "selectionMode", "selectionEnd", "selectionStart", "showProgressValue", "siblings", "size", "spellCheck", "tabCloseButtons", "tabCloseButtonMode", "tabOverflow", "tabPosition", "tabScrollButtonsPosition", "tabTextOrientation", "theme", "unfocusable", "value", "windowParent", "wrap"];
|
|
793
815
|
}
|
|
794
816
|
// Gets the events of the React component.
|
|
795
817
|
get eventListeners() {
|
|
@@ -250,6 +250,12 @@ export declare class DockingLayout extends React.Component<React.HTMLAttributes<
|
|
|
250
250
|
* @param {any} tabsWindow. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
|
|
251
251
|
*/
|
|
252
252
|
insertOutsideTargetGroupRight(index: number | HTMLElement | string, tabsWindow: any): void;
|
|
253
|
+
/** Inserts a new TabsWindow. The window is in floating mode and is undocked.
|
|
254
|
+
* @param {any} item. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
|
|
255
|
+
* @param {number | string} left?. The left position of the new window. You can use number, px or %. For example: '10px'.
|
|
256
|
+
* @param {number | string} top?. The top position of the new window. You can use number, px or %. For example: '10px'.
|
|
257
|
+
*/
|
|
258
|
+
insertFloatingWindow(item: any, left?: number | string, top?: number | string): void;
|
|
253
259
|
/** The method returns an array of all autohidden items.
|
|
254
260
|
* @param {string} orientation?. Determines which auto hidden items to return ( vertical or horizontal ). If not set the method will return all autohidden items. Possible values: 'vertical', 'horizontal'.
|
|
255
261
|
* @returns {any[]}
|
|
@@ -568,6 +568,21 @@ class DockingLayout extends React.Component {
|
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
+
/** Inserts a new TabsWindow. The window is in floating mode and is undocked.
|
|
572
|
+
* @param {any} item. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
|
|
573
|
+
* @param {number | string} left?. The left position of the new window. You can use number, px or %. For example: '10px'.
|
|
574
|
+
* @param {number | string} top?. The top position of the new window. You can use number, px or %. For example: '10px'.
|
|
575
|
+
*/
|
|
576
|
+
insertFloatingWindow(item, left, top) {
|
|
577
|
+
if (this.nativeElement.isRendered) {
|
|
578
|
+
this.nativeElement.insertFloatingWindow(item, left, top);
|
|
579
|
+
}
|
|
580
|
+
else {
|
|
581
|
+
this.nativeElement.whenRendered(() => {
|
|
582
|
+
this.nativeElement.insertFloatingWindow(item, left, top);
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
}
|
|
571
586
|
/** The method returns an array of all autohidden items.
|
|
572
587
|
* @param {string} orientation?. Determines which auto hidden items to return ( vertical or horizontal ). If not set the method will return all autohidden items. Possible values: 'vertical', 'horizontal'.
|
|
573
588
|
* @returns {any[]}
|
|
@@ -574,6 +574,21 @@ require('../source/modules/smart.dockinglayout');
|
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
+
/** Inserts a new TabsWindow. The window is in floating mode and is undocked.
|
|
578
|
+
* @param {any} item. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
|
|
579
|
+
* @param {number | string} left?. The left position of the new window. You can use number, px or %. For example: '10px'.
|
|
580
|
+
* @param {number | string} top?. The top position of the new window. You can use number, px or %. For example: '10px'.
|
|
581
|
+
*/
|
|
582
|
+
insertFloatingWindow(item, left, top) {
|
|
583
|
+
if (this.nativeElement.isRendered) {
|
|
584
|
+
this.nativeElement.insertFloatingWindow(item, left, top);
|
|
585
|
+
}
|
|
586
|
+
else {
|
|
587
|
+
this.nativeElement.whenRendered(() => {
|
|
588
|
+
this.nativeElement.insertFloatingWindow(item, left, top);
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
}
|
|
577
592
|
/** The method returns an array of all autohidden items.
|
|
578
593
|
* @param {string} orientation?. Determines which auto hidden items to return ( vertical or horizontal ). If not set the method will return all autohidden items. Possible values: 'vertical', 'horizontal'.
|
|
579
594
|
* @returns {any[]}
|
package/grid/grid.d.ts
CHANGED
|
@@ -673,9 +673,13 @@ export declare class Grid extends React.Component<React.HTMLAttributes<Element>
|
|
|
673
673
|
* @param event. The custom event. */
|
|
674
674
|
onPage?: ((event?: Event) => void) | undefined;
|
|
675
675
|
/** This event is triggered, when a sorting column is added or removed.
|
|
676
|
-
* @param event. The custom event. Custom event was created with: event.detail( columns, data)
|
|
676
|
+
* @param event. The custom event. Custom event was created with: event.detail( columns, data, dataFields, dataTypes, orders, indexes)
|
|
677
677
|
* columns - Array of columns.
|
|
678
678
|
* data - Array of {dataField: string, sortOrder: string, sortIndex: number}. <em>dataField</em> is the column's data field. <em>sortOrder</em> is 'asc' or 'desc', <em>sortIndex</em> is the index of the column in multi column sorting.
|
|
679
|
+
* dataFields - Array of column data fields.
|
|
680
|
+
* dataTypes - Array of column data types. The values in the array would be 'string', 'date', 'boolean' or 'number'.
|
|
681
|
+
* orders - Array of column orders. The values in the array would be 'asc' or 'desc'.
|
|
682
|
+
* indexes - Array of column sort indexes. When multiple sorting is applied the sort index is an important parameter as it specifies the priority of sorting.
|
|
679
683
|
*/
|
|
680
684
|
onSort?: ((event?: Event) => void) | undefined;
|
|
681
685
|
/** This event is triggered, when the user reaches the bottom of the grid.
|
|
@@ -1050,6 +1054,17 @@ export declare class Grid extends React.Component<React.HTMLAttributes<Element>
|
|
|
1050
1054
|
*/
|
|
1051
1055
|
setRowProperty(rowId: string | number, propertyName: string, value: any): void;
|
|
1052
1056
|
/** Sets a property to a row.
|
|
1057
|
+
* @param {string | number} rowId. row bound id
|
|
1058
|
+
* @param {any} rowStyle. The row style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
1059
|
+
*/
|
|
1060
|
+
setRowStyle(rowId: string | number, rowStyle: any): void;
|
|
1061
|
+
/** Sets a style to a row.
|
|
1062
|
+
* @param {string | number} rowId. row bound id
|
|
1063
|
+
* @param {string} dataField. Column bound field name.
|
|
1064
|
+
* @param {any} rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
1065
|
+
*/
|
|
1066
|
+
setCellStyle(rowId: string | number, dataField: string, rowStyle: any): void;
|
|
1067
|
+
/** Sets a style to a row.
|
|
1053
1068
|
* @param {number} value. The new scroll position
|
|
1054
1069
|
*/
|
|
1055
1070
|
setVerticalScrollValue(value: number): void;
|
package/grid/grid.esm.js
CHANGED
|
@@ -1878,6 +1878,35 @@ class Grid extends React.Component {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
1880
|
/** Sets a property to a row.
|
|
1881
|
+
* @param {string | number} rowId. row bound id
|
|
1882
|
+
* @param {any} rowStyle. The row style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
1883
|
+
*/
|
|
1884
|
+
setRowStyle(rowId, rowStyle) {
|
|
1885
|
+
if (this.nativeElement.isRendered) {
|
|
1886
|
+
this.nativeElement.setRowStyle(rowId, rowStyle);
|
|
1887
|
+
}
|
|
1888
|
+
else {
|
|
1889
|
+
this.nativeElement.whenRendered(() => {
|
|
1890
|
+
this.nativeElement.setRowStyle(rowId, rowStyle);
|
|
1891
|
+
});
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
/** Sets a style to a row.
|
|
1895
|
+
* @param {string | number} rowId. row bound id
|
|
1896
|
+
* @param {string} dataField. Column bound field name.
|
|
1897
|
+
* @param {any} rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
1898
|
+
*/
|
|
1899
|
+
setCellStyle(rowId, dataField, rowStyle) {
|
|
1900
|
+
if (this.nativeElement.isRendered) {
|
|
1901
|
+
this.nativeElement.setCellStyle(rowId, dataField, rowStyle);
|
|
1902
|
+
}
|
|
1903
|
+
else {
|
|
1904
|
+
this.nativeElement.whenRendered(() => {
|
|
1905
|
+
this.nativeElement.setCellStyle(rowId, dataField, rowStyle);
|
|
1906
|
+
});
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
/** Sets a style to a row.
|
|
1881
1910
|
* @param {number} value. The new scroll position
|
|
1882
1911
|
*/
|
|
1883
1912
|
setVerticalScrollValue(value) {
|
package/grid/grid.umd.js
CHANGED
|
@@ -1884,6 +1884,35 @@ require('../source/modules/smart.grid');
|
|
|
1884
1884
|
}
|
|
1885
1885
|
}
|
|
1886
1886
|
/** Sets a property to a row.
|
|
1887
|
+
* @param {string | number} rowId. row bound id
|
|
1888
|
+
* @param {any} rowStyle. The row style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
1889
|
+
*/
|
|
1890
|
+
setRowStyle(rowId, rowStyle) {
|
|
1891
|
+
if (this.nativeElement.isRendered) {
|
|
1892
|
+
this.nativeElement.setRowStyle(rowId, rowStyle);
|
|
1893
|
+
}
|
|
1894
|
+
else {
|
|
1895
|
+
this.nativeElement.whenRendered(() => {
|
|
1896
|
+
this.nativeElement.setRowStyle(rowId, rowStyle);
|
|
1897
|
+
});
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
/** Sets a style to a row.
|
|
1901
|
+
* @param {string | number} rowId. row bound id
|
|
1902
|
+
* @param {string} dataField. Column bound field name.
|
|
1903
|
+
* @param {any} rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
1904
|
+
*/
|
|
1905
|
+
setCellStyle(rowId, dataField, rowStyle) {
|
|
1906
|
+
if (this.nativeElement.isRendered) {
|
|
1907
|
+
this.nativeElement.setCellStyle(rowId, dataField, rowStyle);
|
|
1908
|
+
}
|
|
1909
|
+
else {
|
|
1910
|
+
this.nativeElement.whenRendered(() => {
|
|
1911
|
+
this.nativeElement.setCellStyle(rowId, dataField, rowStyle);
|
|
1912
|
+
});
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
/** Sets a style to a row.
|
|
1887
1916
|
* @param {number} value. The new scroll position
|
|
1888
1917
|
*/
|
|
1889
1918
|
setVerticalScrollValue(value) {
|
package/index.d.ts
CHANGED
|
@@ -659,9 +659,11 @@ export interface BarCode extends BaseElement, BarCodeProperties {
|
|
|
659
659
|
[name: string]: any;
|
|
660
660
|
/**
|
|
661
661
|
* This event is triggered when the value of the barcode is invalid.
|
|
662
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(
|
|
663
|
-
* value - the invalid value of the barcode.
|
|
662
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(invalidCharacters, lengthValidity, patternValidity, value)
|
|
664
663
|
* invalidCharacters - An array indicating the invalid characters.
|
|
664
|
+
* lengthValidity - A boolean indicating the length validity.
|
|
665
|
+
* patternValidity - A boolean indicating the pattern validity.
|
|
666
|
+
* value - the invalid value of the barcode.
|
|
665
667
|
*/
|
|
666
668
|
onInvalid?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
667
669
|
/**
|
|
@@ -7460,6 +7462,16 @@ export interface DateTimePicker extends BaseElement, DateTimePickerProperties {
|
|
|
7460
7462
|
* Selects the text inside the input.
|
|
7461
7463
|
*/
|
|
7462
7464
|
select(): void;
|
|
7465
|
+
/**
|
|
7466
|
+
* Gets a Date object.
|
|
7467
|
+
* @returns {Date}
|
|
7468
|
+
*/
|
|
7469
|
+
getDate(): Date;
|
|
7470
|
+
/**
|
|
7471
|
+
* Sets the date of the DateTimePicker.
|
|
7472
|
+
* @param {Date} date. The date object to be set.
|
|
7473
|
+
*/
|
|
7474
|
+
setDate(date: Date): void;
|
|
7463
7475
|
}
|
|
7464
7476
|
|
|
7465
7477
|
declare global {
|
|
@@ -7752,6 +7764,13 @@ export interface DockingLayout extends BaseElement, DockingLayoutProperties {
|
|
|
7752
7764
|
* @param {any} tabsWindow. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
|
|
7753
7765
|
*/
|
|
7754
7766
|
insertOutsideTargetGroupRight(index: number | HTMLElement | string, tabsWindow: any): void;
|
|
7767
|
+
/**
|
|
7768
|
+
* Inserts a new TabsWindow. The window is in floating mode and is undocked.
|
|
7769
|
+
* @param {any} item. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
|
|
7770
|
+
* @param {number | string} left?. The left position of the new window. You can use number, px or %. For example: '10px'.
|
|
7771
|
+
* @param {number | string} top?. The top position of the new window. You can use number, px or %. For example: '10px'.
|
|
7772
|
+
*/
|
|
7773
|
+
insertFloatingWindow(item: any, left?: number | string, top?: number | string): void;
|
|
7755
7774
|
/**
|
|
7756
7775
|
* The method returns an array of all autohidden items.
|
|
7757
7776
|
* @param {string} orientation?. Determines which auto hidden items to return ( vertical or horizontal ). If not set the method will return all autohidden items. Possible values: 'vertical', 'horizontal'.
|
|
@@ -14276,9 +14295,13 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14276
14295
|
onPage?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
14277
14296
|
/**
|
|
14278
14297
|
* This event is triggered, when a sorting column is added or removed.
|
|
14279
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(columns, data)
|
|
14298
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(columns, data, dataFields, dataTypes, orders, indexes)
|
|
14280
14299
|
* columns - Array of columns.
|
|
14281
14300
|
* data - Array of {dataField: string, sortOrder: string, sortIndex: number}. <em>dataField</em> is the column's data field. <em>sortOrder</em> is 'asc' or 'desc', <em>sortIndex</em> is the index of the column in multi column sorting.
|
|
14301
|
+
* dataFields - Array of column data fields.
|
|
14302
|
+
* dataTypes - Array of column data types. The values in the array would be 'string', 'date', 'boolean' or 'number'.
|
|
14303
|
+
* orders - Array of column orders. The values in the array would be 'asc' or 'desc'.
|
|
14304
|
+
* indexes - Array of column sort indexes. When multiple sorting is applied the sort index is an important parameter as it specifies the priority of sorting.
|
|
14282
14305
|
*/
|
|
14283
14306
|
onSort?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
14284
14307
|
/**
|
|
@@ -14736,6 +14759,19 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14736
14759
|
* @param {any} value. The new property value.
|
|
14737
14760
|
*/
|
|
14738
14761
|
setRowProperty(rowId: string | number, propertyName: string, value: any): void;
|
|
14762
|
+
/**
|
|
14763
|
+
* Sets a style to a row.
|
|
14764
|
+
* @param {string | number} rowId. row bound id
|
|
14765
|
+
* @param {any} rowStyle. The row style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
14766
|
+
*/
|
|
14767
|
+
setRowStyle(rowId: string | number, rowStyle: any): void;
|
|
14768
|
+
/**
|
|
14769
|
+
* Sets a style to a row.
|
|
14770
|
+
* @param {string | number} rowId. row bound id
|
|
14771
|
+
* @param {string} dataField. Column bound field name.
|
|
14772
|
+
* @param {any} rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
|
|
14773
|
+
*/
|
|
14774
|
+
setCellStyle(rowId: string | number, dataField: string, rowStyle: any): void;
|
|
14739
14775
|
/**
|
|
14740
14776
|
* Sets the position of the vertical scrollbar. You can use this method in combination with the getVerticalScrollValue and getVerticalScrollMax.
|
|
14741
14777
|
* @param {number} value. The new scroll position
|
|
@@ -17444,6 +17480,21 @@ export interface KanbanProperties {
|
|
|
17444
17480
|
* Default value: false
|
|
17445
17481
|
*/
|
|
17446
17482
|
columnColors?: boolean;
|
|
17483
|
+
/**
|
|
17484
|
+
* Displays background in the Kanban column.
|
|
17485
|
+
* Default value: false
|
|
17486
|
+
*/
|
|
17487
|
+
columnColorEntireSurface?: boolean;
|
|
17488
|
+
/**
|
|
17489
|
+
* Displays a column footer which shows the summary of the column.
|
|
17490
|
+
* Default value: false
|
|
17491
|
+
*/
|
|
17492
|
+
columnFooter?: boolean;
|
|
17493
|
+
/**
|
|
17494
|
+
* Callback function which can be used for customizing the column footer rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field.
|
|
17495
|
+
* Default value: null
|
|
17496
|
+
*/
|
|
17497
|
+
onColumnFooterRender?: any;
|
|
17447
17498
|
/**
|
|
17448
17499
|
* Describes the columns properties.
|
|
17449
17500
|
* Default value:
|
|
@@ -17474,6 +17525,16 @@ export interface KanbanProperties {
|
|
|
17474
17525
|
* Default value:
|
|
17475
17526
|
*/
|
|
17476
17527
|
currentUser?: string | number;
|
|
17528
|
+
/**
|
|
17529
|
+
* Sets or gets whether the default dialog for adding/removing tasks or comments is disabled.
|
|
17530
|
+
* Default value: false
|
|
17531
|
+
*/
|
|
17532
|
+
disableDialog?: boolean;
|
|
17533
|
+
/**
|
|
17534
|
+
* Sets or gets whether a customization function for the dialog. The Kanban calls this function with 4 arguments - 'dialog', 'taskOrComment', 'purpose' and 'type'. The dialog is the 'smart-window' instance used as a default Kanban dialog. 'taskOrComment' is object which could be Kanban task or comment. 'purpose' could be 'add' or 'edit' and 'type' could be 'task' or 'column' depending on the action.
|
|
17535
|
+
* Default value: null
|
|
17536
|
+
*/
|
|
17537
|
+
dialogCustomizationFunction?: any;
|
|
17477
17538
|
/**
|
|
17478
17539
|
* Determines the data source to be visualized in the kanban board.
|
|
17479
17540
|
* Default value: null
|
|
@@ -17816,7 +17877,7 @@ export interface Kanban extends BaseElement, KanbanProperties {
|
|
|
17816
17877
|
* @param event. The custom event. */
|
|
17817
17878
|
onOpen?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
17818
17879
|
/**
|
|
17819
|
-
* This event is triggered when the edit/prompt dialog is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function.
|
|
17880
|
+
* This event is triggered when the edit/prompt dialog is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function. If you want to cancel the default Kanban dialog, call event.preventDefault();
|
|
17820
17881
|
* @param event. The custom event. Custom data event was created with: ev.detail(comment, purpose, task)
|
|
17821
17882
|
* comment - The comment that is about to be removed (if applicable).
|
|
17822
17883
|
* purpose - The purpose of the dialog to be opened - <em>'edit'</em> or <em>'prompt'</em>.
|
|
@@ -18146,7 +18207,7 @@ export interface KanbanDataSource {
|
|
|
18146
18207
|
*/
|
|
18147
18208
|
onTaskRender?: any;
|
|
18148
18209
|
/**
|
|
18149
|
-
* Callback function which can be used for customizing the column header rendering. The Kanban calls it with
|
|
18210
|
+
* Callback function which can be used for customizing the column header rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field.
|
|
18150
18211
|
* Default value: null
|
|
18151
18212
|
*/
|
|
18152
18213
|
onColumnHeaderRender?: any;
|
|
@@ -23481,6 +23542,138 @@ declare global {
|
|
|
23481
23542
|
}
|
|
23482
23543
|
}
|
|
23483
23544
|
|
|
23545
|
+
export interface QRcodeProperties {
|
|
23546
|
+
/**
|
|
23547
|
+
* Sets the background color of the QR Code element.
|
|
23548
|
+
* Default value: "white"
|
|
23549
|
+
*/
|
|
23550
|
+
backgroundColor?: string;
|
|
23551
|
+
/**
|
|
23552
|
+
* Sets whether the QR Code label is visible.
|
|
23553
|
+
* Default value: false
|
|
23554
|
+
*/
|
|
23555
|
+
disaplyLabel?: boolean;
|
|
23556
|
+
/**
|
|
23557
|
+
* Sets an embedded image.
|
|
23558
|
+
* Default value: ""
|
|
23559
|
+
*/
|
|
23560
|
+
embedImage?: string;
|
|
23561
|
+
/**
|
|
23562
|
+
* Sets the height of the embedded image.
|
|
23563
|
+
* Default value: 15
|
|
23564
|
+
*/
|
|
23565
|
+
imageHeight?: number;
|
|
23566
|
+
/**
|
|
23567
|
+
* Sets the width of the embedded image.
|
|
23568
|
+
* Default value: 15
|
|
23569
|
+
*/
|
|
23570
|
+
imageWidth?: number;
|
|
23571
|
+
/**
|
|
23572
|
+
* Sets the color of the QR Code label.
|
|
23573
|
+
* Default value: "black"
|
|
23574
|
+
*/
|
|
23575
|
+
labelCOlor?: string;
|
|
23576
|
+
/**
|
|
23577
|
+
* Sets the font family of the QR Code label.
|
|
23578
|
+
* Default value: "monospace"
|
|
23579
|
+
*/
|
|
23580
|
+
labelFont?: string;
|
|
23581
|
+
/**
|
|
23582
|
+
* Sets the font size of the QR Code label.
|
|
23583
|
+
* Default value: 14
|
|
23584
|
+
*/
|
|
23585
|
+
labelFontSize?: number;
|
|
23586
|
+
/**
|
|
23587
|
+
* Sets the bottom margin of the QR Code label.
|
|
23588
|
+
* Default value: 5
|
|
23589
|
+
*/
|
|
23590
|
+
labelMarginBottom?: number;
|
|
23591
|
+
/**
|
|
23592
|
+
* Sets the top margin of the QR Code label.
|
|
23593
|
+
* Default value: 5
|
|
23594
|
+
*/
|
|
23595
|
+
labelMarginTop?: number;
|
|
23596
|
+
/**
|
|
23597
|
+
* Sets the position of the QR Code label.
|
|
23598
|
+
* Default value: bottom
|
|
23599
|
+
*/
|
|
23600
|
+
labelPosition?: QRcodeLabelPosition;
|
|
23601
|
+
/**
|
|
23602
|
+
* Sets the color of the QR Code lines.
|
|
23603
|
+
* Default value: "black"
|
|
23604
|
+
*/
|
|
23605
|
+
lineColor?: string;
|
|
23606
|
+
/**
|
|
23607
|
+
* Sets the width of the QR Code square.
|
|
23608
|
+
* Default value: 7
|
|
23609
|
+
*/
|
|
23610
|
+
squareWidth?: number;
|
|
23611
|
+
/**
|
|
23612
|
+
* Sets the rendering mode of the QR Code.
|
|
23613
|
+
* Default value: svg
|
|
23614
|
+
*/
|
|
23615
|
+
renderAs?: QRcodeRenderAs;
|
|
23616
|
+
/**
|
|
23617
|
+
* Sets or gets the value of the QR Code.
|
|
23618
|
+
* Default value: ""
|
|
23619
|
+
*/
|
|
23620
|
+
value?: string;
|
|
23621
|
+
}
|
|
23622
|
+
/**
|
|
23623
|
+
QR Codes encode text values in a two-dimensional pattern.
|
|
23624
|
+
*/
|
|
23625
|
+
export interface QRcode extends BaseElement, QRcodeProperties {
|
|
23626
|
+
|
|
23627
|
+
/* Get a member by its name */
|
|
23628
|
+
[name: string]: any;
|
|
23629
|
+
/**
|
|
23630
|
+
* This event is triggered when the value of the QR Code is invalid.
|
|
23631
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(invalidCharacters, lengthValidity, patternValidity, value)
|
|
23632
|
+
* invalidCharacters - An array indicating the invalid characters.
|
|
23633
|
+
* lengthValidity - A boolean indicating the length validity.
|
|
23634
|
+
* patternValidity - A boolean indicating the pattern validity.
|
|
23635
|
+
* value - the invalid value of the QR Code.
|
|
23636
|
+
*/
|
|
23637
|
+
onInvalid?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
23638
|
+
/**
|
|
23639
|
+
* Exports the QR Code.
|
|
23640
|
+
* @param {string} format. The format of the exported file - svg, png, jpg
|
|
23641
|
+
* @param {string} fileName?. The name of the exported file
|
|
23642
|
+
*/
|
|
23643
|
+
export(format: string, fileName?: string): void;
|
|
23644
|
+
/**
|
|
23645
|
+
* Gets the base64 string of the QR Code
|
|
23646
|
+
* @param {string} format. The dataURL format of the string - svg, png, jpg
|
|
23647
|
+
* @returns {string}
|
|
23648
|
+
*/
|
|
23649
|
+
getDataURL(format: string): string;
|
|
23650
|
+
/**
|
|
23651
|
+
* Gets the base64 string of the QR Code
|
|
23652
|
+
* @param {string} format. The dataURL format of the string - svg, png, jpg
|
|
23653
|
+
* @returns {any}
|
|
23654
|
+
*/
|
|
23655
|
+
getDataURLAsync(format: string): any;
|
|
23656
|
+
/**
|
|
23657
|
+
* Gets the validity of the QR Code
|
|
23658
|
+
* @returns {boolean}
|
|
23659
|
+
*/
|
|
23660
|
+
isValid(): boolean;
|
|
23661
|
+
}
|
|
23662
|
+
|
|
23663
|
+
declare global {
|
|
23664
|
+
interface Document {
|
|
23665
|
+
createElement(tagName: "smart-qrcode"): QRcode;
|
|
23666
|
+
querySelector(selectors: "smart-qrcode"): QRcode | null;
|
|
23667
|
+
querySelectorAll(selectors: "smart-qrcode"): NodeListOf<QRcode>;
|
|
23668
|
+
getElementsByTagName(qualifiedName: "smart-qrcode"): HTMLCollectionOf<QRcode>;
|
|
23669
|
+
getElementsByName(elementName: "smart-qrcode"): NodeListOf<QRcode>;
|
|
23670
|
+
}
|
|
23671
|
+
}
|
|
23672
|
+
|
|
23673
|
+
/**Sets the position of the QR Code label. */
|
|
23674
|
+
export declare type QRcodeLabelPosition = 'top' | 'bottom';
|
|
23675
|
+
/**Sets the rendering mode of the QR Code. */
|
|
23676
|
+
export declare type QRcodeRenderAs = 'svg' | 'canvas';
|
|
23484
23677
|
export interface QueryBuilderProperties {
|
|
23485
23678
|
/**
|
|
23486
23679
|
* Enables the dragging of conditions inside a group or between groups.
|
|
@@ -30065,6 +30258,11 @@ export interface Tree extends BaseElement, TreeProperties {
|
|
|
30065
30258
|
* @returns {HTMLElement}
|
|
30066
30259
|
*/
|
|
30067
30260
|
getItem(id: string): HTMLElement;
|
|
30261
|
+
/**
|
|
30262
|
+
* Gets the selected values. If value is not defined, returns the selected labels.
|
|
30263
|
+
* @returns {string[]}
|
|
30264
|
+
*/
|
|
30265
|
+
getSelectedValues(): string[];
|
|
30068
30266
|
/**
|
|
30069
30267
|
* Returns SmartTree's state
|
|
30070
30268
|
* @returns {any}
|
|
@@ -30102,15 +30300,25 @@ export interface Tree extends BaseElement, TreeProperties {
|
|
|
30102
30300
|
*/
|
|
30103
30301
|
saveState(): any;
|
|
30104
30302
|
/**
|
|
30105
|
-
* Selects an item.
|
|
30303
|
+
* Selects an item by its index or by HTMLElement id.
|
|
30106
30304
|
* @param {HTMLElement | string} item. The smart-tree-item/smart-tree-items-group (or its id or numeric path) to remove.
|
|
30107
30305
|
*/
|
|
30108
30306
|
select(item: HTMLElement | string): void;
|
|
30109
30307
|
/**
|
|
30110
|
-
*
|
|
30308
|
+
* Selects an item or items by values.
|
|
30309
|
+
* @param {string | string[]} items. The smart-tree-item/smart-tree-items-group values or labels, if values are not defined.
|
|
30310
|
+
*/
|
|
30311
|
+
setSelectedValues(items: string | string[]): void;
|
|
30312
|
+
/**
|
|
30313
|
+
* Unselects an item by its index or by HTMLElement id.
|
|
30111
30314
|
* @param {HTMLElement | string} item. The smart-tree-item/smart-tree-items-group (or its id or numeric path) to remove.
|
|
30112
30315
|
*/
|
|
30113
30316
|
unselect(item: HTMLElement | string): void;
|
|
30317
|
+
/**
|
|
30318
|
+
* Unselects an item or items by values.
|
|
30319
|
+
* @param {string | string[]} items. The smart-tree-item/smart-tree-items-group values or labels, if values are not defined.
|
|
30320
|
+
*/
|
|
30321
|
+
unselectValues(items: string | string[]): void;
|
|
30114
30322
|
/**
|
|
30115
30323
|
* Updates an item.
|
|
30116
30324
|
* @param {HTMLElement | string} item. smart-tree-item/smart-tree-items-group (or its id or numeric path).
|
|
@@ -30421,6 +30629,16 @@ export interface WindowProperties {
|
|
|
30421
30629
|
* Default value: false
|
|
30422
30630
|
*/
|
|
30423
30631
|
disableSnap?: boolean;
|
|
30632
|
+
/**
|
|
30633
|
+
* By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that.
|
|
30634
|
+
* Default value: false
|
|
30635
|
+
*/
|
|
30636
|
+
disableEscape?: boolean;
|
|
30637
|
+
/**
|
|
30638
|
+
* By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that.
|
|
30639
|
+
* Default value: false
|
|
30640
|
+
*/
|
|
30641
|
+
disableKeyboard?: boolean;
|
|
30424
30642
|
/**
|
|
30425
30643
|
* Determines how the characters are displayed inside the input. Applicable to Prompt Window.
|
|
30426
30644
|
* Default value: default
|
package/kanban/kanban.d.ts
CHANGED
|
@@ -112,6 +112,21 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
|
|
|
112
112
|
*/
|
|
113
113
|
get columnColors(): boolean;
|
|
114
114
|
set columnColors(value: boolean);
|
|
115
|
+
/** Displays background in the Kanban column.
|
|
116
|
+
* Property type: boolean
|
|
117
|
+
*/
|
|
118
|
+
get columnColorEntireSurface(): boolean;
|
|
119
|
+
set columnColorEntireSurface(value: boolean);
|
|
120
|
+
/** Displays a column footer which shows the summary of the column.
|
|
121
|
+
* Property type: boolean
|
|
122
|
+
*/
|
|
123
|
+
get columnFooter(): boolean;
|
|
124
|
+
set columnFooter(value: boolean);
|
|
125
|
+
/** Callback function which can be used for customizing the column footer rendering. The Kanban calls it with 3 arguments - column header html element and column data and column data field.
|
|
126
|
+
* Property type: any
|
|
127
|
+
*/
|
|
128
|
+
get onColumnFooterRender(): any;
|
|
129
|
+
set onColumnFooterRender(value: any);
|
|
115
130
|
/** Describes the columns properties.
|
|
116
131
|
* Property type: KanbanColumn[]
|
|
117
132
|
*/
|
|
@@ -142,6 +157,16 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
|
|
|
142
157
|
*/
|
|
143
158
|
get currentUser(): string | number;
|
|
144
159
|
set currentUser(value: string | number);
|
|
160
|
+
/** Sets or gets whether the default dialog for adding/removing tasks or comments is disabled.
|
|
161
|
+
* Property type: boolean
|
|
162
|
+
*/
|
|
163
|
+
get disableDialog(): boolean;
|
|
164
|
+
set disableDialog(value: boolean);
|
|
165
|
+
/** Sets or gets whether a customization function for the dialog. The Kanban calls this function with 4 arguments - 'dialog', 'taskOrComment', 'purpose' and 'type'. The dialog is the 'smart-window' instance used as a default Kanban dialog. 'taskOrComment' is object which could be Kanban task or comment. 'purpose' could be 'add' or 'edit' and 'type' could be 'task' or 'column' depending on the action.
|
|
166
|
+
* Property type: any
|
|
167
|
+
*/
|
|
168
|
+
get dialogCustomizationFunction(): any;
|
|
169
|
+
set dialogCustomizationFunction(value: any);
|
|
145
170
|
/** Determines the data source to be visualized in the kanban board.
|
|
146
171
|
* Property type: KanbanDataSource[]
|
|
147
172
|
*/
|
|
@@ -491,7 +516,7 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
|
|
|
491
516
|
/** This event is triggered when the edit/prompt dialog is opened.
|
|
492
517
|
* @param event. The custom event. */
|
|
493
518
|
onOpen?: ((event?: Event) => void) | undefined;
|
|
494
|
-
/** This event is triggered when the edit/prompt dialog is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function.
|
|
519
|
+
/** This event is triggered when the edit/prompt dialog is about to be opened. The opening operation can be canceled by calling event.preventDefault() in the event handler function. If you want to cancel the default Kanban dialog, call event.preventDefault();
|
|
495
520
|
* @param event. The custom event. Custom event was created with: event.detail( comment, purpose, task)
|
|
496
521
|
* comment - The comment that is about to be removed (if applicable).
|
|
497
522
|
* purpose - The purpose of the dialog to be opened - <em>'edit'</em> or <em>'prompt'</em>.
|