@progress/kendo-themes-html 6.7.0-dev.0 → 6.7.0-dev.2

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 (705) hide show
  1. package/dist/cjs/action-sheet/tests/action-sheet-data-table.js +100 -88
  2. package/dist/cjs/action-sheet/tests/action-sheet-date-time-selector.js +63 -26
  3. package/dist/cjs/action-sheet/tests/action-sheet-time-selector.js +51 -14
  4. package/dist/cjs/action-sheet/tests/action-sheet-treeview.js +56 -44
  5. package/dist/cjs/captcha/captcha.spec.js +55 -25
  6. package/dist/cjs/captcha/tests/captcha-loading.js +59 -29
  7. package/dist/cjs/captcha/tests/captcha.js +59 -29
  8. package/dist/cjs/chat/chat-message-group.js +261 -0
  9. package/dist/cjs/chat/chat-message.js +112 -0
  10. package/dist/cjs/chat/chat-quick-replies.js +71 -0
  11. package/dist/cjs/chat/chat.spec.js +6859 -0
  12. package/dist/cjs/chat/tests/chat-rtl.js +2613 -235
  13. package/dist/cjs/chat/tests/chat-scrollable-deck.js +2802 -206
  14. package/dist/cjs/chat/tests/chat.js +1117 -790
  15. package/dist/cjs/datetime-selector/datetime-selector.spec.js +96 -23
  16. package/dist/cjs/datetime-selector/tests/datetime-selector.js +94 -85
  17. package/dist/cjs/datetimepicker/datetimepicker.spec.js +75 -66
  18. package/dist/cjs/datetimepicker/templates/datetimepicker-adaptive.js +77 -68
  19. package/dist/cjs/datetimepicker/templates/datetimepicker-normal.js +77 -68
  20. package/dist/cjs/datetimepicker/templates/datetimepicker-popup.js +77 -68
  21. package/dist/cjs/datetimepicker/tests/datetimepicker-adaptive.js +87 -78
  22. package/dist/cjs/datetimepicker/tests/datetimepicker-flat.js +92 -83
  23. package/dist/cjs/datetimepicker/tests/datetimepicker-opened.js +89 -80
  24. package/dist/cjs/datetimepicker/tests/datetimepicker-outline.js +92 -83
  25. package/dist/cjs/datetimepicker/tests/datetimepicker-size-rounded.js +90 -81
  26. package/dist/cjs/datetimepicker/tests/datetimepicker-solid.js +92 -83
  27. package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +63 -51
  28. package/dist/cjs/dropdowngrid/templates/dropdowngrid-adaptive.js +65 -53
  29. package/dist/cjs/dropdowngrid/templates/dropdowngrid-normal.js +65 -53
  30. package/dist/cjs/dropdowngrid/templates/dropdowngrid-popup.js +103 -91
  31. package/dist/cjs/dropdowngrid/tests/dropdowngrid-adaptive.js +75 -63
  32. package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +80 -68
  33. package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +113 -101
  34. package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +82 -70
  35. package/dist/cjs/dropdowngrid/tests/dropdowngrid-size-rounded.js +78 -66
  36. package/dist/cjs/dropdowngrid/tests/dropdowngrid-solid.js +80 -68
  37. package/dist/cjs/dropdowntree/dropdowntree.spec.js +35 -23
  38. package/dist/cjs/dropdowntree/templates/dropdowntree-adaptive.js +37 -25
  39. package/dist/cjs/dropdowntree/templates/dropdowntree-normal.js +37 -25
  40. package/dist/cjs/dropdowntree/templates/dropdowntree-popup.js +47 -35
  41. package/dist/cjs/dropdowntree/tests/dropdowntree-adaptive.js +47 -35
  42. package/dist/cjs/dropdowntree/tests/dropdowntree-flat.js +52 -40
  43. package/dist/cjs/dropdowntree/tests/dropdowntree-opened.js +57 -45
  44. package/dist/cjs/dropdowntree/tests/dropdowntree-outline.js +52 -40
  45. package/dist/cjs/dropdowntree/tests/dropdowntree-size-rounded.js +50 -38
  46. package/dist/cjs/dropdowntree/tests/dropdowntree-solid.js +52 -40
  47. package/dist/cjs/editor/editor-toolbar.js +48 -43
  48. package/dist/cjs/editor/tests/editor-find-replace.js +48 -43
  49. package/dist/cjs/editor/tests/editor-table-wizard.js +129 -127
  50. package/dist/cjs/editor/tests/editor-view-source.js +14 -12
  51. package/dist/cjs/editor/tests/editor.js +48 -43
  52. package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +84 -67
  53. package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +84 -67
  54. package/dist/cjs/filemanager/tests/filemanager-gridview.js +149 -132
  55. package/dist/cjs/filemanager/tests/filemanager-listview.js +103 -86
  56. package/dist/cjs/filemanager/tests/filemanager-preview.js +202 -185
  57. package/dist/cjs/filemanager/tests/filemanager-toolbar.js +605 -580
  58. package/dist/cjs/filter/tests/filter.js +48 -43
  59. package/dist/cjs/floating-label/tests/floating-label-flat.js +43 -41
  60. package/dist/cjs/floating-label/tests/floating-label-outline.js +43 -41
  61. package/dist/cjs/floating-label/tests/floating-label.js +43 -41
  62. package/dist/cjs/form/tests/form-field-dateinputs.js +111 -102
  63. package/dist/cjs/form/tests/form-field-dropdowns.js +82 -47
  64. package/dist/cjs/form/tests/form-field-fieldset.js +68 -66
  65. package/dist/cjs/form/tests/form-field-inputs-rtl.js +239 -222
  66. package/dist/cjs/form/tests/form-field-inputs.js +240 -223
  67. package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +204 -195
  68. package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +288 -286
  69. package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +48 -43
  70. package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +48 -43
  71. package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +48 -43
  72. package/dist/cjs/gantt/tests/gantt-react.js +48 -43
  73. package/dist/cjs/gantt/tests/gantt-row-reordering.js +48 -43
  74. package/dist/cjs/gantt/tests/gantt.js +48 -43
  75. package/dist/cjs/grid/tests/grid-adaptive-column-menu.js +58 -50
  76. package/dist/cjs/grid/tests/grid-adaptive-filter-bool.js +28 -19
  77. package/dist/cjs/grid/tests/grid-adaptive-filter.js +37 -28
  78. package/dist/cjs/grid/tests/grid-adaptive-pager.js +149 -92
  79. package/dist/cjs/grid/tests/grid-adaptive-search.js +48 -43
  80. package/dist/cjs/grid/tests/grid-angular.js +180 -87
  81. package/dist/cjs/grid/tests/grid-column-reordering-actions.js +580 -506
  82. package/dist/cjs/grid/tests/grid-column-reordering.js +585 -511
  83. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +728 -547
  84. package/dist/cjs/grid/tests/grid-editing-custom-editor.js +275 -223
  85. package/dist/cjs/grid/tests/grid-editing-inline-angular.js +48 -43
  86. package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +48 -43
  87. package/dist/cjs/grid/tests/grid-editing.js +48 -43
  88. package/dist/cjs/grid/tests/grid-filter-row-angular.js +48 -43
  89. package/dist/cjs/grid/tests/grid-filter-row-blazor.js +48 -43
  90. package/dist/cjs/grid/tests/grid-filter-row.js +160 -151
  91. package/dist/cjs/grid/tests/grid-grouping-actions.js +546 -472
  92. package/dist/cjs/grid/tests/grid-grouping.js +48 -43
  93. package/dist/cjs/grid/tests/grid-pager.js +235 -178
  94. package/dist/cjs/grid/tests/grid-row-reordering.js +538 -464
  95. package/dist/cjs/grid/tests/grid-rows-resizing.js +48 -43
  96. package/dist/cjs/grid/tests/grid-rtl-angular.js +181 -88
  97. package/dist/cjs/grid/tests/grid-rtl.js +181 -88
  98. package/dist/cjs/grid/tests/grid-selection-aggregates.js +183 -90
  99. package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +670 -628
  100. package/dist/cjs/grid/tests/grid-size-sm.js +670 -628
  101. package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +295 -238
  102. package/dist/cjs/grid/tests/grid-toolbar.js +48 -43
  103. package/dist/cjs/grid/tests/grid-virtualization.js +452 -407
  104. package/dist/cjs/grid/tests/grid.js +181 -88
  105. package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +48 -43
  106. package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +48 -43
  107. package/dist/cjs/imageeditor/tests/imageeditor.js +48 -43
  108. package/dist/cjs/index.js +3301 -2760
  109. package/dist/cjs/listgroup/listgroup-item.spec.js +78 -0
  110. package/dist/cjs/listgroup/listgroup.spec.js +125 -0
  111. package/dist/cjs/listgroup/templates/listgroup-normal.js +136 -0
  112. package/dist/cjs/listgroup/tests/listgroup.js +145 -40
  113. package/dist/cjs/listview/listview.spec.js +162 -105
  114. package/dist/cjs/listview/tests/listview-layout.js +209 -152
  115. package/dist/cjs/listview/tests/listview-loading.js +180 -123
  116. package/dist/cjs/listview/tests/listview.js +195 -138
  117. package/dist/cjs/mediaplayer/tests/mediaplayer.js +48 -43
  118. package/dist/cjs/multiselect/multiselect.spec.js +737 -19
  119. package/dist/cjs/multiselect/templates/multiselect-adaptive.js +5802 -0
  120. package/dist/cjs/multiselect/templates/multiselect-arrow-button.js +5796 -0
  121. package/dist/cjs/multiselect/templates/multiselect-grouping.js +5814 -0
  122. package/dist/cjs/multiselect/{tests/multiselect-size.js → templates/multiselect-normal.js} +1260 -614
  123. package/dist/cjs/multiselect/templates/multiselect-popup.js +5808 -0
  124. package/dist/cjs/multiselect/templates/multiselect-value.js +5834 -0
  125. package/dist/cjs/multiselect/tests/multiselect-adaptive.js +5842 -0
  126. package/dist/cjs/multiselect/tests/multiselect-flat.js +799 -148
  127. package/dist/cjs/multiselect/tests/multiselect-grouping.js +5850 -0
  128. package/dist/cjs/multiselect/tests/multiselect-opened.js +1175 -895
  129. package/dist/cjs/multiselect/tests/multiselect-outline.js +799 -148
  130. package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +5870 -0
  131. package/dist/cjs/multiselect/tests/{multiselect.js → multiselect-solid.js} +805 -142
  132. package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +54 -42
  133. package/dist/cjs/pager/index.js +143 -86
  134. package/dist/cjs/pager/pager.spec.js +143 -86
  135. package/dist/cjs/pager/tests/{pager-responsive.js → pager-adaptive.js} +169 -113
  136. package/dist/cjs/pager/tests/pager-sizes.js +163 -106
  137. package/dist/cjs/pager/tests/pager.js +153 -96
  138. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +204 -142
  139. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +214 -152
  140. package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +293 -124
  141. package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +204 -142
  142. package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +133 -121
  143. package/dist/cjs/pivotgrid/tests/pivotgrid-jquery-configurator.js +122 -110
  144. package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +48 -43
  145. package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +172 -160
  146. package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +298 -286
  147. package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +226 -214
  148. package/dist/cjs/pivotgrid/tests/pivotgrid-settings-top.js +356 -344
  149. package/dist/cjs/pivotgrid/tests/pivotgrid.js +337 -325
  150. package/dist/cjs/radio/templates/radio-inside-label.js +165 -0
  151. package/dist/cjs/radio/templates/radio-label.js +165 -0
  152. package/dist/cjs/radio/templates/radio-normal.js +162 -0
  153. package/dist/cjs/radio/tests/radio-size.js +23 -74
  154. package/dist/cjs/radio/tests/radio.js +44 -136
  155. package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +48 -43
  156. package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +48 -43
  157. package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +48 -43
  158. package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +48 -43
  159. package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +48 -43
  160. package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +48 -43
  161. package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +48 -43
  162. package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +48 -43
  163. package/dist/cjs/scheduler/tests/scheduler-angular-month.js +48 -43
  164. package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +48 -43
  165. package/dist/cjs/scheduler/tests/scheduler-angular.js +48 -43
  166. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +513 -458
  167. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +527 -472
  168. package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +48 -43
  169. package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +48 -43
  170. package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +48 -43
  171. package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +48 -43
  172. package/dist/cjs/scheduler/tests/scheduler-react-day.js +48 -43
  173. package/dist/cjs/scheduler/tests/scheduler-react-month.js +48 -43
  174. package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +48 -43
  175. package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +48 -43
  176. package/dist/cjs/scheduler/tests/scheduler-react-week.js +48 -43
  177. package/dist/cjs/scheduler/tests/scheduler-year.js +48 -43
  178. package/dist/cjs/scheduler/tests/scheduler.js +48 -43
  179. package/dist/cjs/scrollview/{tests/scrollview-angular.js → scrollview-spec.js} +98 -84
  180. package/dist/cjs/scrollview/tests/scrollview.js +108 -89
  181. package/dist/cjs/skeleton/index.js +68 -0
  182. package/dist/cjs/skeleton/skeleton.spec.js +70 -0
  183. package/dist/cjs/skeleton/tests/skeleton.js +58 -13
  184. package/dist/cjs/split-button/split-button.spec.js +124 -55
  185. package/dist/cjs/split-button/{tests/split-button.js → templates/icon-split-button.js} +132 -100
  186. package/dist/cjs/split-button/templates/icon-text-split-button.js +4553 -0
  187. package/dist/cjs/split-button/{tests/split-button-size.js → templates/split-button-popup.js} +306 -147
  188. package/dist/cjs/split-button/templates/text-split-button.js +4553 -0
  189. package/dist/cjs/split-button/tests/split-button-flat.js +4763 -0
  190. package/dist/cjs/split-button/tests/split-button-opened.js +4770 -0
  191. package/dist/cjs/split-button/tests/split-button-outline.js +4763 -0
  192. package/dist/cjs/split-button/tests/split-button-size-rounded.js +4770 -0
  193. package/dist/cjs/split-button/tests/split-button-solid.js +4763 -0
  194. package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +172 -163
  195. package/dist/cjs/spreadsheet/tests/spreadsheet-dialog.js +216 -205
  196. package/dist/cjs/spreadsheet/tests/spreadsheet-filter-menu.js +46 -34
  197. package/dist/cjs/spreadsheet/tests/spreadsheet-tools-popup.js +48 -43
  198. package/dist/cjs/spreadsheet/tests/spreadsheet.js +48 -43
  199. package/dist/cjs/switch/switch.spec.js +17 -9
  200. package/dist/cjs/switch/templates/switch-checked.js +203 -0
  201. package/dist/cjs/switch/templates/switch-normal.js +203 -0
  202. package/dist/cjs/switch/tests/switch-size-rounded.js +51 -53
  203. package/dist/cjs/switch/tests/switch.js +49 -37
  204. package/dist/cjs/table/table-header.js +15 -3
  205. package/dist/cjs/table/templates/data-table-normal.js +489 -0
  206. package/dist/cjs/table/templates/table-list-virtualization.js +489 -0
  207. package/dist/cjs/table/templates/table-list.js +519 -0
  208. package/dist/cjs/table/templates/table-native.js +452 -0
  209. package/dist/cjs/table/tests/table-data-sizes.js +76 -175
  210. package/dist/cjs/table/tests/table-list-jquery.js +151 -139
  211. package/dist/cjs/table/tests/table-list-sizes.js +69 -154
  212. package/dist/cjs/table/tests/table-list-virtual.js +89 -76
  213. package/dist/cjs/table/tests/table-native-sizes.js +69 -144
  214. package/dist/cjs/table/tests/table-native-states.js +145 -58
  215. package/dist/cjs/taskboard/tests/taskboard-card.js +48 -43
  216. package/dist/cjs/taskboard/tests/taskboard-pane.js +48 -43
  217. package/dist/cjs/taskboard/tests/taskboard-rtl.js +48 -43
  218. package/dist/cjs/taskboard/tests/taskboard.js +48 -43
  219. package/dist/cjs/textarea/templates/textarea-normal.js +4621 -0
  220. package/dist/cjs/textarea/tests/textarea-flat.js +25 -27
  221. package/dist/cjs/textarea/tests/textarea-outline.js +25 -27
  222. package/dist/cjs/textarea/tests/textarea-size-rounded.js +4642 -0
  223. package/dist/cjs/textarea/tests/{textarea.js → textarea-solid.js} +30 -32
  224. package/dist/cjs/textarea/textarea.spec.js +4 -5
  225. package/dist/cjs/tilelayout/tests/tilelayout-resizing.js +190 -107
  226. package/dist/cjs/tilelayout/tests/tilelayout.js +231 -134
  227. package/dist/cjs/tilelayout/tilelayout-item-hint.spec.js +40 -0
  228. package/dist/cjs/tilelayout/{tests/tilelayout-react.js → tilelayout-item.spec.js} +61 -27
  229. package/dist/cjs/tilelayout/tilelayout.spec.js +72 -0
  230. package/dist/cjs/time-selector/templates/time-selector-all.js +4653 -0
  231. package/dist/cjs/time-selector/templates/time-selector-hour.js +4653 -0
  232. package/dist/cjs/time-selector/templates/time-selector-minute.js +4653 -0
  233. package/dist/cjs/time-selector/tests/time-selector.js +196 -165
  234. package/dist/cjs/time-selector/time-selector.spec.js +87 -14
  235. package/dist/cjs/timedurationpicker/tests/timedurationpicker-expanded.js +32 -23
  236. package/dist/cjs/timedurationpicker/tests/timedurationpicker.js +46 -37
  237. package/dist/cjs/timedurationpicker/timedurationpicker.spec.js +24 -15
  238. package/dist/cjs/timepicker/templates/timepicker-adaptive.js +67 -58
  239. package/dist/cjs/timepicker/templates/timepicker-normal.js +67 -58
  240. package/dist/cjs/timepicker/templates/timepicker-popup.js +67 -58
  241. package/dist/cjs/timepicker/tests/timepicker-adaptive.js +77 -68
  242. package/dist/cjs/timepicker/tests/timepicker-flat.js +82 -73
  243. package/dist/cjs/timepicker/tests/timepicker-opened.js +77 -68
  244. package/dist/cjs/timepicker/tests/timepicker-outline.js +82 -73
  245. package/dist/cjs/timepicker/tests/timepicker-solid.js +82 -73
  246. package/dist/cjs/timepicker/timepicker.spec.js +65 -56
  247. package/dist/cjs/toolbar/tests/toolbar-adaptive.js +48 -43
  248. package/dist/cjs/toolbar/tests/toolbar-angular.js +442 -425
  249. package/dist/cjs/toolbar/tests/toolbar-components.js +444 -427
  250. package/dist/cjs/toolbar/tests/toolbar-sizes.js +308 -295
  251. package/dist/cjs/toolbar/tests/toolbar.js +529 -504
  252. package/dist/cjs/toolbar/toolbar-angular.spec.js +48 -43
  253. package/dist/cjs/toolbar/toolbar.spec.js +48 -43
  254. package/dist/cjs/treeview/templates/treeview-checkboxes.js +4595 -0
  255. package/dist/cjs/treeview/templates/treeview-hierarchy.js +4595 -0
  256. package/dist/cjs/treeview/templates/treeview-icons.js +4595 -0
  257. package/dist/cjs/treeview/templates/treeview-normal.js +4586 -0
  258. package/dist/cjs/treeview/tests/treeview-size.js +38 -38
  259. package/dist/cjs/treeview/tests/treeview.js +117 -112
  260. package/dist/cjs/treeview/treeview.spec.js +17 -5
  261. package/dist/esm/action-sheet/tests/action-sheet-data-table.js +100 -88
  262. package/dist/esm/action-sheet/tests/action-sheet-date-time-selector.js +63 -26
  263. package/dist/esm/action-sheet/tests/action-sheet-time-selector.js +51 -14
  264. package/dist/esm/action-sheet/tests/action-sheet-treeview.js +56 -44
  265. package/dist/esm/captcha/captcha.spec.js +50 -20
  266. package/dist/esm/captcha/tests/captcha-loading.js +54 -24
  267. package/dist/esm/captcha/tests/captcha.js +54 -24
  268. package/dist/esm/chat/chat-message-group.js +239 -0
  269. package/dist/esm/chat/chat-message.js +90 -0
  270. package/dist/esm/chat/chat-quick-replies.js +49 -0
  271. package/dist/esm/chat/chat.spec.js +6843 -0
  272. package/dist/esm/chat/tests/chat-rtl.js +2624 -246
  273. package/dist/esm/chat/tests/chat-scrollable-deck.js +2799 -203
  274. package/dist/esm/chat/tests/chat.js +1113 -786
  275. package/dist/esm/datetime-selector/datetime-selector.spec.js +96 -23
  276. package/dist/esm/datetime-selector/tests/datetime-selector.js +95 -86
  277. package/dist/esm/datetimepicker/datetimepicker.spec.js +75 -66
  278. package/dist/esm/datetimepicker/templates/datetimepicker-adaptive.js +77 -68
  279. package/dist/esm/datetimepicker/templates/datetimepicker-normal.js +77 -68
  280. package/dist/esm/datetimepicker/templates/datetimepicker-popup.js +77 -68
  281. package/dist/esm/datetimepicker/tests/datetimepicker-adaptive.js +87 -78
  282. package/dist/esm/datetimepicker/tests/datetimepicker-flat.js +92 -83
  283. package/dist/esm/datetimepicker/tests/datetimepicker-opened.js +89 -80
  284. package/dist/esm/datetimepicker/tests/datetimepicker-outline.js +92 -83
  285. package/dist/esm/datetimepicker/tests/datetimepicker-size-rounded.js +90 -81
  286. package/dist/esm/datetimepicker/tests/datetimepicker-solid.js +92 -83
  287. package/dist/esm/dropdowngrid/dropdowngrid.spec.js +63 -51
  288. package/dist/esm/dropdowngrid/templates/dropdowngrid-adaptive.js +65 -53
  289. package/dist/esm/dropdowngrid/templates/dropdowngrid-normal.js +65 -53
  290. package/dist/esm/dropdowngrid/templates/dropdowngrid-popup.js +103 -91
  291. package/dist/esm/dropdowngrid/tests/dropdowngrid-adaptive.js +75 -63
  292. package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +80 -68
  293. package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +113 -101
  294. package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +82 -70
  295. package/dist/esm/dropdowngrid/tests/dropdowngrid-size-rounded.js +78 -66
  296. package/dist/esm/dropdowngrid/tests/dropdowngrid-solid.js +80 -68
  297. package/dist/esm/dropdowntree/dropdowntree.spec.js +35 -23
  298. package/dist/esm/dropdowntree/templates/dropdowntree-adaptive.js +37 -25
  299. package/dist/esm/dropdowntree/templates/dropdowntree-normal.js +37 -25
  300. package/dist/esm/dropdowntree/templates/dropdowntree-popup.js +47 -35
  301. package/dist/esm/dropdowntree/tests/dropdowntree-adaptive.js +47 -35
  302. package/dist/esm/dropdowntree/tests/dropdowntree-flat.js +52 -40
  303. package/dist/esm/dropdowntree/tests/dropdowntree-opened.js +57 -45
  304. package/dist/esm/dropdowntree/tests/dropdowntree-outline.js +52 -40
  305. package/dist/esm/dropdowntree/tests/dropdowntree-size-rounded.js +50 -38
  306. package/dist/esm/dropdowntree/tests/dropdowntree-solid.js +52 -40
  307. package/dist/esm/editor/editor-toolbar.js +49 -44
  308. package/dist/esm/editor/tests/editor-find-replace.js +57 -52
  309. package/dist/esm/editor/tests/editor-table-wizard.js +118 -116
  310. package/dist/esm/editor/tests/editor-view-source.js +13 -11
  311. package/dist/esm/editor/tests/editor.js +51 -46
  312. package/dist/esm/filemanager/tests/filemanager-contextmenu.js +87 -70
  313. package/dist/esm/filemanager/tests/filemanager-drag-hint.js +87 -70
  314. package/dist/esm/filemanager/tests/filemanager-gridview.js +152 -135
  315. package/dist/esm/filemanager/tests/filemanager-listview.js +106 -89
  316. package/dist/esm/filemanager/tests/filemanager-preview.js +205 -188
  317. package/dist/esm/filemanager/tests/filemanager-toolbar.js +651 -626
  318. package/dist/esm/filter/tests/filter.js +53 -48
  319. package/dist/esm/floating-label/tests/floating-label-flat.js +41 -39
  320. package/dist/esm/floating-label/tests/floating-label-outline.js +41 -39
  321. package/dist/esm/floating-label/tests/floating-label.js +41 -39
  322. package/dist/esm/form/tests/form-field-dateinputs.js +111 -102
  323. package/dist/esm/form/tests/form-field-dropdowns.js +82 -47
  324. package/dist/esm/form/tests/form-field-fieldset.js +54 -52
  325. package/dist/esm/form/tests/form-field-inputs-rtl.js +239 -222
  326. package/dist/esm/form/tests/form-field-inputs.js +240 -223
  327. package/dist/esm/gantt/tests/gantt-editing-popup-general.js +204 -195
  328. package/dist/esm/gantt/tests/gantt-editing-popup-other.js +241 -239
  329. package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +52 -47
  330. package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +52 -47
  331. package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +52 -47
  332. package/dist/esm/gantt/tests/gantt-react.js +51 -46
  333. package/dist/esm/gantt/tests/gantt-row-reordering.js +51 -46
  334. package/dist/esm/gantt/tests/gantt.js +51 -46
  335. package/dist/esm/grid/tests/grid-adaptive-column-menu.js +55 -47
  336. package/dist/esm/grid/tests/grid-adaptive-filter-bool.js +28 -19
  337. package/dist/esm/grid/tests/grid-adaptive-filter.js +37 -28
  338. package/dist/esm/grid/tests/grid-adaptive-pager.js +150 -93
  339. package/dist/esm/grid/tests/grid-adaptive-search.js +51 -46
  340. package/dist/esm/grid/tests/grid-angular.js +234 -141
  341. package/dist/esm/grid/tests/grid-column-reordering-actions.js +582 -508
  342. package/dist/esm/grid/tests/grid-column-reordering.js +587 -513
  343. package/dist/esm/grid/tests/grid-column-resizing-actions.js +730 -549
  344. package/dist/esm/grid/tests/grid-editing-custom-editor.js +275 -223
  345. package/dist/esm/grid/tests/grid-editing-inline-angular.js +51 -46
  346. package/dist/esm/grid/tests/grid-editing-inline-blazor.js +51 -46
  347. package/dist/esm/grid/tests/grid-editing.js +51 -46
  348. package/dist/esm/grid/tests/grid-filter-row-angular.js +51 -46
  349. package/dist/esm/grid/tests/grid-filter-row-blazor.js +51 -46
  350. package/dist/esm/grid/tests/grid-filter-row.js +160 -151
  351. package/dist/esm/grid/tests/grid-grouping-actions.js +548 -474
  352. package/dist/esm/grid/tests/grid-grouping.js +51 -46
  353. package/dist/esm/grid/tests/grid-pager.js +236 -179
  354. package/dist/esm/grid/tests/grid-row-reordering.js +540 -466
  355. package/dist/esm/grid/tests/grid-rows-resizing.js +51 -46
  356. package/dist/esm/grid/tests/grid-rtl-angular.js +216 -123
  357. package/dist/esm/grid/tests/grid-rtl.js +212 -119
  358. package/dist/esm/grid/tests/grid-selection-aggregates.js +222 -129
  359. package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +615 -573
  360. package/dist/esm/grid/tests/grid-size-sm.js +615 -573
  361. package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +296 -239
  362. package/dist/esm/grid/tests/grid-toolbar.js +51 -46
  363. package/dist/esm/grid/tests/grid-virtualization.js +399 -356
  364. package/dist/esm/grid/tests/grid.js +221 -128
  365. package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +56 -51
  366. package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +56 -51
  367. package/dist/esm/imageeditor/tests/imageeditor.js +51 -46
  368. package/dist/esm/index.js +3301 -2760
  369. package/dist/esm/listgroup/listgroup-item.spec.js +56 -0
  370. package/dist/esm/listgroup/listgroup.spec.js +103 -0
  371. package/dist/esm/listgroup/templates/listgroup-normal.js +114 -0
  372. package/dist/esm/listgroup/tests/listgroup.js +145 -40
  373. package/dist/esm/listview/listview.spec.js +163 -106
  374. package/dist/esm/listview/tests/listview-layout.js +210 -153
  375. package/dist/esm/listview/tests/listview-loading.js +181 -124
  376. package/dist/esm/listview/tests/listview.js +196 -139
  377. package/dist/esm/mediaplayer/tests/mediaplayer.js +51 -46
  378. package/dist/esm/multiselect/multiselect.spec.js +737 -19
  379. package/dist/esm/multiselect/templates/multiselect-adaptive.js +5786 -0
  380. package/dist/esm/multiselect/templates/multiselect-arrow-button.js +5780 -0
  381. package/dist/esm/multiselect/templates/multiselect-grouping.js +5798 -0
  382. package/dist/esm/multiselect/{tests/multiselect-size.js → templates/multiselect-normal.js} +1223 -577
  383. package/dist/esm/multiselect/templates/multiselect-popup.js +5792 -0
  384. package/dist/esm/multiselect/templates/multiselect-value.js +5818 -0
  385. package/dist/esm/multiselect/tests/multiselect-adaptive.js +5826 -0
  386. package/dist/esm/multiselect/tests/multiselect-flat.js +799 -148
  387. package/dist/esm/multiselect/tests/multiselect-grouping.js +5834 -0
  388. package/dist/esm/multiselect/tests/multiselect-opened.js +1161 -881
  389. package/dist/esm/multiselect/tests/multiselect-outline.js +799 -148
  390. package/dist/esm/multiselect/tests/multiselect-size-rounded.js +5854 -0
  391. package/dist/esm/multiselect/tests/{multiselect.js → multiselect-solid.js} +801 -138
  392. package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +54 -42
  393. package/dist/esm/pager/index.js +144 -87
  394. package/dist/esm/pager/pager.spec.js +144 -87
  395. package/dist/esm/pager/tests/{pager-responsive.js → pager-adaptive.js} +166 -110
  396. package/dist/esm/pager/tests/pager-sizes.js +164 -107
  397. package/dist/esm/pager/tests/pager.js +154 -97
  398. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +206 -144
  399. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +216 -154
  400. package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +294 -125
  401. package/dist/esm/pdf-viewer/tests/pdf-viewer.js +206 -144
  402. package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +133 -121
  403. package/dist/esm/pivotgrid/tests/pivotgrid-jquery-configurator.js +122 -110
  404. package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +55 -50
  405. package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +172 -160
  406. package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +298 -286
  407. package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +226 -214
  408. package/dist/esm/pivotgrid/tests/pivotgrid-settings-top.js +356 -344
  409. package/dist/esm/pivotgrid/tests/pivotgrid.js +337 -325
  410. package/dist/esm/radio/templates/radio-inside-label.js +143 -0
  411. package/dist/esm/radio/templates/radio-label.js +143 -0
  412. package/dist/esm/radio/templates/radio-normal.js +140 -0
  413. package/dist/esm/radio/tests/radio-size.js +23 -74
  414. package/dist/esm/radio/tests/radio.js +44 -136
  415. package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +51 -46
  416. package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +51 -46
  417. package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +51 -46
  418. package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +51 -46
  419. package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +51 -46
  420. package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +51 -46
  421. package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +51 -46
  422. package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +51 -46
  423. package/dist/esm/scheduler/tests/scheduler-angular-month.js +51 -46
  424. package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +51 -46
  425. package/dist/esm/scheduler/tests/scheduler-angular.js +51 -46
  426. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +480 -425
  427. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +494 -439
  428. package/dist/esm/scheduler/tests/scheduler-flex-layout.js +51 -46
  429. package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +51 -46
  430. package/dist/esm/scheduler/tests/scheduler-jquery-month.js +51 -46
  431. package/dist/esm/scheduler/tests/scheduler-react-agenda.js +51 -46
  432. package/dist/esm/scheduler/tests/scheduler-react-day.js +51 -46
  433. package/dist/esm/scheduler/tests/scheduler-react-month.js +51 -46
  434. package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +51 -46
  435. package/dist/esm/scheduler/tests/scheduler-react-timeline.js +51 -46
  436. package/dist/esm/scheduler/tests/scheduler-react-week.js +51 -46
  437. package/dist/esm/scheduler/tests/scheduler-year.js +51 -46
  438. package/dist/esm/scheduler/tests/scheduler.js +51 -46
  439. package/dist/esm/scrollview/{tests/scrollview-angular.js → scrollview-spec.js} +94 -80
  440. package/dist/esm/scrollview/tests/scrollview.js +108 -89
  441. package/dist/esm/skeleton/index.js +46 -0
  442. package/dist/esm/skeleton/skeleton.spec.js +48 -0
  443. package/dist/esm/skeleton/tests/skeleton.js +54 -11
  444. package/dist/esm/split-button/split-button.spec.js +124 -55
  445. package/dist/esm/split-button/{tests/split-button.js → templates/icon-split-button.js} +128 -96
  446. package/dist/esm/split-button/{tests/split-button-size.js → templates/icon-text-split-button.js} +128 -157
  447. package/dist/esm/split-button/templates/split-button-popup.js +4725 -0
  448. package/dist/esm/{scrollview/tests/scrollview-blazor.js → split-button/templates/text-split-button.js} +327 -91
  449. package/dist/esm/split-button/tests/split-button-flat.js +4747 -0
  450. package/dist/esm/split-button/tests/split-button-opened.js +4754 -0
  451. package/dist/esm/split-button/tests/split-button-outline.js +4747 -0
  452. package/dist/esm/split-button/tests/split-button-size-rounded.js +4754 -0
  453. package/dist/esm/split-button/tests/split-button-solid.js +4747 -0
  454. package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +172 -163
  455. package/dist/esm/spreadsheet/tests/spreadsheet-dialog.js +211 -200
  456. package/dist/esm/spreadsheet/tests/spreadsheet-filter-menu.js +46 -34
  457. package/dist/esm/spreadsheet/tests/spreadsheet-tools-popup.js +51 -46
  458. package/dist/esm/spreadsheet/tests/spreadsheet.js +51 -46
  459. package/dist/esm/switch/switch.spec.js +17 -9
  460. package/dist/esm/switch/templates/switch-checked.js +181 -0
  461. package/dist/esm/switch/templates/switch-normal.js +181 -0
  462. package/dist/esm/switch/tests/switch-size-rounded.js +49 -51
  463. package/dist/esm/switch/tests/switch.js +48 -36
  464. package/dist/esm/table/table-header.js +15 -3
  465. package/dist/esm/table/templates/data-table-normal.js +467 -0
  466. package/dist/esm/table/templates/table-list-virtualization.js +467 -0
  467. package/dist/esm/table/templates/table-list.js +497 -0
  468. package/dist/esm/table/templates/table-native.js +430 -0
  469. package/dist/esm/table/tests/table-data-sizes.js +76 -175
  470. package/dist/esm/table/tests/table-list-jquery.js +151 -139
  471. package/dist/esm/table/tests/table-list-sizes.js +69 -154
  472. package/dist/esm/table/tests/table-list-virtual.js +89 -76
  473. package/dist/esm/table/tests/table-native-sizes.js +70 -145
  474. package/dist/esm/table/tests/table-native-states.js +145 -58
  475. package/dist/esm/taskboard/tests/taskboard-card.js +51 -46
  476. package/dist/esm/taskboard/tests/taskboard-pane.js +55 -50
  477. package/dist/esm/taskboard/tests/taskboard-rtl.js +51 -46
  478. package/dist/esm/taskboard/tests/taskboard.js +51 -46
  479. package/dist/esm/textarea/templates/textarea-normal.js +4605 -0
  480. package/dist/esm/textarea/tests/textarea-flat.js +23 -25
  481. package/dist/esm/textarea/tests/textarea-outline.js +23 -25
  482. package/dist/esm/textarea/tests/textarea-size-rounded.js +4626 -0
  483. package/dist/esm/textarea/tests/{textarea.js → textarea-solid.js} +26 -28
  484. package/dist/esm/textarea/textarea.spec.js +4 -5
  485. package/dist/esm/tilelayout/tests/tilelayout-resizing.js +175 -102
  486. package/dist/esm/tilelayout/tests/tilelayout.js +216 -129
  487. package/dist/esm/tilelayout/tilelayout-item-hint.spec.js +20 -0
  488. package/dist/esm/tilelayout/{tests/tilelayout-react.js → tilelayout-item.spec.js} +50 -24
  489. package/dist/esm/tilelayout/tilelayout.spec.js +50 -0
  490. package/dist/esm/time-selector/templates/time-selector-all.js +4637 -0
  491. package/dist/esm/time-selector/templates/time-selector-hour.js +4637 -0
  492. package/dist/esm/time-selector/templates/time-selector-minute.js +4637 -0
  493. package/dist/esm/time-selector/tests/time-selector.js +197 -166
  494. package/dist/esm/time-selector/time-selector.spec.js +87 -14
  495. package/dist/esm/timedurationpicker/tests/timedurationpicker-expanded.js +32 -23
  496. package/dist/esm/timedurationpicker/tests/timedurationpicker.js +46 -37
  497. package/dist/esm/timedurationpicker/timedurationpicker.spec.js +24 -15
  498. package/dist/esm/timepicker/templates/timepicker-adaptive.js +67 -58
  499. package/dist/esm/timepicker/templates/timepicker-normal.js +67 -58
  500. package/dist/esm/timepicker/templates/timepicker-popup.js +67 -58
  501. package/dist/esm/timepicker/tests/timepicker-adaptive.js +77 -68
  502. package/dist/esm/timepicker/tests/timepicker-flat.js +82 -73
  503. package/dist/esm/timepicker/tests/timepicker-opened.js +77 -68
  504. package/dist/esm/timepicker/tests/timepicker-outline.js +82 -73
  505. package/dist/esm/timepicker/tests/timepicker-solid.js +82 -73
  506. package/dist/esm/timepicker/timepicker.spec.js +65 -56
  507. package/dist/esm/toolbar/tests/toolbar-adaptive.js +51 -46
  508. package/dist/esm/toolbar/tests/toolbar-angular.js +442 -425
  509. package/dist/esm/toolbar/tests/toolbar-components.js +444 -427
  510. package/dist/esm/toolbar/tests/toolbar-sizes.js +283 -270
  511. package/dist/esm/toolbar/tests/toolbar.js +529 -504
  512. package/dist/esm/toolbar/toolbar-angular.spec.js +49 -44
  513. package/dist/esm/toolbar/toolbar.spec.js +49 -44
  514. package/dist/esm/treeview/templates/treeview-checkboxes.js +4579 -0
  515. package/dist/esm/treeview/templates/treeview-hierarchy.js +4579 -0
  516. package/dist/esm/treeview/templates/treeview-icons.js +4579 -0
  517. package/dist/esm/treeview/templates/treeview-normal.js +4570 -0
  518. package/dist/esm/treeview/tests/treeview-size.js +38 -38
  519. package/dist/esm/treeview/tests/treeview.js +117 -112
  520. package/dist/esm/treeview/treeview.spec.js +17 -5
  521. package/dist/types/chat/chat-message-group.d.ts +22 -0
  522. package/dist/types/chat/chat-message.d.ts +22 -0
  523. package/dist/types/chat/chat-quick-replies.d.ts +13 -0
  524. package/dist/types/chat/chat.spec.d.ts +18 -0
  525. package/dist/types/chat/index.d.ts +4 -0
  526. package/dist/types/listgroup/index.d.ts +3 -0
  527. package/dist/types/listgroup/listgroup-item.spec.d.ts +25 -0
  528. package/dist/types/listgroup/listgroup.spec.d.ts +16 -0
  529. package/dist/types/listgroup/templates/listgroup-normal.d.ts +1 -0
  530. package/dist/types/multiselect/index.d.ts +6 -0
  531. package/dist/types/multiselect/multiselect.spec.d.ts +3 -0
  532. package/dist/types/multiselect/templates/multiselect-adaptive.d.ts +1 -0
  533. package/dist/types/multiselect/templates/multiselect-arrow-button.d.ts +1 -0
  534. package/dist/types/multiselect/templates/multiselect-grouping.d.ts +1 -0
  535. package/dist/types/multiselect/templates/multiselect-normal.d.ts +1 -0
  536. package/dist/types/multiselect/templates/multiselect-popup.d.ts +1 -0
  537. package/dist/types/multiselect/templates/multiselect-value.d.ts +1 -0
  538. package/dist/types/pager/pager.spec.d.ts +4 -2
  539. package/dist/types/radio/index.d.ts +3 -0
  540. package/dist/types/radio/templates/radio-inside-label.d.ts +1 -0
  541. package/dist/types/radio/templates/radio-label.d.ts +1 -0
  542. package/dist/types/radio/templates/radio-normal.d.ts +1 -0
  543. package/dist/types/scrollview/index.d.ts +1 -0
  544. package/dist/types/scrollview/scrollview-spec.d.ts +23 -0
  545. package/dist/types/skeleton/index.d.ts +1 -0
  546. package/dist/types/skeleton/skeleton.spec.d.ts +18 -0
  547. package/dist/types/split-button/index.d.ts +4 -0
  548. package/dist/types/split-button/split-button.spec.d.ts +3 -0
  549. package/dist/types/split-button/templates/icon-split-button.d.ts +1 -0
  550. package/dist/types/split-button/templates/icon-text-split-button.d.ts +1 -0
  551. package/dist/types/split-button/templates/split-button-popup.d.ts +1 -0
  552. package/dist/types/split-button/templates/text-split-button.d.ts +1 -0
  553. package/dist/types/split-button/tests/split-button-solid.d.ts +2 -0
  554. package/dist/types/switch/index.d.ts +2 -0
  555. package/dist/types/switch/switch.spec.d.ts +8 -4
  556. package/dist/types/switch/templates/switch-checked.d.ts +1 -0
  557. package/dist/types/switch/templates/switch-normal.d.ts +1 -0
  558. package/dist/types/table/index.d.ts +4 -0
  559. package/dist/types/table/templates/data-table-normal.d.ts +1 -0
  560. package/dist/types/table/templates/table-list-virtualization.d.ts +1 -0
  561. package/dist/types/table/templates/table-list.d.ts +1 -0
  562. package/dist/types/table/templates/table-native.d.ts +1 -0
  563. package/dist/types/textarea/index.d.ts +1 -0
  564. package/dist/types/textarea/templates/textarea-normal.d.ts +1 -0
  565. package/dist/types/textarea/tests/textarea-size-rounded.d.ts +2 -0
  566. package/dist/types/textarea/tests/textarea-solid.d.ts +2 -0
  567. package/dist/types/textarea/textarea.spec.d.ts +2 -2
  568. package/dist/types/tilelayout/index.d.ts +3 -0
  569. package/dist/types/tilelayout/tilelayout-item-hint.spec.d.ts +13 -0
  570. package/dist/types/tilelayout/tilelayout-item.spec.d.ts +17 -0
  571. package/dist/types/tilelayout/tilelayout.spec.d.ts +18 -0
  572. package/dist/types/time-selector/index.d.ts +3 -0
  573. package/dist/types/time-selector/templates/time-selector-all.d.ts +1 -0
  574. package/dist/types/time-selector/templates/time-selector-hour.d.ts +1 -0
  575. package/dist/types/time-selector/templates/time-selector-minute.d.ts +1 -0
  576. package/dist/types/treeview/index.d.ts +4 -0
  577. package/dist/types/treeview/templates/treeview-checkboxes.d.ts +1 -0
  578. package/dist/types/treeview/templates/treeview-hierarchy.d.ts +1 -0
  579. package/dist/types/treeview/templates/treeview-icons.d.ts +1 -0
  580. package/dist/types/treeview/templates/treeview-normal.d.ts +1 -0
  581. package/package.json +2 -2
  582. package/src/captcha/captcha.spec.tsx +2 -4
  583. package/src/chat/chat-message-group.tsx +63 -0
  584. package/src/chat/chat-message.tsx +58 -0
  585. package/src/chat/chat-quick-replies.tsx +54 -0
  586. package/src/chat/chat.spec.tsx +88 -0
  587. package/src/chat/index.ts +4 -0
  588. package/src/chat/tests/chat-rtl.tsx +45 -84
  589. package/src/chat/tests/chat-scrollable-deck.tsx +42 -56
  590. package/src/chat/tests/chat.tsx +85 -150
  591. package/src/grid/tests/grid-adaptive-pager.tsx +2 -2
  592. package/src/grid/tests/grid-angular.tsx +2 -1
  593. package/src/grid/tests/grid-rtl-angular.tsx +3 -2
  594. package/src/grid/tests/grid-rtl.tsx +3 -2
  595. package/src/grid/tests/grid-selection-aggregates.tsx +5 -4
  596. package/src/grid/tests/grid-size-sm-comp-sm.tsx +3 -2
  597. package/src/grid/tests/grid-size-sm.tsx +3 -2
  598. package/src/grid/tests/grid-sticky-columns-rtl.tsx +1 -1
  599. package/src/grid/tests/grid-virtualization.tsx +202 -200
  600. package/src/grid/tests/grid.tsx +3 -2
  601. package/src/listgroup/index.ts +3 -0
  602. package/src/listgroup/listgroup-item.spec.tsx +69 -0
  603. package/src/listgroup/listgroup.spec.tsx +62 -0
  604. package/src/listgroup/templates/listgroup-normal.tsx +12 -0
  605. package/src/listgroup/tests/listgroup.tsx +35 -38
  606. package/src/multiselect/index.ts +6 -0
  607. package/src/multiselect/multiselect.spec.tsx +22 -0
  608. package/src/multiselect/templates/multiselect-adaptive.tsx +8 -0
  609. package/src/multiselect/templates/multiselect-arrow-button.tsx +3 -0
  610. package/src/multiselect/templates/multiselect-grouping.tsx +23 -0
  611. package/src/multiselect/templates/multiselect-normal.tsx +3 -0
  612. package/src/multiselect/templates/multiselect-popup.tsx +16 -0
  613. package/src/multiselect/templates/multiselect-value.tsx +12 -0
  614. package/src/multiselect/tests/multiselect-adaptive.tsx +33 -0
  615. package/src/multiselect/tests/multiselect-flat.tsx +28 -124
  616. package/src/multiselect/tests/multiselect-grouping.tsx +28 -0
  617. package/src/multiselect/tests/multiselect-opened.tsx +3 -36
  618. package/src/multiselect/tests/multiselect-outline.tsx +28 -124
  619. package/src/multiselect/tests/multiselect-size-rounded.tsx +32 -0
  620. package/src/multiselect/tests/multiselect-solid.tsx +79 -0
  621. package/src/pager/pager.spec.tsx +36 -29
  622. package/src/pager/tests/pager-adaptive.tsx +25 -0
  623. package/src/radio/index.ts +3 -0
  624. package/src/radio/templates/radio-inside-label.tsx +10 -0
  625. package/src/radio/templates/radio-label.tsx +8 -0
  626. package/src/radio/templates/radio-normal.tsx +3 -0
  627. package/src/radio/tests/radio-size.tsx +11 -73
  628. package/src/radio/tests/radio.tsx +29 -142
  629. package/src/scrollview/index.ts +1 -0
  630. package/src/scrollview/scrollview-spec.tsx +134 -0
  631. package/src/scrollview/tests/scrollview.tsx +5 -119
  632. package/src/skeleton/index.tsx +1 -0
  633. package/src/skeleton/skeleton.spec.tsx +50 -0
  634. package/src/skeleton/tests/skeleton.tsx +11 -12
  635. package/src/split-button/index.ts +4 -0
  636. package/src/split-button/split-button.spec.tsx +47 -35
  637. package/src/split-button/templates/icon-split-button.tsx +3 -0
  638. package/src/split-button/templates/icon-text-split-button.tsx +3 -0
  639. package/src/split-button/templates/split-button-popup.tsx +17 -0
  640. package/src/split-button/templates/text-split-button.tsx +3 -0
  641. package/src/split-button/tests/split-button-flat.tsx +28 -0
  642. package/src/split-button/tests/split-button-opened.tsx +27 -0
  643. package/src/split-button/tests/split-button-outline.tsx +28 -0
  644. package/src/split-button/tests/split-button-size-rounded.tsx +39 -0
  645. package/src/split-button/tests/split-button-solid.tsx +29 -0
  646. package/src/switch/index.ts +2 -0
  647. package/src/switch/switch.spec.tsx +14 -12
  648. package/src/switch/templates/switch-checked.tsx +3 -0
  649. package/src/switch/templates/switch-normal.tsx +3 -0
  650. package/src/switch/tests/switch-size-rounded.tsx +23 -102
  651. package/src/switch/tests/switch.tsx +26 -51
  652. package/src/table/index.ts +5 -0
  653. package/src/table/templates/data-table-normal.tsx +76 -0
  654. package/src/table/templates/table-list-virtualization.tsx +79 -0
  655. package/src/table/templates/table-list.tsx +63 -0
  656. package/src/table/templates/table-native.tsx +64 -0
  657. package/src/table/tests/table-data-sizes.tsx +4 -226
  658. package/src/table/tests/table-list-sizes.tsx +4 -187
  659. package/src/table/tests/table-list-virtual.tsx +2 -78
  660. package/src/table/tests/table-native-sizes.tsx +4 -182
  661. package/src/table/tests/table-native-states.tsx +3 -5
  662. package/src/textarea/index.ts +1 -0
  663. package/src/textarea/templates/textarea-normal.tsx +3 -0
  664. package/src/textarea/tests/textarea-flat.tsx +17 -40
  665. package/src/textarea/tests/textarea-outline.tsx +17 -41
  666. package/src/textarea/tests/textarea-size-rounded.tsx +32 -0
  667. package/src/textarea/tests/textarea-solid.tsx +52 -0
  668. package/src/textarea/textarea.spec.tsx +4 -5
  669. package/src/tilelayout/index.ts +3 -0
  670. package/src/tilelayout/tests/tilelayout-resizing.tsx +8 -35
  671. package/src/tilelayout/tests/tilelayout.tsx +27 -87
  672. package/src/tilelayout/tilelayout-item-hint.spec.tsx +30 -0
  673. package/src/tilelayout/tilelayout-item.spec.tsx +69 -0
  674. package/src/tilelayout/tilelayout.spec.tsx +56 -0
  675. package/src/time-selector/index.ts +3 -0
  676. package/src/time-selector/templates/time-selector-all.tsx +23 -0
  677. package/src/time-selector/templates/time-selector-hour.tsx +23 -0
  678. package/src/time-selector/templates/time-selector-minute.tsx +23 -0
  679. package/src/time-selector/tests/time-selector.tsx +4 -39
  680. package/src/treeview/index.ts +4 -0
  681. package/src/treeview/templates/treeview-checkboxes.tsx +28 -0
  682. package/src/treeview/templates/treeview-hierarchy.tsx +30 -0
  683. package/src/treeview/templates/treeview-icons.tsx +30 -0
  684. package/src/treeview/templates/treeview-normal.tsx +13 -0
  685. package/src/treeview/tests/treeview-size.tsx +4 -41
  686. package/src/treeview/tests/treeview.tsx +11 -136
  687. package/dist/cjs/scrollview/tests/scrollview-blazor.js +0 -4317
  688. package/src/multiselect/tests/multiselect-size.tsx +0 -50
  689. package/src/multiselect/tests/multiselect.tsx +0 -176
  690. package/src/pager/tests/pager-responsive.tsx +0 -27
  691. package/src/scrollview/tests/scrollview-angular.tsx +0 -109
  692. package/src/scrollview/tests/scrollview-blazor.tsx +0 -120
  693. package/src/split-button/tests/split-button-size.tsx +0 -111
  694. package/src/split-button/tests/split-button.tsx +0 -87
  695. package/src/textarea/tests/textarea.tsx +0 -75
  696. package/src/tilelayout/tests/tilelayout-react.tsx +0 -44
  697. /package/dist/types/multiselect/tests/{multiselect-size.d.ts → multiselect-adaptive.d.ts} +0 -0
  698. /package/dist/types/multiselect/tests/{multiselect.d.ts → multiselect-grouping.d.ts} +0 -0
  699. /package/dist/types/{pager/tests/pager-responsive.d.ts → multiselect/tests/multiselect-size-rounded.d.ts} +0 -0
  700. /package/dist/types/{scrollview/tests/scrollview-angular.d.ts → multiselect/tests/multiselect-solid.d.ts} +0 -0
  701. /package/dist/types/{scrollview/tests/scrollview-blazor.d.ts → pager/tests/pager-adaptive.d.ts} +0 -0
  702. /package/dist/types/split-button/tests/{split-button-size.d.ts → split-button-flat.d.ts} +0 -0
  703. /package/dist/types/split-button/tests/{split-button.d.ts → split-button-opened.d.ts} +0 -0
  704. /package/dist/types/{textarea/tests/textarea.d.ts → split-button/tests/split-button-outline.d.ts} +0 -0
  705. /package/dist/types/{tilelayout/tests/tilelayout-react.d.ts → split-button/tests/split-button-size-rounded.d.ts} +0 -0
