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.
Files changed (278) hide show
  1. package/alertwindow/alertwindow.d.ts +10 -0
  2. package/alertwindow/alertwindow.esm.js +23 -1
  3. package/alertwindow/alertwindow.umd.js +23 -1
  4. package/barcode/barcode.d.ts +4 -2
  5. package/datetimepicker/datetimepicker.d.ts +8 -0
  6. package/datetimepicker/datetimepicker.esm.js +55 -0
  7. package/datetimepicker/datetimepicker.umd.js +860 -805
  8. package/dialogwindow/dialogwindow.d.ts +10 -0
  9. package/dialogwindow/dialogwindow.esm.js +23 -1
  10. package/dialogwindow/dialogwindow.umd.js +23 -1
  11. package/dockinglayout/dockinglayout.d.ts +6 -0
  12. package/dockinglayout/dockinglayout.esm.js +15 -0
  13. package/dockinglayout/dockinglayout.umd.js +15 -0
  14. package/grid/grid.d.ts +16 -1
  15. package/grid/grid.esm.js +29 -0
  16. package/grid/grid.umd.js +29 -0
  17. package/index.d.ts +225 -7
  18. package/kanban/kanban.d.ts +26 -1
  19. package/kanban/kanban.esm.js +56 -1
  20. package/kanban/kanban.umd.js +56 -1
  21. package/layout/dockinglayout.d.ts +6 -0
  22. package/multilinewindow/multilinewindow.d.ts +10 -0
  23. package/multilinewindow/multilinewindow.esm.js +23 -1
  24. package/multilinewindow/multilinewindow.umd.js +23 -1
  25. package/package.json +1 -1
  26. package/progresswindow/progresswindow.d.ts +10 -0
  27. package/progresswindow/progresswindow.esm.js +23 -1
  28. package/progresswindow/progresswindow.umd.js +23 -1
  29. package/promptwindow/promptwindow.d.ts +10 -0
  30. package/promptwindow/promptwindow.esm.js +23 -1
  31. package/promptwindow/promptwindow.umd.js +23 -1
  32. package/qrcode/package.json +7 -0
  33. package/qrcode/qrcode.d.ts +141 -0
  34. package/qrcode/qrcode.esm.js +376 -0
  35. package/qrcode/qrcode.umd.js +387 -0
  36. package/source/modules/smart.accordion.js +1 -1
  37. package/source/modules/smart.array.js +1 -1
  38. package/source/modules/smart.barcode.js +2 -2
  39. package/source/modules/smart.breadcrumb.js +1 -1
  40. package/source/modules/smart.button.js +1 -1
  41. package/source/modules/smart.buttongroup.js +1 -1
  42. package/source/modules/smart.calendar.js +2 -2
  43. package/source/modules/smart.card.js +1 -1
  44. package/source/modules/smart.cardview.js +5 -5
  45. package/source/modules/smart.carousel.js +1 -1
  46. package/source/modules/smart.chart.js +2 -2
  47. package/source/modules/smart.checkbox.js +1 -1
  48. package/source/modules/smart.checkinput.js +1 -1
  49. package/source/modules/smart.chip.js +1 -1
  50. package/source/modules/smart.colorinput.js +1 -1
  51. package/source/modules/smart.colorpanel.js +1 -1
  52. package/source/modules/smart.colorpicker.js +1 -1
  53. package/source/modules/smart.combobox.js +1 -1
  54. package/source/modules/smart.common.js +3 -3
  55. package/source/modules/smart.countryinput.js +1 -1
  56. package/source/modules/smart.dateinput.js +3 -3
  57. package/source/modules/smart.daterangeinput.js +3 -3
  58. package/source/modules/smart.datetimepicker.js +3 -3
  59. package/source/modules/smart.dockinglayout.js +4 -4
  60. package/source/modules/smart.dropdownbutton.js +1 -1
  61. package/source/modules/smart.dropdownlist.js +1 -1
  62. package/source/modules/smart.editor.js +3 -3
  63. package/source/modules/smart.element.js +1 -1
  64. package/source/modules/smart.fileupload.js +1 -1
  65. package/source/modules/smart.form.js +1 -1
  66. package/source/modules/smart.formulaparser.js +1 -1
  67. package/source/modules/smart.ganttchart.js +7 -7
  68. package/source/modules/smart.gauge.js +2 -2
  69. package/source/modules/smart.grid.js +16 -16
  70. package/source/modules/smart.gridpanel.js +5 -5
  71. package/source/modules/smart.input.js +1 -1
  72. package/source/modules/smart.kanban.js +6 -6
  73. package/source/modules/smart.layout.js +1 -1
  74. package/source/modules/smart.led.js +1 -1
  75. package/source/modules/smart.listbox.js +1 -1
  76. package/source/modules/smart.listmenu.js +1 -1
  77. package/source/modules/smart.map.js +1 -1
  78. package/source/modules/smart.maskedtextbox.js +1 -1
  79. package/source/modules/smart.menu.js +1 -1
  80. package/source/modules/smart.multicomboinput.js +1 -1
  81. package/source/modules/smart.multiinput.js +1 -1
  82. package/source/modules/smart.multilinetextbox.js +1 -1
  83. package/source/modules/smart.multisplitbutton.js +1 -1
  84. package/source/modules/smart.numberinput.js +1 -1
  85. package/source/modules/smart.numerictextbox.js +1 -1
  86. package/source/modules/smart.pager.js +1 -1
  87. package/source/modules/smart.passwordinput.js +1 -1
  88. package/source/modules/smart.passwordtextbox.js +1 -1
  89. package/source/modules/smart.path.js +1 -1
  90. package/source/modules/smart.phoneinput.js +1 -1
  91. package/source/modules/smart.pivottable.js +6 -6
  92. package/source/modules/smart.progressbar.js +1 -1
  93. package/source/modules/smart.qrcode.js +117 -0
  94. package/source/modules/smart.querybuilder.js +3 -3
  95. package/source/modules/smart.radiobutton.js +1 -1
  96. package/source/modules/smart.rating.js +1 -1
  97. package/source/modules/smart.router.js +2 -2
  98. package/source/modules/smart.scheduler.js +5 -5
  99. package/source/modules/smart.scrollbar.js +1 -1
  100. package/source/modules/smart.slider.js +2 -2
  101. package/source/modules/smart.sortable.js +1 -1
  102. package/source/modules/smart.splitter.js +1 -1
  103. package/source/modules/smart.switchbutton.js +1 -1
  104. package/source/modules/smart.table.js +5 -5
  105. package/source/modules/smart.tabs.js +2 -2
  106. package/source/modules/smart.tank.js +2 -2
  107. package/source/modules/smart.textarea.js +1 -1
  108. package/source/modules/smart.textbox.js +1 -1
  109. package/source/modules/smart.timeinput.js +1 -1
  110. package/source/modules/smart.timepicker.js +1 -1
  111. package/source/modules/smart.toast.js +1 -1
  112. package/source/modules/smart.tooltip.js +1 -1
  113. package/source/modules/smart.tree.js +2 -2
  114. package/source/modules/smart.validator.js +1 -1
  115. package/source/modules/smart.window.js +2 -2
  116. package/source/smart.accordion.js +1 -1
  117. package/source/smart.ajax.js +1 -1
  118. package/source/smart.array.js +1 -1
  119. package/source/smart.barcode.js +2 -2
  120. package/source/smart.bootstrap.js +1 -1
  121. package/source/smart.breadcrumb.js +1 -1
  122. package/source/smart.button.js +1 -1
  123. package/source/smart.buttongroup.js +1 -1
  124. package/source/smart.calendar.js +1 -1
  125. package/source/smart.card.js +1 -1
  126. package/source/smart.cardview.js +1 -1
  127. package/source/smart.carousel.js +1 -1
  128. package/source/smart.chart.annotations.js +1 -1
  129. package/source/smart.chart.api.js +1 -1
  130. package/source/smart.chart.core.js +1 -1
  131. package/source/smart.chart.js +1 -1
  132. package/source/smart.chart.rangeselector.js +1 -1
  133. package/source/smart.chart.waterfall.js +1 -1
  134. package/source/smart.checkbox.js +1 -1
  135. package/source/smart.checkinput.js +1 -1
  136. package/source/smart.chip.js +1 -1
  137. package/source/smart.colorinput.js +1 -1
  138. package/source/smart.colorpanel.js +1 -1
  139. package/source/smart.colorpicker.js +1 -1
  140. package/source/smart.combobox.js +1 -1
  141. package/source/smart.complex.js +1 -1
  142. package/source/smart.core.js +1 -1
  143. package/source/smart.countryinput.js +1 -1
  144. package/source/smart.data.js +2 -2
  145. package/source/smart.date.js +2 -2
  146. package/source/smart.dateformatpanel.js +1 -1
  147. package/source/smart.dateinput.js +2 -2
  148. package/source/smart.daterangeinput.js +1 -1
  149. package/source/smart.datetimepicker.js +2 -2
  150. package/source/smart.dockinglayout.js +2 -2
  151. package/source/smart.draw.js +1 -1
  152. package/source/smart.dropdownbutton.js +1 -1
  153. package/source/smart.dropdownlist.js +1 -1
  154. package/source/smart.editor.js +2 -2
  155. package/source/smart.element.js +1 -1
  156. package/source/smart.elements.js +21 -21
  157. package/source/smart.export.js +1 -1
  158. package/source/smart.fileupload.js +1 -1
  159. package/source/smart.filter.js +1 -1
  160. package/source/smart.filterbuilder.js +1 -1
  161. package/source/smart.filterpanel.js +1 -1
  162. package/source/smart.form.js +1 -1
  163. package/source/smart.format.js +1 -1
  164. package/source/smart.formulaparser.js +1 -1
  165. package/source/smart.ganttchart.js +1 -1
  166. package/source/smart.gauge.js +1 -1
  167. package/source/smart.grid.cell.js +2 -2
  168. package/source/smart.grid.chart.js +1 -1
  169. package/source/smart.grid.column.js +2 -2
  170. package/source/smart.grid.core.js +2 -2
  171. package/source/smart.grid.dialog.js +2 -2
  172. package/source/smart.grid.edit.js +2 -2
  173. package/source/smart.grid.export.js +1 -1
  174. package/source/smart.grid.filter.js +2 -2
  175. package/source/smart.grid.group.js +1 -1
  176. package/source/smart.grid.js +1 -1
  177. package/source/smart.grid.menu.js +1 -1
  178. package/source/smart.grid.pager.js +1 -1
  179. package/source/smart.grid.reorder.js +2 -2
  180. package/source/smart.grid.resize.js +1 -1
  181. package/source/smart.grid.row.js +1 -1
  182. package/source/smart.grid.select.js +2 -2
  183. package/source/smart.grid.sort.js +2 -2
  184. package/source/smart.grid.toolbar.js +1 -1
  185. package/source/smart.grid.tree.js +1 -1
  186. package/source/smart.grid.view.js +2 -2
  187. package/source/smart.gridpanel.js +1 -1
  188. package/source/smart.input.js +1 -1
  189. package/source/smart.kanban.js +2 -2
  190. package/source/smart.layout.js +1 -1
  191. package/source/smart.led.js +1 -1
  192. package/source/smart.listbox.js +1 -1
  193. package/source/smart.listmenu.js +1 -1
  194. package/source/smart.map.js +1 -1
  195. package/source/smart.maskedtextbox.js +1 -1
  196. package/source/smart.math.js +1 -1
  197. package/source/smart.menu.js +1 -1
  198. package/source/smart.multicomboinput.js +1 -1
  199. package/source/smart.multiinput.js +1 -1
  200. package/source/smart.multilinetextbox.js +1 -1
  201. package/source/smart.multisplitbutton.js +1 -1
  202. package/source/smart.numberformatpanel.js +1 -1
  203. package/source/smart.numberinput.js +1 -1
  204. package/source/smart.numeric.js +1 -1
  205. package/source/smart.numerictextbox.js +1 -1
  206. package/source/smart.pager.js +1 -1
  207. package/source/smart.passwordinput.js +1 -1
  208. package/source/smart.passwordtextbox.js +1 -1
  209. package/source/smart.path.js +1 -1
  210. package/source/smart.phoneinput.js +1 -1
  211. package/source/smart.pivottable.js +1 -1
  212. package/source/smart.powerbutton.js +1 -1
  213. package/source/smart.progressbar.js +1 -1
  214. package/source/smart.qrcode.js +6 -0
  215. package/source/smart.radiobutton.js +1 -1
  216. package/source/smart.rating.js +1 -1
  217. package/source/smart.router.js +1 -1
  218. package/source/smart.scheduler.js +1 -1
  219. package/source/smart.scrollbar.js +1 -1
  220. package/source/smart.slider.js +1 -1
  221. package/source/smart.sortable.js +1 -1
  222. package/source/smart.splitter.js +1 -1
  223. package/source/smart.switchbutton.js +1 -1
  224. package/source/smart.table.js +2 -2
  225. package/source/smart.tabs.js +2 -2
  226. package/source/smart.tank.js +1 -1
  227. package/source/smart.textarea.js +1 -1
  228. package/source/smart.textbox.js +1 -1
  229. package/source/smart.tickintervalhandler.js +1 -1
  230. package/source/smart.timeinput.js +1 -1
  231. package/source/smart.timepicker.js +1 -1
  232. package/source/smart.toast.js +1 -1
  233. package/source/smart.tooltip.js +1 -1
  234. package/source/smart.tree.js +2 -2
  235. package/source/smart.validationpanel.js +1 -1
  236. package/source/smart.validator.js +1 -1
  237. package/source/smart.window.js +2 -2
  238. package/source/styles/components/smart.base.css +1 -1
  239. package/source/styles/components/smart.grid.css +1 -1
  240. package/source/styles/components/smart.kanban.css +1 -1
  241. package/source/styles/default/scss/smart.grid.scss +13 -17
  242. package/source/styles/default/scss/smart.kanban.scss +289 -233
  243. package/source/styles/default/scss/smart.qrcode.scss +6 -0
  244. package/source/styles/default/smart.grid.css +15 -16
  245. package/source/styles/default/smart.kanban.css +247 -200
  246. package/source/styles/default/smart.qrcode.css +6 -0
  247. package/source/styles/default/smart.variables.css +2 -2
  248. package/source/styles/smart.default.css +3 -3
  249. package/source/typescript/smart.barcode.d.ts +4 -2
  250. package/source/typescript/smart.datetimepicker.d.ts +10 -0
  251. package/source/typescript/smart.dockinglayout.d.ts +7 -0
  252. package/source/typescript/smart.elements.d.ts +225 -7
  253. package/source/typescript/smart.grid.d.ts +18 -1
  254. package/source/typescript/smart.kanban.d.ts +27 -2
  255. package/source/typescript/smart.qrcode.d.ts +134 -0
  256. package/source/typescript/smart.tree.d.ts +17 -2
  257. package/source/typescript/smart.window.d.ts +10 -0
  258. package/tabs/tabswindow.d.ts +10 -0
  259. package/tabswindow/tabswindow.d.ts +10 -0
  260. package/tabswindow/tabswindow.esm.js +23 -1
  261. package/tabswindow/tabswindow.umd.js +23 -1
  262. package/timepicker/datetimepicker.d.ts +8 -0
  263. package/tree/tree.d.ts +14 -2
  264. package/tree/tree.esm.js +45 -2
  265. package/tree/tree.umd.js +45 -2
  266. package/waitwindow/waitwindow.d.ts +10 -0
  267. package/waitwindow/waitwindow.esm.js +23 -1
  268. package/waitwindow/waitwindow.umd.js +23 -1
  269. package/window/alertwindow.d.ts +10 -0
  270. package/window/dialogwindow.d.ts +10 -0
  271. package/window/multilinewindow.d.ts +10 -0
  272. package/window/progresswindow.d.ts +10 -0
  273. package/window/promptwindow.d.ts +10 -0
  274. package/window/tabswindow.d.ts +10 -0
  275. package/window/waitwindow.d.ts +10 -0
  276. package/window/window.d.ts +10 -0
  277. package/window/window.esm.js +23 -1
  278. package/window/window.umd.js +23 -1
