smart-webcomponents-react 14.0.0 → 14.0.35

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 (244) hide show
  1. package/alertwindow/alertwindow.umd.js +1 -1
  2. package/combobox/combobox.d.ts +5 -0
  3. package/combobox/combobox.esm.js +12 -1
  4. package/combobox/combobox.umd.js +12 -1
  5. package/dialogwindow/dialogwindow.umd.js +1 -1
  6. package/grid/grid.d.ts +74 -38
  7. package/grid/grid.esm.js +60 -26
  8. package/grid/grid.umd.js +60 -26
  9. package/index.d.ts +99 -30
  10. package/kanban/kanban.d.ts +10 -0
  11. package/kanban/kanban.esm.js +23 -1
  12. package/kanban/kanban.umd.js +23 -1
  13. package/multilinewindow/multilinewindow.umd.js +1 -1
  14. package/package.json +1 -1
  15. package/progresswindow/progresswindow.umd.js +1 -1
  16. package/promptwindow/promptwindow.umd.js +1 -1
  17. package/source/modules/smart.accordion.js +1 -1
  18. package/source/modules/smart.array.js +2 -2
  19. package/source/modules/smart.barcode.js +1 -1
  20. package/source/modules/smart.breadcrumb.js +1 -1
  21. package/source/modules/smart.button.js +1 -1
  22. package/source/modules/smart.buttongroup.js +1 -1
  23. package/source/modules/smart.calendar.js +1 -1
  24. package/source/modules/smart.card.js +1 -1
  25. package/source/modules/smart.cardview.js +2 -2
  26. package/source/modules/smart.carousel.js +1 -1
  27. package/source/modules/smart.chart.js +2 -2
  28. package/source/modules/smart.checkbox.js +1 -1
  29. package/source/modules/smart.checkinput.js +1 -1
  30. package/source/modules/smart.chip.js +1 -1
  31. package/source/modules/smart.colorinput.js +1 -1
  32. package/source/modules/smart.colorpanel.js +1 -1
  33. package/source/modules/smart.colorpicker.js +1 -1
  34. package/source/modules/smart.combobox.js +2 -2
  35. package/source/modules/smart.common.js +2 -2
  36. package/source/modules/smart.countryinput.js +1 -1
  37. package/source/modules/smart.dateinput.js +2 -2
  38. package/source/modules/smart.daterangeinput.js +2 -2
  39. package/source/modules/smart.datetimepicker.js +1 -1
  40. package/source/modules/smart.dockinglayout.js +1 -1
  41. package/source/modules/smart.dropdownbutton.js +1 -1
  42. package/source/modules/smart.dropdownlist.js +1 -1
  43. package/source/modules/smart.editor.js +1 -1
  44. package/source/modules/smart.element.js +1 -1
  45. package/source/modules/smart.fileupload.js +1 -1
  46. package/source/modules/smart.form.js +1 -1
  47. package/source/modules/smart.formulaparser.js +1 -1
  48. package/source/modules/smart.ganttchart.js +4 -4
  49. package/source/modules/smart.gauge.js +1 -1
  50. package/source/modules/smart.grid.js +15 -15
  51. package/source/modules/smart.gridpanel.js +3 -3
  52. package/source/modules/smart.input.js +1 -1
  53. package/source/modules/smart.kanban.js +4 -4
  54. package/source/modules/smart.layout.js +1 -1
  55. package/source/modules/smart.led.js +1 -1
  56. package/source/modules/smart.listbox.js +1 -1
  57. package/source/modules/smart.listmenu.js +1 -1
  58. package/source/modules/smart.map.js +1 -1
  59. package/source/modules/smart.maskedtextbox.js +1 -1
  60. package/source/modules/smart.menu.js +1 -1
  61. package/source/modules/smart.multicomboinput.js +1 -1
  62. package/source/modules/smart.multiinput.js +1 -1
  63. package/source/modules/smart.multilinetextbox.js +2 -2
  64. package/source/modules/smart.multisplitbutton.js +1 -1
  65. package/source/modules/smart.numberinput.js +1 -1
  66. package/source/modules/smart.numerictextbox.js +2 -2
  67. package/source/modules/smart.pager.js +1 -1
  68. package/source/modules/smart.passwordinput.js +1 -1
  69. package/source/modules/smart.passwordtextbox.js +1 -1
  70. package/source/modules/smart.path.js +1 -1
  71. package/source/modules/smart.phoneinput.js +1 -1
  72. package/source/modules/smart.pivottable.js +4 -4
  73. package/source/modules/smart.progressbar.js +1 -1
  74. package/source/modules/smart.qrcode.js +1 -1
  75. package/source/modules/smart.querybuilder.js +2 -2
  76. package/source/modules/smart.radiobutton.js +1 -1
  77. package/source/modules/smart.rating.js +1 -1
  78. package/source/modules/smart.router.js +2 -2
  79. package/source/modules/smart.scheduler.js +2 -2
  80. package/source/modules/smart.scrollbar.js +1 -1
  81. package/source/modules/smart.slider.js +1 -1
  82. package/source/modules/smart.sortable.js +1 -1
  83. package/source/modules/smart.splitter.js +1 -1
  84. package/source/modules/smart.switchbutton.js +1 -1
  85. package/source/modules/smart.table.js +3 -3
  86. package/source/modules/smart.tabs.js +1 -1
  87. package/source/modules/smart.tank.js +1 -1
  88. package/source/modules/smart.textarea.js +1 -1
  89. package/source/modules/smart.textbox.js +2 -2
  90. package/source/modules/smart.timeinput.js +1 -1
  91. package/source/modules/smart.timepicker.js +1 -1
  92. package/source/modules/smart.toast.js +1 -1
  93. package/source/modules/smart.tooltip.js +1 -1
  94. package/source/modules/smart.tree.js +2 -2
  95. package/source/modules/smart.validator.js +1 -1
  96. package/source/modules/smart.window.js +2 -2
  97. package/source/smart.accordion.js +1 -1
  98. package/source/smart.ajax.js +1 -1
  99. package/source/smart.array.js +1 -1
  100. package/source/smart.barcode.js +1 -1
  101. package/source/smart.bootstrap.js +1 -1
  102. package/source/smart.breadcrumb.js +1 -1
  103. package/source/smart.button.js +1 -1
  104. package/source/smart.buttongroup.js +1 -1
  105. package/source/smart.calendar.js +1 -1
  106. package/source/smart.card.js +1 -1
  107. package/source/smart.cardview.js +1 -1
  108. package/source/smart.carousel.js +1 -1
  109. package/source/smart.chart.annotations.js +1 -1
  110. package/source/smart.chart.api.js +1 -1
  111. package/source/smart.chart.core.js +1 -1
  112. package/source/smart.chart.js +1 -1
  113. package/source/smart.chart.rangeselector.js +1 -1
  114. package/source/smart.chart.waterfall.js +1 -1
  115. package/source/smart.checkbox.js +1 -1
  116. package/source/smart.checkinput.js +1 -1
  117. package/source/smart.chip.js +1 -1
  118. package/source/smart.colorinput.js +1 -1
  119. package/source/smart.colorpanel.js +1 -1
  120. package/source/smart.colorpicker.js +1 -1
  121. package/source/smart.combobox.js +2 -2
  122. package/source/smart.complex.js +1 -1
  123. package/source/smart.core.js +1 -1
  124. package/source/smart.countryinput.js +1 -1
  125. package/source/smart.data.js +2 -2
  126. package/source/smart.date.js +1 -1
  127. package/source/smart.dateformatpanel.js +1 -1
  128. package/source/smart.dateinput.js +2 -2
  129. package/source/smart.daterangeinput.js +1 -1
  130. package/source/smart.datetimepicker.js +1 -1
  131. package/source/smart.dockinglayout.js +1 -1
  132. package/source/smart.draw.js +1 -1
  133. package/source/smart.dropdownbutton.js +1 -1
  134. package/source/smart.dropdownlist.js +1 -1
  135. package/source/smart.editor.js +1 -1
  136. package/source/smart.element.js +1 -1
  137. package/source/smart.elements.js +18 -18
  138. package/source/smart.export.js +1 -1
  139. package/source/smart.fileupload.js +1 -1
  140. package/source/smart.filter.js +1 -1
  141. package/source/smart.filterbuilder.js +1 -1
  142. package/source/smart.filterpanel.js +1 -1
  143. package/source/smart.form.js +1 -1
  144. package/source/smart.format.js +1 -1
  145. package/source/smart.formulaparser.js +1 -1
  146. package/source/smart.ganttchart.js +2 -2
  147. package/source/smart.gauge.js +1 -1
  148. package/source/smart.grid.cell.js +2 -2
  149. package/source/smart.grid.chart.js +1 -1
  150. package/source/smart.grid.column.js +2 -2
  151. package/source/smart.grid.core.js +2 -2
  152. package/source/smart.grid.dialog.js +2 -2
  153. package/source/smart.grid.edit.js +2 -2
  154. package/source/smart.grid.export.js +1 -1
  155. package/source/smart.grid.filter.js +2 -2
  156. package/source/smart.grid.group.js +1 -1
  157. package/source/smart.grid.js +1 -1
  158. package/source/smart.grid.menu.js +2 -2
  159. package/source/smart.grid.pager.js +1 -1
  160. package/source/smart.grid.reorder.js +1 -1
  161. package/source/smart.grid.resize.js +1 -1
  162. package/source/smart.grid.row.js +2 -2
  163. package/source/smart.grid.select.js +2 -2
  164. package/source/smart.grid.sort.js +1 -1
  165. package/source/smart.grid.toolbar.js +2 -2
  166. package/source/smart.grid.tree.js +1 -1
  167. package/source/smart.grid.view.js +2 -2
  168. package/source/smart.gridpanel.js +1 -1
  169. package/source/smart.input.js +1 -1
  170. package/source/smart.kanban.js +2 -2
  171. package/source/smart.layout.js +1 -1
  172. package/source/smart.led.js +1 -1
  173. package/source/smart.listbox.js +1 -1
  174. package/source/smart.listmenu.js +1 -1
  175. package/source/smart.map.js +1 -1
  176. package/source/smart.maskedtextbox.js +1 -1
  177. package/source/smart.math.js +1 -1
  178. package/source/smart.menu.js +1 -1
  179. package/source/smart.multicomboinput.js +1 -1
  180. package/source/smart.multiinput.js +1 -1
  181. package/source/smart.multilinetextbox.js +1 -1
  182. package/source/smart.multisplitbutton.js +1 -1
  183. package/source/smart.numberformatpanel.js +1 -1
  184. package/source/smart.numberinput.js +1 -1
  185. package/source/smart.numeric.js +1 -1
  186. package/source/smart.numerictextbox.js +1 -1
  187. package/source/smart.pager.js +1 -1
  188. package/source/smart.passwordinput.js +1 -1
  189. package/source/smart.passwordtextbox.js +1 -1
  190. package/source/smart.path.js +1 -1
  191. package/source/smart.phoneinput.js +1 -1
  192. package/source/smart.pivottable.js +1 -1
  193. package/source/smart.powerbutton.js +1 -1
  194. package/source/smart.progressbar.js +1 -1
  195. package/source/smart.qrcode.js +1 -1
  196. package/source/smart.radiobutton.js +1 -1
  197. package/source/smart.rating.js +1 -1
  198. package/source/smart.router.js +1 -1
  199. package/source/smart.scheduler.js +1 -1
  200. package/source/smart.scrollbar.js +1 -1
  201. package/source/smart.slider.js +1 -1
  202. package/source/smart.sortable.js +1 -1
  203. package/source/smart.splitter.js +1 -1
  204. package/source/smart.switchbutton.js +1 -1
  205. package/source/smart.table.js +2 -2
  206. package/source/smart.tabs.js +1 -1
  207. package/source/smart.tank.js +1 -1
  208. package/source/smart.textarea.js +1 -1
  209. package/source/smart.textbox.js +1 -1
  210. package/source/smart.tickintervalhandler.js +1 -1
  211. package/source/smart.timeinput.js +1 -1
  212. package/source/smart.timepicker.js +1 -1
  213. package/source/smart.toast.js +1 -1
  214. package/source/smart.tooltip.js +1 -1
  215. package/source/smart.tree.js +2 -2
  216. package/source/smart.validationpanel.js +1 -1
  217. package/source/smart.validator.js +1 -1
  218. package/source/smart.window.js +1 -1
  219. package/source/styles/components/smart.ganttchart.css +1 -1
  220. package/source/styles/components/smart.kanban.css +1 -1
  221. package/source/styles/components/smart.pivottable.css +1 -1
  222. package/source/styles/components/smart.table.css +1 -1
  223. package/source/styles/default/scss/smart.kanban.scss +20 -3
  224. package/source/styles/default/scss/smart.table.scss +22 -4
  225. package/source/styles/default/scss/textbox/_check-input.scss +1 -0
  226. package/source/styles/default/scss/textbox/_multi-combo-input.scss +1 -1
  227. package/source/styles/default/smart.kanban.css +17 -1
  228. package/source/styles/default/smart.table.css +30 -12
  229. package/source/styles/smart.default.css +2 -2
  230. package/source/typescript/smart.combobox.d.ts +5 -0
  231. package/source/typescript/smart.elements.d.ts +99 -30
  232. package/source/typescript/smart.grid.d.ts +77 -28
  233. package/source/typescript/smart.kanban.d.ts +10 -0
  234. package/source/typescript/smart.scheduler.d.ts +1 -1
  235. package/source/typescript/smart.table.d.ts +1 -1
  236. package/source/typescript/smart.tree.d.ts +5 -0
  237. package/table/table.d.ts +1 -1
  238. package/table/table.esm.js +1 -1
  239. package/table/table.umd.js +1 -1
  240. package/tabswindow/tabswindow.umd.js +1 -1
  241. package/tree/tree.d.ts +5 -0
  242. package/tree/tree.esm.js +12 -1
  243. package/tree/tree.umd.js +12 -1
  244. package/waitwindow/waitwindow.umd.js +1 -1
