smart-webcomponents-react 11.0.55 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/index.d.ts +34 -0
  2. package/kanban/kanban.d.ts +16 -0
  3. package/kanban/kanban.esm.js +50 -1
  4. package/kanban/kanban.umd.js +50 -1
  5. package/package.json +1 -1
  6. package/source/modules/smart.accordion.js +1 -1
  7. package/source/modules/smart.array.js +1 -1
  8. package/source/modules/smart.breadcrumb.js +1 -1
  9. package/source/modules/smart.button.js +1 -1
  10. package/source/modules/smart.buttongroup.js +1 -1
  11. package/source/modules/smart.calendar.js +3 -3
  12. package/source/modules/smart.card.js +1 -1
  13. package/source/modules/smart.cardview.js +6 -6
  14. package/source/modules/smart.carousel.js +1 -1
  15. package/source/modules/smart.chart.js +3 -3
  16. package/source/modules/smart.checkbox.js +1 -1
  17. package/source/modules/smart.checkinput.js +2 -2
  18. package/source/modules/smart.chip.js +1 -1
  19. package/source/modules/smart.colorinput.js +2 -2
  20. package/source/modules/smart.colorpanel.js +1 -1
  21. package/source/modules/smart.colorpicker.js +1 -1
  22. package/source/modules/smart.combobox.js +1 -1
  23. package/source/modules/smart.common.js +4 -4
  24. package/source/modules/smart.countryinput.js +2 -2
  25. package/source/modules/smart.dateinput.js +3 -3
  26. package/source/modules/smart.daterangeinput.js +3 -3
  27. package/source/modules/smart.datetimepicker.js +3 -3
  28. package/source/modules/smart.dockinglayout.js +1 -1
  29. package/source/modules/smart.dropdownbutton.js +1 -1
  30. package/source/modules/smart.dropdownlist.js +1 -1
  31. package/source/modules/smart.editor.js +3 -3
  32. package/source/modules/smart.element.js +1 -1
  33. package/source/modules/smart.fileupload.js +1 -1
  34. package/source/modules/smart.form.js +2 -2
  35. package/source/modules/smart.formulaparser.js +1 -1
  36. package/source/modules/smart.ganttchart.js +7 -7
  37. package/source/modules/smart.gauge.js +2 -2
  38. package/source/modules/smart.grid.js +18 -18
  39. package/source/modules/smart.gridpanel.js +6 -6
  40. package/source/modules/smart.input.js +2 -2
  41. package/source/modules/smart.kanban.js +9 -9
  42. package/source/modules/smart.layout.js +1 -1
  43. package/source/modules/smart.led.js +1 -1
  44. package/source/modules/smart.listbox.js +1 -1
  45. package/source/modules/smart.listmenu.js +1 -1
  46. package/source/modules/smart.map.js +1 -1
  47. package/source/modules/smart.maskedtextbox.js +2 -2
  48. package/source/modules/smart.menu.js +1 -1
  49. package/source/modules/smart.multicomboinput.js +3 -3
  50. package/source/modules/smart.multiinput.js +2 -2
  51. package/source/modules/smart.multilinetextbox.js +1 -1
  52. package/source/modules/smart.multisplitbutton.js +1 -1
  53. package/source/modules/smart.numberinput.js +2 -2
  54. package/source/modules/smart.numerictextbox.js +1 -1
  55. package/source/modules/smart.pager.js +2 -2
  56. package/source/modules/smart.passwordinput.js +2 -2
  57. package/source/modules/smart.passwordtextbox.js +2 -2
  58. package/source/modules/smart.path.js +1 -1
  59. package/source/modules/smart.phoneinput.js +2 -2
  60. package/source/modules/smart.pivottable.js +6 -6
  61. package/source/modules/smart.progressbar.js +1 -1
  62. package/source/modules/smart.querybuilder.js +4 -4
  63. package/source/modules/smart.radiobutton.js +1 -1
  64. package/source/modules/smart.rating.js +1 -1
  65. package/source/modules/smart.router.js +2 -2
  66. package/source/modules/smart.scheduler.js +6 -6
  67. package/source/modules/smart.scrollbar.js +1 -1
  68. package/source/modules/smart.slider.js +2 -2
  69. package/source/modules/smart.sortable.js +1 -1
  70. package/source/modules/smart.splitter.js +1 -1
  71. package/source/modules/smart.switchbutton.js +1 -1
  72. package/source/modules/smart.table.js +6 -6
  73. package/source/modules/smart.tabs.js +1 -1
  74. package/source/modules/smart.tank.js +2 -2
  75. package/source/modules/smart.textarea.js +2 -2
  76. package/source/modules/smart.textbox.js +1 -1
  77. package/source/modules/smart.timeinput.js +2 -2
  78. package/source/modules/smart.timepicker.js +1 -1
  79. package/source/modules/smart.toast.js +1 -1
  80. package/source/modules/smart.tooltip.js +1 -1
  81. package/source/modules/smart.tree.js +1 -1
  82. package/source/modules/smart.validator.js +1 -1
  83. package/source/modules/smart.window.js +1 -1
  84. package/source/smart.accordion.js +1 -1
  85. package/source/smart.ajax.js +1 -1
  86. package/source/smart.array.js +1 -1
  87. package/source/smart.bootstrap.js +1 -1
  88. package/source/smart.breadcrumb.js +1 -1
  89. package/source/smart.button.js +1 -1
  90. package/source/smart.buttongroup.js +1 -1
  91. package/source/smart.calendar.js +1 -1
  92. package/source/smart.card.js +1 -1
  93. package/source/smart.cardview.js +1 -1
  94. package/source/smart.carousel.js +1 -1
  95. package/source/smart.chart.annotations.js +1 -1
  96. package/source/smart.chart.api.js +1 -1
  97. package/source/smart.chart.core.js +1 -1
  98. package/source/smart.chart.js +1 -1
  99. package/source/smart.chart.rangeselector.js +1 -1
  100. package/source/smart.chart.waterfall.js +1 -1
  101. package/source/smart.checkbox.js +1 -1
  102. package/source/smart.checkinput.js +1 -1
  103. package/source/smart.chip.js +1 -1
  104. package/source/smart.colorinput.js +1 -1
  105. package/source/smart.colorpanel.js +1 -1
  106. package/source/smart.colorpicker.js +1 -1
  107. package/source/smart.combobox.js +1 -1
  108. package/source/smart.complex.js +1 -1
  109. package/source/smart.core.js +1 -1
  110. package/source/smart.countryinput.js +1 -1
  111. package/source/smart.data.js +2 -2
  112. package/source/smart.date.js +2 -2
  113. package/source/smart.dateformatpanel.js +1 -1
  114. package/source/smart.dateinput.js +1 -1
  115. package/source/smart.daterangeinput.js +1 -1
  116. package/source/smart.datetimepicker.js +2 -2
  117. package/source/smart.dockinglayout.js +1 -1
  118. package/source/smart.draw.js +1 -1
  119. package/source/smart.dropdownbutton.js +1 -1
  120. package/source/smart.dropdownlist.js +1 -1
  121. package/source/smart.editor.js +1 -1
  122. package/source/smart.element.js +1 -1
  123. package/source/smart.elements.js +18 -18
  124. package/source/smart.export.js +2 -2
  125. package/source/smart.fileupload.js +1 -1
  126. package/source/smart.filter.js +1 -1
  127. package/source/smart.filterbuilder.js +1 -1
  128. package/source/smart.filterpanel.js +1 -1
  129. package/source/smart.form.js +1 -1
  130. package/source/smart.format.js +1 -1
  131. package/source/smart.formulaparser.js +1 -1
  132. package/source/smart.ganttchart.js +1 -1
  133. package/source/smart.gauge.js +1 -1
  134. package/source/smart.grid.cell.js +2 -2
  135. package/source/smart.grid.chart.js +1 -1
  136. package/source/smart.grid.column.js +2 -2
  137. package/source/smart.grid.core.js +2 -2
  138. package/source/smart.grid.dialog.js +2 -2
  139. package/source/smart.grid.edit.js +2 -2
  140. package/source/smart.grid.export.js +1 -1
  141. package/source/smart.grid.filter.js +1 -1
  142. package/source/smart.grid.group.js +1 -1
  143. package/source/smart.grid.js +1 -1
  144. package/source/smart.grid.menu.js +1 -1
  145. package/source/smart.grid.pager.js +1 -1
  146. package/source/smart.grid.reorder.js +1 -1
  147. package/source/smart.grid.resize.js +2 -2
  148. package/source/smart.grid.row.js +2 -2
  149. package/source/smart.grid.select.js +2 -2
  150. package/source/smart.grid.sort.js +1 -1
  151. package/source/smart.grid.toolbar.js +2 -2
  152. package/source/smart.grid.tree.js +1 -1
  153. package/source/smart.grid.view.js +2 -2
  154. package/source/smart.gridpanel.js +2 -2
  155. package/source/smart.input.js +2 -2
  156. package/source/smart.kanban.js +2 -2
  157. package/source/smart.layout.js +1 -1
  158. package/source/smart.led.js +1 -1
  159. package/source/smart.listbox.js +1 -1
  160. package/source/smart.listmenu.js +1 -1
  161. package/source/smart.map.js +1 -1
  162. package/source/smart.maskedtextbox.js +1 -1
  163. package/source/smart.math.js +1 -1
  164. package/source/smart.menu.js +1 -1
  165. package/source/smart.multicomboinput.js +2 -2
  166. package/source/smart.multiinput.js +1 -1
  167. package/source/smart.multilinetextbox.js +1 -1
  168. package/source/smart.multisplitbutton.js +1 -1
  169. package/source/smart.numberformatpanel.js +1 -1
  170. package/source/smart.numberinput.js +1 -1
  171. package/source/smart.numeric.js +1 -1
  172. package/source/smart.numerictextbox.js +1 -1
  173. package/source/smart.pager.js +1 -1
  174. package/source/smart.passwordinput.js +1 -1
  175. package/source/smart.passwordtextbox.js +1 -1
  176. package/source/smart.path.js +1 -1
  177. package/source/smart.phoneinput.js +1 -1
  178. package/source/smart.pivottable.js +1 -1
  179. package/source/smart.powerbutton.js +1 -1
  180. package/source/smart.progressbar.js +1 -1
  181. package/source/smart.radiobutton.js +1 -1
  182. package/source/smart.rating.js +1 -1
  183. package/source/smart.router.js +1 -1
  184. package/source/smart.scheduler.js +1 -1
  185. package/source/smart.scrollbar.js +1 -1
  186. package/source/smart.slider.js +1 -1
  187. package/source/smart.sortable.js +1 -1
  188. package/source/smart.splitter.js +1 -1
  189. package/source/smart.switchbutton.js +1 -1
  190. package/source/smart.table.js +1 -1
  191. package/source/smart.tabs.js +1 -1
  192. package/source/smart.tank.js +1 -1
  193. package/source/smart.textarea.js +1 -1
  194. package/source/smart.textbox.js +1 -1
  195. package/source/smart.tickintervalhandler.js +1 -1
  196. package/source/smart.timeinput.js +1 -1
  197. package/source/smart.timepicker.js +1 -1
  198. package/source/smart.toast.js +1 -1
  199. package/source/smart.tooltip.js +1 -1
  200. package/source/smart.tree.js +1 -1
  201. package/source/smart.validationpanel.js +1 -1
  202. package/source/smart.validator.js +1 -1
  203. package/source/smart.window.js +1 -1
  204. package/source/styles/components/smart.array.css +1 -1
  205. package/source/styles/components/smart.calendar.css +1 -1
  206. package/source/styles/components/smart.cardview.css +1 -1
  207. package/source/styles/components/smart.checkinput.css +1 -1
  208. package/source/styles/components/smart.colorinput.css +1 -1
  209. package/source/styles/components/smart.columnpanel.css +1 -1
  210. package/source/styles/components/smart.countryinput.css +1 -1
  211. package/source/styles/components/smart.dateinput.css +1 -1
  212. package/source/styles/components/smart.daterangeinput.css +1 -1
  213. package/source/styles/components/smart.datetimeformatpanel.css +1 -1
  214. package/source/styles/components/smart.editor.css +1 -1
  215. package/source/styles/components/smart.filterbuilder.css +1 -1
  216. package/source/styles/components/smart.filterpanel.css +1 -1
  217. package/source/styles/components/smart.ganttchart.css +1 -1
  218. package/source/styles/components/smart.grid.css +2 -2
  219. package/source/styles/components/smart.gridpanel.css +1 -1
  220. package/source/styles/components/smart.input.css +1 -1
  221. package/source/styles/components/smart.kanban.css +2 -2
  222. package/source/styles/components/smart.maskedtextbox.css +1 -1
  223. package/source/styles/components/smart.multicolumnfilterpanel.css +1 -1
  224. package/source/styles/components/smart.multicomboinput.css +1 -1
  225. package/source/styles/components/smart.multiinput.css +1 -1
  226. package/source/styles/components/smart.multilinetextbox.css +1 -1
  227. package/source/styles/components/smart.numberformatpanel.css +1 -1
  228. package/source/styles/components/smart.numberinput.css +1 -1
  229. package/source/styles/components/smart.pager.css +1 -1
  230. package/source/styles/components/smart.passwordinput.css +1 -1
  231. package/source/styles/components/smart.passwordtextbox.css +1 -1
  232. package/source/styles/components/smart.phoneinput.css +1 -1
  233. package/source/styles/components/smart.pivottable.css +1 -1
  234. package/source/styles/components/smart.querybuilder.css +1 -1
  235. package/source/styles/components/smart.scheduler.css +1 -1
  236. package/source/styles/components/smart.sortpanel.css +1 -1
  237. package/source/styles/components/smart.table.css +1 -1
  238. package/source/styles/components/smart.textarea.css +1 -1
  239. package/source/styles/components/smart.textbox.css +1 -1
  240. package/source/styles/components/smart.timeinput.css +1 -1
  241. package/source/styles/components/smart.validationpanel.css +1 -1
  242. package/source/styles/components/smart.window.css +1 -1
  243. package/source/styles/default/scss/smart.grid.scss +97 -36
  244. package/source/styles/default/scss/smart.kanban.scss +22 -0
  245. package/source/styles/default/scss/textbox/_multi-combo-input.scss +42 -1
  246. package/source/styles/default/smart.grid.css +77 -26
  247. package/source/styles/default/smart.kanban.css +18 -0
  248. package/source/styles/default/smart.textbox.css +28 -1
  249. package/source/styles/smart.default.css +3 -3
  250. package/source/typescript/smart.elements.d.ts +34 -0
  251. package/source/typescript/smart.kanban.d.ts +34 -0