@@ -81,9 +81,11 @@ export interface BarCode extends BaseElement, BarCodeProperties {
81
81
  [name: string]: any;
82
82
  /**
83
83
  * This event is triggered when the value of the barcode is invalid.
84
- * @param event. The custom event. Custom data event was created with: ev.detail(value, invalidCharacters)
85
- * value - the invalid value of the barcode.
84
+ * @param event. The custom event. Custom data event was created with: ev.detail(invalidCharacters, lengthValidity, patternValidity, value)
86
85
  * invalidCharacters - An array indicating the invalid characters.
86
+ * lengthValidity - A boolean indicating the length validity.
87
+ * patternValidity - A boolean indicating the pattern validity.
88
+ * value - the invalid value of the barcode.
87
89
  */
88
90
  onInvalid?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
89
91
  /**
@@ -352,6 +352,16 @@ export interface DateTimePicker extends BaseElement, DateTimePickerProperties {
352
352
  * Selects the text inside the input.
353
353
  */
354
354
  select(): void;
355
+ /**
356
+ * Gets a Date object.
357
+ * @returns {Date}
358
+ */
359
+ getDate(): Date;
360
+ /**
361
+ * Sets the date of the DateTimePicker.
362
+ * @param {Date} date. The date object to be set.
363
+ */
364
+ setDate(date: Date): void;
355
365
  }