package/index.d.ts CHANGED
@@ -5752,6 +5752,11 @@ export interface ComboBoxProperties {
5752
5752
  * Default value: 2
5753
5753
  */
5754
5754
  minLength?: number;
5755
+ /**
5756
+ * Determines the maximum number of characters inside the input.
5757
+ * Default value: -1
5758
+ */
5759
+ maxLength?: number;
5755
5760
  /**
5756
5761
  * Sets or gets the name attribute for the element. Name is used when submiting HTML forms.
5757
5762
  * Default value: ""
@@ -13860,7 +13865,7 @@ export interface GridProperties {
13860
13865
  * Callback function() called when the grid has been rendered.
13861
13866
  * Default value: null
13862
13867
  */
13863
- onRender?: any;
13868
+ onRender?: {(): void};
13864
13869
  /**
13865
13870
  * Callback function(event: KeyboardEvent) called when the grid is on focus and a keyboard key is pressed.
13866
13871
  * Default value: null
@@ -14010,7 +14015,7 @@ export interface Grid extends BaseElement, GridProperties {
14010
14015
  /* Get a member by its name */
14011
14016
  [name: string]: any;
14012
14017
  /**
14013
- * This event is triggered, when the edit begins.
14018
+ * This event is triggered, when the edit begins. After the event occurs, editing starts. If you need to prevent the editing for specific cells, rows or columns, you can call event.preventDefault();.
14014
14019
  * @param event. The custom event. Custom data event was created with: ev.detail(id, dataField, row, column, cell)
14015
14020
  * id - The edited row id.
14016
14021
  * dataField - The edited column data field.
@@ -14321,9 +14326,9 @@ export interface Grid extends BaseElement, GridProperties {
14321
14326
  * Adds a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
14322
14327
  * @param {any} data. row data matching the data source
14323
14328
  * @param {boolean} insertAtBottom?. Determines whether to add the new row to the bottom or top of the collection. The default value is 'true'
14324
- * @param {any} callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
14329
+ * @param callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
14325
14330
  */
14326
- addRow(data: any, insertAtBottom?: boolean, callback?: any): void;
14331
+ addRow(data: any, insertAtBottom?: boolean, callback?: {(row: GridRow): void}): void;
14327
14332
  /**
14328
14333
  * Adds a new row and puts it into edit mode. When batch editing is enabled, the row is not saved until the batch edit is saved.
14329
14334
  * @param {string} position?. 'near' or 'far'
@@ -14344,7 +14349,7 @@ export interface Grid extends BaseElement, GridProperties {
14344
14349
  */
14345
14350
  addUnboundRow(count: number, position?: string): boolean;
14346
14351
  /**
14347
- * Adds a filter to a column. This method will apply a filter to the Grid data.
14352
+ * Adds a filter to a column. This method will apply a filter to the Grid data. Example for adding multiple filters to a column: grid.addFilter('lastName', ['CONTAINS "burke"', 'or', 'CONTAINS "peterson"']). Example for adding single filter to a column: grid.addFilter('lastName', 'CONTAINS "burke"'). Example for adding numeric filter: grid.addFilter('quantity', '<= 5')
14348
14353
  * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
14349
14354
  * @param {string} filter. Filter expression like: 'startsWith B'. Example 2: ['contains Andrew or contains Nancy'], Example 3: ['quantity', '<= 3 and >= 8']. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
14350
14355
  * @param {boolean} refreshFilters?. Set this to false, if you will use multiple 'addFilter' calls. By doing this, you will avoid unnecessary renders.
@@ -14439,9 +14444,9 @@ export interface Grid extends BaseElement, GridProperties {
14439
14444
  /**
14440
14445
  * Delete a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
14441
14446
  * @param {string | number} rowId. row bound id
14442
- * @param {any} callback?. Sets a callback function, which is called after the row is deleted. The callback's argument is the deleted row.
14447
+ * @param callback?. Sets a callback function, which is called after the row is deleted. The callback's argument is the deleted row.
14443
14448
  */
14444
- deleteRow(rowId: string | number, callback?: any): void;
14449
+ deleteRow(rowId: string | number, callback?: {(row: GridRow): void}): void;
14445
14450
  /**
14446
14451
  * Scrolls to a row or cell. This method scrolls to a row or cell, when scrolling is necessary. If pagination is enabled, it will automatically change the page.
14447
14452
  * @param {string | number} rowId. row bound id
@@ -14534,10 +14539,20 @@ export interface Grid extends BaseElement, GridProperties {
14534
14539
  */
14535
14540
  getSelection(): any;
14536
14541
  /**
14537
- * Gets the selected row ids.
14542
+ * Gets an Array where each item is an Array of row id and row data. If the Grid is used in virtual mode, the row data parameter is empty object, because the data is loaded on demand.
14538
14543
  * @returns {any[]}
14539
14544
  */
14540
14545
  getSelectedRows(): any[];
14546
+ /**
14547
+ * Gets the selected row ids.
14548
+ * @returns {any[]}
14549
+ */
14550
+ getSelectedRowIds(): any[];
14551
+ /**
14552
+ * Gets the selected row indexes.
14553
+ * @returns {any[]}
14554
+ */
14555
+ getSelectedRowIndexes(): any[];
14541
14556
  /**
14542
14557
  * Gets the selected cells. The method returns an array of cell. Each cell is an array with row id, column data field and cell value.
14543
14558
  * @returns {any[]}
@@ -14598,9 +14613,9 @@ export interface Grid extends BaseElement, GridProperties {
14598
14613
  /**
14599
14614
  * Gets the Row's id.
14600
14615
  * @param {number} rowIndex. row index
14601
- * @returns {any}
14616
+ * @returns {string | number}
14602
14617
  */
14603
- getRowId(rowIndex: number): any;
14618
+ getRowId(rowIndex: number): string | number;
14604
14619
  /**
14605
14620
  * Gets whether a column's drop-down menu is opened.
14606
14621
  * @returns {boolean}
@@ -14638,9 +14653,9 @@ export interface Grid extends BaseElement, GridProperties {
14638
14653
  * Inserts a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
14639
14654
  * @param {any} data. row data matching the data source
14640
14655
  * @param {number} index?. Determines the insert index. The default value is the last index.
14641
- * @param {any} callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
14656
+ * @param callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
14642
14657
  */
14643
- insertRow(data: any, index?: number, callback?: any): void;
14658
+ insertRow(data: any, index?: number, callback?: {(row: GridRow): void}): void;
14644
14659
  /**
14645
14660
  * Opens a column drop-down menu.
14646
14661
  * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
@@ -14767,16 +14782,16 @@ export interface Grid extends BaseElement, GridProperties {
14767
14782
  /**
14768
14783
  * Sets a style to a row.
14769
14784
  * @param {string | number} rowId. row bound id
14770
- * @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'.
14785
+ * @param rowStyle. The row style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
14771
14786
  */
14772
- setRowStyle(rowId: string | number, rowStyle: any): void;
14787
+ setRowStyle(rowId: string | number, rowStyle: {background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}): void;
14773
14788
  /**
14774
14789
  * Sets a style to a row.
14775
14790
  * @param {string | number} rowId. row bound id
14776
14791
  * @param {string} dataField. Column bound field name.
14777
- * @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'.
14792
+ * @param rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
14778
14793
  */
14779
- setCellStyle(rowId: string | number, dataField: string, rowStyle: any): void;
14794
+ setCellStyle(rowId: string | number, dataField: string, rowStyle: {background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}): void;
14780
14795
  /**
14781
14796
  * Sets the position of the vertical scrollbar. You can use this method in combination with the getVerticalScrollValue and getVerticalScrollMax.
14782
14797
  * @param {number} value. The new scroll position
@@ -14796,9 +14811,9 @@ export interface Grid extends BaseElement, GridProperties {
14796
14811
  * Updates a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
14797
14812
  * @param {string | number} rowId. row bound id
14798
14813
  * @param {any} data. row data matching the data source
14799
- * @param {any} callback?. Sets a callback function, which is called after the row is updated. The callback's argument is the updated row.
14814
+ * @param callback?. Sets a callback function, which is called after the row is updated. The callback's argument is the updated row.
14800
14815
  */
14801
- updateRow(rowId: string | number, data: any, callback?: any): void;
14816
+ updateRow(rowId: string | number, data: any, callback?: {(row: GridRow): void}): void;
14802
14817
  /**
14803
14818
  * Unselects a row, cell or column.
14804
14819
  * @param {string | number} rowId. row bound id
@@ -15154,7 +15169,7 @@ export interface GridClipboard {
15154
15169
  * Sets or gets a callback on paste.
15155
15170
  * Default value: null
15156
15171
  */
15157
- onPasteValue?: any;
15172
+ onPasteValue?: {(args: {value: any, oldValue: any, dataField: string, id: string | number}): void};
15158
15173
  }