package/index.d.ts CHANGED
@@ -17169,6 +17169,11 @@ export interface KanbanProperties {
17169
17169
  * Default value: false
17170
17170
  */
17171
17171
  allowColumnRemove?: boolean;
17172
+ /**
17173
+ * Enables or disables column hiding. When this property is set to true, users will be able to dynamically hide a column through the column actions menu. the 'columnActions' property should be true.
17174
+ * Default value: false
17175
+ */
17176
+ allowColumnHide?: boolean;
17172
17177
  /**
17173
17178
  * Toggles the visibility of the column buttons for adding tasks. A particular button can be disabled by setting addNewButton in the column's definition to false.
17174
17179
  * Default value: false
@@ -17600,6 +17605,11 @@ export interface Kanban extends BaseElement, KanbanProperties {
17600
17605
  * @param {number | string} column. The index or dataField of the column to collapse
17601
17606
  */
17602
17607
  collapse(column: number | string): void;
17608
+ /**
17609
+ * Hides a Kanban column.
17610
+ * @param {number | string} column. The index or dataField of the column to hide
17611
+ */
17612
+ hide(column: number | string): void;
17603
17613
  /**
17604
17614
  * Creates a copy of a task in the same column.
17605
17615
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
@@ -17689,6 +17699,15 @@ export interface Kanban extends BaseElement, KanbanProperties {
17689
17699
  * Saves the Kanban's state to the browser's localStorage.
17690
17700
  */
17691
17701
  saveState(): void;
17702
+ /**
17703
+ * Shows a Kanban column.
17704
+ * @param {number | string} column. The index or dataField of the column to show
17705
+ */
17706
+ show(column: number | string): void;
17707
+ /**
17708
+ * Shows all Kanban columns.
17709
+ */
17710
+ showAllColumns(): void;
17692
17711
  /**
17693
17712
  * Updates a task.
17694
17713
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
@@ -17744,6 +17763,11 @@ export interface KanbanColumn {
17744
17763
  * Default value: true
17745
17764
  */
17746
17765
  editable?: boolean;
17766
+ /**
17767
+ * Sets or gets whether a column is visible.
17768
+ * Default value: true
17769
+ */
17770
+ visible?: boolean;
17747
17771
  /**
17748
17772
  * Sets or gets whether a column can be reordered.
17749
17773
  * Default value: true
@@ -17792,6 +17816,16 @@ export interface KanbanDataSource {
17792
17816
  * Default value: null
17793
17817
  */
17794
17818
  dueDate?: Date;
17819
+ /**
17820
+ * Callback function which can be used for customizing the tasks rendering. The Kanban calls it with 2 arguments - task html element and task data.
17821
+ * Default value: null
17822
+ */
17823
+ onTaskRender?: any;
17824
+ /**
17825
+ * 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.
17826
+ * Default value: null
17827
+ */
17828
+ onColumnHeaderRender?: any;
17795
17829
  /**
17796
17830
  * The task's priority.
17797
17831
  * Default value: normal
@@ -52,6 +52,11 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
52
52
  */
53
53
  get allowColumnRemove(): boolean;
54
54
  set allowColumnRemove(value: boolean);
55
+ /** Enables or disables column hiding. When this property is set to true, users will be able to dynamically hide a column through the column actions menu. the 'columnActions' property should be true.
56
+ * Property type: boolean
57
+ */
58
+ get allowColumnHide(): boolean;
59
+ set allowColumnHide(value: boolean);
55
60
  /** Toggles the visibility of the column buttons for adding tasks. A particular button can be disabled by setting addNewButton in the column's definition to false.
56
61
  * Property type: boolean
57
62
  */
@@ -493,6 +498,10 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
493
498
  * @param {number | string} column. The index or dataField of the column to collapse
494
499
  */
495
500
  collapse(column: number | string): void;
501
+ /** Hides a Kanban column.
502
+ * @param {number | string} column. The index or dataField of the column to hide
503
+ */
504
+ hide(column: number | string): void;
496
505
  /** Creates a copy of a task in the same column.
497
506
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
498
507
  */
@@ -592,6 +601,13 @@ export declare class Kanban extends React.Component<React.HTMLAttributes<Element
592
601
  /** Saves the Kanban's state to the browser's localStorage.
593
602
  */
594
603
  saveState(): void;
604
+ /** Shows a Kanban column.
605
+ * @param {number | string} column. The index or dataField of the column to show
606
+ */
607
+ show(column: number | string): void;
608
+ /** Shows all Kanban columns.
609
+ */
610
+ showAllColumns(): void;
595
611
  /** Updates a task.
596
612
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
597
613
  * @param {{}} newData. The new data to visualize in the task.
@@ -77,6 +77,17 @@ class Kanban extends React.Component {
77
77
  this.nativeElement.allowColumnRemove = value;
78
78
  }
79
79
  }
80
+ /** Enables or disables column hiding. When this property is set to true, users will be able to dynamically hide a column through the column actions menu. the 'columnActions' property should be true.
81
+ * Property type: boolean
82
+ */
83
+ get allowColumnHide() {
84
+ return this.nativeElement ? this.nativeElement.allowColumnHide : undefined;
85
+ }
86
+ set allowColumnHide(value) {
87
+ if (this.nativeElement) {
88
+ this.nativeElement.allowColumnHide = value;
89
+ }
90
+ }
80
91
  /** Toggles the visibility of the column buttons for adding tasks. A particular button can be disabled by setting addNewButton in the column's definition to false.
81
92
  * Property type: boolean
82
93
  */
@@ -640,7 +651,7 @@ class Kanban extends React.Component {
640
651
  }
641
652
  // Gets the properties of the React component.
642
653
  get properties() {
643
- return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "allowDrag", "allowDrop", "autoLoadState", "autoSaveState", "collapsible", "columnColors", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "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"];
654
+ return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "allowColumnHide", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "allowDrag", "allowDrop", "autoLoadState", "autoSaveState", "collapsible", "columnColors", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "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"];
644
655
  }