@@ -123,92 +123,11 @@ var kendoThemeMaps = {
123
123
  }
124
124
  };
125
125
 
126
- // src/avatar/avatar.spec.tsx
127
- import { jsx } from "react/jsx-runtime";
128
- var AVATAR_CLASSNAME = `k-avatar`;
129
- var states = [
130
- States.hover,
131
- States.focus,
132
- States.active,
133
- States.selected,
134
- States.disabled
135
- ];
136
- var options = {
137
- size: [Size.small, Size.medium, Size.large],
138
- rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
139
- fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
140
- themeColor: [
141
- ThemeColor.base,
142
- ThemeColor.primary,
143
- ThemeColor.secondary,
144
- ThemeColor.tertiary,
145
- ThemeColor.success,
146
- ThemeColor.warning,
147
- ThemeColor.error,
148
- ThemeColor.info,
149
- ThemeColor.light,
150
- ThemeColor.dark,
151
- ThemeColor.inverse
152
- ]
153
- };
154
- var defaultProps = {
155
- type: "text" /* TEXT */,
156
- size: Size.medium,
157
- rounded: Roundness.full,
158
- fillMode: FillMode.solid,
159
- themeColor: ThemeColor.primary,
160
- border: false
161
- };
162
- var Avatar = (props) => {
163
- const {
164
- size = defaultProps.size,
165
- rounded = defaultProps.rounded,
166
- fillMode = defaultProps.fillMode,
167
- themeColor = defaultProps.themeColor,
168
- type = defaultProps.type,
169
- border = defaultProps.border,
170
- ...other
171
- } = props;
172
- return /* @__PURE__ */ jsx(
173
- "div",
174
- {
175
- ...other,
176
- className: classNames(
177
- props.className,
178
- AVATAR_CLASSNAME,
179
- optionClassNames(AVATAR_CLASSNAME, {
180
- size,
181
- rounded,
182
- fillMode,
183
- themeColor
184
- }),
185
- {
186
- [`${AVATAR_CLASSNAME}-bordered`]: border
187
- }
188
- ),
189
- children: /* @__PURE__ */ jsx("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
190
- }
191
- );
192
- };
193
- Avatar.states = states;
194
- Avatar.options = options;
195
- Avatar.className = AVATAR_CLASSNAME;
196
- Avatar.defaultProps = defaultProps;
197
-
198
- // src/avatar/templates/avatar-icon.tsx
199
- import { jsx as jsx2 } from "react/jsx-runtime";
200
-
201
- // src/avatar/templates/avatar-text.tsx
202
- import { jsx as jsx3 } from "react/jsx-runtime";
203
-
204
- // src/avatar/templates/avatar-image.tsx
205
- import { jsx as jsx4 } from "react/jsx-runtime";
206
-
207
126
  // src/icon/font-icon.spec.tsx
208
- import { Fragment, jsx as jsx5 } from "react/jsx-runtime";
127
+ import { Fragment, jsx } from "react/jsx-runtime";
209
128
  var FONTICON_CLASSNAME = `k-icon`;
210
- var states2 = [];
211
- var options2 = {
129
+ var states = [];
130
+ var options = {
212
131
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
213
132
  themeColor: [
214
133
  ThemeColor.base,
@@ -223,7 +142,7 @@ var options2 = {
223
142
  ThemeColor.dark
224
143
  ]
225
144
  };
226
- var defaultProps2 = {};
145
+ var defaultProps = {};
227
146
  var FontIcon = (props) => {
228
147
  const {
229
148
  size,
@@ -234,9 +153,9 @@ var FontIcon = (props) => {
234
153
  ...other
235
154
  } = props;
236
155
  if (!icon) {
237
- return /* @__PURE__ */ jsx5(Fragment, {});
156
+ return /* @__PURE__ */ jsx(Fragment, {});
238
157
  }
239
- return /* @__PURE__ */ jsx5(
158
+ return /* @__PURE__ */ jsx(
240
159
  "span",
241
160
  {
242
161
  ...other,
@@ -257,17 +176,17 @@ var FontIcon = (props) => {
257
176
  }
258
177
  );
259
178
  };
260
- FontIcon.states = states2;
261
- FontIcon.options = options2;
179
+ FontIcon.states = states;
180
+ FontIcon.options = options;
262
181
  FontIcon.className = FONTICON_CLASSNAME;
263
- FontIcon.defaultProps = defaultProps2;
182
+ FontIcon.defaultProps = defaultProps;
264
183
  var font_icon_spec_default = FontIcon;
265
184
 
266
185
  // src/icon/svg-icon.spec.tsx
267
- import { Fragment as Fragment2, jsx as jsx6 } from "react/jsx-runtime";
186
+ import { Fragment as Fragment2, jsx as jsx2 } from "react/jsx-runtime";
268
187
  var SVGICON_CLASSNAME = `k-svg-icon`;
269
- var states3 = [];
270
- var options3 = {
188
+ var states2 = [];
189
+ var options2 = {
271
190
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
272
191
  themeColor: [
273
192
  ThemeColor.base,
@@ -282,7 +201,7 @@ var options3 = {
282
201
  ThemeColor.dark
283
202
  ]
284
203
  };
285
- var defaultProps3 = {
204
+ var defaultProps2 = {
286
205
  viewBox: "0 0 24 24"
287
206
  };
288
207
  var SvgIcon = (props) => {
@@ -291,15 +210,15 @@ var SvgIcon = (props) => {
291
210
  themeColor,
292
211
  rotate,
293
212
  flip,
294
- viewBox = defaultProps3.viewBox,
213
+ viewBox = defaultProps2.viewBox,
295
214
  icon,
296
215
  ...other
297
216
  } = props;
298
217
  if (!icon) {
299
- return /* @__PURE__ */ jsx6(Fragment2, {});
218
+ return /* @__PURE__ */ jsx2(Fragment2, {});
300
219
  }
301
220
  if (icon === "none") {
302
- /* @__PURE__ */ jsx6(
221
+ /* @__PURE__ */ jsx2(
303
222
  "span",
304
223
  {
305
224
  ...other,
@@ -312,7 +231,7 @@ var SvgIcon = (props) => {
312
231
  );
313
232
  }
314
233
  const name = typeof icon === "object" && icon.name && icon.name;
315
- return /* @__PURE__ */ jsx6(
234
+ return /* @__PURE__ */ jsx2(
316
235
  "span",
317
236
  {
318
237
  ...other,
@@ -330,7 +249,7 @@ var SvgIcon = (props) => {
330
249
  "k-flip-v": flip === "v" || flip === "both"
331
250
  }
332
251
  ),
333
- children: /* @__PURE__ */ jsx6(
252
+ children: /* @__PURE__ */ jsx2(
334
253
  "svg",
335
254
  {
336
255
  "aria-hidden": true,
@@ -344,10 +263,10 @@ var SvgIcon = (props) => {
344
263
  }
345
264
  );
346
265
  };
347
- SvgIcon.states = states3;
348
- SvgIcon.options = options3;
266
+ SvgIcon.states = states2;
267
+ SvgIcon.options = options2;
349
268
  SvgIcon.className = SVGICON_CLASSNAME;
350
- SvgIcon.defaultProps = defaultProps3;
269
+ SvgIcon.defaultProps = defaultProps2;
351
270
  var svg_icon_spec_default = SvgIcon;
352
271
 
353
272
  // node_modules/@progress/kendo-svg-icons/dist/index.es.js
@@ -4286,13 +4205,13 @@ var chartChoroplethIcon = {
4286
4205
  };
4287
4206
 
4288
4207
  // src/icon/icon.spec.tsx
4289
- import { Fragment as Fragment3, jsx as jsx7 } from "react/jsx-runtime";
4208
+ import { Fragment as Fragment3, jsx as jsx3 } from "react/jsx-runtime";
4290
4209
  var snakeToCamel = (str) => str.toLowerCase().replace(
4291
4210
  /([-_][a-z])/g,
4292
4211
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4293
4212
  );
4294
- var states4 = [];
4295
- var options4 = {
4213
+ var states3 = [];
4214
+ var options3 = {
4296
4215
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4297
4216
  themeColor: [
4298
4217
  ThemeColor.base,
@@ -4307,7 +4226,7 @@ var options4 = {
4307
4226
  ThemeColor.dark
4308
4227
  ]
4309
4228
  };
4310
- var defaultProps4 = {
4229
+ var defaultProps3 = {
4311
4230
  viewBox: "0 0 24 24",
4312
4231
  type: "svg"
4313
4232
  };
@@ -4316,42 +4235,42 @@ var Icon = (props) => {
4316
4235
  size,
4317
4236
  themeColor,
4318
4237
  icon,
4319
- type = defaultProps4.type,
4238
+ type = defaultProps3.type,
4320
4239
  rotate,
4321
4240
  flip,
4322
- viewBox = defaultProps4.viewBox,
4241
+ viewBox = defaultProps3.viewBox,
4323
4242
  ...other
4324
4243
  } = props;
4325
4244
  if (!icon) {
4326
- return /* @__PURE__ */ jsx7(Fragment3, {});
4245
+ return /* @__PURE__ */ jsx3(Fragment3, {});
4327
4246
  }
4328
4247
  if (type === "svg") {
4329
4248
  if (icon === "none") {
4330
- return /* @__PURE__ */ jsx7(svg_icon_spec_default, { ...other, icon, size });
4249
+ return /* @__PURE__ */ jsx3(svg_icon_spec_default, { ...other, icon, size });
4331
4250
  }
4332
4251
  const iconSVG = snakeToCamel(`${icon}-icon`);
4333
4252
  if (!index_es_exports[iconSVG]) {
4334
- return /* @__PURE__ */ jsx7(Fragment3, {});
4253
+ return /* @__PURE__ */ jsx3(Fragment3, {});
4335
4254
  }
4336
- return /* @__PURE__ */ jsx7(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4255
+ return /* @__PURE__ */ jsx3(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4337
4256
  }
4338
- return /* @__PURE__ */ jsx7(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4257
+ return /* @__PURE__ */ jsx3(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4339
4258
  };
4340
- Icon.states = states4;
4341
- Icon.options = options4;
4342
- Icon.defaultProps = defaultProps4;
4259
+ Icon.states = states3;
4260
+ Icon.options = options3;
4261
+ Icon.defaultProps = defaultProps3;
4343
4262
 
4344
4263
  // src/button/button.spec.tsx
4345
- import { Fragment as Fragment4, jsx as jsx8, jsxs } from "react/jsx-runtime";
4264
+ import { Fragment as Fragment4, jsx as jsx4, jsxs } from "react/jsx-runtime";
4346
4265
  var BUTTON_CLASSNAME = `k-button`;
4347
- var states5 = [
4266
+ var states4 = [
4348
4267
  States.hover,
4349
4268
  States.focus,
4350
4269
  States.active,
4351
4270
  States.selected,
4352
4271
  States.disabled
4353
4272
  ];
4354
- var options5 = {
4273
+ var options4 = {
4355
4274
  size: [Size.small, Size.medium, Size.large],
4356
4275
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4357
4276
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
@@ -4369,7 +4288,7 @@ var options5 = {
4369
4288
  ThemeColor.inverse
4370
4289
  ]
4371
4290
  };
4372
- var defaultProps5 = {
4291
+ var defaultProps4 = {
4373
4292
  size: Size.medium,
4374
4293
  rounded: Roundness.medium,
4375
4294
  fillMode: FillMode.solid,
@@ -4379,10 +4298,10 @@ var defaultProps5 = {
4379
4298
  };
4380
4299
  var Button = (props) => {
4381
4300
  const {
4382
- size = defaultProps5.size,
4383
- rounded = defaultProps5.rounded,
4384
- fillMode = defaultProps5.fillMode,
4385
- themeColor = defaultProps5.themeColor,
4301
+ size = defaultProps4.size,
4302
+ rounded = defaultProps4.rounded,
4303
+ fillMode = defaultProps4.fillMode,
4304
+ themeColor = defaultProps4.themeColor,
4386
4305
  hover,
4387
4306
  focus,
4388
4307
  active,
@@ -4391,8 +4310,8 @@ var Button = (props) => {
4391
4310
  icon,
4392
4311
  text,
4393
4312
  iconClassName,
4394
- showArrow = defaultProps5.showArrow,
4395
- arrowIconName = defaultProps5.arrowIconName,
4313
+ showArrow = defaultProps4.showArrow,
4314
+ arrowIconName = defaultProps4.arrowIconName,
4396
4315
  ...other
4397
4316
  } = props;
4398
4317
  const hasIcon = icon !== void 0;
@@ -4422,7 +4341,7 @@ var Button = (props) => {
4422
4341
  }
4423
4342
  ),
4424
4343
  children: [
4425
- icon && /* @__PURE__ */ jsx8(
4344
+ icon && /* @__PURE__ */ jsx4(
4426
4345
  Icon,
4427
4346
  {
4428
4347
  className: classNames(iconClassName, "k-button-icon"),
@@ -4430,37 +4349,37 @@ var Button = (props) => {
4430
4349
  }
4431
4350
  ),
4432
4351
  text ? /* @__PURE__ */ jsxs(Fragment4, { children: [
4433
- text && /* @__PURE__ */ jsx8("span", { className: "k-button-text", children: text }),
4352
+ text && /* @__PURE__ */ jsx4("span", { className: "k-button-text", children: text }),
4434
4353
  props.children
4435
- ] }) : props.children && /* @__PURE__ */ jsx8("span", { className: "k-button-text", children: props.children }),
4436
- showArrow && /* @__PURE__ */ jsx8("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx8(Icon, { icon: arrowIconName }) })
4354
+ ] }) : props.children && /* @__PURE__ */ jsx4("span", { className: "k-button-text", children: props.children }),
4355
+ showArrow && /* @__PURE__ */ jsx4("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx4(Icon, { icon: arrowIconName }) })
4437
4356
  ]
4438
4357
  }
4439
4358
  );
4440
4359
  };
4441
- Button.states = states5;
4442
- Button.options = options5;
4360
+ Button.states = states4;
4361
+ Button.options = options4;
4443
4362
  Button.className = BUTTON_CLASSNAME;
4444
- Button.defaultProps = defaultProps5;
4363
+ Button.defaultProps = defaultProps4;
4445
4364
 
4446
4365
  // src/button/templates/icon-button.tsx
4447
- import { jsx as jsx9 } from "react/jsx-runtime";
4366
+ import { jsx as jsx5 } from "react/jsx-runtime";
4448
4367
 
4449
4368
  // src/button/templates/icon-text-button.tsx
4450
- import { jsx as jsx10 } from "react/jsx-runtime";
4369
+ import { jsx as jsx6 } from "react/jsx-runtime";
4451
4370
 
4452
4371
  // src/button/templates/text-button.tsx
4453
- import { jsx as jsx11 } from "react/jsx-runtime";
4372
+ import { jsx as jsx7 } from "react/jsx-runtime";
4454
4373
 
4455
4374
  // src/card/card-callout.tsx
4456
- import { jsx as jsx12 } from "react/jsx-runtime";
4375
+ import { jsx as jsx8 } from "react/jsx-runtime";
4457
4376
  var CARDCALLOUT_CLASSNAME = `k-card-callout`;
4458
4377
  var CardCallout = (props) => {
4459
4378
  const {
4460
4379
  callout,
4461
4380
  ...other
4462
4381
  } = props;
4463
- return /* @__PURE__ */ jsx12(
4382
+ return /* @__PURE__ */ jsx8(
4464
4383
  "span",
4465
4384
  {
4466
4385
  ...other,
@@ -4476,15 +4395,15 @@ var CardCallout = (props) => {
4476
4395
  };
4477
4396
 
4478
4397
  // src/card/card.spec.tsx
4479
- import { Fragment as Fragment5, jsx as jsx13, jsxs as jsxs2 } from "react/jsx-runtime";
4398
+ import { Fragment as Fragment5, jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
4480
4399
  var CARD_CLASSNAME = `k-card`;
4481
- var states6 = [
4400
+ var states5 = [
4482
4401
  States.hover,
4483
4402
  States.focus,
4484
4403
  States.selected,
4485
4404
  States.disabled
4486
4405
  ];
4487
- var options6 = {
4406
+ var options5 = {
4488
4407
  themeColor: [
4489
4408
  ThemeColor.primary,
4490
4409
  ThemeColor.success,
@@ -4493,7 +4412,7 @@ var options6 = {
4493
4412
  ThemeColor.info
4494
4413
  ]
4495
4414
  };
4496
- var defaultProps6 = {};
4415
+ var defaultProps5 = {};
4497
4416
  var Card = (props) => {
4498
4417
  const {
4499
4418
  orientation,
@@ -4527,21 +4446,21 @@ var Card = (props) => {
4527
4446
  }
4528
4447
  ),
4529
4448
  children: [
4530
- callout && callout !== "true" && /* @__PURE__ */ jsx13(CardCallout, { callout }),
4531
- /* @__PURE__ */ jsx13(Fragment5, { children: props.children })
4449
+ callout && callout !== "true" && /* @__PURE__ */ jsx9(CardCallout, { callout }),
4450
+ /* @__PURE__ */ jsx9(Fragment5, { children: props.children })
4532
4451
  ]
4533
4452
  }
4534
4453
  );
4535
4454
  };
4536
- Card.states = states6;
4537
- Card.options = options6;
4455
+ Card.states = states5;
4456
+ Card.options = options5;
4538
4457
  Card.className = CARD_CLASSNAME;
4539
- Card.defaultProps = defaultProps6;
4458
+ Card.defaultProps = defaultProps5;
4540
4459
 
4541
4460
  // src/card/card-title.tsx
4542
- import { jsx as jsx14 } from "react/jsx-runtime";
4461
+ import { jsx as jsx10 } from "react/jsx-runtime";
4543
4462
  var CARDTITLE_CLASSNAME = `k-card-title`;
4544
- var states7 = [
4463
+ var states6 = [
4545
4464
  States.hover,
4546
4465
  States.focus
4547
4466
  ];
@@ -4551,7 +4470,7 @@ var CardTitle = (props) => {
4551
4470
  focus,
4552
4471
  ...other
4553
4472
  } = props;
4554
- return /* @__PURE__ */ jsx14(
4473
+ return /* @__PURE__ */ jsx10(
4555
4474
  "div",
4556
4475
  {
4557
4476
  ...other,
@@ -4569,13 +4488,13 @@ var CardTitle = (props) => {
4569
4488
  };
4570
4489
 
4571
4490
  // src/card/card-subtitle.tsx
4572
- import { jsx as jsx15 } from "react/jsx-runtime";
4491
+ import { jsx as jsx11 } from "react/jsx-runtime";
4573
4492
  var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
4574
4493
  var CardSubtitle = (props) => {
4575
4494
  const {
4576
4495
  ...other
4577
4496
  } = props;
4578
- return /* @__PURE__ */ jsx15(
4497
+ return /* @__PURE__ */ jsx11(
4579
4498
  "div",
4580
4499
  {
4581
4500
  ...other,
@@ -4589,16 +4508,16 @@ var CardSubtitle = (props) => {
4589
4508
  };
4590
4509
 
4591
4510
  // src/card/card-img.tsx
4592
- import { Fragment as Fragment6, jsx as jsx16 } from "react/jsx-runtime";
4511
+ import { Fragment as Fragment6, jsx as jsx12 } from "react/jsx-runtime";
4593
4512
 
4594
4513
  // src/card/card-header.tsx
4595
- import { Fragment as Fragment7, jsx as jsx17, jsxs as jsxs3 } from "react/jsx-runtime";
4514
+ import { Fragment as Fragment7, jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
4596
4515
 
4597
4516
  // src/card/card-footer.tsx
4598
- import { jsx as jsx18 } from "react/jsx-runtime";
4517
+ import { jsx as jsx14 } from "react/jsx-runtime";
4599
4518
 
4600
4519
  // src/card/card-body.tsx
4601
- import { Fragment as Fragment8, jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
4520
+ import { Fragment as Fragment8, jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
4602
4521
  var CARDBODY_CLASSNAME = `k-card-body`;
4603
4522
  var CardBody = (props) => {
4604
4523
  const {
@@ -4616,10 +4535,10 @@ var CardBody = (props) => {
4616
4535
  CARDBODY_CLASSNAME
4617
4536
  ),
4618
4537
  children: [
4619
- title && /* @__PURE__ */ jsx19(CardTitle, { children: title }),
4620
- subtitle && /* @__PURE__ */ jsx19(CardSubtitle, { children: subtitle }),
4621
- /* @__PURE__ */ jsx19(Fragment8, { children: props.children }),
4622
- details && /* @__PURE__ */ jsx19("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx19(
4538
+ title && /* @__PURE__ */ jsx15(CardTitle, { children: title }),
4539
+ subtitle && /* @__PURE__ */ jsx15(CardSubtitle, { children: subtitle }),
4540
+ /* @__PURE__ */ jsx15(Fragment8, { children: props.children }),
4541
+ details && /* @__PURE__ */ jsx15("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx15(
4623
4542
  Button,
4624
4543
  {
4625
4544
  className: "k-card-details",
@@ -4636,13 +4555,13 @@ var CardBody = (props) => {
4636
4555
  };
4637
4556
 
4638
4557
  // src/card/card-deck.tsx
4639
- import { jsx as jsx20 } from "react/jsx-runtime";
4558
+ import { jsx as jsx16 } from "react/jsx-runtime";
4640
4559
  var CARDDECK_CLASSNAME = `k-card-deck`;
4641
4560
  var CardDeck = (props) => {
4642
4561
  const {
4643
4562
  ...other
4644
4563
  } = props;
4645
- return /* @__PURE__ */ jsx20(
4564
+ return /* @__PURE__ */ jsx16(
4646
4565
  "div",
4647
4566
  {
4648
4567
  ...other,
@@ -4655,54 +4574,2731 @@ var CardDeck = (props) => {
4655
4574
  );
4656
4575
  };
4657
4576
 
4658
- // src/chat/tests/chat-scrollable-deck.tsx
4659
- import { Fragment as Fragment9, jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
4660
- var styles = `
4661
- /* needed for test */
4662
- .k-chat .k-bubble {
4663
- white-space: normal;
4577
+ // src/button-group/button-group.spec.tsx
4578
+ import { jsx as jsx17 } from "react/jsx-runtime";
4579
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
4580
+ var states7 = [
4581
+ States.disabled
4582
+ ];
4583
+ var options6 = {
4584
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
4585
+ };
4586
+ var defaultProps6 = {
4587
+ fillMode: FillMode.solid
4588
+ };
4589
+ var ButtonGroup = (props) => {
4590
+ const {
4591
+ fillMode = defaultProps6.fillMode,
4592
+ disabled,
4593
+ stretched,
4594
+ ...other
4595
+ } = props;
4596
+ return /* @__PURE__ */ jsx17(
4597
+ "div",
4598
+ {
4599
+ ...other,
4600
+ className: classNames(
4601
+ props.className,
4602
+ BUTTONGROUP_CLASSNAME,
4603
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
4604
+ fillMode
4605
+ }),
4606
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
4607
+ disabled
4608
+ }),
4609
+ {
4610
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
4611
+ }
4612
+ ),
4613
+ children: props.children
4664
4614
  }
4665
- `;
4666
- var chat_scrollable_deck_default = () => /* @__PURE__ */ jsxs5(Fragment9, { children: [
4667
- /* @__PURE__ */ jsx21("style", { children: styles }),
4668
- /* @__PURE__ */ jsx21("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ jsx21("section", { children: /* @__PURE__ */ jsx21("div", { className: "k-widget k-chat", children: /* @__PURE__ */ jsx21("div", { className: "k-message-list k-avatars", children: /* @__PURE__ */ jsxs5("div", { className: "k-message-list-content", children: [
4669
- /* @__PURE__ */ jsx21("div", { className: "k-timestamp", children: "Card Deck Scrollable" }),
4670
- /* @__PURE__ */ jsxs5("div", { className: "k-message-group", children: [
4671
- /* @__PURE__ */ jsx21("p", { className: "k-author", children: "Bruv" }),
4672
- /* @__PURE__ */ jsx21(Avatar, { type: "image", children: /* @__PURE__ */ jsx21("img", { src: "/packages/html/assets/avatar.jpg" }) }),
4673
- /* @__PURE__ */ jsxs5("div", { className: "k-message k-only", children: [
4674
- /* @__PURE__ */ jsx21("time", { className: "k-message-time", children: "Thu Feb 08 2018" }),
4675
- /* @__PURE__ */ jsx21("div", { className: "k-bubble", children: "Message before card deck" }),
4676
- /* @__PURE__ */ jsx21("span", { className: "k-message-status", children: "Seen" })
4677
- ] })
4678
- ] }),
4679
- /* @__PURE__ */ jsxs5("div", { className: "k-card-deck-scrollwrap", children: [
4680
- /* @__PURE__ */ jsx21(Button, { icon: "chevron-left" }),
4681
- /* @__PURE__ */ jsxs5(CardDeck, { children: [
4682
- /* @__PURE__ */ jsx21(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs5(CardBody, { children: [
4683
- /* @__PURE__ */ jsx21("h5", { className: "k-card-title", children: "Card Title" }),
4684
- /* @__PURE__ */ jsx21("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4685
- /* @__PURE__ */ jsx21("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4615
+ );
4616
+ };
4617
+ ButtonGroup.states = states7;
4618
+ ButtonGroup.options = options6;
4619
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
4620
+ ButtonGroup.defaultProps = defaultProps6;
4621
+
4622
+ // src/button-group/templates/icon-button-group.tsx
4623
+ import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
4624
+
4625
+ // src/button-group/templates/icon-text-button-group.tsx
4626
+ import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
4627
+
4628
+ // src/button-group/templates/text-button-group.tsx
4629
+ import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
4630
+
4631
+ // src/button-group/templates/mixed-button-group.tsx
4632
+ import { jsx as jsx21, jsxs as jsxs8 } from "react/jsx-runtime";
4633
+
4634
+ // src/input/input.spec.tsx
4635
+ import { jsx as jsx22 } from "react/jsx-runtime";
4636
+ var INPUT_CLASSNAME = `k-input`;
4637
+ var states8 = [
4638
+ States.hover,
4639
+ States.focus,
4640
+ States.valid,
4641
+ States.invalid,
4642
+ States.required,
4643
+ States.disabled,
4644
+ States.loading,
4645
+ States.readonly
4646
+ ];
4647
+ var options7 = {
4648
+ size: [Size.small, Size.medium, Size.large],
4649
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4650
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4651
+ };
4652
+ var defaultProps7 = {
4653
+ size: Size.medium,
4654
+ rounded: Size.medium,
4655
+ fillMode: FillMode.solid
4656
+ };
4657
+ var Input = (props) => {
4658
+ const {
4659
+ hover,
4660
+ focus,
4661
+ disabled,
4662
+ invalid,
4663
+ valid,
4664
+ loading,
4665
+ readonly,
4666
+ size = defaultProps7.size,
4667
+ rounded = defaultProps7.rounded,
4668
+ fillMode = defaultProps7.fillMode,
4669
+ ...other
4670
+ } = props;
4671
+ return /* @__PURE__ */ jsx22(
4672
+ "span",
4673
+ {
4674
+ ...other,
4675
+ className: classNames(
4676
+ props.className,
4677
+ INPUT_CLASSNAME,
4678
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
4679
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
4680
+ )
4681
+ }
4682
+ );
4683
+ };
4684
+ Input.states = states8;
4685
+ Input.options = options7;
4686
+ Input.className = INPUT_CLASSNAME;
4687
+ Input.defaultProps = defaultProps7;
4688
+
4689
+ // src/input/picker.spec.tsx
4690
+ import { jsx as jsx23 } from "react/jsx-runtime";
4691
+ var PICKER_CLASSNAME = `k-picker`;
4692
+ var pickerStates = [
4693
+ States.hover,
4694
+ States.focus,
4695
+ States.valid,
4696
+ States.invalid,
4697
+ States.required,
4698
+ States.disabled,
4699
+ States.loading,
4700
+ States.readonly
4701
+ ];
4702
+ var pickerOptions = {
4703
+ size: [Size.small, Size.medium, Size.large],
4704
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4705
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4706
+ };
4707
+ var defaultProps8 = {
4708
+ size: Size.medium,
4709
+ rounded: Roundness.medium,
4710
+ fillMode: FillMode.solid
4711
+ };
4712
+ var Picker = (props) => {
4713
+ const {
4714
+ hover,
4715
+ focus,
4716
+ disabled,
4717
+ invalid,
4718
+ valid,
4719
+ loading,
4720
+ readonly,
4721
+ size = defaultProps8.size,
4722
+ rounded = defaultProps8.rounded,
4723
+ fillMode = defaultProps8.fillMode,
4724
+ ...other
4725
+ } = props;
4726
+ return /* @__PURE__ */ jsx23(
4727
+ "span",
4728
+ {
4729
+ ...other,
4730
+ className: classNames(
4731
+ props.className,
4732
+ PICKER_CLASSNAME,
4733
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
4734
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
4735
+ ),
4736
+ children: props.children
4737
+ }
4738
+ );
4739
+ };
4740
+ Picker.states = pickerStates;
4741
+ Picker.options = pickerOptions;
4742
+ Picker.className = PICKER_CLASSNAME;
4743
+ Picker.defaultProps = defaultProps8;
4744
+
4745
+ // src/input/input-clear-value.tsx
4746
+ import { Fragment as Fragment9, jsx as jsx24 } from "react/jsx-runtime";
4747
+ var className = `k-clear-value`;
4748
+ var states9 = [
4749
+ States.disabled,
4750
+ States.loading,
4751
+ States.readonly
4752
+ ];
4753
+ var options8 = {};
4754
+ var InputClearValue = (props) => {
4755
+ const {
4756
+ disabled,
4757
+ loading,
4758
+ readonly,
4759
+ value
4760
+ } = props;
4761
+ if (disabled || readonly || loading || !value) {
4762
+ return /* @__PURE__ */ jsx24(Fragment9, {});
4763
+ }
4764
+ return /* @__PURE__ */ jsx24("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx24(Icon, { icon: "x" }) });
4765
+ };
4766
+ InputClearValue.states = states9;
4767
+ InputClearValue.options = options8;
4768
+ InputClearValue.className = className;
4769
+
4770
+ // src/input/input-inner-input.tsx
4771
+ import { jsx as jsx25 } from "react/jsx-runtime";
4772
+ var className2 = `k-input-inner`;
4773
+ var states10 = [];
4774
+ var options9 = {};
4775
+ var defaultProps9 = {
4776
+ type: "text",
4777
+ autocomplete: "off",
4778
+ value: "",
4779
+ placeholder: ""
4780
+ };
4781
+ var InputInnerInput = (props) => {
4782
+ const {
4783
+ value = defaultProps9.value,
4784
+ type = defaultProps9.type,
4785
+ placeholder = defaultProps9.placeholder,
4786
+ autocomplete = defaultProps9.autocomplete,
4787
+ ...other
4788
+ } = props;
4789
+ return /* @__PURE__ */ jsx25(
4790
+ "input",
4791
+ {
4792
+ ...other,
4793
+ type,
4794
+ className: classNames(props.className, className2, optionClassNames(className2, props)),
4795
+ placeholder,
4796
+ autoComplete: autocomplete,
4797
+ defaultValue: value
4798
+ }
4799
+ );
4800
+ };
4801
+ InputInnerInput.states = states10;
4802
+ InputInnerInput.options = options9;
4803
+ InputInnerInput.className = className2;
4804
+
4805
+ // src/input/input-inner-span.tsx
4806
+ import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
4807
+ var className3 = `k-input-inner`;
4808
+ var states11 = [];
4809
+ var options10 = {};
4810
+ var InputInnerSpan = (props) => {
4811
+ const {
4812
+ value,
4813
+ placeholder,
4814
+ showValue,
4815
+ valueIcon,
4816
+ valueIconName,
4817
+ ...other
4818
+ } = props;
4819
+ return /* @__PURE__ */ jsxs9(
4820
+ "span",
4821
+ {
4822
+ ...other,
4823
+ className: classNames(props.className, className3, optionClassNames(className3, props)),
4824
+ children: [
4825
+ valueIcon,
4826
+ !valueIcon && valueIconName && /* @__PURE__ */ jsx26(Icon, { className: "k-input-value-icon", icon: valueIconName }),
4827
+ showValue && !value && placeholder,
4828
+ showValue && value && /* @__PURE__ */ jsx26("span", { className: "k-input-value-text", children: value })
4829
+ ]
4830
+ }
4831
+ );
4832
+ };
4833
+ InputInnerSpan.states = states11;
4834
+ InputInnerSpan.options = options10;
4835
+ InputInnerSpan.className = className3;
4836
+
4837
+ // src/input/input-inner-textarea.tsx
4838
+ import { jsx as jsx27 } from "react/jsx-runtime";
4839
+ var defaultProps10 = {
4840
+ value: "",
4841
+ placeholder: ""
4842
+ };
4843
+ var className4 = `k-input-inner`;
4844
+ var states12 = [];
4845
+ var options11 = {};
4846
+ var InputInnerTextarea = (props) => {
4847
+ const {
4848
+ value = defaultProps10.value,
4849
+ placeholder = defaultProps10.placeholder,
4850
+ rows,
4851
+ ...other
4852
+ } = props;
4853
+ return /* @__PURE__ */ jsx27(
4854
+ "textarea",
4855
+ {
4856
+ ...other,
4857
+ className: classNames(props.className, className4, optionClassNames(className4, props)),
4858
+ placeholder,
4859
+ rows,
4860
+ children: value
4861
+ }
4862
+ );
4863
+ };
4864
+ InputInnerTextarea.states = states12;
4865
+ InputInnerTextarea.options = options11;
4866
+ InputInnerTextarea.className = className4;
4867
+
4868
+ // src/input/input-loading-icon.tsx
4869
+ import { Fragment as Fragment10, jsx as jsx28 } from "react/jsx-runtime";
4870
+ var className5 = `k-input-loading-icon`;
4871
+ var states13 = [
4872
+ States.disabled,
4873
+ States.loading
4874
+ ];
4875
+ var InputLoadingIcon = (props) => {
4876
+ const {
4877
+ disabled,
4878
+ loading
4879
+ } = props;
4880
+ if (disabled || !loading) {
4881
+ return /* @__PURE__ */ jsx28(Fragment10, {});
4882
+ }
4883
+ return /* @__PURE__ */ jsx28(Icon, { className: classNames(props.className, className5), icon: "loading", type: "font" });
4884
+ };
4885
+
4886
+ // src/input/input-validation-icon.tsx
4887
+ import { Fragment as Fragment11, jsx as jsx29 } from "react/jsx-runtime";
4888
+ var className6 = `k-input-validation-icon`;
4889
+ var states14 = [
4890
+ States.valid,
4891
+ States.invalid,
4892
+ States.disabled,
4893
+ States.loading
4894
+ ];
4895
+ var options12 = {};
4896
+ var InputValidationIcon = (props) => {
4897
+ const {
4898
+ valid,
4899
+ invalid,
4900
+ disabled,
4901
+ loading
4902
+ } = props;
4903
+ const iconName = invalid ? "exclamation-circle" : "check";
4904
+ const renderValidationIcon = Boolean(valid || invalid);
4905
+ if (disabled || loading || !renderValidationIcon) {
4906
+ return /* @__PURE__ */ jsx29(Fragment11, {});
4907
+ }
4908
+ return /* @__PURE__ */ jsx29(Icon, { className: classNames(className6), icon: iconName });
4909
+ };
4910
+ InputValidationIcon.states = states14;
4911
+ InputValidationIcon.options = options12;
4912
+ InputValidationIcon.className = className6;
4913
+
4914
+ // src/input/input-prefix.tsx
4915
+ import { Fragment as Fragment12, jsx as jsx30 } from "react/jsx-runtime";
4916
+ var className7 = `k-input-prefix`;
4917
+ var InputPrefix = (props) => {
4918
+ if (!props.children) {
4919
+ return /* @__PURE__ */ jsx30(Fragment12, {});
4920
+ }
4921
+ return /* @__PURE__ */ jsx30("span", { className: classNames(className7, props.className), children: props.children });
4922
+ };
4923
+
4924
+ // src/input/input-suffix.tsx
4925
+ import { Fragment as Fragment13, jsx as jsx31 } from "react/jsx-runtime";
4926
+ var className8 = `k-input-suffix`;
4927
+ var InputSuffix = (props) => {
4928
+ if (!props.children) {
4929
+ return /* @__PURE__ */ jsx31(Fragment13, {});
4930
+ }
4931
+ return /* @__PURE__ */ jsx31("span", { className: classNames(className8, props.className), children: props.children });
4932
+ };
4933
+
4934
+ // src/input/input-separator.tsx
4935
+ import { jsx as jsx32 } from "react/jsx-runtime";
4936
+
4937
+ // src/color-preview/color-preview.tsx
4938
+ import { jsx as jsx33, jsxs as jsxs10 } from "react/jsx-runtime";
4939
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
4940
+ var states15 = [];
4941
+ var options13 = {};
4942
+ var ColorPreview = (props) => {
4943
+ const {
4944
+ color,
4945
+ iconName,
4946
+ ...other
4947
+ } = props;
4948
+ return /* @__PURE__ */ jsxs10(
4949
+ "span",
4950
+ {
4951
+ ...other,
4952
+ className: classNames(
4953
+ props.className,
4954
+ COLORPREVIEW_CLASSNAME,
4955
+ {
4956
+ "k-icon-color-preview": iconName,
4957
+ "k-no-color": !color
4958
+ }
4959
+ ),
4960
+ children: [
4961
+ iconName && /* @__PURE__ */ jsx33(Icon, { icon: iconName, className: "k-color-preview-icon" }),
4962
+ /* @__PURE__ */ jsx33(
4963
+ "span",
4964
+ {
4965
+ className: "k-color-preview-mask",
4966
+ style: { backgroundColor: color }
4967
+ }
4968
+ )
4969
+ ]
4970
+ }
4971
+ );
4972
+ };
4973
+ ColorPreview.states = states15;
4974
+ ColorPreview.options = options13;
4975
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
4976
+
4977
+ // src/colorpicker/colorpicker.spec.tsx
4978
+ import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
4979
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
4980
+ var states16 = [
4981
+ States.hover,
4982
+ States.focus,
4983
+ States.valid,
4984
+ States.invalid,
4985
+ States.required,
4986
+ States.disabled
4987
+ ];
4988
+ var options14 = {
4989
+ size: [Size.small, Size.medium, Size.large],
4990
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4991
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4992
+ };
4993
+ var defaultProps11 = {
4994
+ arrowIconName: "caret-alt-down",
4995
+ size: Picker.defaultProps.size,
4996
+ rounded: Picker.defaultProps.rounded,
4997
+ fillMode: Picker.defaultProps.fillMode
4998
+ };
4999
+ var ColorPicker = (props) => {
5000
+ const {
5001
+ prefix,
5002
+ suffix,
5003
+ value,
5004
+ placeholder,
5005
+ size,
5006
+ rounded,
5007
+ fillMode,
5008
+ hover,
5009
+ focus,
5010
+ valid,
5011
+ invalid,
5012
+ required,
5013
+ disabled,
5014
+ valueIconName,
5015
+ arrowIconName = defaultProps11.arrowIconName,
5016
+ ...other
5017
+ } = props;
5018
+ return /* @__PURE__ */ jsxs11(
5019
+ Picker,
5020
+ {
5021
+ ...other,
5022
+ size,
5023
+ rounded,
5024
+ fillMode,
5025
+ hover,
5026
+ focus,
5027
+ valid,
5028
+ invalid,
5029
+ required,
5030
+ disabled,
5031
+ className: classNames(
5032
+ props.className,
5033
+ COLORPICKER_CLASSNAME,
5034
+ "k-icon-picker"
5035
+ ),
5036
+ children: [
5037
+ /* @__PURE__ */ jsx34(InputPrefix, { children: prefix }),
5038
+ /* @__PURE__ */ jsx34(
5039
+ InputInnerSpan,
5040
+ {
5041
+ placeholder,
5042
+ value,
5043
+ showValue: false,
5044
+ valueIcon: /* @__PURE__ */ jsx34(
5045
+ ColorPreview,
5046
+ {
5047
+ className: "k-value-icon",
5048
+ color: value,
5049
+ iconName: valueIconName
5050
+ }
5051
+ ),
5052
+ valueIconName
5053
+ }
5054
+ ),
5055
+ /* @__PURE__ */ jsx34(InputSuffix, { children: suffix }),
5056
+ /* @__PURE__ */ jsx34(
5057
+ Button,
5058
+ {
5059
+ className: "k-input-button",
5060
+ icon: arrowIconName,
5061
+ rounded: null,
5062
+ size,
5063
+ fillMode
5064
+ }
5065
+ )
5066
+ ]
5067
+ }
5068
+ );
5069
+ };
5070
+ ColorPicker.states = states16;
5071
+ ColorPicker.options = options14;
5072
+ ColorPicker.className = COLORPICKER_CLASSNAME;
5073
+ ColorPicker.defaultProps = defaultProps11;
5074
+
5075
+ // src/animation-container/animation-container.spec.tsx
5076
+ import { jsx as jsx35 } from "react/jsx-runtime";
5077
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5078
+ var states17 = [];
5079
+ var options15 = {};
5080
+ var defaultProps12 = {
5081
+ positionMode: "absolute"
5082
+ };
5083
+ var AnimationContainer = (props) => {
5084
+ const {
5085
+ positionMode,
5086
+ animationStyle,
5087
+ offset,
5088
+ ...other
5089
+ } = props;
5090
+ return /* @__PURE__ */ jsx35(
5091
+ "div",
5092
+ {
5093
+ ...other,
5094
+ style: { ...offset, ...props.style },
5095
+ className: classNames(
5096
+ ANIMATION_CONTAINER_CLASSNAME,
5097
+ "k-animation-container-shown",
5098
+ {
5099
+ ["k-animation-container-fixed"]: positionMode === "fixed"
5100
+ }
5101
+ ),
5102
+ children: /* @__PURE__ */ jsx35("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5103
+ }
5104
+ );
5105
+ };
5106
+ AnimationContainer.states = states17;
5107
+ AnimationContainer.options = options15;
5108
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5109
+ AnimationContainer.defaultProps = defaultProps12;
5110
+
5111
+ // src/popup/popup.spec.tsx
5112
+ import { jsx as jsx36 } from "react/jsx-runtime";
5113
+ var POPUP_CLASSNAME = `k-popup`;
5114
+ var states18 = [];
5115
+ var options16 = {};
5116
+ var defaultProps13 = {
5117
+ positionMode: "absolute"
5118
+ };
5119
+ var Popup = (props) => {
5120
+ const {
5121
+ offset,
5122
+ positionMode,
5123
+ ...other
5124
+ } = props;
5125
+ return /* @__PURE__ */ jsx36(
5126
+ AnimationContainer,
5127
+ {
5128
+ positionMode,
5129
+ offset,
5130
+ children: /* @__PURE__ */ jsx36("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5131
+ }
5132
+ );
5133
+ };
5134
+ Popup.states = states18;
5135
+ Popup.options = options16;
5136
+ Popup.className = POPUP_CLASSNAME;
5137
+ Popup.defaultProps = defaultProps13;
5138
+
5139
+ // src/action-sheet/action-sheet.spec.tsx
5140
+ import { Fragment as Fragment14, jsx as jsx37, jsxs as jsxs12 } from "react/jsx-runtime";
5141
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
5142
+ var states19 = [];
5143
+ var options17 = {};
5144
+ var defaultProps14 = {
5145
+ side: "bottom",
5146
+ fullscreen: false,
5147
+ adaptive: false,
5148
+ overlay: true
5149
+ };
5150
+ var ActionSheet = (props) => {
5151
+ const {
5152
+ children,
5153
+ title,
5154
+ header,
5155
+ footer,
5156
+ actions,
5157
+ side = defaultProps14.side,
5158
+ fullscreen = defaultProps14.fullscreen,
5159
+ adaptive = defaultProps14.adaptive,
5160
+ overlay = defaultProps14.overlay,
5161
+ ...other
5162
+ } = props;
5163
+ const _ActionSheetHeader = title ? /* @__PURE__ */ jsx37(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
5164
+ const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx37(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx37(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
5165
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
5166
+ switch (child.type) {
5167
+ case ActionSheetHeader:
5168
+ case ActionSheetFooter:
5169
+ return false;
5170
+ default:
5171
+ return true;
5172
+ }
5173
+ return true;
5174
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx37(Fragment14, {});
5175
+ return /* @__PURE__ */ jsxs12("div", { className: "k-actionsheet-container", children: [
5176
+ overlay && /* @__PURE__ */ jsx37("div", { className: "k-overlay" }),
5177
+ /* @__PURE__ */ jsx37(
5178
+ AnimationContainer,
5179
+ {
5180
+ animationStyle: {
5181
+ [`${fullscreen === true ? "top" : side}`]: 0,
5182
+ [`${fullscreen === true ? "width" : null}`]: "100%",
5183
+ [`${fullscreen === true ? "height" : null}`]: "100%",
5184
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
5185
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
5186
+ },
5187
+ children: /* @__PURE__ */ jsx37(
5188
+ "div",
5189
+ {
5190
+ ...other,
5191
+ className: classNames(
5192
+ props.className,
5193
+ ACTIONSHEET_CLASSNAME,
5194
+ {
5195
+ [`k-actionsheet-${side}`]: fullscreen === false,
5196
+ "k-actionsheet-fullscreen": fullscreen === true,
5197
+ "k-adaptive-actionsheet": adaptive
5198
+ }
5199
+ ),
5200
+ children: /* @__PURE__ */ jsxs12(Fragment14, { children: [
5201
+ _ActionSheetHeader,
5202
+ /* @__PURE__ */ jsx37("div", { className: classNames(
5203
+ "k-actionsheet-content",
5204
+ {
5205
+ "!k-overflow-hidden": adaptive
5206
+ }
5207
+ ), children: _ActionSheetContent }),
5208
+ _ActionSheetFooter
5209
+ ] })
5210
+ }
5211
+ )
5212
+ }
5213
+ )
5214
+ ] });
5215
+ };
5216
+ ActionSheet.states = states19;
5217
+ ActionSheet.options = options17;
5218
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
5219
+ ActionSheet.defaultProps = defaultProps14;
5220
+
5221
+ // src/searchbox/searchbox.spec.tsx
5222
+ import { jsx as jsx38, jsxs as jsxs13 } from "react/jsx-runtime";
5223
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5224
+ var states20 = [
5225
+ States.hover,
5226
+ States.focus,
5227
+ States.valid,
5228
+ States.invalid,
5229
+ States.required,
5230
+ States.disabled,
5231
+ States.loading
5232
+ ];
5233
+ var options18 = {
5234
+ size: [Size.small, Size.medium, Size.large],
5235
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5236
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5237
+ };
5238
+ var defaultProps15 = {
5239
+ showIcon: true,
5240
+ icon: "search",
5241
+ size: Input.defaultProps.size,
5242
+ rounded: Input.defaultProps.rounded,
5243
+ fillMode: Input.defaultProps.fillMode
5244
+ };
5245
+ var Searchbox = (props) => {
5246
+ const {
5247
+ value,
5248
+ placeholder,
5249
+ size,
5250
+ rounded,
5251
+ fillMode,
5252
+ hover,
5253
+ focus,
5254
+ valid,
5255
+ invalid,
5256
+ required,
5257
+ loading,
5258
+ disabled,
5259
+ showIcon = defaultProps15.showIcon,
5260
+ icon = defaultProps15.icon,
5261
+ ...other
5262
+ } = props;
5263
+ return /* @__PURE__ */ jsxs13(
5264
+ Input,
5265
+ {
5266
+ ...other,
5267
+ size,
5268
+ rounded,
5269
+ fillMode,
5270
+ hover,
5271
+ focus,
5272
+ valid,
5273
+ invalid,
5274
+ required,
5275
+ loading,
5276
+ disabled,
5277
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
5278
+ children: [
5279
+ showIcon && /* @__PURE__ */ jsx38(Icon, { className: "k-input-icon", icon }),
5280
+ /* @__PURE__ */ jsx38(InputInnerInput, { placeholder, value }),
5281
+ /* @__PURE__ */ jsx38(InputLoadingIcon, { ...props }),
5282
+ /* @__PURE__ */ jsx38(InputValidationIcon, { ...props }),
5283
+ /* @__PURE__ */ jsx38(InputClearValue, { ...props })
5284
+ ]
5285
+ }
5286
+ );
5287
+ };
5288
+ Searchbox.states = states20;
5289
+ Searchbox.options = options18;
5290
+ Searchbox.className = SEARCHBOX_CLASSNAME;
5291
+ Searchbox.defaultProps = defaultProps15;
5292
+
5293
+ // src/searchbox/templates/searchbox-normal.tsx
5294
+ import { jsx as jsx39 } from "react/jsx-runtime";
5295
+
5296
+ // src/action-sheet/actionsheet-header.tsx
5297
+ import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
5298
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
5299
+ var ActionSheetHeader = (props) => {
5300
+ const {
5301
+ title,
5302
+ subTitle,
5303
+ actions,
5304
+ filter,
5305
+ ...other
5306
+ } = props;
5307
+ return /* @__PURE__ */ jsx40(
5308
+ "div",
5309
+ {
5310
+ ...other,
5311
+ className: classNames(
5312
+ props.className,
5313
+ ACTIONSHEETHEADER_CLASSNAME
5314
+ ),
5315
+ children: /* @__PURE__ */ jsxs14(Fragment15, { children: [
5316
+ /* @__PURE__ */ jsxs14("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
5317
+ !props.children && (title || subTitle) && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsxs14("div", { className: "k-actionsheet-title", children: [
5318
+ title !== "" && /* @__PURE__ */ jsx40("div", { className: "k-text-center", children: title }),
5319
+ subTitle !== "" && /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
5320
+ ] }) }),
5321
+ props.children && /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-title", children: props.children }),
5322
+ actions && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx40(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
5323
+ ] }),
5324
+ filter && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx40(Searchbox, { placeholder: "Filter", size: "large" }) }) })
5325
+ ] })
5326
+ }
5327
+ );
5328
+ };
5329
+
5330
+ // src/action-buttons/action-buttons.spec.tsx
5331
+ import { jsx as jsx41 } from "react/jsx-runtime";
5332
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
5333
+ var states21 = [];
5334
+ var options19 = {};
5335
+ var defaultProps16 = {
5336
+ alignment: "start",
5337
+ orientation: "horizontal"
5338
+ };
5339
+ var ActionButtons = (props) => {
5340
+ const {
5341
+ alignment = defaultProps16.alignment,
5342
+ orientation = defaultProps16.orientation,
5343
+ ...other
5344
+ } = props;
5345
+ return /* @__PURE__ */ jsx41(
5346
+ "div",
5347
+ {
5348
+ ...other,
5349
+ className: classNames(
5350
+ ACTIONBUTTONS_CLASSNAME,
5351
+ {
5352
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
5353
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
5354
+ },
5355
+ props.className
5356
+ ),
5357
+ children: props.children
5358
+ }
5359
+ );
5360
+ };
5361
+ ActionButtons.states = states21;
5362
+ ActionButtons.options = options19;
5363
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
5364
+ ActionButtons.defaultProps = defaultProps16;
5365
+ var action_buttons_spec_default = ActionButtons;
5366
+
5367
+ // src/action-sheet/actionsheet-footer.tsx
5368
+ import { Fragment as Fragment16, jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
5369
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
5370
+ var ActionSheetFooter = (props) => {
5371
+ const {
5372
+ actions,
5373
+ ...other
5374
+ } = props;
5375
+ return /* @__PURE__ */ jsx42(
5376
+ action_buttons_spec_default,
5377
+ {
5378
+ ...other,
5379
+ className: classNames(
5380
+ props.className,
5381
+ ACTIONSHEETFOOTER_CLASSNAME
5382
+ ),
5383
+ alignment: "stretched",
5384
+ children: /* @__PURE__ */ jsxs15(Fragment16, { children: [
5385
+ actions && actions.map((action, index) => {
5386
+ if (action === "|") {
5387
+ return /* @__PURE__ */ jsx42("span", { className: "k-separator" }, index);
5388
+ }
5389
+ if (action === " ") {
5390
+ return /* @__PURE__ */ jsx42("span", { className: "k-spacer" }, index);
5391
+ }
5392
+ const importantFlag = action.startsWith("!");
5393
+ const actionName = importantFlag ? action.substring(1) : action;
5394
+ return /* @__PURE__ */ jsx42(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
5395
+ }),
5396
+ !actions && props.children
5397
+ ] })
5398
+ }
5399
+ );
5400
+ };
5401
+
5402
+ // src/action-sheet/actionsheet-items.tsx
5403
+ import { jsx as jsx43 } from "react/jsx-runtime";
5404
+ var ActionSheetItems = (props) => {
5405
+ const {
5406
+ ...other
5407
+ } = props;
5408
+ return /* @__PURE__ */ jsx43(
5409
+ "div",
5410
+ {
5411
+ ...other,
5412
+ className: classNames(
5413
+ props.className,
5414
+ "k-list-ul"
5415
+ ),
5416
+ children: props.children
5417
+ }
5418
+ );
5419
+ };
5420
+
5421
+ // src/action-sheet/actionsheet-item.tsx
5422
+ import { Fragment as Fragment17, jsx as jsx44, jsxs as jsxs16 } from "react/jsx-runtime";
5423
+ var states22 = [
5424
+ States.hover,
5425
+ States.focus,
5426
+ States.selected,
5427
+ States.disabled
5428
+ ];
5429
+
5430
+ // src/nodata/nodata.tsx
5431
+ import { jsx as jsx45 } from "react/jsx-runtime";
5432
+ var className9 = `k-nodata`;
5433
+ var NoData = (props) => /* @__PURE__ */ jsx45("span", { className: classNames(className9, props.className), children: props.children });
5434
+
5435
+ // src/list/list.spec.tsx
5436
+ import { jsx as jsx46, jsxs as jsxs17 } from "react/jsx-runtime";
5437
+ var LIST_CLASSNAME = `k-list`;
5438
+ var states23 = [];
5439
+ var options20 = {
5440
+ size: [Size.small, Size.medium, Size.large]
5441
+ };
5442
+ var defaultProps17 = {
5443
+ size: Size.medium
5444
+ };
5445
+ var List = (props) => {
5446
+ const {
5447
+ size = defaultProps17.size,
5448
+ virtualization,
5449
+ children,
5450
+ optionLabel,
5451
+ ...other
5452
+ } = props;
5453
+ let listHeader;
5454
+ let listGroup;
5455
+ let listContent;
5456
+ const listChildren = [];
5457
+ if (children) {
5458
+ children.map((child, index) => {
5459
+ if (child.type === ListGroup) {
5460
+ if (child.props.root === true) {
5461
+ listHeader = child.props.label;
5462
+ child.props.children.map((optChild, index2) => {
5463
+ listChildren.push(
5464
+ /* @__PURE__ */ jsx46(
5465
+ ListItem,
5466
+ {
5467
+ ...optChild.props
5468
+ },
5469
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5470
+ )
5471
+ );
5472
+ });
5473
+ } else {
5474
+ child.props.children.forEach((optChild, index2) => {
5475
+ let groupLabel = "";
5476
+ if (index2 === 0) {
5477
+ groupLabel = child.props.label;
5478
+ }
5479
+ listChildren.push(
5480
+ /* @__PURE__ */ jsx46(
5481
+ ListItem,
5482
+ {
5483
+ className: index2 === 0 ? "k-first" : "",
5484
+ ...optChild.props,
5485
+ groupLabel
5486
+ },
5487
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5488
+ )
5489
+ );
5490
+ });
5491
+ }
5492
+ listGroup = /* @__PURE__ */ jsx46(ListGroup, { label: listHeader, virtualization, children: listChildren });
5493
+ } else if (child.type === ListItem) {
5494
+ listChildren.push(/* @__PURE__ */ jsx46(ListItem, { ...child.props }, `${child.type}-${index}`));
5495
+ listContent = /* @__PURE__ */ jsx46(ListContent, { virtualization, children: listChildren });
5496
+ }
5497
+ });
5498
+ } else {
5499
+ listContent = /* @__PURE__ */ jsx46(NoData, { children: "No data found." });
5500
+ }
5501
+ return /* @__PURE__ */ jsxs17(
5502
+ "div",
5503
+ {
5504
+ ...other,
5505
+ className: classNames(
5506
+ props.className,
5507
+ LIST_CLASSNAME,
5508
+ optionClassNames(LIST_CLASSNAME, {
5509
+ size
5510
+ }),
5511
+ {
5512
+ ["k-virtual-list"]: virtualization
5513
+ }
5514
+ ),
5515
+ children: [
5516
+ optionLabel,
5517
+ listGroup,
5518
+ listContent
5519
+ ]
5520
+ }
5521
+ );
5522
+ };
5523
+ List.states = states23;
5524
+ List.options = options20;
5525
+ List.className = LIST_CLASSNAME;
5526
+ List.defaultProps = defaultProps17;
5527
+
5528
+ // src/list/list-angular.spec.tsx
5529
+ import { jsx as jsx47, jsxs as jsxs18 } from "react/jsx-runtime";
5530
+ var LISTANGULAR_CLASSNAME = `k-list`;
5531
+ var states24 = [];
5532
+ var options21 = {
5533
+ size: [Size.small, Size.medium, Size.large]
5534
+ };
5535
+ var defaultProps18 = {
5536
+ size: Size.medium
5537
+ };
5538
+ var ListAngular = (props) => {
5539
+ const {
5540
+ size = defaultProps18.size,
5541
+ virtualization,
5542
+ children,
5543
+ ...other
5544
+ } = props;
5545
+ let listHeader;
5546
+ let listGroup;
5547
+ let listContent;
5548
+ const listChildren = [];
5549
+ if (children) {
5550
+ children.map((child, index) => {
5551
+ if (child.type === ListGroup) {
5552
+ if (child.props.root === true) {
5553
+ listHeader = child.props.label;
5554
+ child.props.children.map((optChild, index2) => {
5555
+ listChildren.push(
5556
+ /* @__PURE__ */ jsx47(
5557
+ ListItem,
5558
+ {
5559
+ ...optChild.props
5560
+ },
5561
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5562
+ )
5563
+ );
5564
+ });
5565
+ } else {
5566
+ listChildren.push(
5567
+ /* @__PURE__ */ jsx47(
5568
+ ListGroupItem,
5569
+ {
5570
+ ...child.props,
5571
+ children: child.props.label
5572
+ },
5573
+ `listChild-${index}`
5574
+ )
5575
+ );
5576
+ child.props.children.map((optChild, index2) => {
5577
+ listChildren.push(
5578
+ /* @__PURE__ */ jsx47(
5579
+ ListItem,
5580
+ {
5581
+ ...optChild.props
5582
+ },
5583
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5584
+ )
5585
+ );
5586
+ });
5587
+ }
5588
+ listGroup = /* @__PURE__ */ jsx47(ListGroup, { label: listHeader, virtualization, children: listChildren });
5589
+ } else if (child.type === ListItem) {
5590
+ listChildren.push(/* @__PURE__ */ jsx47(ListItem, { ...child.props }, `${child.type}-${index}`));
5591
+ listContent = /* @__PURE__ */ jsx47(ListContent, { virtualization, children: listChildren });
5592
+ }
5593
+ });
5594
+ } else {
5595
+ listContent = /* @__PURE__ */ jsx47(NoData, { children: "No data found." });
5596
+ }
5597
+ return /* @__PURE__ */ jsxs18(
5598
+ "div",
5599
+ {
5600
+ ...other,
5601
+ className: classNames(
5602
+ props.className,
5603
+ LISTANGULAR_CLASSNAME,
5604
+ optionClassNames(LISTANGULAR_CLASSNAME, {
5605
+ size
5606
+ }),
5607
+ {
5608
+ ["k-virtual-list"]: virtualization
5609
+ }
5610
+ ),
5611
+ children: [
5612
+ listGroup,
5613
+ listContent
5614
+ ]
5615
+ }
5616
+ );
5617
+ };
5618
+ ListAngular.states = states24;
5619
+ ListAngular.options = options21;
5620
+ ListAngular.className = LISTANGULAR_CLASSNAME;
5621
+ ListAngular.defaultProps = defaultProps18;
5622
+
5623
+ // src/checkbox/checkbox.spec.tsx
5624
+ import { jsx as jsx48 } from "react/jsx-runtime";
5625
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
5626
+ var states25 = [
5627
+ States.hover,
5628
+ States.focus,
5629
+ States.valid,
5630
+ States.invalid,
5631
+ States.required,
5632
+ States.disabled,
5633
+ States.checked,
5634
+ States.indeterminate
5635
+ ];
5636
+ var options22 = {
5637
+ size: [Size.small, Size.medium, Size.large],
5638
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5639
+ };
5640
+ var defaultProps19 = {
5641
+ size: Size.medium,
5642
+ rounded: Roundness.medium
5643
+ };
5644
+ var Checkbox = (props) => {
5645
+ const {
5646
+ id,
5647
+ checked,
5648
+ indeterminate,
5649
+ hover,
5650
+ focus,
5651
+ disabled,
5652
+ invalid,
5653
+ valid,
5654
+ required,
5655
+ size = defaultProps19.size,
5656
+ rounded = defaultProps19.rounded,
5657
+ ...other
5658
+ } = props;
5659
+ return /* @__PURE__ */ jsx48("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx48(
5660
+ "input",
5661
+ {
5662
+ ...other,
5663
+ id,
5664
+ type: "checkbox",
5665
+ checked,
5666
+ required,
5667
+ className: classNames(
5668
+ props.className,
5669
+ CHECKBOX_CLASSNAME,
5670
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
5671
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
5672
+ )
5673
+ }
5674
+ ) });
5675
+ };
5676
+ Checkbox.states = states25;
5677
+ Checkbox.options = options22;
5678
+ Checkbox.className = CHECKBOX_CLASSNAME;
5679
+ Checkbox.defaultProps = defaultProps19;
5680
+
5681
+ // src/checkbox/templates/checkbox-label.tsx
5682
+ import { Fragment as Fragment18, jsx as jsx49, jsxs as jsxs19 } from "react/jsx-runtime";
5683
+
5684
+ // src/checkbox/templates/checkbox-normal.tsx
5685
+ import { jsx as jsx50 } from "react/jsx-runtime";
5686
+
5687
+ // src/list/list-item.spec.tsx
5688
+ import { jsx as jsx51, jsxs as jsxs20 } from "react/jsx-runtime";
5689
+ var LISTITEM_CLASSNAME = `k-list-item`;
5690
+ var states26 = [
5691
+ States.hover,
5692
+ States.focus,
5693
+ States.selected,
5694
+ States.disabled
5695
+ ];
5696
+ var options23 = {};
5697
+ var defaultProps20 = {};
5698
+ var ListItem = (props) => {
5699
+ const {
5700
+ text,
5701
+ groupLabel,
5702
+ showIcon,
5703
+ iconName,
5704
+ showCheckbox,
5705
+ checked,
5706
+ hover,
5707
+ focus,
5708
+ selected,
5709
+ disabled,
5710
+ ...other
5711
+ } = props;
5712
+ const textOrChildren = text ? text : props.children;
5713
+ return /* @__PURE__ */ jsxs20(
5714
+ "li",
5715
+ {
5716
+ ...other,
5717
+ className: classNames(
5718
+ props.className,
5719
+ LISTITEM_CLASSNAME,
5720
+ stateClassNames(LISTITEM_CLASSNAME, {
5721
+ hover,
5722
+ focus,
5723
+ disabled,
5724
+ selected
5725
+ })
5726
+ ),
5727
+ children: [
5728
+ showCheckbox && /* @__PURE__ */ jsx51(Checkbox, { checked }),
5729
+ showIcon && /* @__PURE__ */ jsx51(Icon, { icon: iconName }),
5730
+ /* @__PURE__ */ jsx51("span", { className: "k-list-item-text", children: textOrChildren }),
5731
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx51("div", { className: "k-list-item-group-label", children: groupLabel })
5732
+ ]
5733
+ }
5734
+ );
5735
+ };
5736
+ ListItem.states = states26;
5737
+ ListItem.options = options23;
5738
+ ListItem.className = LISTITEM_CLASSNAME;
5739
+ ListItem.defaultProps = defaultProps20;
5740
+
5741
+ // src/list/list-content.tsx
5742
+ import { jsx as jsx52, jsxs as jsxs21 } from "react/jsx-runtime";
5743
+ var className10 = `k-list-content`;
5744
+ var ListContent = (props) => {
5745
+ const {
5746
+ virtualization
5747
+ } = props;
5748
+ return /* @__PURE__ */ jsxs21("div", { className: classNames(className10, props.className), children: [
5749
+ /* @__PURE__ */ jsx52("ul", { className: classNames("k-list-ul"), children: props.children }),
5750
+ virtualization && /* @__PURE__ */ jsx52("div", { className: "k-height-container", children: /* @__PURE__ */ jsx52("div", {}) })
5751
+ ] });
5752
+ };
5753
+
5754
+ // src/list/list-header.tsx
5755
+ import { jsx as jsx53 } from "react/jsx-runtime";
5756
+ var className11 = `k-list-group-sticky-header`;
5757
+ var ListHeader = (props) => /* @__PURE__ */ jsx53("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx53("div", { className: "k-list-header-text", children: props.children }) });
5758
+
5759
+ // src/list/list-group.tsx
5760
+ import { Fragment as Fragment19, jsx as jsx54, jsxs as jsxs22 } from "react/jsx-runtime";
5761
+ var ListGroup = (props) => {
5762
+ const {
5763
+ virtualization,
5764
+ label
5765
+ } = props;
5766
+ return /* @__PURE__ */ jsxs22(Fragment19, { children: [
5767
+ label && /* @__PURE__ */ jsx54(ListHeader, { children: label }),
5768
+ props.children && /* @__PURE__ */ jsx54(ListContent, { virtualization, children: props.children })
5769
+ ] });
5770
+ };
5771
+
5772
+ // src/list/list-group-item.tsx
5773
+ import { jsx as jsx55 } from "react/jsx-runtime";
5774
+ var className12 = `k-list-group-item`;
5775
+ var ListGroupItem = (props) => /* @__PURE__ */ jsx55("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx55("span", { className: "k-list-item-text", children: props.children }) });
5776
+
5777
+ // src/list/list-option-label.tsx
5778
+ import { jsx as jsx56 } from "react/jsx-runtime";
5779
+ var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
5780
+ var states27 = [
5781
+ States.hover,
5782
+ States.focus,
5783
+ States.selected,
5784
+ States.disabled
5785
+ ];
5786
+ var options24 = {};
5787
+ var defaultProps21 = {};
5788
+ var ListOptionLabel = (props) => {
5789
+ const {
5790
+ text,
5791
+ hover,
5792
+ focus,
5793
+ selected,
5794
+ disabled,
5795
+ ...other
5796
+ } = props;
5797
+ return /* @__PURE__ */ jsx56(
5798
+ "div",
5799
+ {
5800
+ ...other,
5801
+ className: classNames(
5802
+ LIST_OPTIONLABEL_CLASSNAME,
5803
+ stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
5804
+ hover,
5805
+ focus,
5806
+ selected,
5807
+ disabled
5808
+ })
5809
+ ),
5810
+ children: text
5811
+ }
5812
+ );
5813
+ };
5814
+ ListOptionLabel.states = states27;
5815
+ ListOptionLabel.options = options24;
5816
+ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
5817
+ ListOptionLabel.defaultProps = defaultProps21;
5818
+
5819
+ // src/list/templates/list-normal.tsx
5820
+ import { jsx as jsx57 } from "react/jsx-runtime";
5821
+
5822
+ // src/list/templates/list-virtualization.tsx
5823
+ import { jsx as jsx58 } from "react/jsx-runtime";
5824
+
5825
+ // src/list/templates/list-grouping.tsx
5826
+ import { jsx as jsx59, jsxs as jsxs23 } from "react/jsx-runtime";
5827
+
5828
+ // src/list/templates/list-virualization-grouping.tsx
5829
+ import { jsx as jsx60, jsxs as jsxs24 } from "react/jsx-runtime";
5830
+
5831
+ // src/list/templates/list-virtualization-angular.tsx
5832
+ import { jsx as jsx61 } from "react/jsx-runtime";
5833
+
5834
+ // src/list/templates/list-grouping-angular.tsx
5835
+ import { jsx as jsx62, jsxs as jsxs25 } from "react/jsx-runtime";
5836
+
5837
+ // src/list/templates/list-virualization-grouping-angular.tsx
5838
+ import { jsx as jsx63, jsxs as jsxs26 } from "react/jsx-runtime";
5839
+
5840
+ // src/combobox/combobox.spec.tsx
5841
+ import { Fragment as Fragment20, jsx as jsx64, jsxs as jsxs27 } from "react/jsx-runtime";
5842
+ var COMBOBOX_CLASSNAME = `k-combobox`;
5843
+ var states28 = [
5844
+ States.hover,
5845
+ States.focus,
5846
+ States.valid,
5847
+ States.invalid,
5848
+ States.loading,
5849
+ States.required,
5850
+ States.disabled,
5851
+ States.readonly
5852
+ ];
5853
+ var defaultProps22 = {
5854
+ size: Input.defaultProps.size,
5855
+ rounded: Input.defaultProps.rounded,
5856
+ fillMode: Input.defaultProps.fillMode
5857
+ };
5858
+ var options25 = {
5859
+ size: [Size.small, Size.medium, Size.large],
5860
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5861
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5862
+ };
5863
+ var Combobox = (props) => {
5864
+ const {
5865
+ prefix,
5866
+ suffix,
5867
+ value,
5868
+ placeholder,
5869
+ size,
5870
+ rounded,
5871
+ fillMode,
5872
+ hover,
5873
+ focus,
5874
+ valid,
5875
+ invalid,
5876
+ required,
5877
+ loading,
5878
+ disabled,
5879
+ popup,
5880
+ opened,
5881
+ readonly,
5882
+ adaptive,
5883
+ adaptiveSettings,
5884
+ ...other
5885
+ } = props;
5886
+ return /* @__PURE__ */ jsxs27(Fragment20, { children: [
5887
+ /* @__PURE__ */ jsxs27(
5888
+ Input,
5889
+ {
5890
+ ...other,
5891
+ size,
5892
+ rounded,
5893
+ fillMode,
5894
+ hover,
5895
+ focus,
5896
+ valid,
5897
+ invalid,
5898
+ required,
5899
+ loading,
5900
+ disabled,
5901
+ readonly,
5902
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
5903
+ children: [
5904
+ /* @__PURE__ */ jsx64(InputPrefix, { children: prefix }),
5905
+ /* @__PURE__ */ jsx64(InputInnerInput, { placeholder, value }),
5906
+ /* @__PURE__ */ jsx64(
5907
+ InputValidationIcon,
5908
+ {
5909
+ valid,
5910
+ invalid,
5911
+ loading,
5912
+ disabled
5913
+ }
5914
+ ),
5915
+ /* @__PURE__ */ jsx64(
5916
+ InputLoadingIcon,
5917
+ {
5918
+ loading,
5919
+ disabled
5920
+ }
5921
+ ),
5922
+ /* @__PURE__ */ jsx64(
5923
+ InputClearValue,
5924
+ {
5925
+ loading,
5926
+ disabled,
5927
+ readonly,
5928
+ value
5929
+ }
5930
+ ),
5931
+ /* @__PURE__ */ jsx64(InputSuffix, { children: suffix }),
5932
+ /* @__PURE__ */ jsx64(
5933
+ Button,
5934
+ {
5935
+ className: "k-input-button",
5936
+ icon: "caret-alt-down",
5937
+ rounded: null,
5938
+ size,
5939
+ fillMode
5940
+ }
5941
+ )
5942
+ ]
5943
+ }
5944
+ ),
5945
+ opened && popup && /* @__PURE__ */ jsx64(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
5946
+ adaptive && /* @__PURE__ */ jsxs27(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
5947
+ /* @__PURE__ */ jsx64(
5948
+ ActionSheetHeader,
5949
+ {
5950
+ actions: ["x"],
5951
+ filter: true,
5952
+ title: "Select Item"
5953
+ }
5954
+ ),
5955
+ /* @__PURE__ */ jsx64("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs27(List, { size: "large", children: [
5956
+ /* @__PURE__ */ jsx64(ListItem, { text: "List item" }),
5957
+ /* @__PURE__ */ jsx64(ListItem, { text: "List item" }),
5958
+ /* @__PURE__ */ jsx64(ListItem, { text: "List item" })
5959
+ ] }) })
5960
+ ] })
5961
+ ] });
5962
+ };
5963
+ Combobox.states = states28;
5964
+ Combobox.options = options25;
5965
+ Combobox.className = COMBOBOX_CLASSNAME;
5966
+ Combobox.defaultProps = defaultProps22;
5967
+
5968
+ // src/combobox/templates/combobox-normal.tsx
5969
+ import { jsx as jsx65 } from "react/jsx-runtime";
5970
+
5971
+ // src/combobox/templates/combobox-popup.tsx
5972
+ import { jsx as jsx66, jsxs as jsxs28 } from "react/jsx-runtime";
5973
+
5974
+ // src/combobox/templates/combobox-grouping.tsx
5975
+ import { jsx as jsx67, jsxs as jsxs29 } from "react/jsx-runtime";
5976
+
5977
+ // src/combobox/templates/combobox-adaptive.tsx
5978
+ import { jsx as jsx68 } from "react/jsx-runtime";
5979
+
5980
+ // src/dropdownlist/dropdownlist.spec.tsx
5981
+ import { Fragment as Fragment21, jsx as jsx69, jsxs as jsxs30 } from "react/jsx-runtime";
5982
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5983
+ var states29 = [
5984
+ States.hover,
5985
+ States.focus,
5986
+ States.valid,
5987
+ States.invalid,
5988
+ States.required,
5989
+ States.disabled,
5990
+ States.loading,
5991
+ States.readonly
5992
+ ];
5993
+ var options26 = {
5994
+ size: [Size.small, Size.medium, Size.large],
5995
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5996
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5997
+ };
5998
+ var defaultProps23 = {
5999
+ showValue: true,
6000
+ arrowIconName: "caret-alt-down",
6001
+ size: Size.medium,
6002
+ rounded: Roundness.medium,
6003
+ fillMode: FillMode.solid
6004
+ };
6005
+ var DropdownList = (props) => {
6006
+ const {
6007
+ valueIconName,
6008
+ arrowIconName = defaultProps23.arrowIconName,
6009
+ prefix,
6010
+ suffix,
6011
+ value,
6012
+ placeholder,
6013
+ size,
6014
+ rounded,
6015
+ fillMode,
6016
+ hover,
6017
+ focus,
6018
+ valid,
6019
+ invalid,
6020
+ required,
6021
+ loading,
6022
+ disabled,
6023
+ readonly,
6024
+ showValue = defaultProps23.showValue,
6025
+ popup,
6026
+ opened,
6027
+ ...other
6028
+ } = props;
6029
+ return /* @__PURE__ */ jsxs30(Fragment21, { children: [
6030
+ /* @__PURE__ */ jsxs30(
6031
+ Picker,
6032
+ {
6033
+ ...other,
6034
+ size,
6035
+ rounded,
6036
+ fillMode,
6037
+ hover,
6038
+ focus,
6039
+ valid,
6040
+ invalid,
6041
+ required,
6042
+ loading,
6043
+ disabled,
6044
+ readonly,
6045
+ className: classNames(
6046
+ props.className,
6047
+ DROPDOWNLIST_CLASSNAME,
6048
+ {
6049
+ "k-icon-picker": !showValue && valueIconName
6050
+ }
6051
+ ),
6052
+ children: [
6053
+ /* @__PURE__ */ jsx69(InputPrefix, { children: prefix }),
6054
+ /* @__PURE__ */ jsx69(
6055
+ InputInnerSpan,
6056
+ {
6057
+ placeholder,
6058
+ value,
6059
+ showValue,
6060
+ valueIconName
6061
+ }
6062
+ ),
6063
+ /* @__PURE__ */ jsx69(
6064
+ InputValidationIcon,
6065
+ {
6066
+ valid,
6067
+ invalid,
6068
+ loading,
6069
+ disabled
6070
+ }
6071
+ ),
6072
+ /* @__PURE__ */ jsx69(
6073
+ InputLoadingIcon,
6074
+ {
6075
+ loading,
6076
+ disabled
6077
+ }
6078
+ ),
6079
+ /* @__PURE__ */ jsx69(InputSuffix, { children: suffix }),
6080
+ /* @__PURE__ */ jsx69(
6081
+ Button,
6082
+ {
6083
+ className: "k-input-button",
6084
+ icon: arrowIconName,
6085
+ rounded: null,
6086
+ size: props.size,
6087
+ fillMode: props.fillMode
6088
+ }
6089
+ )
6090
+ ]
6091
+ }
6092
+ ),
6093
+ opened && popup && /* @__PURE__ */ jsx69(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
6094
+ ] });
6095
+ };
6096
+ DropdownList.states = states29;
6097
+ DropdownList.options = options26;
6098
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
6099
+ DropdownList.defaultProps = defaultProps23;
6100
+
6101
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
6102
+ import { jsx as jsx70 } from "react/jsx-runtime";
6103
+
6104
+ // src/dropdownlist/templates/dropdownlist-popup.tsx
6105
+ import { jsx as jsx71, jsxs as jsxs31 } from "react/jsx-runtime";
6106
+
6107
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
6108
+ import { Fragment as Fragment22, jsx as jsx72, jsxs as jsxs32 } from "react/jsx-runtime";
6109
+
6110
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
6111
+ import { jsx as jsx73, jsxs as jsxs33 } from "react/jsx-runtime";
6112
+
6113
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6114
+ import { Fragment as Fragment23, jsx as jsx74, jsxs as jsxs34 } from "react/jsx-runtime";
6115
+
6116
+ // src/menu-button/menu-button.spec.tsx
6117
+ import { Fragment as Fragment24, jsx as jsx75, jsxs as jsxs35 } from "react/jsx-runtime";
6118
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
6119
+ var states30 = [
6120
+ States.hover,
6121
+ States.focus,
6122
+ States.active,
6123
+ States.selected,
6124
+ States.disabled
6125
+ ];
6126
+ var options27 = {
6127
+ size: [Size.small, Size.medium, Size.large],
6128
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6129
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
6130
+ themeColor: [
6131
+ ThemeColor.base,
6132
+ ThemeColor.primary,
6133
+ ThemeColor.secondary,
6134
+ ThemeColor.tertiary,
6135
+ ThemeColor.success,
6136
+ ThemeColor.warning,
6137
+ ThemeColor.error,
6138
+ ThemeColor.info,
6139
+ ThemeColor.light,
6140
+ ThemeColor.dark,
6141
+ ThemeColor.inverse
6142
+ ]
6143
+ };
6144
+ var defaultProps24 = {
6145
+ size: Size.medium,
6146
+ rounded: Roundness.medium,
6147
+ fillMode: FillMode.solid,
6148
+ themeColor: ThemeColor.base,
6149
+ showArrow: true,
6150
+ arrowIconName: "caret-alt-down"
6151
+ };
6152
+ var MenuButton = (props) => {
6153
+ const {
6154
+ size = defaultProps24.size,
6155
+ rounded = defaultProps24.rounded,
6156
+ fillMode = defaultProps24.fillMode,
6157
+ themeColor = defaultProps24.themeColor,
6158
+ hover,
6159
+ focus,
6160
+ active,
6161
+ selected,
6162
+ disabled,
6163
+ icon,
6164
+ text,
6165
+ showArrow = defaultProps24.showArrow,
6166
+ arrowIconName = defaultProps24.arrowIconName,
6167
+ popup,
6168
+ opened,
6169
+ ...other
6170
+ } = props;
6171
+ return /* @__PURE__ */ jsxs35(Fragment24, { children: [
6172
+ /* @__PURE__ */ jsx75(
6173
+ Button,
6174
+ {
6175
+ ...other,
6176
+ className: classNames(
6177
+ props.className,
6178
+ MENUBUTTON_CLASSNAME
6179
+ ),
6180
+ text,
6181
+ size,
6182
+ rounded,
6183
+ fillMode,
6184
+ themeColor,
6185
+ hover,
6186
+ focus,
6187
+ active,
6188
+ selected,
6189
+ disabled,
6190
+ icon,
6191
+ showArrow,
6192
+ arrowIconName
6193
+ }
6194
+ ),
6195
+ opened && popup && /* @__PURE__ */ jsx75(Popup, { className: "k-menu-popup", children: popup })
6196
+ ] });
6197
+ };
6198
+ MenuButton.states = states30;
6199
+ MenuButton.options = options27;
6200
+ MenuButton.className = MENUBUTTON_CLASSNAME;
6201
+ MenuButton.defaultProps = defaultProps24;
6202
+
6203
+ // src/menu-button/templates/icon-menu-button.tsx
6204
+ import { jsx as jsx76 } from "react/jsx-runtime";
6205
+
6206
+ // src/menu-button/templates/icon-text-menu-button.tsx
6207
+ import { jsx as jsx77 } from "react/jsx-runtime";
6208
+
6209
+ // src/menu-button/templates/text-menu-button.tsx
6210
+ import { jsx as jsx78 } from "react/jsx-runtime";
6211
+
6212
+ // src/menu/menu-item.spec.tsx
6213
+ import { Fragment as Fragment25, jsx as jsx79, jsxs as jsxs36 } from "react/jsx-runtime";
6214
+ var MENUITEM_CLASSNAME = `k-menu-item`;
6215
+ var states31 = [
6216
+ States.hover,
6217
+ States.focus,
6218
+ States.active,
6219
+ States.selected,
6220
+ States.disabled
6221
+ ];
6222
+ var options28 = {};
6223
+ var defaultProps25 = {
6224
+ dir: "ltr"
6225
+ };
6226
+ var MenuItem = (props) => {
6227
+ const {
6228
+ hover,
6229
+ focus,
6230
+ active,
6231
+ selected,
6232
+ disabled,
6233
+ icon,
6234
+ text,
6235
+ showArrow,
6236
+ arrowIconName,
6237
+ dir = defaultProps25.dir,
6238
+ children,
6239
+ ...other
6240
+ } = props;
6241
+ const contentTemplate = /* @__PURE__ */ jsx79(Fragment25, {});
6242
+ if (children) {
6243
+ children.forEach((child) => {
6244
+ const component = child.type;
6245
+ if (component === "MenuItemContent") {
6246
+ contentTemplate.props.children.push(child);
6247
+ return;
6248
+ }
6249
+ });
6250
+ }
6251
+ let expandArrowName = arrowIconName;
6252
+ if (!expandArrowName) {
6253
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
6254
+ }
6255
+ return /* @__PURE__ */ jsxs36(
6256
+ "li",
6257
+ {
6258
+ ...other,
6259
+ className: classNames(
6260
+ props.className,
6261
+ MENUITEM_CLASSNAME,
6262
+ //TODO
6263
+ "k-item",
6264
+ stateClassNames(MENUITEM_CLASSNAME, {
6265
+ focus,
6266
+ disabled
6267
+ })
6268
+ ),
6269
+ children: [
6270
+ /* @__PURE__ */ jsxs36(
6271
+ "span",
6272
+ {
6273
+ className: classNames(
6274
+ "k-link k-menu-link",
6275
+ stateClassNames("k-menu-link", {
6276
+ hover,
6277
+ active,
6278
+ selected,
6279
+ disabled
6280
+ })
6281
+ ),
6282
+ children: [
6283
+ icon && /* @__PURE__ */ jsx79(Icon, { className: "k-menu-link-icon", icon }),
6284
+ /* @__PURE__ */ jsx79("span", { className: "k-menu-link-text", children: text }),
6285
+ showArrow && /* @__PURE__ */ jsx79("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx79(Icon, { icon: expandArrowName }) })
6286
+ ]
6287
+ }
6288
+ ),
6289
+ contentTemplate
6290
+ ]
6291
+ }
6292
+ );
6293
+ };
6294
+ MenuItem.states = states31;
6295
+ MenuItem.options = options28;
6296
+ MenuItem.className = MENUITEM_CLASSNAME;
6297
+ MenuItem.defaultProps = defaultProps25;
6298
+ var menu_item_spec_default = MenuItem;
6299
+
6300
+ // src/menu/menu-separator.spec.tsx
6301
+ import { jsx as jsx80 } from "react/jsx-runtime";
6302
+ var SEPARATOR_CLASSNAME = `k-separator`;
6303
+ var defaultProps26 = {
6304
+ orientation: "horizontal"
6305
+ };
6306
+ var MenuSeparator = (props) => {
6307
+ const {
6308
+ orientation = defaultProps26.orientation,
6309
+ ...other
6310
+ } = props;
6311
+ return /* @__PURE__ */ jsx80(
6312
+ "li",
6313
+ {
6314
+ ...other,
6315
+ className: classNames(
6316
+ props.className,
6317
+ "k-item",
6318
+ SEPARATOR_CLASSNAME,
6319
+ {
6320
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
6321
+ }
6322
+ )
6323
+ }
6324
+ );
6325
+ };
6326
+ var menu_separator_spec_default = MenuSeparator;
6327
+
6328
+ // src/menu/menu-item-content.tsx
6329
+ import { Fragment as Fragment26, jsx as jsx81 } from "react/jsx-runtime";
6330
+
6331
+ // src/menu/menu-list.spec.tsx
6332
+ import { jsx as jsx82 } from "react/jsx-runtime";
6333
+ import { createElement } from "react";
6334
+ var MENULIST_CLASSNAME = `k-menu-group`;
6335
+ var states32 = [];
6336
+ var options29 = {
6337
+ size: [Size.small, Size.medium, Size.large]
6338
+ };
6339
+ var defaultProps27 = {
6340
+ size: Size.medium,
6341
+ dir: "ltr"
6342
+ };
6343
+ var MenuList = (props) => {
6344
+ const {
6345
+ children,
6346
+ size = defaultProps27.size,
6347
+ dir = defaultProps27.dir,
6348
+ ...other
6349
+ } = props;
6350
+ const listChildren = [];
6351
+ if (children) {
6352
+ if (Array.isArray(children)) {
6353
+ children.map((child, index) => {
6354
+ if (child.type === menu_item_spec_default) {
6355
+ listChildren.push(
6356
+ /* @__PURE__ */ createElement(menu_item_spec_default, { ...child.props, dir, key: index })
6357
+ );
6358
+ } else if (child.type === menu_separator_spec_default) {
6359
+ listChildren.push(
6360
+ /* @__PURE__ */ jsx82(menu_separator_spec_default, {})
6361
+ );
6362
+ } else {
6363
+ listChildren.push(child);
6364
+ }
6365
+ });
6366
+ }
6367
+ }
6368
+ return /* @__PURE__ */ jsx82(
6369
+ "ul",
6370
+ {
6371
+ ...other,
6372
+ className: classNames(
6373
+ props.className,
6374
+ MENULIST_CLASSNAME,
6375
+ optionClassNames(MENULIST_CLASSNAME, {
6376
+ size
6377
+ })
6378
+ ),
6379
+ children: listChildren
6380
+ }
6381
+ );
6382
+ };
6383
+ MenuList.states = states32;
6384
+ MenuList.options = options29;
6385
+ MenuList.className = MENULIST_CLASSNAME;
6386
+ MenuList.defaultProps = defaultProps27;
6387
+
6388
+ // src/menu-button/templates/menu-button-popup.tsx
6389
+ import { jsx as jsx83, jsxs as jsxs37 } from "react/jsx-runtime";
6390
+
6391
+ // src/split-button/split-button.spec.tsx
6392
+ import { Fragment as Fragment27, jsx as jsx84, jsxs as jsxs38 } from "react/jsx-runtime";
6393
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
6394
+ var states33 = [
6395
+ States.hover,
6396
+ States.focus,
6397
+ States.active,
6398
+ States.selected,
6399
+ States.disabled
6400
+ ];
6401
+ var options30 = {
6402
+ size: [Size.small, Size.medium, Size.large],
6403
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6404
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
6405
+ themeColor: [
6406
+ ThemeColor.base,
6407
+ ThemeColor.primary,
6408
+ ThemeColor.secondary,
6409
+ ThemeColor.tertiary,
6410
+ ThemeColor.success,
6411
+ ThemeColor.warning,
6412
+ ThemeColor.error,
6413
+ ThemeColor.info,
6414
+ ThemeColor.light,
6415
+ ThemeColor.dark,
6416
+ ThemeColor.inverse
6417
+ ]
6418
+ };
6419
+ var defaultProps28 = {
6420
+ size: Size.medium,
6421
+ rounded: Roundness.medium,
6422
+ fillMode: FillMode.solid,
6423
+ themeColor: ThemeColor.base,
6424
+ arrowIconName: "caret-alt-down"
6425
+ };
6426
+ var SplitButton = (props) => {
6427
+ const {
6428
+ size = defaultProps28.size,
6429
+ rounded = defaultProps28.rounded,
6430
+ fillMode = defaultProps28.fillMode,
6431
+ themeColor = defaultProps28.themeColor,
6432
+ hover,
6433
+ focus,
6434
+ active,
6435
+ selected,
6436
+ disabled,
6437
+ icon,
6438
+ text,
6439
+ arrowIconName = defaultProps28.arrowIconName,
6440
+ popup,
6441
+ opened,
6442
+ ...other
6443
+ } = props;
6444
+ return /* @__PURE__ */ jsxs38(Fragment27, { children: [
6445
+ /* @__PURE__ */ jsxs38(
6446
+ "div",
6447
+ {
6448
+ ...other,
6449
+ className: classNames(
6450
+ props.className,
6451
+ SPLITBUTTON_CLASSNAME,
6452
+ "k-button-group",
6453
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
6454
+ rounded
6455
+ })
6456
+ ),
6457
+ children: [
6458
+ /* @__PURE__ */ jsx84(
6459
+ Button,
6460
+ {
6461
+ text,
6462
+ icon,
6463
+ size,
6464
+ rounded,
6465
+ fillMode,
6466
+ themeColor,
6467
+ hover,
6468
+ focus,
6469
+ active,
6470
+ selected,
6471
+ disabled,
6472
+ children: props.children
6473
+ }
6474
+ ),
6475
+ /* @__PURE__ */ jsx84(
6476
+ Button,
6477
+ {
6478
+ className: "k-split-button-arrow",
6479
+ icon: arrowIconName,
6480
+ size,
6481
+ rounded,
6482
+ fillMode,
6483
+ disabled
6484
+ }
6485
+ )
6486
+ ]
6487
+ }
6488
+ ),
6489
+ opened && popup && /* @__PURE__ */ jsx84(Popup, { className: "k-menu-popup", children: popup })
6490
+ ] });
6491
+ };
6492
+ SplitButton.states = states33;
6493
+ SplitButton.options = options30;
6494
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
6495
+ SplitButton.defaultProps = defaultProps28;
6496
+ var split_button_spec_default = SplitButton;
6497
+
6498
+ // src/toolbar/toolbar.spec.tsx
6499
+ import { jsx as jsx85 } from "react/jsx-runtime";
6500
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
6501
+ var states34 = [
6502
+ States.focus
6503
+ ];
6504
+ var options31 = {
6505
+ size: [Size.small, Size.medium, Size.large]
6506
+ };
6507
+ var defaultProps29 = {
6508
+ size: Size.medium
6509
+ };
6510
+ var Toolbar = (props) => {
6511
+ const {
6512
+ size = defaultProps29.size,
6513
+ focus,
6514
+ resizable,
6515
+ ...other
6516
+ } = props;
6517
+ const toolbarChildren = [];
6518
+ const addUniqueToolClass = (child, index) => {
6519
+ const tempToolbarChildren = [];
6520
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
6521
+ tempToolbarChildren.push(
6522
+ /* @__PURE__ */ jsx85(
6523
+ Button,
6524
+ {
6525
+ ...child.props,
6526
+ className: `${child.props.className ? child.props.className : ""}`
6527
+ },
6528
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6529
+ )
6530
+ );
6531
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
6532
+ tempToolbarChildren.push(
6533
+ /* @__PURE__ */ jsx85(
6534
+ Button,
6535
+ {
6536
+ ...child.props,
6537
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
6538
+ },
6539
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6540
+ )
6541
+ );
6542
+ } else if (child.type === Button) {
6543
+ tempToolbarChildren.push(
6544
+ /* @__PURE__ */ jsx85(
6545
+ Button,
6546
+ {
6547
+ ...child.props,
6548
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
6549
+ },
6550
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6551
+ )
6552
+ );
6553
+ } else if (child.type === MenuButton) {
6554
+ tempToolbarChildren.push(
6555
+ /* @__PURE__ */ jsx85(
6556
+ MenuButton,
6557
+ {
6558
+ ...child.props,
6559
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
6560
+ },
6561
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6562
+ )
6563
+ );
6564
+ } else if (child.type === split_button_spec_default) {
6565
+ tempToolbarChildren.push(
6566
+ /* @__PURE__ */ jsx85(
6567
+ split_button_spec_default,
6568
+ {
6569
+ ...child.props,
6570
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
6571
+ },
6572
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6573
+ )
6574
+ );
6575
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
6576
+ const buttonGroupItems = [];
6577
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
6578
+ childrenArray.forEach((button, bindex) => {
6579
+ buttonGroupItems.push(
6580
+ /* @__PURE__ */ jsx85(
6581
+ Button,
6582
+ {
6583
+ ...button.props,
6584
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
6585
+ },
6586
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
6587
+ )
6588
+ );
6589
+ });
6590
+ tempToolbarChildren.push(
6591
+ /* @__PURE__ */ jsx85(
6592
+ ButtonGroup,
6593
+ {
6594
+ ...child.props,
6595
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
6596
+ children: buttonGroupItems
6597
+ },
6598
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6599
+ )
6600
+ );
6601
+ } else if (child.type === Combobox) {
6602
+ tempToolbarChildren.push(
6603
+ /* @__PURE__ */ jsx85(
6604
+ Combobox,
6605
+ {
6606
+ ...child.props,
6607
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
6608
+ },
6609
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6610
+ )
6611
+ );
6612
+ } else if (child.type === DropdownList) {
6613
+ tempToolbarChildren.push(
6614
+ /* @__PURE__ */ jsx85(
6615
+ DropdownList,
6616
+ {
6617
+ ...child.props,
6618
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
6619
+ },
6620
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6621
+ )
6622
+ );
6623
+ } else if (child.type === ColorPicker) {
6624
+ tempToolbarChildren.push(
6625
+ /* @__PURE__ */ jsx85(
6626
+ ColorPicker,
6627
+ {
6628
+ ...child.props,
6629
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
6630
+ },
6631
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6632
+ )
6633
+ );
6634
+ } else {
6635
+ tempToolbarChildren.push(child);
6636
+ }
6637
+ tempToolbarChildren.forEach((item) => {
6638
+ toolbarChildren.push(item);
6639
+ });
6640
+ };
6641
+ if (props.children) {
6642
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
6643
+ childrenArray.forEach((child, index) => {
6644
+ addUniqueToolClass(child, index);
6645
+ });
6646
+ }
6647
+ return /* @__PURE__ */ jsx85(
6648
+ "div",
6649
+ {
6650
+ ...other,
6651
+ className: classNames(
6652
+ props.className,
6653
+ TOOLBAR_CLASSNAME,
6654
+ optionClassNames(TOOLBAR_CLASSNAME, {
6655
+ size
6656
+ }),
6657
+ stateClassNames(TOOLBAR_CLASSNAME, {
6658
+ focus
6659
+ }),
6660
+ {
6661
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
6662
+ }
6663
+ ),
6664
+ children: toolbarChildren
6665
+ }
6666
+ );
6667
+ };
6668
+ Toolbar.states = states34;
6669
+ Toolbar.options = options31;
6670
+ Toolbar.className = TOOLBAR_CLASSNAME;
6671
+ Toolbar.defaultProps = defaultProps29;
6672
+
6673
+ // src/toolbar/toolbar-angular.spec.tsx
6674
+ import { jsx as jsx86 } from "react/jsx-runtime";
6675
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
6676
+ var states35 = [
6677
+ States.focus
6678
+ ];
6679
+ var options32 = {
6680
+ size: [Size.small, Size.medium, Size.large]
6681
+ };
6682
+ var defaultProps30 = {
6683
+ size: Size.medium
6684
+ };
6685
+ var ToolbarAngular = (props) => {
6686
+ const {
6687
+ size = defaultProps30.size,
6688
+ focus,
6689
+ resizable,
6690
+ ...other
6691
+ } = props;
6692
+ const toolbarChildren = [];
6693
+ const addUniqueToolClass = (child, index) => {
6694
+ const tempToolbarChildren = [];
6695
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
6696
+ tempToolbarChildren.push(
6697
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6698
+ Button,
6699
+ {
6700
+ ...child.props,
6701
+ className: `${child.props.className ? child.props.className : ""}`
6702
+ },
6703
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6704
+ ) })
6705
+ );
6706
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
6707
+ tempToolbarChildren.push(
6708
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6709
+ Button,
6710
+ {
6711
+ ...child.props,
6712
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
6713
+ },
6714
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6715
+ ) })
6716
+ );
6717
+ } else if (child.type === Button) {
6718
+ tempToolbarChildren.push(
6719
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6720
+ Button,
6721
+ {
6722
+ ...child.props,
6723
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
6724
+ },
6725
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6726
+ ) })
6727
+ );
6728
+ } else if (child.type === MenuButton) {
6729
+ tempToolbarChildren.push(
6730
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6731
+ MenuButton,
6732
+ {
6733
+ ...child.props,
6734
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
6735
+ },
6736
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6737
+ ) })
6738
+ );
6739
+ } else if (child.type === split_button_spec_default) {
6740
+ tempToolbarChildren.push(
6741
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6742
+ split_button_spec_default,
6743
+ {
6744
+ ...child.props,
6745
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
6746
+ },
6747
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6748
+ ) })
6749
+ );
6750
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
6751
+ const buttonGroupItems = [];
6752
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
6753
+ childrenArray.forEach((button, bindex) => {
6754
+ buttonGroupItems.push(
6755
+ /* @__PURE__ */ jsx86(
6756
+ Button,
6757
+ {
6758
+ ...button.props,
6759
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
6760
+ },
6761
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
6762
+ )
6763
+ );
6764
+ });
6765
+ tempToolbarChildren.push(
6766
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6767
+ ButtonGroup,
6768
+ {
6769
+ ...child.props,
6770
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
6771
+ children: buttonGroupItems
6772
+ },
6773
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6774
+ ) })
6775
+ );
6776
+ } else if (child.type === Combobox) {
6777
+ tempToolbarChildren.push(
6778
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6779
+ Combobox,
6780
+ {
6781
+ ...child.props,
6782
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
6783
+ },
6784
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6785
+ ) })
6786
+ );
6787
+ } else if (child.type === DropdownList) {
6788
+ tempToolbarChildren.push(
6789
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6790
+ DropdownList,
6791
+ {
6792
+ ...child.props,
6793
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
6794
+ },
6795
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6796
+ ) })
6797
+ );
6798
+ } else if (child.type === ColorPicker) {
6799
+ tempToolbarChildren.push(
6800
+ /* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
6801
+ ColorPicker,
6802
+ {
6803
+ ...child.props,
6804
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
6805
+ },
6806
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6807
+ ) })
6808
+ );
6809
+ } else {
6810
+ tempToolbarChildren.push(child);
6811
+ }
6812
+ tempToolbarChildren.forEach((item) => {
6813
+ toolbarChildren.push(item);
6814
+ });
6815
+ };
6816
+ if (props.children) {
6817
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
6818
+ childrenArray.forEach((child, index) => {
6819
+ addUniqueToolClass(child, index);
6820
+ });
6821
+ }
6822
+ return /* @__PURE__ */ jsx86(
6823
+ "div",
6824
+ {
6825
+ ...other,
6826
+ className: classNames(
6827
+ props.className,
6828
+ TOOLBARANGULAR_CLASSNAME,
6829
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
6830
+ size
6831
+ }),
6832
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
6833
+ focus
6834
+ }),
6835
+ {
6836
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
6837
+ }
6838
+ ),
6839
+ children: toolbarChildren
6840
+ }
6841
+ );
6842
+ };
6843
+ ToolbarAngular.states = states35;
6844
+ ToolbarAngular.options = options32;
6845
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
6846
+ ToolbarAngular.defaultProps = defaultProps30;
6847
+
6848
+ // src/toolbar/toolbar-separator.tsx
6849
+ import { jsx as jsx87 } from "react/jsx-runtime";
6850
+
6851
+ // src/toolbar/toolbar-item.spec.tsx
6852
+ import { jsx as jsx88 } from "react/jsx-runtime";
6853
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
6854
+ var states36 = [
6855
+ States.focus
6856
+ ];
6857
+ var options33 = {};
6858
+ var defaultProps31 = {};
6859
+ var ToolbarItem = (props) => {
6860
+ const {
6861
+ focus,
6862
+ ...other
6863
+ } = props;
6864
+ return /* @__PURE__ */ jsx88(
6865
+ "div",
6866
+ {
6867
+ ...other,
6868
+ className: classNames(
6869
+ props.className,
6870
+ TOOLBARITEM_CLASSNAME,
6871
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
6872
+ focus
6873
+ })
6874
+ ),
6875
+ children: props.children
6876
+ }
6877
+ );
6878
+ };
6879
+ ToolbarItem.states = states36;
6880
+ ToolbarItem.options = options33;
6881
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
6882
+ ToolbarItem.defaultProps = defaultProps31;
6883
+
6884
+ // src/textbox/textbox.spec.tsx
6885
+ import { jsx as jsx89, jsxs as jsxs39 } from "react/jsx-runtime";
6886
+ var TEXTBOX_CLASSNAME = `k-textbox`;
6887
+ var states37 = [
6888
+ States.hover,
6889
+ States.focus,
6890
+ States.valid,
6891
+ States.invalid,
6892
+ States.required,
6893
+ States.disabled,
6894
+ States.loading,
6895
+ States.readonly
6896
+ ];
6897
+ var options34 = {
6898
+ size: [Size.small, Size.medium, Size.large],
6899
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6900
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6901
+ };
6902
+ var defaultProps32 = {
6903
+ showClearButton: true,
6904
+ size: Input.defaultProps.size,
6905
+ rounded: Input.defaultProps.rounded,
6906
+ fillMode: Input.defaultProps.fillMode
6907
+ };
6908
+ var Textbox = (props) => {
6909
+ const {
6910
+ prefix,
6911
+ suffix,
6912
+ value,
6913
+ placeholder,
6914
+ size,
6915
+ rounded,
6916
+ fillMode,
6917
+ hover,
6918
+ focus,
6919
+ valid,
6920
+ invalid,
6921
+ required,
6922
+ loading,
6923
+ disabled,
6924
+ readonly,
6925
+ showClearButton = defaultProps32.showClearButton,
6926
+ ...other
6927
+ } = props;
6928
+ return /* @__PURE__ */ jsxs39(
6929
+ Input,
6930
+ {
6931
+ ...other,
6932
+ size,
6933
+ rounded,
6934
+ fillMode,
6935
+ hover,
6936
+ focus,
6937
+ valid,
6938
+ invalid,
6939
+ required,
6940
+ loading,
6941
+ disabled,
6942
+ readonly,
6943
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
6944
+ children: [
6945
+ /* @__PURE__ */ jsx89(InputPrefix, { children: prefix }),
6946
+ /* @__PURE__ */ jsx89(InputInnerInput, { placeholder, value }),
6947
+ /* @__PURE__ */ jsx89(
6948
+ InputValidationIcon,
6949
+ {
6950
+ valid,
6951
+ invalid,
6952
+ loading,
6953
+ disabled
6954
+ }
6955
+ ),
6956
+ /* @__PURE__ */ jsx89(
6957
+ InputLoadingIcon,
6958
+ {
6959
+ loading,
6960
+ disabled
6961
+ }
6962
+ ),
6963
+ showClearButton && /* @__PURE__ */ jsx89(
6964
+ InputClearValue,
6965
+ {
6966
+ loading,
6967
+ disabled,
6968
+ readonly,
6969
+ value
6970
+ }
6971
+ ),
6972
+ /* @__PURE__ */ jsx89(InputSuffix, { children: suffix })
6973
+ ]
6974
+ }
6975
+ );
6976
+ };
6977
+ Textbox.states = states37;
6978
+ Textbox.options = options34;
6979
+ Textbox.className = TEXTBOX_CLASSNAME;
6980
+ Textbox.defaultProps = defaultProps32;
6981
+
6982
+ // src/textbox/templates/textbox-normal.tsx
6983
+ import { jsx as jsx90 } from "react/jsx-runtime";
6984
+
6985
+ // src/textbox/templates/textbox-prefix.tsx
6986
+ import { jsx as jsx91, jsxs as jsxs40 } from "react/jsx-runtime";
6987
+
6988
+ // src/textbox/templates/textbox-suffix.tsx
6989
+ import { jsx as jsx92, jsxs as jsxs41 } from "react/jsx-runtime";
6990
+
6991
+ // src/chat/chat.spec.tsx
6992
+ import { Fragment as Fragment28, jsx as jsx93, jsxs as jsxs42 } from "react/jsx-runtime";
6993
+ var CHAT_CLASSNAME = "k-chat";
6994
+ var states38 = [];
6995
+ var options35 = {};
6996
+ var defaultOptions = {
6997
+ showToolbar: true,
6998
+ showMessageBox: true,
6999
+ showMoreButton: true
7000
+ };
7001
+ var Chat = (props) => {
7002
+ const {
7003
+ dir,
7004
+ showToolbar = defaultOptions.showToolbar,
7005
+ showMessageBox = defaultOptions.showMessageBox,
7006
+ showMoreButton = defaultOptions.showMoreButton,
7007
+ ...other
7008
+ } = props;
7009
+ return /* @__PURE__ */ jsxs42(
7010
+ "div",
7011
+ {
7012
+ ...other,
7013
+ className: classNames(
7014
+ CHAT_CLASSNAME,
7015
+ props.className
7016
+ ),
7017
+ dir,
7018
+ children: [
7019
+ /* @__PURE__ */ jsx93("div", { className: "k-message-list k-avatars", children: /* @__PURE__ */ jsx93("div", { className: "k-message-list-content", children: props.children }) }),
7020
+ showMessageBox && /* @__PURE__ */ jsx93(
7021
+ Textbox,
7022
+ {
7023
+ className: "k-message-box",
7024
+ placeholder: "Type a message...",
7025
+ suffix: /* @__PURE__ */ jsxs42(Fragment28, { children: [
7026
+ showMoreButton && /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "more-horizontal" }),
7027
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "paper-plane", className: "k-chat-send" })
7028
+ ] })
7029
+ }
7030
+ ),
7031
+ showToolbar && /* @__PURE__ */ jsxs42(Toolbar, { className: "k-chat-toolbar", children: [
7032
+ /* @__PURE__ */ jsx93(Button, { className: "k-scroll-button k-scroll-button-left k-hidden", fillMode: "flat", rounded: null, size: null, icon: "chevron-left" }),
7033
+ /* @__PURE__ */ jsxs42("div", { className: "k-toolbar-group k-button-list", children: [
7034
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "arrow-rotate-cw" }),
7035
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "gear" }),
7036
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "wrench" }),
7037
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "plus" }),
7038
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "search" }),
7039
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "star" }),
7040
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "bell" }),
7041
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "question-circle" }),
7042
+ /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "trash" })
7043
+ ] }),
7044
+ /* @__PURE__ */ jsx93(Button, { className: "k-scroll-button k-scroll-button-right", fillMode: "flat", rounded: null, size: null, icon: "chevron-right" })
7045
+ ] })
7046
+ ]
7047
+ }
7048
+ );
7049
+ };
7050
+ Chat.states = states38;
7051
+ Chat.options = options35;
7052
+ Chat.className = CHAT_CLASSNAME;
7053
+ Chat.defaultOptions = defaultOptions;
7054
+
7055
+ // src/chat/chat-message.tsx
7056
+ import { jsx as jsx94, jsxs as jsxs43 } from "react/jsx-runtime";
7057
+ var CHATMESSAGE_CLASSNAME = "k-message";
7058
+ var states39 = [
7059
+ States.selected
7060
+ ];
7061
+ var options36 = {};
7062
+ var defaultProps33 = {
7063
+ time: "Thu Feb 08 2018",
7064
+ text: "How can I help you?",
7065
+ status: "Seen"
7066
+ };
7067
+ var ChatMessage = (props) => {
7068
+ const {
7069
+ time = defaultProps33.time,
7070
+ text = defaultProps33.text,
7071
+ status = defaultProps33.status,
7072
+ selected,
7073
+ ...other
7074
+ } = props;
7075
+ return /* @__PURE__ */ jsxs43(
7076
+ "div",
7077
+ {
7078
+ ...other,
7079
+ className: classNames(
7080
+ CHATMESSAGE_CLASSNAME,
7081
+ props.className,
7082
+ stateClassNames(CHATMESSAGE_CLASSNAME, { selected })
7083
+ ),
7084
+ children: [
7085
+ /* @__PURE__ */ jsx94("time", { className: "k-message-time", children: time }),
7086
+ /* @__PURE__ */ jsx94("div", { className: "k-chat-bubble", children: text }),
7087
+ /* @__PURE__ */ jsx94("span", { className: "k-message-status", children: status })
7088
+ ]
7089
+ }
7090
+ );
7091
+ };
7092
+ ChatMessage.states = states39;
7093
+ ChatMessage.options = options36;
7094
+ ChatMessage.className = CHATMESSAGE_CLASSNAME;
7095
+ ChatMessage.defaultProps = defaultProps33;
7096
+
7097
+ // src/avatar/avatar.spec.tsx
7098
+ import { jsx as jsx95 } from "react/jsx-runtime";
7099
+ var AVATAR_CLASSNAME = `k-avatar`;
7100
+ var states40 = [
7101
+ States.hover,
7102
+ States.focus,
7103
+ States.active,
7104
+ States.selected,
7105
+ States.disabled
7106
+ ];
7107
+ var options37 = {
7108
+ size: [Size.small, Size.medium, Size.large],
7109
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7110
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
7111
+ themeColor: [
7112
+ ThemeColor.base,
7113
+ ThemeColor.primary,
7114
+ ThemeColor.secondary,
7115
+ ThemeColor.tertiary,
7116
+ ThemeColor.success,
7117
+ ThemeColor.warning,
7118
+ ThemeColor.error,
7119
+ ThemeColor.info,
7120
+ ThemeColor.light,
7121
+ ThemeColor.dark,
7122
+ ThemeColor.inverse
7123
+ ]
7124
+ };
7125
+ var defaultProps34 = {
7126
+ type: "text" /* TEXT */,
7127
+ size: Size.medium,
7128
+ rounded: Roundness.full,
7129
+ fillMode: FillMode.solid,
7130
+ themeColor: ThemeColor.primary,
7131
+ border: false
7132
+ };
7133
+ var Avatar = (props) => {
7134
+ const {
7135
+ size = defaultProps34.size,
7136
+ rounded = defaultProps34.rounded,
7137
+ fillMode = defaultProps34.fillMode,
7138
+ themeColor = defaultProps34.themeColor,
7139
+ type = defaultProps34.type,
7140
+ border = defaultProps34.border,
7141
+ ...other
7142
+ } = props;
7143
+ return /* @__PURE__ */ jsx95(
7144
+ "div",
7145
+ {
7146
+ ...other,
7147
+ className: classNames(
7148
+ props.className,
7149
+ AVATAR_CLASSNAME,
7150
+ optionClassNames(AVATAR_CLASSNAME, {
7151
+ size,
7152
+ rounded,
7153
+ fillMode,
7154
+ themeColor
7155
+ }),
7156
+ {
7157
+ [`${AVATAR_CLASSNAME}-bordered`]: border
7158
+ }
7159
+ ),
7160
+ children: /* @__PURE__ */ jsx95("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
7161
+ }
7162
+ );
7163
+ };
7164
+ Avatar.states = states40;
7165
+ Avatar.options = options37;
7166
+ Avatar.className = AVATAR_CLASSNAME;
7167
+ Avatar.defaultProps = defaultProps34;
7168
+
7169
+ // src/avatar/templates/avatar-icon.tsx
7170
+ import { jsx as jsx96 } from "react/jsx-runtime";
7171
+
7172
+ // src/avatar/templates/avatar-text.tsx
7173
+ import { jsx as jsx97 } from "react/jsx-runtime";
7174
+
7175
+ // src/avatar/templates/avatar-image.tsx
7176
+ import { jsx as jsx98 } from "react/jsx-runtime";
7177
+
7178
+ // src/chat/chat-message-group.tsx
7179
+ import { jsx as jsx99, jsxs as jsxs44 } from "react/jsx-runtime";
7180
+ var CHATMESSAGEGROUP_CLASSNAME = "k-message-group";
7181
+ var states41 = [
7182
+ States.selected
7183
+ ];
7184
+ var options38 = {};
7185
+ var defaultProps35 = {
7186
+ author: "Bruv",
7187
+ avatar: "/packages/html/assets/avatar.jpg",
7188
+ alt: false
7189
+ };
7190
+ var ChatMessageGroup = (props) => {
7191
+ const {
7192
+ alt = defaultProps35.alt,
7193
+ author = defaultProps35.author,
7194
+ avatar = defaultProps35.avatar,
7195
+ selected,
7196
+ ...other
7197
+ } = props;
7198
+ return /* @__PURE__ */ jsxs44(
7199
+ "div",
7200
+ {
7201
+ ...other,
7202
+ className: classNames(
7203
+ CHATMESSAGEGROUP_CLASSNAME,
7204
+ props.className,
7205
+ stateClassNames(CHATMESSAGEGROUP_CLASSNAME, { selected }),
7206
+ {
7207
+ "k-alt": alt,
7208
+ "k-no-avatar": !avatar
7209
+ }
7210
+ ),
7211
+ children: [
7212
+ author && /* @__PURE__ */ jsx99("p", { className: "k-author", children: author }),
7213
+ avatar && /* @__PURE__ */ jsx99(Avatar, { type: "image", children: /* @__PURE__ */ jsx99("img", { src: avatar }) }),
7214
+ props.children
7215
+ ]
7216
+ }
7217
+ );
7218
+ };
7219
+ ChatMessageGroup.states = states41;
7220
+ ChatMessageGroup.options = options38;
7221
+ ChatMessageGroup.className = CHATMESSAGEGROUP_CLASSNAME;
7222
+ ChatMessageGroup.defaultProps = defaultProps35;
7223
+
7224
+ // src/chat/chat-quick-replies.tsx
7225
+ import { jsx as jsx100 } from "react/jsx-runtime";
7226
+ var CHATQUICKREPLY_CLASSNAME = "k-quick-replies";
7227
+ var states42 = [];
7228
+ var options39 = {};
7229
+ var defaultOptions2 = {
7230
+ actions: ["Quick", "Reply", "Another quick", "Reply with different length"]
7231
+ };
7232
+ var ChatQuickReply = (props) => {
7233
+ const {
7234
+ actions = defaultOptions2.actions,
7235
+ ...other
7236
+ } = props;
7237
+ const children = [];
7238
+ if (actions) {
7239
+ actions.map((action, index) => {
7240
+ children.push(
7241
+ /* @__PURE__ */ jsx100("span", { className: "k-quick-reply", children: action }, index)
7242
+ );
7243
+ });
7244
+ }
7245
+ return /* @__PURE__ */ jsx100(
7246
+ "div",
7247
+ {
7248
+ ...other,
7249
+ className: classNames(
7250
+ CHATQUICKREPLY_CLASSNAME,
7251
+ props.className
7252
+ ),
7253
+ children
7254
+ }
7255
+ );
7256
+ };
7257
+ ChatQuickReply.states = states42;
7258
+ ChatQuickReply.options = options39;
7259
+ ChatQuickReply.className = CHATQUICKREPLY_CLASSNAME;
7260
+ ChatQuickReply.defaultOptions = defaultOptions2;
7261
+
7262
+ // src/chat/tests/chat-scrollable-deck.tsx
7263
+ import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
7264
+ var styles = `
7265
+ /* needed for test */
7266
+ .k-chat .k-chat-bubble {
7267
+ white-space: normal;
7268
+ }
7269
+ `;
7270
+ var chat_scrollable_deck_default = () => /* @__PURE__ */ jsxs45(Fragment29, { children: [
7271
+ /* @__PURE__ */ jsx101("style", { children: styles }),
7272
+ /* @__PURE__ */ jsx101("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ jsx101("section", { children: /* @__PURE__ */ jsxs45(Chat, { showToolbar: false, showMessageBox: false, children: [
7273
+ /* @__PURE__ */ jsx101("div", { className: "k-timestamp", children: "Card Deck Scrollable" }),
7274
+ /* @__PURE__ */ jsx101(ChatMessageGroup, { children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only", text: "Message before card deck" }) }),
7275
+ /* @__PURE__ */ jsxs45("div", { className: "k-card-deck-scrollwrap", children: [
7276
+ /* @__PURE__ */ jsx101(Button, { icon: "chevron-left" }),
7277
+ /* @__PURE__ */ jsxs45(CardDeck, { children: [
7278
+ /* @__PURE__ */ jsx101(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs45(CardBody, { children: [
7279
+ /* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
7280
+ /* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7281
+ /* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4686
7282
  ] }) }),
4687
- /* @__PURE__ */ jsx21(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs5(CardBody, { children: [
4688
- /* @__PURE__ */ jsx21("h5", { className: "k-card-title", children: "Card Title" }),
4689
- /* @__PURE__ */ jsx21("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4690
- /* @__PURE__ */ jsx21("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7283
+ /* @__PURE__ */ jsx101(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs45(CardBody, { children: [
7284
+ /* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
7285
+ /* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7286
+ /* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4691
7287
  ] }) }),
4692
- /* @__PURE__ */ jsx21(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs5(CardBody, { children: [
4693
- /* @__PURE__ */ jsx21("h5", { className: "k-card-title", children: "Card Title" }),
4694
- /* @__PURE__ */ jsx21("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4695
- /* @__PURE__ */ jsx21("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7288
+ /* @__PURE__ */ jsx101(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs45(CardBody, { children: [
7289
+ /* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
7290
+ /* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7291
+ /* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4696
7292
  ] }) }),
4697
- /* @__PURE__ */ jsx21(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs5(CardBody, { children: [
4698
- /* @__PURE__ */ jsx21("h5", { className: "k-card-title", children: "Card Title" }),
4699
- /* @__PURE__ */ jsx21("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4700
- /* @__PURE__ */ jsx21("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7293
+ /* @__PURE__ */ jsx101(Card, { orientation: "horizontal", children: /* @__PURE__ */ jsxs45(CardBody, { children: [
7294
+ /* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
7295
+ /* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7296
+ /* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4701
7297
  ] }) })
4702
7298
  ] }),
4703
- /* @__PURE__ */ jsx21(Button, { icon: "chevron-right" })
7299
+ /* @__PURE__ */ jsx101(Button, { icon: "chevron-right" })
4704
7300
  ] })
4705
- ] }) }) }) }) })
7301
+ ] }) }) })
4706
7302
  ] });
4707
7303
  export {
4708
7304
  chat_scrollable_deck_default as default