15159
15174
 
15160
15175
  export interface GridColumn {
@@ -15279,7 +15294,7 @@ export interface GridColumn {
15279
15294
  */
15280
15295
  element?: HTMLElement;
15281
15296
  /**
15282
- * Sets or gets the column's editor. The property expects 'input', 'autoComplete', 'comboBox', 'dropDownList', 'image', 'numberInput', 'checkBox', 'multiInput', 'multiComboInput', 'checkInput', 'slider', 'dateTimePicker', 'timeInput', 'dateInput', 'dateRangeInput', 'maskedTextBox', 'textArea' or a custom object with 'template' property which defines the editor type, 'settings' property which defines the custom editor's properties, 'onInit(int row, string column, object editor, object rowData): object', 'onRender(int row, string column, object editor, object rowData): object', 'setValue(object value): void' and 'getValue(object value): object' callback functions.
15297
+ * Sets or gets the column's editor. The property expects 'input', 'autoComplete', 'comboBox', 'dropDownList', 'image', 'numberInput', 'checkBox', 'multiInput', 'multiComboInput', 'checkInput', 'slider', 'dateTimePicker', 'timeInput', 'dateInput', 'dateRangeInput', 'maskedTextBox', 'textArea' or a custom object with 'template' property which defines the editor type, 'settings' property which defines the custom editor's properties, 'onInit(int row, string column, object editor, object rowData): void', 'onRender(int row, string column, object editor, object rowData): void', 'setValue(object value): void' and 'getValue(object value): any' callback functions.
15283
15298
  * Default value: null
15284
15299
  */
15285
15300
  editor?: any;
@@ -15302,12 +15317,12 @@ export interface GridColumn {
15302
15317
  * Sets or gets the column's format function.
15303
15318
  * Default value: null
15304
15319
  */
15305
- formatFunction?: any;
15320
+ formatFunction?: {(formatObject: {row?: GridRow, column?: GridColumn, cell?: GridCell, oldValue?: any, value?: any, template?: any}): void};
15306
15321
  /**
15307
15322
  * Sets or gets the column's format settings. You can use any of the build in formatting options or to NumberFormat object like that: 'Intl: { NumberFormat: { style: \'currency\', currency: \'EUR\' }}' or DateTimeFormat object like that: 'Intl: { DateTimeFormat: { dateStyle: \'full\' }}''
15308
15323
  * Default value: [object Object]
15309
15324
  */
15310
- formatSettings?: any;
15325
+ formatSettings?: GridColumnFormatSettings;
15311
15326
  /**
15312
15327
  * Sets or gets the column's group.
15313
15328
  * Default value: ""
@@ -15385,6 +15400,40 @@ export interface GridColumn {
15385
15400
  visible?: boolean;
15386
15401
  }
15387
15402
 
15403
+ /**Sets or gets the column's format settings. You can use any of the build in formatting options or to NumberFormat object like that: 'Intl: { NumberFormat: { style: \'currency\', currency: \'EUR\' }}' or DateTimeFormat object like that: 'Intl: { DateTimeFormat: { dateStyle: \'full\' }}'' */
15404
+ export interface GridColumnFormatSettings {
15405
+ /**
15406
+ * Sets the decimal places.
15407
+ * Default value:
15408
+ */
15409
+ decimalPlaces?: number;
15410
+ /**
15411
+ * Sets the negativeWithBrackets property. Displays brackets around negative numbers
15412
+ * Default value: false
15413
+ */
15414
+ negativeWithBrackets?: boolean;
15415
+ /**
15416
+ * Sets the prefix of the formatted value.
15417
+ * Default value: ""
15418
+ */
15419
+ prefix?: string;
15420
+ /**
15421
+ * Sets the sufix of the formatted value.
15422
+ * Default value: ""
15423
+ */
15424
+ sufix?: string;
15425
+ /**
15426
+ * Sets the thousands separator.
15427
+ * Default value:
15428
+ */
15429
+ thousandsSeparator?: number;
15430
+ /**
15431
+ * Sets the date format string.
15432
+ * Default value: ""
15433
+ */
15434
+ dateFormat?: string;
15435
+ }
15436
+
15388
15437
  /**Column Menu is the drop-down menu displayed after clicking the column header's drop-down button, which is displayed when you hover the column header. It allows you to customize column settings. For example: Sort, Filter or Group the Grid by the current column. */
15389
15438
  export interface GridColumnMenu {
15390
15439
  /**
@@ -15614,7 +15663,7 @@ export interface GridCharting {
15614
15663
  * Sets or gets the chart's container.
15615
15664
  * Default value: null
15616
15665
  */
15617
- appendTo?: any;
15666
+ appendTo?: string | HTMLElement;
15618
15667
  /**
15619
15668
  * Sets or gets the charting dialog.
15620
15669
  * Default value: [object Object]
@@ -15802,12 +15851,12 @@ export interface GridDataSourceSettings {
15802
15851
  */
15803
15852
  mapChar?: string;
15804
15853
  /**
15805
- * Sets the virtual data source function which is called each time the Grid requests data. Demos using 'virtualDataSource' are available on the Grid demos page.
15854
+ * Sets the virtual data source function which is called each time the Grid requests data. Example for calling the callback function with the new data set: resultCallbackFunction({dataSource: data}); Demos using 'virtualDataSource' are available on the Grid demos page. Example: https://www.htmlelements.com/demos/grid/virtualscroll/
15806
15855
  * Default value: null
15807
15856
  */
15808
- virtualDataSource?: any;
15857
+ virtualDataSource?: {(resultCallbackFunction: any, details: DataAdapterVirtualDataSourceDetails): void};
15809
15858
  /**
15810
- * Sets the virtual data source on expand function. This function is called when we load data on demand in Tree or TreeGrid and virtualDataSource in these components is set, too
15859
+ * Sets the virtual data source on expand function. This function is called when we load data on demand in Tree or TreeGrid and virtualDataSource in these components is set, too. Example: https://www.htmlelements.com/demos/grid/virtual-tree-grid/
15811
15860
  * Default value: null
15812
15861
  */
15813
15862
  virtualDataSourceOnExpand?: any;
@@ -16114,6 +16163,11 @@ export interface GridFiltering {
16114
16163
  * Default value: false
16115
16164
  */
16116
16165
  enabled?: boolean;
16166
+ /**
16167
+ * Determines the filtering operator used in the Grid. By default filters are applied with 'and' operator i.e returns a set of rows matching the filter expressions of columnA AND columnB. The other option is to return a set of rows matching the filter expressions of columnA OR columnB. For example: grid.filtering.operator = 'or'; grid.addFilter('lastName', 'contains "davolio"') grid.addFilter('firstName', 'contains "Antoni"'); - that code will apply two filters to the Grid and will return all rows where firstName is 'Antoni' or the lastName is 'Davolio'
16168
+ * Default value: "and"
16169
+ */
16170
+ operator?: string;
16117
16171
  /**
16118
16172
  * An array of filtering conditions to apply to the DataGrid. Each member of the filter array is an array with two members. The first one is the column dataField to apply the filter to. The second one is the filtering condition. Example: [['firstName', 'contains Andrew or contains Nancy'], ['quantity', '<= 3 and >= 8']]. Additional example with filter which we want to apply to a column with filterMenuMode='excel' - [['firstName', 'EQUAL' 'Andrew' or 'EQUAL' 'Antoni' or 'EQUAL' 'Beate']]. Example with a string filter applied to a string column - [['lastName','CONTAINS' 'burke' or 'CONTAINS' 'peterson']]. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
16119
16173
  * Default value:
@@ -16520,7 +16574,7 @@ export interface GridRowDetail {
16520
16574
  * Sets the template of the row details.
16521
16575
  * Default value:
16522
16576
  */
16523
- template?: any;
16577
+ template?: string | HTMLTemplateElement;
16524
16578
  /**
16525
16579
  * Sets the visibility of the Column which allows you to dynamically expand/collapse the row details.
16526
16580
  * Default value: true
@@ -16586,7 +16640,7 @@ export interface GridHeader {
16586
16640
  * This callback function can be used for customization of the Header toolbar. The Toolbar HTML Element is passed as an argument.
16587
16641
  * Default value: null
16588
16642
  */
16589
- onInit?: any;
16643
+ onInit?: {(element: HTMLElement): void};
16590
16644
  /**
16591
16645
  * Determines the buttons displayed in the Grid header. 'columns' displays a button opening the columns chooser panel. 'filter' displays a button opening the filtering panel. 'group' displays a button opening the grouping panel. 'sort' displays a button opening the sorting panel. 'format' displays a button opening the conditional formatting panel. 'search' displays a button opening the search panel.
16592
16646
  * Default value: [ "columns", "filter", "group", "sort", "format", "search" ]
@@ -17470,6 +17524,11 @@ export interface KanbanProperties {
17470
17524
  * Default value: true
17471
17525
  */
17472
17526
  allowDrop?: boolean;
17527
+ /**
17528
+ * This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog.
17529
+ * Default value: false
17530
+ */
17531
+ applyColumnColorToTasks?: boolean;
17473
17532
  /**
17474
17533
  * Enables or disables auto load state from the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is loaded.
17475
17534
  * Default value: true
@@ -17480,6 +17539,11 @@ export interface KanbanProperties {
17480
17539
  * Default value: false
17481
17540
  */
17482
17541
  autoSaveState?: boolean;
17542
+ /**
17543
+ * Automatically updates the columns height depending on the tasks inside the column. The effect of this property is observed when 'columnColorEntireSurface' is true.
17544
+ * Default value: false
17545
+ */
17546
+ autoColumnHeight?: boolean;
17483
17547
  /**
17484
17548
  * Allows collapsing the card content.
17485
17549
  * Default value: false
@@ -24814,7 +24878,7 @@ export interface SchedulerProperties {
24814
24878
  timeRulerTicks?: boolean;
24815
24879
  /**
24816
24880
  * Determines the timeZone for the element. By default if the local time zone is used if the property is not set.
24817
- * Default value:
24881
+ * Default value: Local
24818
24882
  */
24819
24883
  timeZone?: SchedulerTimeZone | string;
24820
24884
  /**
@@ -27496,7 +27560,7 @@ export interface Table extends BaseElement, TableProperties {
27496
27560
  /**
27497
27561
  * Adds a filter to a specific column.
27498
27562
  * @param {string} dataField. The column's data field.
27499
- * @param {any} filter. FilterGroup object.
27563
+ * @param {any} filter. FilterGroup object or a Filter expression. Filter expression like: 'startsWith B'. Example 2: ['contains Andrew or contains Nancy'], Example 3: ['quantity', '<= 3 and >= 8']. Filter conditions which you can use in the expressions: '=', 'EQUAL','<>', 'NOT_EQUAL', '!=', '<', 'LESS_THAN','>', 'GREATER_THAN', '<=', 'LESS_THAN_OR_EQUAL', '>=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
27500
27564
  */
27501
27565
  addFilter(dataField: string, filter: any): void;
27502
27566
  /**
@@ -29970,6 +30034,11 @@ export interface TreeProperties {
29970
30034
  * Default value: false
29971
30035
  */
29972
30036
  filterable?: boolean;
30037
+ /**
30038
+ * Applies a filter only after the 'Enter' key is pressed.
30039
+ * Default value: false
30040
+ */
30041
+ filterOnEnter?: boolean;
29973
30042
  /**
29974
30043
  * Sets custom text for placeholder in the filter input.
29975
30044
  * Default value: ""
@@ -97,6 +97,11 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
97
97
  */
98
98
  get allowDrop(): boolean;
99
99
  set allowDrop(value: boolean);
100
+ /** This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog.
101
+ * Property type: boolean
102
+ */
103
+ get applyColumnColorToTasks(): boolean;
104
+ set applyColumnColorToTasks(value: boolean);
100
105
  /** Enables or disables auto load state from the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is loaded.
101
106
  * Property type: boolean
102
107
  */
@@ -107,6 +112,11 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
107
112
  */
108
113
  get autoSaveState(): boolean;
109
114
  set autoSaveState(value: boolean);
115
+ /** Automatically updates the columns height depending on the tasks inside the column. The effect of this property is observed when 'columnColorEntireSurface' is true.
116
+ * Property type: boolean
117
+ */
118
+ get autoColumnHeight(): boolean;
119
+ set autoColumnHeight(value: boolean);
110
120
  /** Allows collapsing the card content.
111
121
  * Property type: boolean
112
122
  */
@@ -154,6 +154,17 @@ class Kanban extends React.Component {
154
154
  this.nativeElement.allowDrop = value;
155
155
  }
156
156
  }
157
+ /** This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog.
158
+ * Property type: boolean
159
+ */
160
+ get applyColumnColorToTasks() {
161
+ return this.nativeElement ? this.nativeElement.applyColumnColorToTasks : undefined;
162
+ }
163
+ set applyColumnColorToTasks(value) {
164
+ if (this.nativeElement) {
165
+ this.nativeElement.applyColumnColorToTasks = value;
166
+ }
167
+ }
157
168
  /** Enables or disables auto load state from the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is loaded.
158
169
  * Property type: boolean
159
170
  */
@@ -176,6 +187,17 @@ class Kanban extends React.Component {
176
187
  this.nativeElement.autoSaveState = value;
177
188
  }
178
189
  }
190
+ /** Automatically updates the columns height depending on the tasks inside the column. The effect of this property is observed when 'columnColorEntireSurface' is true.
191
+ * Property type: boolean
192
+ */
193
+ get autoColumnHeight() {
194
+ return this.nativeElement ? this.nativeElement.autoColumnHeight : undefined;
195
+ }
196
+ set autoColumnHeight(value) {
197
+ if (this.nativeElement) {
198
+ this.nativeElement.autoColumnHeight = value;
199
+ }
200
+ }
179
201
  /** Allows collapsing the card content.
180
202
  * Property type: boolean
181
203
  */
@@ -761,7 +783,7 @@ class Kanban extends React.Component {
761
783
  }
762
784
  // Gets the properties of the React component.
763
785
  get properties() {
764
- return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "allowColumnHide", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "addNewColumnWidth", "allowDrag", "allowDrop", "autoLoadState", "autoSaveState", "collapsible", "columnColors", "columnWidth", "columnColorEntireSurface", "columnFooter", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "disableDialog", "dialogCustomizationFunction", "dialogRendered", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "onTaskRender", "onColumnHeaderRender", "onColumnFooterRender", "selectionMode", "storeHistory", "storeHistoryItems", "rightToLeft", "swimlanes", "swimlanesFrom", "swimlanesTo", "tags", "taskActions", "taskComments", "taskDue", "taskPosition", "taskPriority", "taskProgress", "taskCustomFields", "taskColorEntireSurface", "taskSubTasksInput", "taskSubTasks", "taskTags", "taskUserIcon", "textTemplate", "theme", "priorityList", "priority", "userList", "users"];
786
+ return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "allowColumnHide", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "addNewColumnWidth", "allowDrag", "allowDrop", "applyColumnColorToTasks", "autoLoadState", "autoSaveState", "autoColumnHeight", "collapsible", "columnColors", "columnWidth", "columnColorEntireSurface", "columnFooter", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "disableDialog", "dialogCustomizationFunction", "dialogRendered", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "onTaskRender", "onColumnHeaderRender", "onColumnFooterRender", "selectionMode", "storeHistory", "storeHistoryItems", "rightToLeft", "swimlanes", "swimlanesFrom", "swimlanesTo", "tags", "taskActions", "taskComments", "taskDue", "taskPosition", "taskPriority", "taskProgress", "taskCustomFields", "taskColorEntireSurface", "taskSubTasksInput", "taskSubTasks", "taskTags", "taskUserIcon", "textTemplate", "theme", "priorityList", "priority", "userList", "users"];
765
787
  }
766
788
  // Gets the events of the React component.
767
789
  get eventListeners() {
@@ -160,6 +160,17 @@ require('../source/modules/smart.kanban');
160
160
  this.nativeElement.allowDrop = value;
161
161
  }
162
162
  }