645
656
  // Gets the events of the React component.
646
657
  get eventListeners() {
@@ -750,6 +761,19 @@ class Kanban extends React.Component {
750
761
  });
751
762
  }
752
763
  }
764
+ /** Hides a Kanban column.
765
+ * @param {number | string} column. The index or dataField of the column to hide
766
+ */
767
+ hide(column) {
768
+ if (this.nativeElement.isRendered) {
769
+ this.nativeElement.hide(column);
770
+ }
771
+ else {
772
+ this.nativeElement.whenRendered(() => {
773
+ this.nativeElement.hide(column);
774
+ });
775
+ }
776
+ }
753
777
  /** Creates a copy of a task in the same column.
754
778
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
755
779
  */
@@ -999,6 +1023,31 @@ class Kanban extends React.Component {
999
1023
  });
1000
1024
  }
1001
1025
  }
1026
+ /** Shows a Kanban column.
1027
+ * @param {number | string} column. The index or dataField of the column to show
1028
+ */
1029
+ show(column) {
1030
+ if (this.nativeElement.isRendered) {
1031
+ this.nativeElement.show(column);
1032
+ }
1033
+ else {
1034
+ this.nativeElement.whenRendered(() => {
1035
+ this.nativeElement.show(column);
1036
+ });
1037
+ }
1038
+ }
1039
+ /** Shows all Kanban columns.
1040
+ */
1041
+ showAllColumns() {
1042
+ if (this.nativeElement.isRendered) {
1043
+ this.nativeElement.showAllColumns();
1044
+ }
1045
+ else {
1046
+ this.nativeElement.whenRendered(() => {
1047
+ this.nativeElement.showAllColumns();
1048
+ });
1049
+ }
1050
+ }
1002
1051
  /** Updates a task.
1003
1052
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1004
1053
  * @param {{}} newData. The new data to visualize in the task.
@@ -83,6 +83,17 @@ require('../source/modules/smart.kanban');
83
83
  this.nativeElement.allowColumnRemove = value;
84
84
  }
85
85
  }
86
+ /** Enables or disables column hiding. When this property is set to true, users will be able to dynamically hide a column through the column actions menu. the 'columnActions' property should be true.
87
+ * Property type: boolean
88
+ */
89
+ get allowColumnHide() {
90
+ return this.nativeElement ? this.nativeElement.allowColumnHide : undefined;
91
+ }
92
+ set allowColumnHide(value) {
93
+ if (this.nativeElement) {
94
+ this.nativeElement.allowColumnHide = value;
95
+ }
96
+ }
86
97
  /** Toggles the visibility of the column buttons for adding tasks. A particular button can be disabled by setting addNewButton in the column's definition to false.
87
98
  * Property type: boolean
88
99
  */
