@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
@@ -129,92 +129,162 @@ var States = {
129
129
  "checked": "checked",
130
130
  "readonly": "readonly"
131
131
  };
132
+ var kendoThemeMaps = {
133
+ calloutMap: {
134
+ top: "n",
135
+ bottom: "s",
136
+ left: "w",
137
+ right: "e"
138
+ },
139
+ orientationMap: {
140
+ vertical: "vstack",
141
+ horizontal: "hstack"
142
+ }
143
+ };
132
144
 
133
- // src/avatar/avatar.spec.tsx
145
+ // src/card/card-callout.tsx
134
146
  var import_jsx_runtime = require("react/jsx-runtime");
135
- var AVATAR_CLASSNAME = `k-avatar`;
147
+ var CARDCALLOUT_CLASSNAME = `k-card-callout`;
148
+ var CardCallout = (props) => {
149
+ const {
150
+ callout,
151
+ ...other
152
+ } = props;
153
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
154
+ "span",
155
+ {
156
+ ...other,
157
+ className: classNames(
158
+ props.className,
159
+ CARDCALLOUT_CLASSNAME,
160
+ {
161
+ [`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
162
+ }
163
+ )
164
+ }
165
+ );
166
+ };
167
+
168
+ // src/card/card.spec.tsx
169
+ var import_jsx_runtime2 = require("react/jsx-runtime");
170
+ var CARD_CLASSNAME = `k-card`;
136
171
  var states = [
137
172
  States.hover,
138
173
  States.focus,
139
- States.active,
140
174
  States.selected,
141
175
  States.disabled
142
176
  ];
143
177
  var options = {
144
- size: [Size.small, Size.medium, Size.large],
145
- rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
146
- fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
147
178
  themeColor: [
148
- ThemeColor.base,
149
179
  ThemeColor.primary,
150
- ThemeColor.secondary,
151
- ThemeColor.tertiary,
152
180
  ThemeColor.success,
153
181
  ThemeColor.warning,
154
182
  ThemeColor.error,
155
- ThemeColor.info,
156
- ThemeColor.light,
157
- ThemeColor.dark,
158
- ThemeColor.inverse
183
+ ThemeColor.info
159
184
  ]
160
185
  };
161
- var defaultProps = {
162
- type: "text" /* TEXT */,
163
- size: Size.medium,
164
- rounded: Roundness.full,
165
- fillMode: FillMode.solid,
166
- themeColor: ThemeColor.primary,
167
- border: false
168
- };
169
- var Avatar = (props) => {
186
+ var defaultProps = {};
187
+ var Card = (props) => {
170
188
  const {
171
- size = defaultProps.size,
172
- rounded = defaultProps.rounded,
173
- fillMode = defaultProps.fillMode,
174
- themeColor = defaultProps.themeColor,
175
- type = defaultProps.type,
176
- border = defaultProps.border,
189
+ orientation,
190
+ themeColor,
191
+ callout,
192
+ hover,
193
+ focus,
194
+ selected,
195
+ disabled,
177
196
  ...other
178
197
  } = props;
179
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
198
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
180
199
  "div",
181
200
  {
182
201
  ...other,
183
202
  className: classNames(
184
203
  props.className,
185
- AVATAR_CLASSNAME,
186
- optionClassNames(AVATAR_CLASSNAME, {
187
- size,
188
- rounded,
189
- fillMode,
204
+ CARD_CLASSNAME,
205
+ optionClassNames(CARD_CLASSNAME, {
190
206
  themeColor
191
207
  }),
208
+ stateClassNames(CARD_CLASSNAME, {
209
+ hover,
210
+ focus,
211
+ disabled,
212
+ selected
213
+ }),
192
214
  {
193
- [`${AVATAR_CLASSNAME}-bordered`]: border
215
+ [`k-card-${orientation}`]: orientation,
216
+ "k-card-with-callout": callout
194
217
  }
195
218
  ),
196
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
219
+ children: [
220
+ callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CardCallout, { callout }),
221
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: props.children })
222
+ ]
197
223
  }
198
224
  );
199
225
  };
200
- Avatar.states = states;
201
- Avatar.options = options;
202
- Avatar.className = AVATAR_CLASSNAME;
203
- Avatar.defaultProps = defaultProps;
226
+ Card.states = states;
227
+ Card.options = options;
228
+ Card.className = CARD_CLASSNAME;
229
+ Card.defaultProps = defaultProps;
204
230
 
205
- // src/avatar/templates/avatar-icon.tsx
206
- var import_jsx_runtime2 = require("react/jsx-runtime");
207
-
208
- // src/avatar/templates/avatar-text.tsx
231
+ // src/card/card-title.tsx
209
232
  var import_jsx_runtime3 = require("react/jsx-runtime");
233
+ var CARDTITLE_CLASSNAME = `k-card-title`;
234
+ var states2 = [
235
+ States.hover,
236
+ States.focus
237
+ ];
238
+ var CardTitle = (props) => {
239
+ const {
240
+ hover,
241
+ focus,
242
+ ...other
243
+ } = props;
244
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
245
+ "div",
246
+ {
247
+ ...other,
248
+ className: classNames(
249
+ props.className,
250
+ CARDTITLE_CLASSNAME,
251
+ stateClassNames(CARDTITLE_CLASSNAME, {
252
+ hover,
253
+ focus
254
+ })
255
+ ),
256
+ children: props.children
257
+ }
258
+ );
259
+ };
210
260
 
211
- // src/avatar/templates/avatar-image.tsx
261
+ // src/card/card-subtitle.tsx
212
262
  var import_jsx_runtime4 = require("react/jsx-runtime");
263
+ var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
264
+ var CardSubtitle = (props) => {
265
+ const {
266
+ ...other
267
+ } = props;
268
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
269
+ "div",
270
+ {
271
+ ...other,
272
+ className: classNames(
273
+ props.className,
274
+ CARDSUBTITLE_CLASSNAME
275
+ ),
276
+ children: props.children
277
+ }
278
+ );
279
+ };
213
280
 
214
- // src/icon/font-icon.spec.tsx
281
+ // src/card/card-img.tsx
215
282
  var import_jsx_runtime5 = require("react/jsx-runtime");
283
+
284
+ // src/icon/font-icon.spec.tsx
285
+ var import_jsx_runtime6 = require("react/jsx-runtime");
216
286
  var FONTICON_CLASSNAME = `k-icon`;
217
- var states2 = [];
287
+ var states3 = [];
218
288
  var options2 = {
219
289
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
220
290
  themeColor: [
@@ -241,9 +311,9 @@ var FontIcon = (props) => {
241
311
  ...other
242
312
  } = props;
243
313
  if (!icon) {
244
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, {});
314
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, {});
245
315
  }
246
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
316
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
247
317
  "span",
248
318
  {
249
319
  ...other,
@@ -264,16 +334,16 @@ var FontIcon = (props) => {
264
334
  }
265
335
  );
266
336
  };
267
- FontIcon.states = states2;
337
+ FontIcon.states = states3;
268
338
  FontIcon.options = options2;
269
339
  FontIcon.className = FONTICON_CLASSNAME;
270
340
  FontIcon.defaultProps = defaultProps2;
271
341
  var font_icon_spec_default = FontIcon;
272
342
 
273
343
  // src/icon/svg-icon.spec.tsx
274
- var import_jsx_runtime6 = require("react/jsx-runtime");
344
+ var import_jsx_runtime7 = require("react/jsx-runtime");
275
345
  var SVGICON_CLASSNAME = `k-svg-icon`;
276
- var states3 = [];
346
+ var states4 = [];
277
347
  var options3 = {
278
348
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
279
349
  themeColor: [
@@ -303,10 +373,10 @@ var SvgIcon = (props) => {
303
373
  ...other
304
374
  } = props;
305
375
  if (!icon) {
306
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, {});
376
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
307
377
  }
308
378
  if (icon === "none") {
309
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
379
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
310
380
  "span",
311
381
  {
312
382
  ...other,
@@ -319,7 +389,7 @@ var SvgIcon = (props) => {
319
389
  );
320
390
  }
321
391
  const name = typeof icon === "object" && icon.name && icon.name;
322
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
392
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
323
393
  "span",
324
394
  {
325
395
  ...other,
@@ -337,7 +407,7 @@ var SvgIcon = (props) => {
337
407
  "k-flip-v": flip === "v" || flip === "both"
338
408
  }
339
409
  ),
340
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
410
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
341
411
  "svg",
342
412
  {
343
413
  "aria-hidden": true,
@@ -351,7 +421,7 @@ var SvgIcon = (props) => {
351
421
  }
352
422
  );
353
423
  };
354
- SvgIcon.states = states3;
424
+ SvgIcon.states = states4;
355
425
  SvgIcon.options = options3;
356
426
  SvgIcon.className = SVGICON_CLASSNAME;
357
427
  SvgIcon.defaultProps = defaultProps3;
@@ -4293,12 +4363,12 @@ var chartChoroplethIcon = {
4293
4363
  };
4294
4364
 
4295
4365
  // src/icon/icon.spec.tsx
4296
- var import_jsx_runtime7 = require("react/jsx-runtime");
4366
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4297
4367
  var snakeToCamel = (str) => str.toLowerCase().replace(
4298
4368
  /([-_][a-z])/g,
4299
4369
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4300
4370
  );
4301
- var states4 = [];
4371
+ var states5 = [];
4302
4372
  var options4 = {
4303
4373
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4304
4374
  themeColor: [
@@ -4330,28 +4400,28 @@ var Icon = (props) => {
4330
4400
  ...other
4331
4401
  } = props;
4332
4402
  if (!icon) {
4333
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
4403
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {});
4334
4404
  }
4335
4405
  if (type === "svg") {
4336
4406
  if (icon === "none") {
4337
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(svg_icon_spec_default, { ...other, icon, size });
4407
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(svg_icon_spec_default, { ...other, icon, size });
4338
4408
  }
4339
4409
  const iconSVG = snakeToCamel(`${icon}-icon`);
4340
4410
  if (!index_es_exports[iconSVG]) {
4341
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
4411
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {});
4342
4412
  }
4343
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4413
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4344
4414
  }
4345
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4415
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4346
4416
  };
4347
- Icon.states = states4;
4417
+ Icon.states = states5;
4348
4418
  Icon.options = options4;
4349
4419
  Icon.defaultProps = defaultProps4;
4350
4420
 
4351
4421
  // src/button/button.spec.tsx
4352
- var import_jsx_runtime8 = require("react/jsx-runtime");
4422
+ var import_jsx_runtime9 = require("react/jsx-runtime");
4353
4423
  var BUTTON_CLASSNAME = `k-button`;
4354
- var states5 = [
4424
+ var states6 = [
4355
4425
  States.hover,
4356
4426
  States.focus,
4357
4427
  States.active,
@@ -4404,7 +4474,7 @@ var Button = (props) => {
4404
4474
  } = props;
4405
4475
  const hasIcon = icon !== void 0;
4406
4476
  const hasChildren = props.children !== void 0;
4407
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
4477
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
4408
4478
  "button",
4409
4479
  {
4410
4480
  ...other,
@@ -4429,40 +4499,161 @@ var Button = (props) => {
4429
4499
  }
4430
4500
  ),
4431
4501
  children: [
4432
- icon && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4502
+ icon && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
4433
4503
  Icon,
4434
4504
  {
4435
4505
  className: classNames(iconClassName, "k-button-icon"),
4436
4506
  icon
4437
4507
  }
4438
4508
  ),
4439
- text ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
4440
- text && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "k-button-text", children: text }),
4509
+ text ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
4510
+ text && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-button-text", children: text }),
4441
4511
  props.children
4442
- ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "k-button-text", children: props.children }),
4443
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { icon: arrowIconName }) })
4512
+ ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-button-text", children: props.children }),
4513
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { icon: arrowIconName }) })
4444
4514
  ]
4445
4515
  }
4446
4516
  );
4447
4517
  };
4448
- Button.states = states5;
4518
+ Button.states = states6;
4449
4519
  Button.options = options5;
4450
4520
  Button.className = BUTTON_CLASSNAME;
4451
4521
  Button.defaultProps = defaultProps5;
4452
4522
 
4453
4523
  // src/button/templates/icon-button.tsx
4454
- var import_jsx_runtime9 = require("react/jsx-runtime");
4524
+ var import_jsx_runtime10 = require("react/jsx-runtime");
4455
4525
 
4456
4526
  // src/button/templates/icon-text-button.tsx
4457
- var import_jsx_runtime10 = require("react/jsx-runtime");
4527
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4458
4528
 
4459
4529
  // src/button/templates/text-button.tsx
4460
- var import_jsx_runtime11 = require("react/jsx-runtime");
4530
+ var import_jsx_runtime12 = require("react/jsx-runtime");
4531
+
4532
+ // src/card/card-header.tsx
4533
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4534
+
4535
+ // src/card/card-footer.tsx
4536
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4537
+
4538
+ // src/card/card-body.tsx
4539
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4540
+ var CARDBODY_CLASSNAME = `k-card-body`;
4541
+ var CardBody = (props) => {
4542
+ const {
4543
+ title,
4544
+ subtitle,
4545
+ details,
4546
+ ...other
4547
+ } = props;
4548
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4549
+ "div",
4550
+ {
4551
+ ...other,
4552
+ className: classNames(
4553
+ props.className,
4554
+ CARDBODY_CLASSNAME
4555
+ ),
4556
+ children: [
4557
+ title && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CardTitle, { children: title }),
4558
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CardSubtitle, { children: subtitle }),
4559
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, { children: props.children }),
4560
+ details && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4561
+ Button,
4562
+ {
4563
+ className: "k-card-details",
4564
+ icon: "more-vertical",
4565
+ rounded: "medium",
4566
+ size: "medium",
4567
+ fillMode: "flat",
4568
+ themeColor: "base"
4569
+ }
4570
+ ) })
4571
+ ]
4572
+ }
4573
+ );
4574
+ };
4575
+
4576
+ // src/card/card-deck.tsx
4577
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4578
+ var CARDDECK_CLASSNAME = `k-card-deck`;
4579
+ var CardDeck = (props) => {
4580
+ const {
4581
+ ...other
4582
+ } = props;
4583
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4584
+ "div",
4585
+ {
4586
+ ...other,
4587
+ className: classNames(
4588
+ props.className,
4589
+ CARDDECK_CLASSNAME
4590
+ ),
4591
+ children: props.children
4592
+ }
4593
+ );
4594
+ };
4595
+
4596
+ // src/button-group/button-group.spec.tsx
4597
+ var import_jsx_runtime17 = require("react/jsx-runtime");
4598
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
4599
+ var states7 = [
4600
+ States.disabled
4601
+ ];
4602
+ var options6 = {
4603
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
4604
+ };
4605
+ var defaultProps6 = {
4606
+ fillMode: FillMode.solid
4607
+ };
4608
+ var ButtonGroup = (props) => {
4609
+ const {
4610
+ fillMode = defaultProps6.fillMode,
4611
+ disabled,
4612
+ stretched,
4613
+ ...other
4614
+ } = props;
4615
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4616
+ "div",
4617
+ {
4618
+ ...other,
4619
+ className: classNames(
4620
+ props.className,
4621
+ BUTTONGROUP_CLASSNAME,
4622
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
4623
+ fillMode
4624
+ }),
4625
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
4626
+ disabled
4627
+ }),
4628
+ {
4629
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
4630
+ }
4631
+ ),
4632
+ children: props.children
4633
+ }
4634
+ );
4635
+ };
4636
+ ButtonGroup.states = states7;
4637
+ ButtonGroup.options = options6;
4638
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
4639
+ ButtonGroup.defaultProps = defaultProps6;
4640
+
4641
+ // src/button-group/templates/icon-button-group.tsx
4642
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4643
+
4644
+ // src/button-group/templates/icon-text-button-group.tsx
4645
+ var import_jsx_runtime19 = require("react/jsx-runtime");
4646
+
4647
+ // src/button-group/templates/text-button-group.tsx
4648
+ var import_jsx_runtime20 = require("react/jsx-runtime");
4649
+
4650
+ // src/button-group/templates/mixed-button-group.tsx
4651
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4461
4652
 
4462
4653
  // src/input/input.spec.tsx
4463
- var import_jsx_runtime12 = require("react/jsx-runtime");
4654
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4464
4655
  var INPUT_CLASSNAME = `k-input`;
4465
- var states6 = [
4656
+ var states8 = [
4466
4657
  States.hover,
4467
4658
  States.focus,
4468
4659
  States.valid,
@@ -4472,12 +4663,12 @@ var states6 = [
4472
4663
  States.loading,
4473
4664
  States.readonly
4474
4665
  ];
4475
- var options6 = {
4666
+ var options7 = {
4476
4667
  size: [Size.small, Size.medium, Size.large],
4477
4668
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4478
4669
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4479
4670
  };
4480
- var defaultProps6 = {
4671
+ var defaultProps7 = {
4481
4672
  size: Size.medium,
4482
4673
  rounded: Size.medium,
4483
4674
  fillMode: FillMode.solid
@@ -4491,12 +4682,12 @@ var Input = (props) => {
4491
4682
  valid,
4492
4683
  loading,
4493
4684
  readonly,
4494
- size = defaultProps6.size,
4495
- rounded = defaultProps6.rounded,
4496
- fillMode = defaultProps6.fillMode,
4685
+ size = defaultProps7.size,
4686
+ rounded = defaultProps7.rounded,
4687
+ fillMode = defaultProps7.fillMode,
4497
4688
  ...other
4498
4689
  } = props;
4499
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4690
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4500
4691
  "span",
4501
4692
  {
4502
4693
  ...other,
@@ -4509,13 +4700,13 @@ var Input = (props) => {
4509
4700
  }
4510
4701
  );
4511
4702
  };
4512
- Input.states = states6;
4513
- Input.options = options6;
4703
+ Input.states = states8;
4704
+ Input.options = options7;
4514
4705
  Input.className = INPUT_CLASSNAME;
4515
- Input.defaultProps = defaultProps6;
4706
+ Input.defaultProps = defaultProps7;
4516
4707
 
4517
4708
  // src/input/picker.spec.tsx
4518
- var import_jsx_runtime13 = require("react/jsx-runtime");
4709
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4519
4710
  var PICKER_CLASSNAME = `k-picker`;
4520
4711
  var pickerStates = [
4521
4712
  States.hover,
@@ -4532,7 +4723,7 @@ var pickerOptions = {
4532
4723
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4533
4724
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4534
4725
  };
4535
- var defaultProps7 = {
4726
+ var defaultProps8 = {
4536
4727
  size: Size.medium,
4537
4728
  rounded: Roundness.medium,
4538
4729
  fillMode: FillMode.solid
@@ -4546,12 +4737,12 @@ var Picker = (props) => {
4546
4737
  valid,
4547
4738
  loading,
4548
4739
  readonly,
4549
- size = defaultProps7.size,
4550
- rounded = defaultProps7.rounded,
4551
- fillMode = defaultProps7.fillMode,
4740
+ size = defaultProps8.size,
4741
+ rounded = defaultProps8.rounded,
4742
+ fillMode = defaultProps8.fillMode,
4552
4743
  ...other
4553
4744
  } = props;
4554
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4745
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4555
4746
  "span",
4556
4747
  {
4557
4748
  ...other,
@@ -4568,17 +4759,17 @@ var Picker = (props) => {
4568
4759
  Picker.states = pickerStates;
4569
4760
  Picker.options = pickerOptions;
4570
4761
  Picker.className = PICKER_CLASSNAME;
4571
- Picker.defaultProps = defaultProps7;
4762
+ Picker.defaultProps = defaultProps8;
4572
4763
 
4573
4764
  // src/input/input-clear-value.tsx
4574
- var import_jsx_runtime14 = require("react/jsx-runtime");
4765
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4575
4766
  var className = `k-clear-value`;
4576
- var states7 = [
4767
+ var states9 = [
4577
4768
  States.disabled,
4578
4769
  States.loading,
4579
4770
  States.readonly
4580
4771
  ];
4581
- var options7 = {};
4772
+ var options8 = {};
4582
4773
  var InputClearValue = (props) => {
4583
4774
  const {
4584
4775
  disabled,
@@ -4587,20 +4778,20 @@ var InputClearValue = (props) => {
4587
4778
  value
4588
4779
  } = props;
4589
4780
  if (disabled || readonly || loading || !value) {
4590
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, {});
4781
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {});
4591
4782
  }
4592
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "x" }) });
4783
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { icon: "x" }) });
4593
4784
  };
4594
- InputClearValue.states = states7;
4595
- InputClearValue.options = options7;
4785
+ InputClearValue.states = states9;
4786
+ InputClearValue.options = options8;
4596
4787
  InputClearValue.className = className;
4597
4788
 
4598
4789
  // src/input/input-inner-input.tsx
4599
- var import_jsx_runtime15 = require("react/jsx-runtime");
4790
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4600
4791
  var className2 = `k-input-inner`;
4601
- var states8 = [];
4602
- var options8 = {};
4603
- var defaultProps8 = {
4792
+ var states10 = [];
4793
+ var options9 = {};
4794
+ var defaultProps9 = {
4604
4795
  type: "text",
4605
4796
  autocomplete: "off",
4606
4797
  value: "",
@@ -4608,13 +4799,13 @@ var defaultProps8 = {
4608
4799
  };
4609
4800
  var InputInnerInput = (props) => {
4610
4801
  const {
4611
- value = defaultProps8.value,
4612
- type = defaultProps8.type,
4613
- placeholder = defaultProps8.placeholder,
4614
- autocomplete = defaultProps8.autocomplete,
4802
+ value = defaultProps9.value,
4803
+ type = defaultProps9.type,
4804
+ placeholder = defaultProps9.placeholder,
4805
+ autocomplete = defaultProps9.autocomplete,
4615
4806
  ...other
4616
4807
  } = props;
4617
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4808
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4618
4809
  "input",
4619
4810
  {
4620
4811
  ...other,
@@ -4626,15 +4817,15 @@ var InputInnerInput = (props) => {
4626
4817
  }
4627
4818
  );
4628
4819
  };
4629
- InputInnerInput.states = states8;
4630
- InputInnerInput.options = options8;
4820
+ InputInnerInput.states = states10;
4821
+ InputInnerInput.options = options9;
4631
4822
  InputInnerInput.className = className2;
4632
4823
 
4633
4824
  // src/input/input-inner-span.tsx
4634
- var import_jsx_runtime16 = require("react/jsx-runtime");
4825
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4635
4826
  var className3 = `k-input-inner`;
4636
- var states9 = [];
4637
- var options9 = {};
4827
+ var states11 = [];
4828
+ var options10 = {};
4638
4829
  var InputInnerSpan = (props) => {
4639
4830
  const {
4640
4831
  value,
@@ -4644,41 +4835,41 @@ var InputInnerSpan = (props) => {
4644
4835
  valueIconName,
4645
4836
  ...other
4646
4837
  } = props;
4647
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
4838
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4648
4839
  "span",
4649
4840
  {
4650
4841
  ...other,
4651
4842
  className: classNames(props.className, className3, optionClassNames(className3, props)),
4652
4843
  children: [
4653
4844
  valueIcon,
4654
- !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
4845
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
4655
4846
  showValue && !value && placeholder,
4656
- showValue && value && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "k-input-value-text", children: value })
4847
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "k-input-value-text", children: value })
4657
4848
  ]
4658
4849
  }
4659
4850
  );
4660
4851
  };
4661
- InputInnerSpan.states = states9;
4662
- InputInnerSpan.options = options9;
4852
+ InputInnerSpan.states = states11;
4853
+ InputInnerSpan.options = options10;
4663
4854
  InputInnerSpan.className = className3;
4664
4855
 
4665
4856
  // src/input/input-inner-textarea.tsx
4666
- var import_jsx_runtime17 = require("react/jsx-runtime");
4667
- var defaultProps9 = {
4857
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4858
+ var defaultProps10 = {
4668
4859
  value: "",
4669
4860
  placeholder: ""
4670
4861
  };
4671
4862
  var className4 = `k-input-inner`;
4672
- var states10 = [];
4673
- var options10 = {};
4863
+ var states12 = [];
4864
+ var options11 = {};
4674
4865
  var InputInnerTextarea = (props) => {
4675
4866
  const {
4676
- value = defaultProps9.value,
4677
- placeholder = defaultProps9.placeholder,
4867
+ value = defaultProps10.value,
4868
+ placeholder = defaultProps10.placeholder,
4678
4869
  rows,
4679
4870
  ...other
4680
4871
  } = props;
4681
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4872
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4682
4873
  "textarea",
4683
4874
  {
4684
4875
  ...other,
@@ -4689,14 +4880,14 @@ var InputInnerTextarea = (props) => {
4689
4880
  }
4690
4881
  );
4691
4882
  };
4692
- InputInnerTextarea.states = states10;
4693
- InputInnerTextarea.options = options10;
4883
+ InputInnerTextarea.states = states12;
4884
+ InputInnerTextarea.options = options11;
4694
4885
  InputInnerTextarea.className = className4;
4695
4886
 
4696
4887
  // src/input/input-loading-icon.tsx
4697
- var import_jsx_runtime18 = require("react/jsx-runtime");
4888
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4698
4889
  var className5 = `k-input-loading-icon`;
4699
- var states11 = [
4890
+ var states13 = [
4700
4891
  States.disabled,
4701
4892
  States.loading
4702
4893
  ];
@@ -4706,21 +4897,21 @@ var InputLoadingIcon = (props) => {
4706
4897
  loading
4707
4898
  } = props;
4708
4899
  if (disabled || !loading) {
4709
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, {});
4900
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, {});
4710
4901
  }
4711
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { className: classNames(props.className, className5), icon: "loading", type: "font" });
4902
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon, { className: classNames(props.className, className5), icon: "loading", type: "font" });
4712
4903
  };
4713
4904
 
4714
4905
  // src/input/input-validation-icon.tsx
4715
- var import_jsx_runtime19 = require("react/jsx-runtime");
4906
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4716
4907
  var className6 = `k-input-validation-icon`;
4717
- var states12 = [
4908
+ var states14 = [
4718
4909
  States.valid,
4719
4910
  States.invalid,
4720
4911
  States.disabled,
4721
4912
  States.loading
4722
4913
  ];
4723
- var options11 = {};
4914
+ var options12 = {};
4724
4915
  var InputValidationIcon = (props) => {
4725
4916
  const {
4726
4917
  valid,
@@ -4731,56 +4922,2003 @@ var InputValidationIcon = (props) => {
4731
4922
  const iconName = invalid ? "exclamation-circle" : "check";
4732
4923
  const renderValidationIcon = Boolean(valid || invalid);
4733
4924
  if (disabled || loading || !renderValidationIcon) {
4734
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
4925
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, {});
4735
4926
  }
4736
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { className: classNames(className6), icon: iconName });
4927
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { className: classNames(className6), icon: iconName });
4737
4928
  };
4738
- InputValidationIcon.states = states12;
4739
- InputValidationIcon.options = options11;
4929
+ InputValidationIcon.states = states14;
4930
+ InputValidationIcon.options = options12;
4740
4931
  InputValidationIcon.className = className6;
4741
4932
 
4742
4933
  // src/input/input-prefix.tsx
4743
- var import_jsx_runtime20 = require("react/jsx-runtime");
4934
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4744
4935
  var className7 = `k-input-prefix`;
4745
4936
  var InputPrefix = (props) => {
4746
4937
  if (!props.children) {
4747
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {});
4938
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, {});
4748
4939
  }
4749
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: classNames(className7, props.className), children: props.children });
4940
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: classNames(className7, props.className), children: props.children });
4750
4941
  };
4751
4942
 
4752
4943
  // src/input/input-suffix.tsx
4753
- var import_jsx_runtime21 = require("react/jsx-runtime");
4944
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4754
4945
  var className8 = `k-input-suffix`;
4755
4946
  var InputSuffix = (props) => {
4756
4947
  if (!props.children) {
4757
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {});
4948
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_jsx_runtime31.Fragment, {});
4758
4949
  }
4759
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: classNames(className8, props.className), children: props.children });
4950
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: classNames(className8, props.className), children: props.children });
4760
4951
  };
4761
4952
 
4762
4953
  // src/input/input-separator.tsx
4763
- var import_jsx_runtime22 = require("react/jsx-runtime");
4954
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4764
4955
 
4765
- // src/textbox/textbox.spec.tsx
4766
- var import_jsx_runtime23 = require("react/jsx-runtime");
4767
- var TEXTBOX_CLASSNAME = `k-textbox`;
4768
- var states13 = [
4769
- States.hover,
4770
- States.focus,
4771
- States.valid,
4956
+ // src/color-preview/color-preview.tsx
4957
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4958
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
4959
+ var states15 = [];
4960
+ var options13 = {};
4961
+ var ColorPreview = (props) => {
4962
+ const {
4963
+ color,
4964
+ iconName,
4965
+ ...other
4966
+ } = props;
4967
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
4968
+ "span",
4969
+ {
4970
+ ...other,
4971
+ className: classNames(
4972
+ props.className,
4973
+ COLORPREVIEW_CLASSNAME,
4974
+ {
4975
+ "k-icon-color-preview": iconName,
4976
+ "k-no-color": !color
4977
+ }
4978
+ ),
4979
+ children: [
4980
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
4981
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4982
+ "span",
4983
+ {
4984
+ className: "k-color-preview-mask",
4985
+ style: { backgroundColor: color }
4986
+ }
4987
+ )
4988
+ ]
4989
+ }
4990
+ );
4991
+ };
4992
+ ColorPreview.states = states15;
4993
+ ColorPreview.options = options13;
4994
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
4995
+
4996
+ // src/colorpicker/colorpicker.spec.tsx
4997
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4998
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
4999
+ var states16 = [
5000
+ States.hover,
5001
+ States.focus,
5002
+ States.valid,
5003
+ States.invalid,
5004
+ States.required,
5005
+ States.disabled
5006
+ ];
5007
+ var options14 = {
5008
+ size: [Size.small, Size.medium, Size.large],
5009
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5010
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5011
+ };
5012
+ var defaultProps11 = {
5013
+ arrowIconName: "caret-alt-down",
5014
+ size: Picker.defaultProps.size,
5015
+ rounded: Picker.defaultProps.rounded,
5016
+ fillMode: Picker.defaultProps.fillMode
5017
+ };
5018
+ var ColorPicker = (props) => {
5019
+ const {
5020
+ prefix,
5021
+ suffix,
5022
+ value,
5023
+ placeholder,
5024
+ size,
5025
+ rounded,
5026
+ fillMode,
5027
+ hover,
5028
+ focus,
5029
+ valid,
5030
+ invalid,
5031
+ required,
5032
+ disabled,
5033
+ valueIconName,
5034
+ arrowIconName = defaultProps11.arrowIconName,
5035
+ ...other
5036
+ } = props;
5037
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
5038
+ Picker,
5039
+ {
5040
+ ...other,
5041
+ size,
5042
+ rounded,
5043
+ fillMode,
5044
+ hover,
5045
+ focus,
5046
+ valid,
5047
+ invalid,
5048
+ required,
5049
+ disabled,
5050
+ className: classNames(
5051
+ props.className,
5052
+ COLORPICKER_CLASSNAME,
5053
+ "k-icon-picker"
5054
+ ),
5055
+ children: [
5056
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(InputPrefix, { children: prefix }),
5057
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5058
+ InputInnerSpan,
5059
+ {
5060
+ placeholder,
5061
+ value,
5062
+ showValue: false,
5063
+ valueIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5064
+ ColorPreview,
5065
+ {
5066
+ className: "k-value-icon",
5067
+ color: value,
5068
+ iconName: valueIconName
5069
+ }
5070
+ ),
5071
+ valueIconName
5072
+ }
5073
+ ),
5074
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(InputSuffix, { children: suffix }),
5075
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5076
+ Button,
5077
+ {
5078
+ className: "k-input-button",
5079
+ icon: arrowIconName,
5080
+ rounded: null,
5081
+ size,
5082
+ fillMode
5083
+ }
5084
+ )
5085
+ ]
5086
+ }
5087
+ );
5088
+ };
5089
+ ColorPicker.states = states16;
5090
+ ColorPicker.options = options14;
5091
+ ColorPicker.className = COLORPICKER_CLASSNAME;
5092
+ ColorPicker.defaultProps = defaultProps11;
5093
+
5094
+ // src/animation-container/animation-container.spec.tsx
5095
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5096
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5097
+ var states17 = [];
5098
+ var options15 = {};
5099
+ var defaultProps12 = {
5100
+ positionMode: "absolute"
5101
+ };
5102
+ var AnimationContainer = (props) => {
5103
+ const {
5104
+ positionMode,
5105
+ animationStyle,
5106
+ offset,
5107
+ ...other
5108
+ } = props;
5109
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5110
+ "div",
5111
+ {
5112
+ ...other,
5113
+ style: { ...offset, ...props.style },
5114
+ className: classNames(
5115
+ ANIMATION_CONTAINER_CLASSNAME,
5116
+ "k-animation-container-shown",
5117
+ {
5118
+ ["k-animation-container-fixed"]: positionMode === "fixed"
5119
+ }
5120
+ ),
5121
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5122
+ }
5123
+ );
5124
+ };
5125
+ AnimationContainer.states = states17;
5126
+ AnimationContainer.options = options15;
5127
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5128
+ AnimationContainer.defaultProps = defaultProps12;
5129
+
5130
+ // src/popup/popup.spec.tsx
5131
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5132
+ var POPUP_CLASSNAME = `k-popup`;
5133
+ var states18 = [];
5134
+ var options16 = {};
5135
+ var defaultProps13 = {
5136
+ positionMode: "absolute"
5137
+ };
5138
+ var Popup = (props) => {
5139
+ const {
5140
+ offset,
5141
+ positionMode,
5142
+ ...other
5143
+ } = props;
5144
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5145
+ AnimationContainer,
5146
+ {
5147
+ positionMode,
5148
+ offset,
5149
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5150
+ }
5151
+ );
5152
+ };
5153
+ Popup.states = states18;
5154
+ Popup.options = options16;
5155
+ Popup.className = POPUP_CLASSNAME;
5156
+ Popup.defaultProps = defaultProps13;
5157
+
5158
+ // src/action-sheet/action-sheet.spec.tsx
5159
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5160
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
5161
+ var states19 = [];
5162
+ var options17 = {};
5163
+ var defaultProps14 = {
5164
+ side: "bottom",
5165
+ fullscreen: false,
5166
+ adaptive: false,
5167
+ overlay: true
5168
+ };
5169
+ var ActionSheet = (props) => {
5170
+ const {
5171
+ children,
5172
+ title,
5173
+ header,
5174
+ footer,
5175
+ actions,
5176
+ side = defaultProps14.side,
5177
+ fullscreen = defaultProps14.fullscreen,
5178
+ adaptive = defaultProps14.adaptive,
5179
+ overlay = defaultProps14.overlay,
5180
+ ...other
5181
+ } = props;
5182
+ const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
5183
+ const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
5184
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
5185
+ switch (child.type) {
5186
+ case ActionSheetHeader:
5187
+ case ActionSheetFooter:
5188
+ return false;
5189
+ default:
5190
+ return true;
5191
+ }
5192
+ return true;
5193
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_jsx_runtime37.Fragment, {});
5194
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "k-actionsheet-container", children: [
5195
+ overlay && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "k-overlay" }),
5196
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5197
+ AnimationContainer,
5198
+ {
5199
+ animationStyle: {
5200
+ [`${fullscreen === true ? "top" : side}`]: 0,
5201
+ [`${fullscreen === true ? "width" : null}`]: "100%",
5202
+ [`${fullscreen === true ? "height" : null}`]: "100%",
5203
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
5204
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
5205
+ },
5206
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5207
+ "div",
5208
+ {
5209
+ ...other,
5210
+ className: classNames(
5211
+ props.className,
5212
+ ACTIONSHEET_CLASSNAME,
5213
+ {
5214
+ [`k-actionsheet-${side}`]: fullscreen === false,
5215
+ "k-actionsheet-fullscreen": fullscreen === true,
5216
+ "k-adaptive-actionsheet": adaptive
5217
+ }
5218
+ ),
5219
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
5220
+ _ActionSheetHeader,
5221
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: classNames(
5222
+ "k-actionsheet-content",
5223
+ {
5224
+ "!k-overflow-hidden": adaptive
5225
+ }
5226
+ ), children: _ActionSheetContent }),
5227
+ _ActionSheetFooter
5228
+ ] })
5229
+ }
5230
+ )
5231
+ }
5232
+ )
5233
+ ] });
5234
+ };
5235
+ ActionSheet.states = states19;
5236
+ ActionSheet.options = options17;
5237
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
5238
+ ActionSheet.defaultProps = defaultProps14;
5239
+
5240
+ // src/searchbox/searchbox.spec.tsx
5241
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5242
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5243
+ var states20 = [
5244
+ States.hover,
5245
+ States.focus,
5246
+ States.valid,
5247
+ States.invalid,
5248
+ States.required,
5249
+ States.disabled,
5250
+ States.loading
5251
+ ];
5252
+ var options18 = {
5253
+ size: [Size.small, Size.medium, Size.large],
5254
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5255
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5256
+ };
5257
+ var defaultProps15 = {
5258
+ showIcon: true,
5259
+ icon: "search",
5260
+ size: Input.defaultProps.size,
5261
+ rounded: Input.defaultProps.rounded,
5262
+ fillMode: Input.defaultProps.fillMode
5263
+ };
5264
+ var Searchbox = (props) => {
5265
+ const {
5266
+ value,
5267
+ placeholder,
5268
+ size,
5269
+ rounded,
5270
+ fillMode,
5271
+ hover,
5272
+ focus,
5273
+ valid,
5274
+ invalid,
5275
+ required,
5276
+ loading,
5277
+ disabled,
5278
+ showIcon = defaultProps15.showIcon,
5279
+ icon = defaultProps15.icon,
5280
+ ...other
5281
+ } = props;
5282
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
5283
+ Input,
5284
+ {
5285
+ ...other,
5286
+ size,
5287
+ rounded,
5288
+ fillMode,
5289
+ hover,
5290
+ focus,
5291
+ valid,
5292
+ invalid,
5293
+ required,
5294
+ loading,
5295
+ disabled,
5296
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
5297
+ children: [
5298
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { className: "k-input-icon", icon }),
5299
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputInnerInput, { placeholder, value }),
5300
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputLoadingIcon, { ...props }),
5301
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputValidationIcon, { ...props }),
5302
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputClearValue, { ...props })
5303
+ ]
5304
+ }
5305
+ );
5306
+ };
5307
+ Searchbox.states = states20;
5308
+ Searchbox.options = options18;
5309
+ Searchbox.className = SEARCHBOX_CLASSNAME;
5310
+ Searchbox.defaultProps = defaultProps15;
5311
+
5312
+ // src/searchbox/templates/searchbox-normal.tsx
5313
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5314
+
5315
+ // src/action-sheet/actionsheet-header.tsx
5316
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5317
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
5318
+ var ActionSheetHeader = (props) => {
5319
+ const {
5320
+ title,
5321
+ subTitle,
5322
+ actions,
5323
+ filter,
5324
+ ...other
5325
+ } = props;
5326
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5327
+ "div",
5328
+ {
5329
+ ...other,
5330
+ className: classNames(
5331
+ props.className,
5332
+ ACTIONSHEETHEADER_CLASSNAME
5333
+ ),
5334
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
5335
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
5336
+ !props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "k-actionsheet-title", children: [
5337
+ title !== "" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-text-center", children: title }),
5338
+ subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
5339
+ ] }) }),
5340
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
5341
+ actions && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
5342
+ ] }),
5343
+ filter && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
5344
+ ] })
5345
+ }
5346
+ );
5347
+ };
5348
+
5349
+ // src/action-buttons/action-buttons.spec.tsx
5350
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5351
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
5352
+ var states21 = [];
5353
+ var options19 = {};
5354
+ var defaultProps16 = {
5355
+ alignment: "start",
5356
+ orientation: "horizontal"
5357
+ };
5358
+ var ActionButtons = (props) => {
5359
+ const {
5360
+ alignment = defaultProps16.alignment,
5361
+ orientation = defaultProps16.orientation,
5362
+ ...other
5363
+ } = props;
5364
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5365
+ "div",
5366
+ {
5367
+ ...other,
5368
+ className: classNames(
5369
+ ACTIONBUTTONS_CLASSNAME,
5370
+ {
5371
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
5372
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
5373
+ },
5374
+ props.className
5375
+ ),
5376
+ children: props.children
5377
+ }
5378
+ );
5379
+ };
5380
+ ActionButtons.states = states21;
5381
+ ActionButtons.options = options19;
5382
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
5383
+ ActionButtons.defaultProps = defaultProps16;
5384
+ var action_buttons_spec_default = ActionButtons;
5385
+
5386
+ // src/action-sheet/actionsheet-footer.tsx
5387
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5388
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
5389
+ var ActionSheetFooter = (props) => {
5390
+ const {
5391
+ actions,
5392
+ ...other
5393
+ } = props;
5394
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5395
+ action_buttons_spec_default,
5396
+ {
5397
+ ...other,
5398
+ className: classNames(
5399
+ props.className,
5400
+ ACTIONSHEETFOOTER_CLASSNAME
5401
+ ),
5402
+ alignment: "stretched",
5403
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
5404
+ actions && actions.map((action, index) => {
5405
+ if (action === "|") {
5406
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-separator" }, index);
5407
+ }
5408
+ if (action === " ") {
5409
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-spacer" }, index);
5410
+ }
5411
+ const importantFlag = action.startsWith("!");
5412
+ const actionName = importantFlag ? action.substring(1) : action;
5413
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
5414
+ }),
5415
+ !actions && props.children
5416
+ ] })
5417
+ }
5418
+ );
5419
+ };
5420
+
5421
+ // src/action-sheet/actionsheet-items.tsx
5422
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5423
+ var ActionSheetItems = (props) => {
5424
+ const {
5425
+ ...other
5426
+ } = props;
5427
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5428
+ "div",
5429
+ {
5430
+ ...other,
5431
+ className: classNames(
5432
+ props.className,
5433
+ "k-list-ul"
5434
+ ),
5435
+ children: props.children
5436
+ }
5437
+ );
5438
+ };
5439
+
5440
+ // src/action-sheet/actionsheet-item.tsx
5441
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5442
+ var states22 = [
5443
+ States.hover,
5444
+ States.focus,
5445
+ States.selected,
5446
+ States.disabled
5447
+ ];
5448
+
5449
+ // src/nodata/nodata.tsx
5450
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5451
+ var className9 = `k-nodata`;
5452
+ var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: classNames(className9, props.className), children: props.children });
5453
+
5454
+ // src/list/list.spec.tsx
5455
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5456
+ var LIST_CLASSNAME = `k-list`;
5457
+ var states23 = [];
5458
+ var options20 = {
5459
+ size: [Size.small, Size.medium, Size.large]
5460
+ };
5461
+ var defaultProps17 = {
5462
+ size: Size.medium
5463
+ };
5464
+ var List = (props) => {
5465
+ const {
5466
+ size = defaultProps17.size,
5467
+ virtualization,
5468
+ children,
5469
+ optionLabel,
5470
+ ...other
5471
+ } = props;
5472
+ let listHeader;
5473
+ let listGroup;
5474
+ let listContent;
5475
+ const listChildren = [];
5476
+ if (children) {
5477
+ children.map((child, index) => {
5478
+ if (child.type === ListGroup) {
5479
+ if (child.props.root === true) {
5480
+ listHeader = child.props.label;
5481
+ child.props.children.map((optChild, index2) => {
5482
+ listChildren.push(
5483
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5484
+ ListItem,
5485
+ {
5486
+ ...optChild.props
5487
+ },
5488
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5489
+ )
5490
+ );
5491
+ });
5492
+ } else {
5493
+ child.props.children.forEach((optChild, index2) => {
5494
+ let groupLabel = "";
5495
+ if (index2 === 0) {
5496
+ groupLabel = child.props.label;
5497
+ }
5498
+ listChildren.push(
5499
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5500
+ ListItem,
5501
+ {
5502
+ className: index2 === 0 ? "k-first" : "",
5503
+ ...optChild.props,
5504
+ groupLabel
5505
+ },
5506
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5507
+ )
5508
+ );
5509
+ });
5510
+ }
5511
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5512
+ } else if (child.type === ListItem) {
5513
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5514
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ListContent, { virtualization, children: listChildren });
5515
+ }
5516
+ });
5517
+ } else {
5518
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(NoData, { children: "No data found." });
5519
+ }
5520
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
5521
+ "div",
5522
+ {
5523
+ ...other,
5524
+ className: classNames(
5525
+ props.className,
5526
+ LIST_CLASSNAME,
5527
+ optionClassNames(LIST_CLASSNAME, {
5528
+ size
5529
+ }),
5530
+ {
5531
+ ["k-virtual-list"]: virtualization
5532
+ }
5533
+ ),
5534
+ children: [
5535
+ optionLabel,
5536
+ listGroup,
5537
+ listContent
5538
+ ]
5539
+ }
5540
+ );
5541
+ };
5542
+ List.states = states23;
5543
+ List.options = options20;
5544
+ List.className = LIST_CLASSNAME;
5545
+ List.defaultProps = defaultProps17;
5546
+
5547
+ // src/list/list-angular.spec.tsx
5548
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5549
+ var LISTANGULAR_CLASSNAME = `k-list`;
5550
+ var states24 = [];
5551
+ var options21 = {
5552
+ size: [Size.small, Size.medium, Size.large]
5553
+ };
5554
+ var defaultProps18 = {
5555
+ size: Size.medium
5556
+ };
5557
+ var ListAngular = (props) => {
5558
+ const {
5559
+ size = defaultProps18.size,
5560
+ virtualization,
5561
+ children,
5562
+ ...other
5563
+ } = props;
5564
+ let listHeader;
5565
+ let listGroup;
5566
+ let listContent;
5567
+ const listChildren = [];
5568
+ if (children) {
5569
+ children.map((child, index) => {
5570
+ if (child.type === ListGroup) {
5571
+ if (child.props.root === true) {
5572
+ listHeader = child.props.label;
5573
+ child.props.children.map((optChild, index2) => {
5574
+ listChildren.push(
5575
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5576
+ ListItem,
5577
+ {
5578
+ ...optChild.props
5579
+ },
5580
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5581
+ )
5582
+ );
5583
+ });
5584
+ } else {
5585
+ listChildren.push(
5586
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5587
+ ListGroupItem,
5588
+ {
5589
+ ...child.props,
5590
+ children: child.props.label
5591
+ },
5592
+ `listChild-${index}`
5593
+ )
5594
+ );
5595
+ child.props.children.map((optChild, index2) => {
5596
+ listChildren.push(
5597
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5598
+ ListItem,
5599
+ {
5600
+ ...optChild.props
5601
+ },
5602
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5603
+ )
5604
+ );
5605
+ });
5606
+ }
5607
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5608
+ } else if (child.type === ListItem) {
5609
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5610
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ListContent, { virtualization, children: listChildren });
5611
+ }
5612
+ });
5613
+ } else {
5614
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(NoData, { children: "No data found." });
5615
+ }
5616
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
5617
+ "div",
5618
+ {
5619
+ ...other,
5620
+ className: classNames(
5621
+ props.className,
5622
+ LISTANGULAR_CLASSNAME,
5623
+ optionClassNames(LISTANGULAR_CLASSNAME, {
5624
+ size
5625
+ }),
5626
+ {
5627
+ ["k-virtual-list"]: virtualization
5628
+ }
5629
+ ),
5630
+ children: [
5631
+ listGroup,
5632
+ listContent
5633
+ ]
5634
+ }
5635
+ );
5636
+ };
5637
+ ListAngular.states = states24;
5638
+ ListAngular.options = options21;
5639
+ ListAngular.className = LISTANGULAR_CLASSNAME;
5640
+ ListAngular.defaultProps = defaultProps18;
5641
+
5642
+ // src/checkbox/checkbox.spec.tsx
5643
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5644
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
5645
+ var states25 = [
5646
+ States.hover,
5647
+ States.focus,
5648
+ States.valid,
5649
+ States.invalid,
5650
+ States.required,
5651
+ States.disabled,
5652
+ States.checked,
5653
+ States.indeterminate
5654
+ ];
5655
+ var options22 = {
5656
+ size: [Size.small, Size.medium, Size.large],
5657
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5658
+ };
5659
+ var defaultProps19 = {
5660
+ size: Size.medium,
5661
+ rounded: Roundness.medium
5662
+ };
5663
+ var Checkbox = (props) => {
5664
+ const {
5665
+ id,
5666
+ checked,
5667
+ indeterminate,
5668
+ hover,
5669
+ focus,
5670
+ disabled,
5671
+ invalid,
5672
+ valid,
5673
+ required,
5674
+ size = defaultProps19.size,
5675
+ rounded = defaultProps19.rounded,
5676
+ ...other
5677
+ } = props;
5678
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5679
+ "input",
5680
+ {
5681
+ ...other,
5682
+ id,
5683
+ type: "checkbox",
5684
+ checked,
5685
+ required,
5686
+ className: classNames(
5687
+ props.className,
5688
+ CHECKBOX_CLASSNAME,
5689
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
5690
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
5691
+ )
5692
+ }
5693
+ ) });
5694
+ };
5695
+ Checkbox.states = states25;
5696
+ Checkbox.options = options22;
5697
+ Checkbox.className = CHECKBOX_CLASSNAME;
5698
+ Checkbox.defaultProps = defaultProps19;
5699
+
5700
+ // src/checkbox/templates/checkbox-label.tsx
5701
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5702
+
5703
+ // src/checkbox/templates/checkbox-normal.tsx
5704
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5705
+
5706
+ // src/list/list-item.spec.tsx
5707
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5708
+ var LISTITEM_CLASSNAME = `k-list-item`;
5709
+ var states26 = [
5710
+ States.hover,
5711
+ States.focus,
5712
+ States.selected,
5713
+ States.disabled
5714
+ ];
5715
+ var options23 = {};
5716
+ var defaultProps20 = {};
5717
+ var ListItem = (props) => {
5718
+ const {
5719
+ text,
5720
+ groupLabel,
5721
+ showIcon,
5722
+ iconName,
5723
+ showCheckbox,
5724
+ checked,
5725
+ hover,
5726
+ focus,
5727
+ selected,
5728
+ disabled,
5729
+ ...other
5730
+ } = props;
5731
+ const textOrChildren = text ? text : props.children;
5732
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
5733
+ "li",
5734
+ {
5735
+ ...other,
5736
+ className: classNames(
5737
+ props.className,
5738
+ LISTITEM_CLASSNAME,
5739
+ stateClassNames(LISTITEM_CLASSNAME, {
5740
+ hover,
5741
+ focus,
5742
+ disabled,
5743
+ selected
5744
+ })
5745
+ ),
5746
+ children: [
5747
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Checkbox, { checked }),
5748
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: iconName }),
5749
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
5750
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
5751
+ ]
5752
+ }
5753
+ );
5754
+ };
5755
+ ListItem.states = states26;
5756
+ ListItem.options = options23;
5757
+ ListItem.className = LISTITEM_CLASSNAME;
5758
+ ListItem.defaultProps = defaultProps20;
5759
+
5760
+ // src/list/list-content.tsx
5761
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5762
+ var className10 = `k-list-content`;
5763
+ var ListContent = (props) => {
5764
+ const {
5765
+ virtualization
5766
+ } = props;
5767
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: classNames(className10, props.className), children: [
5768
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
5769
+ virtualization && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", {}) })
5770
+ ] });
5771
+ };
5772
+
5773
+ // src/list/list-header.tsx
5774
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5775
+ var className11 = `k-list-group-sticky-header`;
5776
+ var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "k-list-header-text", children: props.children }) });
5777
+
5778
+ // src/list/list-group.tsx
5779
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5780
+ var ListGroup = (props) => {
5781
+ const {
5782
+ virtualization,
5783
+ label
5784
+ } = props;
5785
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
5786
+ label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ListHeader, { children: label }),
5787
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ListContent, { virtualization, children: props.children })
5788
+ ] });
5789
+ };
5790
+
5791
+ // src/list/list-group-item.tsx
5792
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5793
+ var className12 = `k-list-group-item`;
5794
+ var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "k-list-item-text", children: props.children }) });
5795
+
5796
+ // src/list/list-option-label.tsx
5797
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5798
+ var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
5799
+ var states27 = [
5800
+ States.hover,
5801
+ States.focus,
5802
+ States.selected,
5803
+ States.disabled
5804
+ ];
5805
+ var options24 = {};
5806
+ var defaultProps21 = {};
5807
+ var ListOptionLabel = (props) => {
5808
+ const {
5809
+ text,
5810
+ hover,
5811
+ focus,
5812
+ selected,
5813
+ disabled,
5814
+ ...other
5815
+ } = props;
5816
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5817
+ "div",
5818
+ {
5819
+ ...other,
5820
+ className: classNames(
5821
+ LIST_OPTIONLABEL_CLASSNAME,
5822
+ stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
5823
+ hover,
5824
+ focus,
5825
+ selected,
5826
+ disabled
5827
+ })
5828
+ ),
5829
+ children: text
5830
+ }
5831
+ );
5832
+ };
5833
+ ListOptionLabel.states = states27;
5834
+ ListOptionLabel.options = options24;
5835
+ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
5836
+ ListOptionLabel.defaultProps = defaultProps21;
5837
+
5838
+ // src/list/templates/list-normal.tsx
5839
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5840
+
5841
+ // src/list/templates/list-virtualization.tsx
5842
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5843
+
5844
+ // src/list/templates/list-grouping.tsx
5845
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5846
+
5847
+ // src/list/templates/list-virualization-grouping.tsx
5848
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5849
+
5850
+ // src/list/templates/list-virtualization-angular.tsx
5851
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5852
+
5853
+ // src/list/templates/list-grouping-angular.tsx
5854
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5855
+
5856
+ // src/list/templates/list-virualization-grouping-angular.tsx
5857
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5858
+
5859
+ // src/combobox/combobox.spec.tsx
5860
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5861
+ var COMBOBOX_CLASSNAME = `k-combobox`;
5862
+ var states28 = [
5863
+ States.hover,
5864
+ States.focus,
5865
+ States.valid,
5866
+ States.invalid,
5867
+ States.loading,
5868
+ States.required,
5869
+ States.disabled,
5870
+ States.readonly
5871
+ ];
5872
+ var defaultProps22 = {
5873
+ size: Input.defaultProps.size,
5874
+ rounded: Input.defaultProps.rounded,
5875
+ fillMode: Input.defaultProps.fillMode
5876
+ };
5877
+ var options25 = {
5878
+ size: [Size.small, Size.medium, Size.large],
5879
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5880
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5881
+ };
5882
+ var Combobox = (props) => {
5883
+ const {
5884
+ prefix,
5885
+ suffix,
5886
+ value,
5887
+ placeholder,
5888
+ size,
5889
+ rounded,
5890
+ fillMode,
5891
+ hover,
5892
+ focus,
5893
+ valid,
5894
+ invalid,
5895
+ required,
5896
+ loading,
5897
+ disabled,
5898
+ popup,
5899
+ opened,
5900
+ readonly,
5901
+ adaptive,
5902
+ adaptiveSettings,
5903
+ ...other
5904
+ } = props;
5905
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
5906
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
5907
+ Input,
5908
+ {
5909
+ ...other,
5910
+ size,
5911
+ rounded,
5912
+ fillMode,
5913
+ hover,
5914
+ focus,
5915
+ valid,
5916
+ invalid,
5917
+ required,
5918
+ loading,
5919
+ disabled,
5920
+ readonly,
5921
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
5922
+ children: [
5923
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputPrefix, { children: prefix }),
5924
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputInnerInput, { placeholder, value }),
5925
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5926
+ InputValidationIcon,
5927
+ {
5928
+ valid,
5929
+ invalid,
5930
+ loading,
5931
+ disabled
5932
+ }
5933
+ ),
5934
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5935
+ InputLoadingIcon,
5936
+ {
5937
+ loading,
5938
+ disabled
5939
+ }
5940
+ ),
5941
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5942
+ InputClearValue,
5943
+ {
5944
+ loading,
5945
+ disabled,
5946
+ readonly,
5947
+ value
5948
+ }
5949
+ ),
5950
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputSuffix, { children: suffix }),
5951
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5952
+ Button,
5953
+ {
5954
+ className: "k-input-button",
5955
+ icon: "caret-alt-down",
5956
+ rounded: null,
5957
+ size,
5958
+ fillMode
5959
+ }
5960
+ )
5961
+ ]
5962
+ }
5963
+ ),
5964
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
5965
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
5966
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5967
+ ActionSheetHeader,
5968
+ {
5969
+ actions: ["x"],
5970
+ filter: true,
5971
+ title: "Select Item"
5972
+ }
5973
+ ),
5974
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(List, { size: "large", children: [
5975
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ListItem, { text: "List item" }),
5976
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ListItem, { text: "List item" }),
5977
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ListItem, { text: "List item" })
5978
+ ] }) })
5979
+ ] })
5980
+ ] });
5981
+ };
5982
+ Combobox.states = states28;
5983
+ Combobox.options = options25;
5984
+ Combobox.className = COMBOBOX_CLASSNAME;
5985
+ Combobox.defaultProps = defaultProps22;
5986
+
5987
+ // src/combobox/templates/combobox-normal.tsx
5988
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5989
+
5990
+ // src/combobox/templates/combobox-popup.tsx
5991
+ var import_jsx_runtime66 = require("react/jsx-runtime");
5992
+
5993
+ // src/combobox/templates/combobox-grouping.tsx
5994
+ var import_jsx_runtime67 = require("react/jsx-runtime");
5995
+
5996
+ // src/combobox/templates/combobox-adaptive.tsx
5997
+ var import_jsx_runtime68 = require("react/jsx-runtime");
5998
+
5999
+ // src/dropdownlist/dropdownlist.spec.tsx
6000
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6001
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
6002
+ var states29 = [
6003
+ States.hover,
6004
+ States.focus,
6005
+ States.valid,
6006
+ States.invalid,
6007
+ States.required,
6008
+ States.disabled,
6009
+ States.loading,
6010
+ States.readonly
6011
+ ];
6012
+ var options26 = {
6013
+ size: [Size.small, Size.medium, Size.large],
6014
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6015
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6016
+ };
6017
+ var defaultProps23 = {
6018
+ showValue: true,
6019
+ arrowIconName: "caret-alt-down",
6020
+ size: Size.medium,
6021
+ rounded: Roundness.medium,
6022
+ fillMode: FillMode.solid
6023
+ };
6024
+ var DropdownList = (props) => {
6025
+ const {
6026
+ valueIconName,
6027
+ arrowIconName = defaultProps23.arrowIconName,
6028
+ prefix,
6029
+ suffix,
6030
+ value,
6031
+ placeholder,
6032
+ size,
6033
+ rounded,
6034
+ fillMode,
6035
+ hover,
6036
+ focus,
6037
+ valid,
6038
+ invalid,
6039
+ required,
6040
+ loading,
6041
+ disabled,
6042
+ readonly,
6043
+ showValue = defaultProps23.showValue,
6044
+ popup,
6045
+ opened,
6046
+ ...other
6047
+ } = props;
6048
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
6049
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
6050
+ Picker,
6051
+ {
6052
+ ...other,
6053
+ size,
6054
+ rounded,
6055
+ fillMode,
6056
+ hover,
6057
+ focus,
6058
+ valid,
6059
+ invalid,
6060
+ required,
6061
+ loading,
6062
+ disabled,
6063
+ readonly,
6064
+ className: classNames(
6065
+ props.className,
6066
+ DROPDOWNLIST_CLASSNAME,
6067
+ {
6068
+ "k-icon-picker": !showValue && valueIconName
6069
+ }
6070
+ ),
6071
+ children: [
6072
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(InputPrefix, { children: prefix }),
6073
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6074
+ InputInnerSpan,
6075
+ {
6076
+ placeholder,
6077
+ value,
6078
+ showValue,
6079
+ valueIconName
6080
+ }
6081
+ ),
6082
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6083
+ InputValidationIcon,
6084
+ {
6085
+ valid,
6086
+ invalid,
6087
+ loading,
6088
+ disabled
6089
+ }
6090
+ ),
6091
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6092
+ InputLoadingIcon,
6093
+ {
6094
+ loading,
6095
+ disabled
6096
+ }
6097
+ ),
6098
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(InputSuffix, { children: suffix }),
6099
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6100
+ Button,
6101
+ {
6102
+ className: "k-input-button",
6103
+ icon: arrowIconName,
6104
+ rounded: null,
6105
+ size: props.size,
6106
+ fillMode: props.fillMode
6107
+ }
6108
+ )
6109
+ ]
6110
+ }
6111
+ ),
6112
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
6113
+ ] });
6114
+ };
6115
+ DropdownList.states = states29;
6116
+ DropdownList.options = options26;
6117
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
6118
+ DropdownList.defaultProps = defaultProps23;
6119
+
6120
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
6121
+ var import_jsx_runtime70 = require("react/jsx-runtime");
6122
+
6123
+ // src/dropdownlist/templates/dropdownlist-popup.tsx
6124
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6125
+
6126
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
6127
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6128
+
6129
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
6130
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6131
+
6132
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6133
+ var import_jsx_runtime74 = require("react/jsx-runtime");
6134
+
6135
+ // src/menu-button/menu-button.spec.tsx
6136
+ var import_jsx_runtime75 = require("react/jsx-runtime");
6137
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
6138
+ var states30 = [
6139
+ States.hover,
6140
+ States.focus,
6141
+ States.active,
6142
+ States.selected,
6143
+ States.disabled
6144
+ ];
6145
+ var options27 = {
6146
+ size: [Size.small, Size.medium, Size.large],
6147
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6148
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
6149
+ themeColor: [
6150
+ ThemeColor.base,
6151
+ ThemeColor.primary,
6152
+ ThemeColor.secondary,
6153
+ ThemeColor.tertiary,
6154
+ ThemeColor.success,
6155
+ ThemeColor.warning,
6156
+ ThemeColor.error,
6157
+ ThemeColor.info,
6158
+ ThemeColor.light,
6159
+ ThemeColor.dark,
6160
+ ThemeColor.inverse
6161
+ ]
6162
+ };
6163
+ var defaultProps24 = {
6164
+ size: Size.medium,
6165
+ rounded: Roundness.medium,
6166
+ fillMode: FillMode.solid,
6167
+ themeColor: ThemeColor.base,
6168
+ showArrow: true,
6169
+ arrowIconName: "caret-alt-down"
6170
+ };
6171
+ var MenuButton = (props) => {
6172
+ const {
6173
+ size = defaultProps24.size,
6174
+ rounded = defaultProps24.rounded,
6175
+ fillMode = defaultProps24.fillMode,
6176
+ themeColor = defaultProps24.themeColor,
6177
+ hover,
6178
+ focus,
6179
+ active,
6180
+ selected,
6181
+ disabled,
6182
+ icon,
6183
+ text,
6184
+ showArrow = defaultProps24.showArrow,
6185
+ arrowIconName = defaultProps24.arrowIconName,
6186
+ popup,
6187
+ opened,
6188
+ ...other
6189
+ } = props;
6190
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6191
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6192
+ Button,
6193
+ {
6194
+ ...other,
6195
+ className: classNames(
6196
+ props.className,
6197
+ MENUBUTTON_CLASSNAME
6198
+ ),
6199
+ text,
6200
+ size,
6201
+ rounded,
6202
+ fillMode,
6203
+ themeColor,
6204
+ hover,
6205
+ focus,
6206
+ active,
6207
+ selected,
6208
+ disabled,
6209
+ icon,
6210
+ showArrow,
6211
+ arrowIconName
6212
+ }
6213
+ ),
6214
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Popup, { className: "k-menu-popup", children: popup })
6215
+ ] });
6216
+ };
6217
+ MenuButton.states = states30;
6218
+ MenuButton.options = options27;
6219
+ MenuButton.className = MENUBUTTON_CLASSNAME;
6220
+ MenuButton.defaultProps = defaultProps24;
6221
+
6222
+ // src/menu-button/templates/icon-menu-button.tsx
6223
+ var import_jsx_runtime76 = require("react/jsx-runtime");
6224
+
6225
+ // src/menu-button/templates/icon-text-menu-button.tsx
6226
+ var import_jsx_runtime77 = require("react/jsx-runtime");
6227
+
6228
+ // src/menu-button/templates/text-menu-button.tsx
6229
+ var import_jsx_runtime78 = require("react/jsx-runtime");
6230
+
6231
+ // src/menu/menu-item.spec.tsx
6232
+ var import_jsx_runtime79 = require("react/jsx-runtime");
6233
+ var MENUITEM_CLASSNAME = `k-menu-item`;
6234
+ var states31 = [
6235
+ States.hover,
6236
+ States.focus,
6237
+ States.active,
6238
+ States.selected,
6239
+ States.disabled
6240
+ ];
6241
+ var options28 = {};
6242
+ var defaultProps25 = {
6243
+ dir: "ltr"
6244
+ };
6245
+ var MenuItem = (props) => {
6246
+ const {
6247
+ hover,
6248
+ focus,
6249
+ active,
6250
+ selected,
6251
+ disabled,
6252
+ icon,
6253
+ text,
6254
+ showArrow,
6255
+ arrowIconName,
6256
+ dir = defaultProps25.dir,
6257
+ children,
6258
+ ...other
6259
+ } = props;
6260
+ const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_jsx_runtime79.Fragment, {});
6261
+ if (children) {
6262
+ children.forEach((child) => {
6263
+ const component = child.type;
6264
+ if (component === "MenuItemContent") {
6265
+ contentTemplate.props.children.push(child);
6266
+ return;
6267
+ }
6268
+ });
6269
+ }
6270
+ let expandArrowName = arrowIconName;
6271
+ if (!expandArrowName) {
6272
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
6273
+ }
6274
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
6275
+ "li",
6276
+ {
6277
+ ...other,
6278
+ className: classNames(
6279
+ props.className,
6280
+ MENUITEM_CLASSNAME,
6281
+ //TODO
6282
+ "k-item",
6283
+ stateClassNames(MENUITEM_CLASSNAME, {
6284
+ focus,
6285
+ disabled
6286
+ })
6287
+ ),
6288
+ children: [
6289
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
6290
+ "span",
6291
+ {
6292
+ className: classNames(
6293
+ "k-link k-menu-link",
6294
+ stateClassNames("k-menu-link", {
6295
+ hover,
6296
+ active,
6297
+ selected,
6298
+ disabled
6299
+ })
6300
+ ),
6301
+ children: [
6302
+ icon && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-menu-link-icon", icon }),
6303
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "k-menu-link-text", children: text }),
6304
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { icon: expandArrowName }) })
6305
+ ]
6306
+ }
6307
+ ),
6308
+ contentTemplate
6309
+ ]
6310
+ }
6311
+ );
6312
+ };
6313
+ MenuItem.states = states31;
6314
+ MenuItem.options = options28;
6315
+ MenuItem.className = MENUITEM_CLASSNAME;
6316
+ MenuItem.defaultProps = defaultProps25;
6317
+ var menu_item_spec_default = MenuItem;
6318
+
6319
+ // src/menu/menu-separator.spec.tsx
6320
+ var import_jsx_runtime80 = require("react/jsx-runtime");
6321
+ var SEPARATOR_CLASSNAME = `k-separator`;
6322
+ var defaultProps26 = {
6323
+ orientation: "horizontal"
6324
+ };
6325
+ var MenuSeparator = (props) => {
6326
+ const {
6327
+ orientation = defaultProps26.orientation,
6328
+ ...other
6329
+ } = props;
6330
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
6331
+ "li",
6332
+ {
6333
+ ...other,
6334
+ className: classNames(
6335
+ props.className,
6336
+ "k-item",
6337
+ SEPARATOR_CLASSNAME,
6338
+ {
6339
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
6340
+ }
6341
+ )
6342
+ }
6343
+ );
6344
+ };
6345
+ var menu_separator_spec_default = MenuSeparator;
6346
+
6347
+ // src/menu/menu-item-content.tsx
6348
+ var import_jsx_runtime81 = require("react/jsx-runtime");
6349
+
6350
+ // src/menu/menu-list.spec.tsx
6351
+ var import_jsx_runtime82 = require("react/jsx-runtime");
6352
+ var import_react = require("react");
6353
+ var MENULIST_CLASSNAME = `k-menu-group`;
6354
+ var states32 = [];
6355
+ var options29 = {
6356
+ size: [Size.small, Size.medium, Size.large]
6357
+ };
6358
+ var defaultProps27 = {
6359
+ size: Size.medium,
6360
+ dir: "ltr"
6361
+ };
6362
+ var MenuList = (props) => {
6363
+ const {
6364
+ children,
6365
+ size = defaultProps27.size,
6366
+ dir = defaultProps27.dir,
6367
+ ...other
6368
+ } = props;
6369
+ const listChildren = [];
6370
+ if (children) {
6371
+ if (Array.isArray(children)) {
6372
+ children.map((child, index) => {
6373
+ if (child.type === menu_item_spec_default) {
6374
+ listChildren.push(
6375
+ /* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
6376
+ );
6377
+ } else if (child.type === menu_separator_spec_default) {
6378
+ listChildren.push(
6379
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(menu_separator_spec_default, {})
6380
+ );
6381
+ } else {
6382
+ listChildren.push(child);
6383
+ }
6384
+ });
6385
+ }
6386
+ }
6387
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
6388
+ "ul",
6389
+ {
6390
+ ...other,
6391
+ className: classNames(
6392
+ props.className,
6393
+ MENULIST_CLASSNAME,
6394
+ optionClassNames(MENULIST_CLASSNAME, {
6395
+ size
6396
+ })
6397
+ ),
6398
+ children: listChildren
6399
+ }
6400
+ );
6401
+ };
6402
+ MenuList.states = states32;
6403
+ MenuList.options = options29;
6404
+ MenuList.className = MENULIST_CLASSNAME;
6405
+ MenuList.defaultProps = defaultProps27;
6406
+
6407
+ // src/menu-button/templates/menu-button-popup.tsx
6408
+ var import_jsx_runtime83 = require("react/jsx-runtime");
6409
+
6410
+ // src/split-button/split-button.spec.tsx
6411
+ var import_jsx_runtime84 = require("react/jsx-runtime");
6412
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
6413
+ var states33 = [
6414
+ States.hover,
6415
+ States.focus,
6416
+ States.active,
6417
+ States.selected,
6418
+ States.disabled
6419
+ ];
6420
+ var options30 = {
6421
+ size: [Size.small, Size.medium, Size.large],
6422
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6423
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
6424
+ themeColor: [
6425
+ ThemeColor.base,
6426
+ ThemeColor.primary,
6427
+ ThemeColor.secondary,
6428
+ ThemeColor.tertiary,
6429
+ ThemeColor.success,
6430
+ ThemeColor.warning,
6431
+ ThemeColor.error,
6432
+ ThemeColor.info,
6433
+ ThemeColor.light,
6434
+ ThemeColor.dark,
6435
+ ThemeColor.inverse
6436
+ ]
6437
+ };
6438
+ var defaultProps28 = {
6439
+ size: Size.medium,
6440
+ rounded: Roundness.medium,
6441
+ fillMode: FillMode.solid,
6442
+ themeColor: ThemeColor.base,
6443
+ arrowIconName: "caret-alt-down"
6444
+ };
6445
+ var SplitButton = (props) => {
6446
+ const {
6447
+ size = defaultProps28.size,
6448
+ rounded = defaultProps28.rounded,
6449
+ fillMode = defaultProps28.fillMode,
6450
+ themeColor = defaultProps28.themeColor,
6451
+ hover,
6452
+ focus,
6453
+ active,
6454
+ selected,
6455
+ disabled,
6456
+ icon,
6457
+ text,
6458
+ arrowIconName = defaultProps28.arrowIconName,
6459
+ popup,
6460
+ opened,
6461
+ ...other
6462
+ } = props;
6463
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx_runtime84.Fragment, { children: [
6464
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
6465
+ "div",
6466
+ {
6467
+ ...other,
6468
+ className: classNames(
6469
+ props.className,
6470
+ SPLITBUTTON_CLASSNAME,
6471
+ "k-button-group",
6472
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
6473
+ rounded
6474
+ })
6475
+ ),
6476
+ children: [
6477
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
6478
+ Button,
6479
+ {
6480
+ text,
6481
+ icon,
6482
+ size,
6483
+ rounded,
6484
+ fillMode,
6485
+ themeColor,
6486
+ hover,
6487
+ focus,
6488
+ active,
6489
+ selected,
6490
+ disabled,
6491
+ children: props.children
6492
+ }
6493
+ ),
6494
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
6495
+ Button,
6496
+ {
6497
+ className: "k-split-button-arrow",
6498
+ icon: arrowIconName,
6499
+ size,
6500
+ rounded,
6501
+ fillMode,
6502
+ disabled
6503
+ }
6504
+ )
6505
+ ]
6506
+ }
6507
+ ),
6508
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Popup, { className: "k-menu-popup", children: popup })
6509
+ ] });
6510
+ };
6511
+ SplitButton.states = states33;
6512
+ SplitButton.options = options30;
6513
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
6514
+ SplitButton.defaultProps = defaultProps28;
6515
+ var split_button_spec_default = SplitButton;
6516
+
6517
+ // src/toolbar/toolbar.spec.tsx
6518
+ var import_jsx_runtime85 = require("react/jsx-runtime");
6519
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
6520
+ var states34 = [
6521
+ States.focus
6522
+ ];
6523
+ var options31 = {
6524
+ size: [Size.small, Size.medium, Size.large]
6525
+ };
6526
+ var defaultProps29 = {
6527
+ size: Size.medium
6528
+ };
6529
+ var Toolbar = (props) => {
6530
+ const {
6531
+ size = defaultProps29.size,
6532
+ focus,
6533
+ resizable,
6534
+ ...other
6535
+ } = props;
6536
+ const toolbarChildren = [];
6537
+ const addUniqueToolClass = (child, index) => {
6538
+ const tempToolbarChildren = [];
6539
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
6540
+ tempToolbarChildren.push(
6541
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6542
+ Button,
6543
+ {
6544
+ ...child.props,
6545
+ className: `${child.props.className ? child.props.className : ""}`
6546
+ },
6547
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6548
+ )
6549
+ );
6550
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
6551
+ tempToolbarChildren.push(
6552
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6553
+ Button,
6554
+ {
6555
+ ...child.props,
6556
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
6557
+ },
6558
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6559
+ )
6560
+ );
6561
+ } else if (child.type === Button) {
6562
+ tempToolbarChildren.push(
6563
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6564
+ Button,
6565
+ {
6566
+ ...child.props,
6567
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
6568
+ },
6569
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6570
+ )
6571
+ );
6572
+ } else if (child.type === MenuButton) {
6573
+ tempToolbarChildren.push(
6574
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6575
+ MenuButton,
6576
+ {
6577
+ ...child.props,
6578
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
6579
+ },
6580
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6581
+ )
6582
+ );
6583
+ } else if (child.type === split_button_spec_default) {
6584
+ tempToolbarChildren.push(
6585
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6586
+ split_button_spec_default,
6587
+ {
6588
+ ...child.props,
6589
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
6590
+ },
6591
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6592
+ )
6593
+ );
6594
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
6595
+ const buttonGroupItems = [];
6596
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
6597
+ childrenArray.forEach((button, bindex) => {
6598
+ buttonGroupItems.push(
6599
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6600
+ Button,
6601
+ {
6602
+ ...button.props,
6603
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
6604
+ },
6605
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
6606
+ )
6607
+ );
6608
+ });
6609
+ tempToolbarChildren.push(
6610
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6611
+ ButtonGroup,
6612
+ {
6613
+ ...child.props,
6614
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
6615
+ children: buttonGroupItems
6616
+ },
6617
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6618
+ )
6619
+ );
6620
+ } else if (child.type === Combobox) {
6621
+ tempToolbarChildren.push(
6622
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6623
+ Combobox,
6624
+ {
6625
+ ...child.props,
6626
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
6627
+ },
6628
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6629
+ )
6630
+ );
6631
+ } else if (child.type === DropdownList) {
6632
+ tempToolbarChildren.push(
6633
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6634
+ DropdownList,
6635
+ {
6636
+ ...child.props,
6637
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
6638
+ },
6639
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6640
+ )
6641
+ );
6642
+ } else if (child.type === ColorPicker) {
6643
+ tempToolbarChildren.push(
6644
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6645
+ ColorPicker,
6646
+ {
6647
+ ...child.props,
6648
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
6649
+ },
6650
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6651
+ )
6652
+ );
6653
+ } else {
6654
+ tempToolbarChildren.push(child);
6655
+ }
6656
+ tempToolbarChildren.forEach((item) => {
6657
+ toolbarChildren.push(item);
6658
+ });
6659
+ };
6660
+ if (props.children) {
6661
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
6662
+ childrenArray.forEach((child, index) => {
6663
+ addUniqueToolClass(child, index);
6664
+ });
6665
+ }
6666
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6667
+ "div",
6668
+ {
6669
+ ...other,
6670
+ className: classNames(
6671
+ props.className,
6672
+ TOOLBAR_CLASSNAME,
6673
+ optionClassNames(TOOLBAR_CLASSNAME, {
6674
+ size
6675
+ }),
6676
+ stateClassNames(TOOLBAR_CLASSNAME, {
6677
+ focus
6678
+ }),
6679
+ {
6680
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
6681
+ }
6682
+ ),
6683
+ children: toolbarChildren
6684
+ }
6685
+ );
6686
+ };
6687
+ Toolbar.states = states34;
6688
+ Toolbar.options = options31;
6689
+ Toolbar.className = TOOLBAR_CLASSNAME;
6690
+ Toolbar.defaultProps = defaultProps29;
6691
+
6692
+ // src/toolbar/toolbar-angular.spec.tsx
6693
+ var import_jsx_runtime86 = require("react/jsx-runtime");
6694
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
6695
+ var states35 = [
6696
+ States.focus
6697
+ ];
6698
+ var options32 = {
6699
+ size: [Size.small, Size.medium, Size.large]
6700
+ };
6701
+ var defaultProps30 = {
6702
+ size: Size.medium
6703
+ };
6704
+ var ToolbarAngular = (props) => {
6705
+ const {
6706
+ size = defaultProps30.size,
6707
+ focus,
6708
+ resizable,
6709
+ ...other
6710
+ } = props;
6711
+ const toolbarChildren = [];
6712
+ const addUniqueToolClass = (child, index) => {
6713
+ const tempToolbarChildren = [];
6714
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
6715
+ tempToolbarChildren.push(
6716
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6717
+ Button,
6718
+ {
6719
+ ...child.props,
6720
+ className: `${child.props.className ? child.props.className : ""}`
6721
+ },
6722
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6723
+ ) })
6724
+ );
6725
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
6726
+ tempToolbarChildren.push(
6727
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6728
+ Button,
6729
+ {
6730
+ ...child.props,
6731
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
6732
+ },
6733
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6734
+ ) })
6735
+ );
6736
+ } else if (child.type === Button) {
6737
+ tempToolbarChildren.push(
6738
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6739
+ Button,
6740
+ {
6741
+ ...child.props,
6742
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
6743
+ },
6744
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6745
+ ) })
6746
+ );
6747
+ } else if (child.type === MenuButton) {
6748
+ tempToolbarChildren.push(
6749
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6750
+ MenuButton,
6751
+ {
6752
+ ...child.props,
6753
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
6754
+ },
6755
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6756
+ ) })
6757
+ );
6758
+ } else if (child.type === split_button_spec_default) {
6759
+ tempToolbarChildren.push(
6760
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6761
+ split_button_spec_default,
6762
+ {
6763
+ ...child.props,
6764
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
6765
+ },
6766
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6767
+ ) })
6768
+ );
6769
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
6770
+ const buttonGroupItems = [];
6771
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
6772
+ childrenArray.forEach((button, bindex) => {
6773
+ buttonGroupItems.push(
6774
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6775
+ Button,
6776
+ {
6777
+ ...button.props,
6778
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
6779
+ },
6780
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
6781
+ )
6782
+ );
6783
+ });
6784
+ tempToolbarChildren.push(
6785
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6786
+ ButtonGroup,
6787
+ {
6788
+ ...child.props,
6789
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
6790
+ children: buttonGroupItems
6791
+ },
6792
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6793
+ ) })
6794
+ );
6795
+ } else if (child.type === Combobox) {
6796
+ tempToolbarChildren.push(
6797
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6798
+ Combobox,
6799
+ {
6800
+ ...child.props,
6801
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
6802
+ },
6803
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6804
+ ) })
6805
+ );
6806
+ } else if (child.type === DropdownList) {
6807
+ tempToolbarChildren.push(
6808
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6809
+ DropdownList,
6810
+ {
6811
+ ...child.props,
6812
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
6813
+ },
6814
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6815
+ ) })
6816
+ );
6817
+ } else if (child.type === ColorPicker) {
6818
+ tempToolbarChildren.push(
6819
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6820
+ ColorPicker,
6821
+ {
6822
+ ...child.props,
6823
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
6824
+ },
6825
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
6826
+ ) })
6827
+ );
6828
+ } else {
6829
+ tempToolbarChildren.push(child);
6830
+ }
6831
+ tempToolbarChildren.forEach((item) => {
6832
+ toolbarChildren.push(item);
6833
+ });
6834
+ };
6835
+ if (props.children) {
6836
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
6837
+ childrenArray.forEach((child, index) => {
6838
+ addUniqueToolClass(child, index);
6839
+ });
6840
+ }
6841
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6842
+ "div",
6843
+ {
6844
+ ...other,
6845
+ className: classNames(
6846
+ props.className,
6847
+ TOOLBARANGULAR_CLASSNAME,
6848
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
6849
+ size
6850
+ }),
6851
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
6852
+ focus
6853
+ }),
6854
+ {
6855
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
6856
+ }
6857
+ ),
6858
+ children: toolbarChildren
6859
+ }
6860
+ );
6861
+ };
6862
+ ToolbarAngular.states = states35;
6863
+ ToolbarAngular.options = options32;
6864
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
6865
+ ToolbarAngular.defaultProps = defaultProps30;
6866
+
6867
+ // src/toolbar/toolbar-separator.tsx
6868
+ var import_jsx_runtime87 = require("react/jsx-runtime");
6869
+
6870
+ // src/toolbar/toolbar-item.spec.tsx
6871
+ var import_jsx_runtime88 = require("react/jsx-runtime");
6872
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
6873
+ var states36 = [
6874
+ States.focus
6875
+ ];
6876
+ var options33 = {};
6877
+ var defaultProps31 = {};
6878
+ var ToolbarItem = (props) => {
6879
+ const {
6880
+ focus,
6881
+ ...other
6882
+ } = props;
6883
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6884
+ "div",
6885
+ {
6886
+ ...other,
6887
+ className: classNames(
6888
+ props.className,
6889
+ TOOLBARITEM_CLASSNAME,
6890
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
6891
+ focus
6892
+ })
6893
+ ),
6894
+ children: props.children
6895
+ }
6896
+ );
6897
+ };
6898
+ ToolbarItem.states = states36;
6899
+ ToolbarItem.options = options33;
6900
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
6901
+ ToolbarItem.defaultProps = defaultProps31;
6902
+
6903
+ // src/textbox/textbox.spec.tsx
6904
+ var import_jsx_runtime89 = require("react/jsx-runtime");
6905
+ var TEXTBOX_CLASSNAME = `k-textbox`;
6906
+ var states37 = [
6907
+ States.hover,
6908
+ States.focus,
6909
+ States.valid,
4772
6910
  States.invalid,
4773
6911
  States.required,
4774
6912
  States.disabled,
4775
6913
  States.loading,
4776
6914
  States.readonly
4777
6915
  ];
4778
- var options12 = {
6916
+ var options34 = {
4779
6917
  size: [Size.small, Size.medium, Size.large],
4780
6918
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4781
6919
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4782
6920
  };
4783
- var defaultProps10 = {
6921
+ var defaultProps32 = {
4784
6922
  showClearButton: true,
4785
6923
  size: Input.defaultProps.size,
4786
6924
  rounded: Input.defaultProps.rounded,
@@ -4803,10 +6941,10 @@ var Textbox = (props) => {
4803
6941
  loading,
4804
6942
  disabled,
4805
6943
  readonly,
4806
- showClearButton = defaultProps10.showClearButton,
6944
+ showClearButton = defaultProps32.showClearButton,
4807
6945
  ...other
4808
6946
  } = props;
4809
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6947
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
4810
6948
  Input,
4811
6949
  {
4812
6950
  ...other,
@@ -4823,9 +6961,9 @@ var Textbox = (props) => {
4823
6961
  readonly,
4824
6962
  className: classNames(props.className, TEXTBOX_CLASSNAME),
4825
6963
  children: [
4826
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(InputPrefix, { children: prefix }),
4827
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(InputInnerInput, { placeholder, value }),
4828
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6964
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(InputPrefix, { children: prefix }),
6965
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(InputInnerInput, { placeholder, value }),
6966
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
4829
6967
  InputValidationIcon,
4830
6968
  {
4831
6969
  valid,
@@ -4834,14 +6972,14 @@ var Textbox = (props) => {
4834
6972
  disabled
4835
6973
  }
4836
6974
  ),
4837
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6975
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
4838
6976
  InputLoadingIcon,
4839
6977
  {
4840
6978
  loading,
4841
6979
  disabled
4842
6980
  }
4843
6981
  ),
4844
- showClearButton && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6982
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
4845
6983
  InputClearValue,
4846
6984
  {
4847
6985
  loading,
@@ -4850,94 +6988,334 @@ var Textbox = (props) => {
4850
6988
  value
4851
6989
  }
4852
6990
  ),
4853
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(InputSuffix, { children: suffix })
6991
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(InputSuffix, { children: suffix })
4854
6992
  ]
4855
6993
  }
4856
6994
  );
4857
6995
  };
4858
- Textbox.states = states13;
4859
- Textbox.options = options12;
6996
+ Textbox.states = states37;
6997
+ Textbox.options = options34;
4860
6998
  Textbox.className = TEXTBOX_CLASSNAME;
4861
- Textbox.defaultProps = defaultProps10;
6999
+ Textbox.defaultProps = defaultProps32;
4862
7000
 
4863
7001
  // src/textbox/templates/textbox-normal.tsx
4864
- var import_jsx_runtime24 = require("react/jsx-runtime");
7002
+ var import_jsx_runtime90 = require("react/jsx-runtime");
4865
7003
 
4866
7004
  // src/textbox/templates/textbox-prefix.tsx
4867
- var import_jsx_runtime25 = require("react/jsx-runtime");
7005
+ var import_jsx_runtime91 = require("react/jsx-runtime");
4868
7006
 
4869
7007
  // src/textbox/templates/textbox-suffix.tsx
4870
- var import_jsx_runtime26 = require("react/jsx-runtime");
7008
+ var import_jsx_runtime92 = require("react/jsx-runtime");
7009
+
7010
+ // src/chat/chat.spec.tsx
7011
+ var import_jsx_runtime93 = require("react/jsx-runtime");
7012
+ var CHAT_CLASSNAME = "k-chat";
7013
+ var states38 = [];
7014
+ var options35 = {};
7015
+ var defaultOptions = {
7016
+ showToolbar: true,
7017
+ showMessageBox: true,
7018
+ showMoreButton: true
7019
+ };
7020
+ var Chat = (props) => {
7021
+ const {
7022
+ dir,
7023
+ showToolbar = defaultOptions.showToolbar,
7024
+ showMessageBox = defaultOptions.showMessageBox,
7025
+ showMoreButton = defaultOptions.showMoreButton,
7026
+ ...other
7027
+ } = props;
7028
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7029
+ "div",
7030
+ {
7031
+ ...other,
7032
+ className: classNames(
7033
+ CHAT_CLASSNAME,
7034
+ props.className
7035
+ ),
7036
+ dir,
7037
+ children: [
7038
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "k-message-list k-avatars", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "k-message-list-content", children: props.children }) }),
7039
+ showMessageBox && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7040
+ Textbox,
7041
+ {
7042
+ className: "k-message-box",
7043
+ placeholder: "Type a message...",
7044
+ suffix: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_jsx_runtime93.Fragment, { children: [
7045
+ showMoreButton && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "more-horizontal" }),
7046
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "paper-plane", className: "k-chat-send" })
7047
+ ] })
7048
+ }
7049
+ ),
7050
+ showToolbar && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(Toolbar, { className: "k-chat-toolbar", children: [
7051
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { className: "k-scroll-button k-scroll-button-left k-hidden", fillMode: "flat", rounded: null, size: null, icon: "chevron-left" }),
7052
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "k-toolbar-group k-button-list", children: [
7053
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "arrow-rotate-cw" }),
7054
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "gear" }),
7055
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "wrench" }),
7056
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "plus" }),
7057
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "search" }),
7058
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "star" }),
7059
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "bell" }),
7060
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "question-circle" }),
7061
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { fillMode: "flat", icon: "trash" })
7062
+ ] }),
7063
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { className: "k-scroll-button k-scroll-button-right", fillMode: "flat", rounded: null, size: null, icon: "chevron-right" })
7064
+ ] })
7065
+ ]
7066
+ }
7067
+ );
7068
+ };
7069
+ Chat.states = states38;
7070
+ Chat.options = options35;
7071
+ Chat.className = CHAT_CLASSNAME;
7072
+ Chat.defaultOptions = defaultOptions;
7073
+
7074
+ // src/chat/chat-message.tsx
7075
+ var import_jsx_runtime94 = require("react/jsx-runtime");
7076
+ var CHATMESSAGE_CLASSNAME = "k-message";
7077
+ var states39 = [
7078
+ States.selected
7079
+ ];
7080
+ var options36 = {};
7081
+ var defaultProps33 = {
7082
+ time: "Thu Feb 08 2018",
7083
+ text: "How can I help you?",
7084
+ status: "Seen"
7085
+ };
7086
+ var ChatMessage = (props) => {
7087
+ const {
7088
+ time = defaultProps33.time,
7089
+ text = defaultProps33.text,
7090
+ status = defaultProps33.status,
7091
+ selected,
7092
+ ...other
7093
+ } = props;
7094
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
7095
+ "div",
7096
+ {
7097
+ ...other,
7098
+ className: classNames(
7099
+ CHATMESSAGE_CLASSNAME,
7100
+ props.className,
7101
+ stateClassNames(CHATMESSAGE_CLASSNAME, { selected })
7102
+ ),
7103
+ children: [
7104
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("time", { className: "k-message-time", children: time }),
7105
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "k-chat-bubble", children: text }),
7106
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "k-message-status", children: status })
7107
+ ]
7108
+ }
7109
+ );
7110
+ };
7111
+ ChatMessage.states = states39;
7112
+ ChatMessage.options = options36;
7113
+ ChatMessage.className = CHATMESSAGE_CLASSNAME;
7114
+ ChatMessage.defaultProps = defaultProps33;
7115
+
7116
+ // src/avatar/avatar.spec.tsx
7117
+ var import_jsx_runtime95 = require("react/jsx-runtime");
7118
+ var AVATAR_CLASSNAME = `k-avatar`;
7119
+ var states40 = [
7120
+ States.hover,
7121
+ States.focus,
7122
+ States.active,
7123
+ States.selected,
7124
+ States.disabled
7125
+ ];
7126
+ var options37 = {
7127
+ size: [Size.small, Size.medium, Size.large],
7128
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7129
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
7130
+ themeColor: [
7131
+ ThemeColor.base,
7132
+ ThemeColor.primary,
7133
+ ThemeColor.secondary,
7134
+ ThemeColor.tertiary,
7135
+ ThemeColor.success,
7136
+ ThemeColor.warning,
7137
+ ThemeColor.error,
7138
+ ThemeColor.info,
7139
+ ThemeColor.light,
7140
+ ThemeColor.dark,
7141
+ ThemeColor.inverse
7142
+ ]
7143
+ };
7144
+ var defaultProps34 = {
7145
+ type: "text" /* TEXT */,
7146
+ size: Size.medium,
7147
+ rounded: Roundness.full,
7148
+ fillMode: FillMode.solid,
7149
+ themeColor: ThemeColor.primary,
7150
+ border: false
7151
+ };
7152
+ var Avatar = (props) => {
7153
+ const {
7154
+ size = defaultProps34.size,
7155
+ rounded = defaultProps34.rounded,
7156
+ fillMode = defaultProps34.fillMode,
7157
+ themeColor = defaultProps34.themeColor,
7158
+ type = defaultProps34.type,
7159
+ border = defaultProps34.border,
7160
+ ...other
7161
+ } = props;
7162
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7163
+ "div",
7164
+ {
7165
+ ...other,
7166
+ className: classNames(
7167
+ props.className,
7168
+ AVATAR_CLASSNAME,
7169
+ optionClassNames(AVATAR_CLASSNAME, {
7170
+ size,
7171
+ rounded,
7172
+ fillMode,
7173
+ themeColor
7174
+ }),
7175
+ {
7176
+ [`${AVATAR_CLASSNAME}-bordered`]: border
7177
+ }
7178
+ ),
7179
+ children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
7180
+ }
7181
+ );
7182
+ };
7183
+ Avatar.states = states40;
7184
+ Avatar.options = options37;
7185
+ Avatar.className = AVATAR_CLASSNAME;
7186
+ Avatar.defaultProps = defaultProps34;
7187
+
7188
+ // src/avatar/templates/avatar-icon.tsx
7189
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7190
+
7191
+ // src/avatar/templates/avatar-text.tsx
7192
+ var import_jsx_runtime97 = require("react/jsx-runtime");
7193
+
7194
+ // src/avatar/templates/avatar-image.tsx
7195
+ var import_jsx_runtime98 = require("react/jsx-runtime");
7196
+
7197
+ // src/chat/chat-message-group.tsx
7198
+ var import_jsx_runtime99 = require("react/jsx-runtime");
7199
+ var CHATMESSAGEGROUP_CLASSNAME = "k-message-group";
7200
+ var states41 = [
7201
+ States.selected
7202
+ ];
7203
+ var options38 = {};
7204
+ var defaultProps35 = {
7205
+ author: "Bruv",
7206
+ avatar: "/packages/html/assets/avatar.jpg",
7207
+ alt: false
7208
+ };
7209
+ var ChatMessageGroup = (props) => {
7210
+ const {
7211
+ alt = defaultProps35.alt,
7212
+ author = defaultProps35.author,
7213
+ avatar = defaultProps35.avatar,
7214
+ selected,
7215
+ ...other
7216
+ } = props;
7217
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
7218
+ "div",
7219
+ {
7220
+ ...other,
7221
+ className: classNames(
7222
+ CHATMESSAGEGROUP_CLASSNAME,
7223
+ props.className,
7224
+ stateClassNames(CHATMESSAGEGROUP_CLASSNAME, { selected }),
7225
+ {
7226
+ "k-alt": alt,
7227
+ "k-no-avatar": !avatar
7228
+ }
7229
+ ),
7230
+ children: [
7231
+ author && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: "k-author", children: author }),
7232
+ avatar && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Avatar, { type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: avatar }) }),
7233
+ props.children
7234
+ ]
7235
+ }
7236
+ );
7237
+ };
7238
+ ChatMessageGroup.states = states41;
7239
+ ChatMessageGroup.options = options38;
7240
+ ChatMessageGroup.className = CHATMESSAGEGROUP_CLASSNAME;
7241
+ ChatMessageGroup.defaultProps = defaultProps35;
7242
+
7243
+ // src/chat/chat-quick-replies.tsx
7244
+ var import_jsx_runtime100 = require("react/jsx-runtime");
7245
+ var CHATQUICKREPLY_CLASSNAME = "k-quick-replies";
7246
+ var states42 = [];
7247
+ var options39 = {};
7248
+ var defaultOptions2 = {
7249
+ actions: ["Quick", "Reply", "Another quick", "Reply with different length"]
7250
+ };
7251
+ var ChatQuickReply = (props) => {
7252
+ const {
7253
+ actions = defaultOptions2.actions,
7254
+ ...other
7255
+ } = props;
7256
+ const children = [];
7257
+ if (actions) {
7258
+ actions.map((action, index) => {
7259
+ children.push(
7260
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: "k-quick-reply", children: action }, index)
7261
+ );
7262
+ });
7263
+ }
7264
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7265
+ "div",
7266
+ {
7267
+ ...other,
7268
+ className: classNames(
7269
+ CHATQUICKREPLY_CLASSNAME,
7270
+ props.className
7271
+ ),
7272
+ children
7273
+ }
7274
+ );
7275
+ };
7276
+ ChatQuickReply.states = states42;
7277
+ ChatQuickReply.options = options39;
7278
+ ChatQuickReply.className = CHATQUICKREPLY_CLASSNAME;
7279
+ ChatQuickReply.defaultOptions = defaultOptions2;
4871
7280
 
4872
7281
  // src/chat/tests/chat-rtl.tsx
4873
- var import_jsx_runtime27 = require("react/jsx-runtime");
7282
+ var import_jsx_runtime101 = require("react/jsx-runtime");
4874
7283
  var styles = `
4875
7284
  /* needed for test */
4876
- .k-chat .k-bubble {
7285
+ .k-chat .k-chat-bubble {
4877
7286
  white-space: normal;
4878
7287
  }
4879
7288
  `;
4880
- var chat_rtl_default = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
4881
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("style", { children: styles }),
4882
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-widget k-chat k-rtl", children: [
4883
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-message-list k-avatars", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-message-list-content", children: [
4884
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-timestamp", children: "Bubbles" }),
4885
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-message-group", children: [
4886
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "k-author", children: "Bruv" }),
4887
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Avatar, { type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("img", { src: "/packages/html/assets/avatar.jpg" }) }),
4888
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-message k-only", children: [
4889
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("time", { className: "k-message-time", children: "Thu Feb 08 2018" }),
4890
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-bubble", children: "How can I help you?" }),
4891
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-message-status", children: "Seen" })
4892
- ] })
4893
- ] }),
4894
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-message-group k-alt", children: [
4895
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "k-author", children: "Bruv" }),
4896
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Avatar, { type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("img", { src: "/packages/html/assets/avatar.jpg" }) }),
4897
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-message k-only", children: [
4898
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("time", { className: "k-message-time", children: "Thu Feb 08 2018" }),
4899
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-bubble", children: "How can I help you?" }),
4900
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-message-status", children: "Seen" })
4901
- ] })
4902
- ] }),
4903
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-timestamp", children: "Quick Replies" }),
4904
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-quick-replies", children: [
4905
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-quick-reply", children: "Quick" }),
4906
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-quick-reply", children: "Reply" }),
4907
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-quick-reply", children: "Another quick" }),
4908
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-quick-reply", children: "Reply with different length" })
4909
- ] }),
4910
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-timestamp", children: "Card Deck" }),
4911
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-card-deck", children: [
4912
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-card", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-card-body", children: [
4913
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
4914
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4915
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4916
- ] }) }),
4917
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-card", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-card-body", children: [
4918
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
4919
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4920
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4921
- ] }) }),
4922
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-card", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-card-body", children: [
4923
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
4924
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4925
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4926
- ] }) }),
4927
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-card", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "k-card-body", children: [
4928
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
4929
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
4930
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
4931
- ] }) })
4932
- ] })
4933
- ] }) }),
4934
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4935
- Textbox,
4936
- {
4937
- className: "k-message-box",
4938
- placeholder: "Type a message...",
4939
- suffix: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx_runtime27.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button, { fillMode: "flat", icon: "pencil", className: "k-chat-send" }) })
4940
- }
4941
- )
7289
+ var chat_rtl_default = () => /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_jsx_runtime101.Fragment, { children: [
7290
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("style", { children: styles }),
7291
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(Chat, { dir: "rtl", showToolbar: false, showMoreButton: false, children: [
7292
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: "k-timestamp", children: "Bubbles" }),
7293
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ChatMessageGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ChatMessage, { className: "k-only" }) }),
7294
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ChatMessageGroup, { alt: true, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ChatMessage, { className: "k-only" }) }),
7295
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: "k-timestamp", children: "Quick Replies" }),
7296
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ChatQuickReply, {}),
7297
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: "k-timestamp", children: "Card Deck" }),
7298
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(CardDeck, { children: [
7299
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(CardBody, { children: [
7300
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
7301
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7302
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7303
+ ] }) }),
7304
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(CardBody, { children: [
7305
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
7306
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7307
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7308
+ ] }) }),
7309
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(CardBody, { children: [
7310
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
7311
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7312
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7313
+ ] }) }),
7314
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(CardBody, { children: [
7315
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h5", { className: "k-card-title", children: "Card Title" }),
7316
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
7317
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
7318
+ ] }) })
7319
+ ] })
4942
7320
  ] }) }) })
4943
7321
  ] });