163
+ /** This property changes the visual appeal of the Kanban columns and tasks. When set to true and the Kanban columns have their 'color' property set, the color is also applied to the tasks and edit dialog.
164
+ * Property type: boolean
165
+ */
166
+ get applyColumnColorToTasks() {
167
+ return this.nativeElement ? this.nativeElement.applyColumnColorToTasks : undefined;
168
+ }
169
+ set applyColumnColorToTasks(value) {
170
+ if (this.nativeElement) {
171
+ this.nativeElement.applyColumnColorToTasks = value;
172
+ }
173
+ }
163
174
  /** Enables or disables auto load state from the browser's localStorage. Information about tasks and their position and selected state, filtering, sorting, collapsed columns, as well as the values of the properties taskActions, taskComments, taskDue, taskPriority, taskProgress, taskTags, and taskUserIcon is loaded.
164
175
  * Property type: boolean
165
176
  */
@@ -182,6 +193,17 @@ require('../source/modules/smart.kanban');
182
193
  this.nativeElement.autoSaveState = value;
183
194
  }
184
195
  }
196
+ /** Automatically updates the columns height depending on the tasks inside the column. The effect of this property is observed when 'columnColorEntireSurface' is true.
197
+ * Property type: boolean
198
+ */
199
+ get autoColumnHeight() {
200
+ return this.nativeElement ? this.nativeElement.autoColumnHeight : undefined;
201
+ }
202
+ set autoColumnHeight(value) {
203
+ if (this.nativeElement) {
204
+ this.nativeElement.autoColumnHeight = value;
205
+ }
206
+ }
185
207
  /** Allows collapsing the card content.
186
208
  * Property type: boolean
187
209
  */