@@ -646,7 +657,7 @@ require('../source/modules/smart.kanban');
646
657
  }
647
658
  // Gets the properties of the React component.
648
659
  get properties() {
649
- return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "allowDrag", "allowDrop", "autoLoadState", "autoSaveState", "collapsible", "columnColors", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "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"];
660
+ return ["allowColumnReorder", "allowColumnEdit", "allowColumnRemove", "allowColumnHide", "addNewButton", "addNewButtonDisplayMode", "addNewColumn", "allowDrag", "allowDrop", "autoLoadState", "autoSaveState", "collapsible", "columnColors", "columns", "columnActions", "columnSummary", "columnHeaderTemplate", "columnEditMode", "currentUser", "dataSource", "dataSourceMap", "dragOffset", "editable", "formatStringDate", "formatStringTime", "headerPosition", "hierarchy", "locale", "messages", "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"];
650
661
  }
651
662
  // Gets the events of the React component.
652
663
  get eventListeners() {
@@ -756,6 +767,19 @@ require('../source/modules/smart.kanban');
756
767
  });
757
768
  }
758
769
  }
770
+ /** Hides a Kanban column.
771
+ * @param {number | string} column. The index or dataField of the column to hide
772
+ */
773
+ hide(column) {
774
+ if (this.nativeElement.isRendered) {
775
+ this.nativeElement.hide(column);
776
+ }
777
+ else {
778
+ this.nativeElement.whenRendered(() => {
779
+ this.nativeElement.hide(column);
780
+ });
781
+ }
782
+ }
759
783
  /** Creates a copy of a task in the same column.
760
784
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
761
785
  */