356
366
 
357
367
  declare global {
@@ -270,6 +270,13 @@ export interface DockingLayout extends BaseElement, DockingLayoutProperties {
270
270
  * @param {any} tabsWindow. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
271
271
  */
272
272
  insertOutsideTargetGroupRight(index: number | HTMLElement | string, tabsWindow: any): void;
273
+ /**
274
+ * Inserts a new TabsWindow. The window is in floating mode and is undocked.
275
+ * @param {any} item. An instance of a TabsWindow or an Object with the fields "label", "items" and other additional.
276
+ * @param {number | string} left?. The left position of the new window. You can use number, px or %. For example: '10px'.
277
+ * @param {number | string} top?. The top position of the new window. You can use number, px or %. For example: '10px'.
278
+ */
279
+ insertFloatingWindow(item: any, left?: number | string, top?: number | string): void;
273
280
  /**
274
281
  * The method returns an array of all autohidden items.
275
282
  * @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'.
@@ -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(value, invalidCharacters)
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 2 arguments - column header html element and column data.
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
- * Unselects an item.
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
@@ -572,9 +572,13 @@ export interface Grid extends BaseElement, GridProperties {
572
572
  onPage?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
573
573
  /**
574
574
  * This event is triggered, when a sorting column is added or removed.
575
- * @param event. The custom event. Custom data event was created with: ev.detail(columns, data)
575
+ * @param event. The custom event. Custom data event was created with: ev.detail(columns, data, dataFields, dataTypes, orders, indexes)
576
576
  * columns - Array of columns.
577
577
  * 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.
578
+ * dataFields - Array of column data fields.
579
+ * dataTypes - Array of column data types. The values in the array would be 'string', 'date', 'boolean' or 'number'.
580
+ * orders - Array of column orders. The values in the array would be 'asc' or 'desc'.
581
+ * 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.
578
582
  */
579
583
  onSort?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
580
584
  /**
@@ -1032,6 +1036,19 @@ export interface Grid extends BaseElement, GridProperties {
1032
1036
  * @param {any} value. The new property value.
1033
1037
  */
1034
1038
  setRowProperty(rowId: string | number, propertyName: string, value: any): void;
1039
+ /**
1040
+ * Sets a style to a row.
1041
+ * @param {string | number} rowId. row bound id
1042
+ * @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'.
1043
+ */
1044
+ setRowStyle(rowId: string | number, rowStyle: any): void;
1045
+ /**
1046
+ * Sets a style to a row.
1047
+ * @param {string | number} rowId. row bound id
1048
+ * @param {string} dataField. Column bound field name.
1049
+ * @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'.
1050
+ */
1051
+ setCellStyle(rowId: string | number, dataField: string, rowStyle: any): void;
1035
1052
  /**
1036
1053
  * Sets the position of the vertical scrollbar. You can use this method in combination with the getVerticalScrollValue and getVerticalScrollMax.
1037
1054
  * @param {number} value. The new scroll position
@@ -66,6 +66,21 @@ export interface KanbanProperties {
66
66
  * Default value: false
67
67
  */
68
68
  columnColors?: boolean;
69
+ /**
70
+ * Displays background in the Kanban column.
71
+ * Default value: false
72
+ */
73
+ columnColorEntireSurface?: boolean;
74
+ /**
75
+ * Displays a column footer which shows the summary of the column.
76
+ * Default value: false
77
+ */
78
+ columnFooter?: boolean;
79
+ /**
80
+ * 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.
81
+ * Default value: null
82
+ */
83
+ onColumnFooterRender?: any;
69
84
  /**
70
85
  * Describes the columns properties.
71
86
  * Default value:
@@ -96,6 +111,16 @@ export interface KanbanProperties {
96
111
  * Default value:
97
112
  */
98
113
  currentUser?: string | number;
114
+ /**
115
+ * Sets or gets whether the default dialog for adding/removing tasks or comments is disabled.
116
+ * Default value: false
117
+ */
118
+ disableDialog?: boolean;
119
+ /**
120
+ * 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.
121
+ * Default value: null
122
+ */
123
+ dialogCustomizationFunction?: any;
99
124
  /**
100
125
  * Determines the data source to be visualized in the kanban board.
101
126
  * Default value: null
@@ -438,7 +463,7 @@ export interface Kanban extends BaseElement, KanbanProperties {
438
463
  * @param event. The custom event. */
439
464
  onOpen?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
440
465
  /**
441
- * 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.
466
+ * 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();
442
467
  * @param event. The custom event. Custom data event was created with: ev.detail(comment, purpose, task)
443
468
  * comment - The comment that is about to be removed (if applicable).
444
469
  * purpose - The purpose of the dialog to be opened - <em>'edit'</em> or <em>'prompt'</em>.
@@ -768,7 +793,7 @@ export interface KanbanDataSource {
768
793
  */
769
794
  onTaskRender?: any;
770
795
  /**
771
- * Callback function which can be used for customizing the column header rendering. The Kanban calls it with 2 arguments - column header html element and column data.
796
+ * 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.
772
797
  * Default value: null
773
798
  */
774
799
  onColumnHeaderRender?: any;
@@ -0,0 +1,134 @@
1
+ import {BaseElement, Animation} from "./smart.element"
2
+
3
+ export interface QRcodeProperties {
4
+ /**
5
+ * Sets the background color of the QR Code element.
6
+ * Default value: "white"
7
+ */
8
+ backgroundColor?: string;
9
+ /**
10
+ * Sets whether the QR Code label is visible.
11
+ * Default value: false
12
+ */
13
+ disaplyLabel?: boolean;
14
+ /**
15
+ * Sets an embedded image.
16
+ * Default value: ""
17
+ */
18
+ embedImage?: string;
19
+ /**
20
+ * Sets the height of the embedded image.
21
+ * Default value: 15
22
+ */
23
+ imageHeight?: number;
24
+ /**
25
+ * Sets the width of the embedded image.
26
+ * Default value: 15
27
+ */
28
+ imageWidth?: number;
29
+ /**
30
+ * Sets the color of the QR Code label.
31
+ * Default value: "black"
32
+ */
33
+ labelCOlor?: string;
34
+ /**
35
+ * Sets the font family of the QR Code label.
36
+ * Default value: "monospace"
37
+ */
38
+ labelFont?: string;
39
+ /**
40
+ * Sets the font size of the QR Code label.
41
+ * Default value: 14
42
+ */
43
+ labelFontSize?: number;
44
+ /**
45
+ * Sets the bottom margin of the QR Code label.
46
+ * Default value: 5
47
+ */
48
+ labelMarginBottom?: number;
49
+ /**
50
+ * Sets the top margin of the QR Code label.
51
+ * Default value: 5
52
+ */
53
+ labelMarginTop?: number;
54
+ /**
55
+ * Sets the position of the QR Code label.
56
+ * Default value: bottom
57
+ */
58
+ labelPosition?: QRcodeLabelPosition;
59
+ /**
60
+ * Sets the color of the QR Code lines.
61
+ * Default value: "black"
62
+ */
63
+ lineColor?: string;
64
+ /**
65
+ * Sets the width of the QR Code square.
66
+ * Default value: 7
67
+ */
68
+ squareWidth?: number;
69
+ /**
70
+ * Sets the rendering mode of the QR Code.
71
+ * Default value: svg
72
+ */
73
+ renderAs?: QRcodeRenderAs;
74
+ /**
75
+ * Sets or gets the value of the QR Code.
76
+ * Default value: ""
77
+ */
78
+ value?: string;
79
+ }
80
+ /**
81
+ QR Codes encode text values in a two-dimensional pattern.
82
+ */
83
+ export interface QRcode extends BaseElement, QRcodeProperties {
84
+
85
+ /* Get a member by its name */
86
+ [name: string]: any;
87
+ /**
88
+ * This event is triggered when the value of the QR Code is invalid.
89
+ * @param event. The custom event. Custom data event was created with: ev.detail(invalidCharacters, lengthValidity, patternValidity, value)
90
+ * invalidCharacters - An array indicating the invalid characters.
91
+ * lengthValidity - A boolean indicating the length validity.
92
+ * patternValidity - A boolean indicating the pattern validity.
93
+ * value - the invalid value of the QR Code.
94
+ */
95
+ onInvalid?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
96
+ /**
97
+ * Exports the QR Code.
98
+ * @param {string} format. The format of the exported file - svg, png, jpg
99
+ * @param {string} fileName?. The name of the exported file
100
+ */
101
+ export(format: string, fileName?: string): void;
102
+ /**
103
+ * Gets the base64 string of the QR Code
104
+ * @param {string} format. The dataURL format of the string - svg, png, jpg
105
+ * @returns {string}
106
+ */
107
+ getDataURL(format: string): string;
108
+ /**
109
+ * Gets the base64 string of the QR Code
110
+ * @param {string} format. The dataURL format of the string - svg, png, jpg
111
+ * @returns {any}
112
+ */
113
+ getDataURLAsync(format: string): any;
114
+ /**
115
+ * Gets the validity of the QR Code
116
+ * @returns {boolean}
117
+ */
118
+ isValid(): boolean;
119
+ }
120
+
121
+ declare global {
122
+ interface Document {
123
+ createElement(tagName: "smart-qrcode"): QRcode;
124
+ querySelector(selectors: "smart-qrcode"): QRcode | null;
125
+ querySelectorAll(selectors: "smart-qrcode"): NodeListOf<QRcode>;
126
+ getElementsByTagName(qualifiedName: "smart-qrcode"): HTMLCollectionOf<QRcode>;
127
+ getElementsByName(elementName: "smart-qrcode"): NodeListOf<QRcode>;
128
+ }
129
+ }
130
+
131
+ /**Sets the position of the QR Code label. */
132
+ export declare type QRcodeLabelPosition = 'top' | 'bottom';
133
+ /**Sets the rendering mode of the QR Code. */
134
+ export declare type QRcodeRenderAs = 'svg' | 'canvas';
@@ -397,6 +397,11 @@ export interface Tree extends BaseElement, TreeProperties {
397
397
  * @returns {HTMLElement}
398
398
  */
399
399
  getItem(id: string): HTMLElement;
400
+ /**
401
+ * Gets the selected values. If value is not defined, returns the selected labels.
402
+ * @returns {string[]}
403
+ */
404
+ getSelectedValues(): string[];
400
405
  /**
401
406
  * Returns SmartTree's state
402
407
  * @returns {any}
@@ -434,15 +439,25 @@ export interface Tree extends BaseElement, TreeProperties {
434
439
  */
435
440
  saveState(): any;
436
441
  /**
437
- * Selects an item.
442
+ * Selects an item by its index or by HTMLElement id.
438
443
  * @param {HTMLElement | string} item. The smart-tree-item/smart-tree-items-group (or its id or numeric path) to remove.
439
444
  */
440
445
  select(item: HTMLElement | string): void;
441
446
  /**
442
- * Unselects an item.
447
+ * Selects an item or items by values.
448
+ * @param {string | string[]} items. The smart-tree-item/smart-tree-items-group values or labels, if values are not defined.
449
+ */
450
+ setSelectedValues(items: string | string[]): void;
451
+ /**
452
+ * Unselects an item by its index or by HTMLElement id.
443
453
  * @param {HTMLElement | string} item. The smart-tree-item/smart-tree-items-group (or its id or numeric path) to remove.
444
454
  */
445
455
  unselect(item: HTMLElement | string): void;
456
+ /**
457
+ * Unselects an item or items by values.
458
+ * @param {string | string[]} items. The smart-tree-item/smart-tree-items-group values or labels, if values are not defined.
459
+ */
460
+ unselectValues(items: string | string[]): void;
446
461
  /**
447
462
  * Updates an item.
448
463
  * @param {HTMLElement | string} item. smart-tree-item/smart-tree-items-group (or its id or numeric path).
@@ -61,6 +61,16 @@ export interface WindowProperties {
61
61
  * Default value: false
62
62
  */
63
63
  disableSnap?: boolean;
64
+ /**
65
+ * By default the window is closing after the 'Escape' key is pressed. Set this property to true, if you want to disable that.
66
+ * Default value: false
67
+ */
68
+ disableEscape?: boolean;
69
+ /**
70
+ * By default the window is handling keyboard keys like 'Arrows', 'Escape', etc. Set this property to true, if you want to disable that.
71
+ * Default value: false
72
+ */
73
+ disableKeyboard?: boolean;
64
74
  /**
65
75
  * Determines how the characters are displayed inside the input. Applicable to Prompt Window.
66
76
  * Default value: default
@@ -97,6 +97,16 @@ export declare class TabsWindow extends React.Component<React.HTMLAttributes<Ele
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
  */