@@ -767,7 +789,7 @@ require('../source/modules/smart.kanban');
767
789
  }
768
790
  // Gets the properties of the React component.
769
791
  get properties() {
770
- return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "allowColumnHide", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "addNewColumnWidth", "allowDrag", "allowDrop", "autoLoadState", "autoSaveState", "collapsible", "columnColors", "columnWidth", "columnColorEntireSurface", "columnFooter", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "disableDialog", "dialogCustomizationFunction", "dialogRendered", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "onTaskRender", "onColumnHeaderRender", "onColumnFooterRender", "selectionMode", "storeHistory", "storeHistoryItems", "rightToLeft", "swimlanes", "swimlanesFrom", "swimlanesTo", "tags", "taskActions", "taskComments", "taskDue", "taskPosition", "taskPriority", "taskProgress", "taskCustomFields", "taskColorEntireSurface", "taskSubTasksInput", "taskSubTasks", "taskTags", "taskUserIcon", "textTemplate", "theme", "priorityList", "priority", "userList", "users"];
792
+ return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "allowColumnHide", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "addNewColumnWidth", "allowDrag", "allowDrop", "applyColumnColorToTasks", "autoLoadState", "autoSaveState", "autoColumnHeight", "collapsible", "columnColors", "columnWidth", "columnColorEntireSurface", "columnFooter", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "disableDialog", "dialogCustomizationFunction", "dialogRendered", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "onTaskRender", "onColumnHeaderRender", "onColumnFooterRender", "selectionMode", "storeHistory", "storeHistoryItems", "rightToLeft", "swimlanes", "swimlanesFrom", "swimlanesTo", "tags", "taskActions", "taskComments", "taskDue", "taskPosition", "taskPriority", "taskProgress", "taskCustomFields", "taskColorEntireSurface", "taskSubTasksInput", "taskSubTasks", "taskTags", "taskUserIcon", "textTemplate", "theme", "priorityList", "priority", "userList", "users"];
771
793
  }