@@ -1005,6 +1029,31 @@ require('../source/modules/smart.kanban');
1005
1029
  });
1006
1030
  }
1007
1031
  }
1032
+ /** Shows a Kanban column.
1033
+ * @param {number | string} column. The index or dataField of the column to show
1034
+ */
1035
+ show(column) {
1036
+ if (this.nativeElement.isRendered) {
1037
+ this.nativeElement.show(column);
1038
+ }
1039
+ else {
1040
+ this.nativeElement.whenRendered(() => {
1041
+ this.nativeElement.show(column);
1042
+ });
1043
+ }
1044
+ }
1045
+ /** Shows all Kanban columns.
1046
+ */
1047
+ showAllColumns() {
1048
+ if (this.nativeElement.isRendered) {
1049
+ this.nativeElement.showAllColumns();
1050
+ }
1051
+ else {
1052
+ this.nativeElement.whenRendered(() => {
1053
+ this.nativeElement.showAllColumns();
1054
+ });
1055
+ }
1056
+ }
1008
1057
  /** Updates a task.
1009
1058
  * @param {number | string | HTMLElement} task. The task's id or corresponding HTMLElement
1010
1059
  * @param {{}} newData. The new data to visualize in the task.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-webcomponents-react",
3
- "version": "11.0.55",
3
+ "version": "12.0.0",
4
4
  "preferGlobal": true,
5
5
  "keywords": [
6
6
  "ReactJS",
@@ -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 v11.0.54 (2022-01-09)
109
+ /* Smart UI v12.0.0 (2022-01-16)
110
110
  Copyright (c) 2011-2021 jQWidgets.
111
111
  License: https://htmlelements.com/license/ */ //