772
794
  // Gets the events of the React component.
773
795
  get eventListeners() {
@@ -1,5 +1,5 @@
1
1
 
2
- require('../source/modules/smart.multilinewindow');
2
+ require('../source/modules/smart.window');
3
3
 
4
4
  (function (global, factory) {
5
5
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-webcomponents-react",
3
- "version": "14.0.0",
3
+ "version": "14.0.35",
4
4
  "preferGlobal": true,
5
5
  "keywords": [
6
6
  "ReactJS",
@@ -1,5 +1,5 @@
1
1
 
2
- require('../source/modules/smart.progresswindow');
2
+ require('../source/modules/smart.window');
3
3
 
4
4
  (function (global, factory) {
5
5
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
@@ -1,5 +1,5 @@
1
1
 
2
- require('../source/modules/smart.promptwindow');
2
+ require('../source/modules/smart.window');
3
3
 
4
4
  (function (global, factory) {
5
5
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
106
106
  /* harmony import */ var _smart_accordion_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1471);
107
107
  /* harmony import */ var _smart_accordion_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_accordion_js__WEBPACK_IMPORTED_MODULE_3__);
108
108
 
109
- /* Smart UI v14.0.2 (2022-04-18)
109
+ /* Smart UI v14.0.34 (2022-05-09)
110
110
  Copyright (c) 2011-2022 jQWidgets.
111
111
  License: https://htmlelements.com/license/ */ //
112
112