112
112
 
@@ -187,7 +187,7 @@ var __webpack_exports__ = {};
187
187
  /* harmony import */ var _smart_array_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2973);
188
188
  /* harmony import */ var _smart_array_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_smart_array_js__WEBPACK_IMPORTED_MODULE_12__);
189
189
 
190
- /* Smart UI v11.0.54 (2022-01-09)
190
+ /* Smart UI v12.0.0 (2022-01-16)
191
191
  Copyright (c) 2011-2021 jQWidgets.
192
192
  License: https://htmlelements.com/license/ */ //
193
193
 
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
106
106
  /* harmony import */ var _smart_breadcrumb_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1731);
107
107
  /* harmony import */ var _smart_breadcrumb_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_breadcrumb_js__WEBPACK_IMPORTED_MODULE_3__);
108
108
 
109
- /* Smart UI v11.0.54 (2022-01-09)
109
+ /* Smart UI v12.0.0 (2022-01-16)
110
110
  Copyright (c) 2011-2021 jQWidgets.
111
111
  License: https://htmlelements.com/license/ */ //
112
112
 
@@ -142,7 +142,7 @@ var __webpack_exports__ = {};
142
142
  /* harmony import */ var _smart_led_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9894);
143
143
  /* harmony import */ var _smart_led_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_smart_led_js__WEBPACK_IMPORTED_MODULE_7__);
144
144
 
145
- /* Smart UI v11.0.54 (2022-01-09)
145
+ /* Smart UI v12.0.0 (2022-01-16)
146
146
  Copyright (c) 2011-2021 jQWidgets.
147
147
  License: https://htmlelements.com/license/ */ //
148
148
 
@@ -88,7 +88,7 @@ var __webpack_exports__ = {};
88
88
  /* harmony import */ var _smart_buttongroup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6867);
89
89
  /* harmony import */ var _smart_buttongroup_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_smart_buttongroup_js__WEBPACK_IMPORTED_MODULE_1__);
90
90
 
91
- /* Smart UI v11.0.54 (2022-01-09)
91
+ /* Smart UI v12.0.0 (2022-01-16)
92
92
  Copyright (c) 2011-2021 jQWidgets.
93
93
  License: https://htmlelements.com/license/ */ //
94
94