@progress/kendo-themes-html 7.2.1-dev.0 → 7.2.1-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 (576) hide show
  1. package/dist/cjs/autocomplete/tests/autocomplete-prefix-suffix.js +1130 -904
  2. package/dist/cjs/coloreditor/color-editor.spec.js +64 -46
  3. package/dist/cjs/coloreditor/templates/coloreditor-group.js +64 -46
  4. package/dist/cjs/coloreditor/templates/coloreditor-normal.js +64 -46
  5. package/dist/cjs/coloreditor/templates/coloreditor-palette-group.js +64 -46
  6. package/dist/cjs/coloreditor/templates/coloreditor-palette.js +64 -46
  7. package/dist/cjs/coloreditor/tests/coloreditor-focused-colorgradient.js +64 -46
  8. package/dist/cjs/coloreditor/tests/coloreditor-rtl.js +64 -46
  9. package/dist/cjs/coloreditor/tests/coloreditor-states.js +64 -46
  10. package/dist/cjs/coloreditor/tests/coloreditor.js +64 -46
  11. package/dist/cjs/colorgradient/color-gradient.spec.js +64 -46
  12. package/dist/cjs/colorgradient/templates/colorgradient-contrast.js +64 -46
  13. package/dist/cjs/colorgradient/templates/colorgradient-normal.js +64 -46
  14. package/dist/cjs/colorgradient/tests/colorgradient-contrast.js +64 -46
  15. package/dist/cjs/colorgradient/tests/colorgradient-draghandle.js +64 -46
  16. package/dist/cjs/colorgradient/tests/colorgradient-modes.js +64 -46
  17. package/dist/cjs/colorgradient/tests/colorgradient-rtl.js +64 -46
  18. package/dist/cjs/colorgradient/tests/colorgradient-states.js +64 -46
  19. package/dist/cjs/colorgradient/tests/colorgradient.js +64 -46
  20. package/dist/cjs/colorpicker/templates/colorpicker-popup-gradient.js +64 -46
  21. package/dist/cjs/colorpicker/templates/colorpicker-popup-palette.js +64 -46
  22. package/dist/cjs/colorpicker/tests/colorpicker-opened.js +64 -46
  23. package/dist/cjs/colorpicker/tests/colorpicker-size.js +64 -46
  24. package/dist/cjs/colorpicker/tests/colorpicker-states.js +64 -46
  25. package/dist/cjs/colorpicker/tests/colorpicker.js +64 -46
  26. package/dist/cjs/column-menu/column-menu-expander.spec.js +5933 -0
  27. package/dist/cjs/column-menu/column-menu-item-content.js +47 -0
  28. package/dist/cjs/column-menu/column-menu-item-wrapper.js +46 -0
  29. package/dist/cjs/column-menu/column-menu-item.spec.js +4396 -0
  30. package/dist/cjs/column-menu/column-menu-multicheck-item.js +261 -0
  31. package/dist/cjs/column-menu/column-menu-multicheck-wrap.js +46 -0
  32. package/dist/cjs/column-menu/column-menu.spec.js +67 -0
  33. package/dist/cjs/column-menu/filter-menu.spec.js +61 -0
  34. package/dist/cjs/column-menu/templates/column-menu-normal.js +5957 -0
  35. package/dist/cjs/column-menu/templates/column-menu-tabbed.js +5947 -0
  36. package/dist/cjs/column-menu/templates/filter-menu-multi-check.js +5984 -0
  37. package/dist/cjs/column-menu/templates/filter-menu-normal.js +5947 -0
  38. package/dist/cjs/column-menu/tests/column-menu-rtl.js +6038 -0
  39. package/dist/cjs/column-menu/tests/column-menu-tabbed.js +6026 -0
  40. package/dist/cjs/column-menu/tests/column-menu.js +6038 -0
  41. package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +1130 -904
  42. package/dist/cjs/dock-manager/tests/dock-manager-unpinned-pane.js +64 -46
  43. package/dist/cjs/dock-manager/tests/dock-manager.js +64 -46
  44. package/dist/cjs/editor/editor-toolbar.js +64 -46
  45. package/dist/cjs/editor/templates/editor-normal.js +64 -46
  46. package/dist/cjs/editor/tests/editor-find-replace.js +64 -46
  47. package/dist/cjs/editor/tests/editor-states.js +64 -46
  48. package/dist/cjs/editor/tests/editor-table-wizard.js +64 -46
  49. package/dist/cjs/editor/tests/editor.js +64 -46
  50. package/dist/cjs/filemanager/file-info.js +64 -46
  51. package/dist/cjs/filemanager/filemanager-toolbar.spec.js +64 -46
  52. package/dist/cjs/filemanager/filemanager.spec.js +64 -46
  53. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +64 -46
  54. package/dist/cjs/filemanager/templates/filemanager-grid.js +64 -46
  55. package/dist/cjs/filemanager/templates/filemanager-normal.js +64 -46
  56. package/dist/cjs/filemanager/templates/filemanager-preview.js +64 -46
  57. package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +64 -46
  58. package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +64 -46
  59. package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +1100 -874
  60. package/dist/cjs/filemanager/tests/filemanager-gridview.js +64 -46
  61. package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +1054 -828
  62. package/dist/cjs/filemanager/tests/filemanager-listview.js +64 -46
  63. package/dist/cjs/filter/templates/filter-normal.js +64 -46
  64. package/dist/cjs/filter/templates/filter-preview.js +64 -46
  65. package/dist/cjs/filter/tests/filter-preview.js +64 -46
  66. package/dist/cjs/filter/tests/filter.js +64 -46
  67. package/dist/cjs/form/tests/form-field-dropdowns.js +1129 -903
  68. package/dist/cjs/form/tests/form-field-inputs-rtl.js +64 -46
  69. package/dist/cjs/form/tests/form-field-inputs.js +64 -46
  70. package/dist/cjs/gantt/gantt-columns-table.spec.js +283 -0
  71. package/dist/cjs/gantt/gantt-content.spec.js +46 -0
  72. package/dist/cjs/gantt/gantt-footer-toolbar.spec.js +7895 -0
  73. package/dist/cjs/gantt/gantt-header-toolbar.spec.js +7895 -0
  74. package/dist/cjs/gantt/gantt-line.spec.js +67 -0
  75. package/dist/cjs/gantt/gantt-rows-table.spec.js +283 -0
  76. package/dist/cjs/gantt/gantt-tables-wrapper.spec.js +46 -0
  77. package/dist/cjs/gantt/gantt-task-content.spec.js +4355 -0
  78. package/dist/cjs/gantt/gantt-task-dot.spec.js +67 -0
  79. package/dist/cjs/gantt/gantt-task-wrap.spec.js +67 -0
  80. package/dist/cjs/gantt/gantt-task.spec.js +68 -0
  81. package/dist/cjs/gantt/gantt-tasks-table.spec.js +283 -0
  82. package/dist/cjs/gantt/gantt.spec.js +67 -0
  83. package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +64 -46
  84. package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +64 -46
  85. package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +64 -46
  86. package/dist/cjs/gantt/tests/gantt-react.js +2197 -1216
  87. package/dist/cjs/gantt/tests/gantt-row-reordering.js +2795 -1610
  88. package/dist/cjs/gantt/tests/gantt.js +2770 -1585
  89. package/dist/cjs/grid/grid-toolbar.spec.js +64 -46
  90. package/dist/cjs/grid/tests/grid-adaptive-pager.js +64 -46
  91. package/dist/cjs/grid/tests/grid-adaptive-search.js +64 -46
  92. package/dist/cjs/grid/tests/grid-angular.js +64 -46
  93. package/dist/cjs/grid/tests/grid-column-menu-angular.js +64 -46
  94. package/dist/cjs/grid/tests/grid-column-menu-blazor.js +64 -46
  95. package/dist/cjs/grid/tests/grid-column-menu-rtl.js +707 -603
  96. package/dist/cjs/grid/tests/grid-column-menu-tabbed.js +841 -655
  97. package/dist/cjs/grid/tests/grid-column-menu.js +706 -602
  98. package/dist/cjs/grid/tests/grid-column-reordering-actions.js +366 -168
  99. package/dist/cjs/grid/tests/grid-column-reordering.js +372 -174
  100. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +354 -153
  101. package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1202 -976
  102. package/dist/cjs/grid/tests/grid-editing-inline-angular.js +64 -46
  103. package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +64 -46
  104. package/dist/cjs/grid/tests/grid-editing.js +64 -46
  105. package/dist/cjs/grid/tests/grid-filter-menu-angular.js +64 -46
  106. package/dist/cjs/grid/tests/grid-filter-menu-blazor.js +64 -46
  107. package/dist/cjs/grid/tests/grid-filter-row-angular.js +64 -46
  108. package/dist/cjs/grid/tests/grid-filter-row-blazor.js +64 -46
  109. package/dist/cjs/grid/tests/grid-filter-row.js +64 -46
  110. package/dist/cjs/grid/tests/grid-grouping-actions.js +336 -105
  111. package/dist/cjs/grid/tests/grid-grouping-blazor.js +64 -46
  112. package/dist/cjs/grid/tests/grid-grouping-detail-template.js +64 -46
  113. package/dist/cjs/grid/tests/grid-grouping.js +64 -46
  114. package/dist/cjs/grid/tests/grid-hierarchy.js +64 -46
  115. package/dist/cjs/grid/tests/grid-locked-columns-rtl.js +64 -46
  116. package/dist/cjs/grid/tests/grid-locked-columns.js +64 -46
  117. package/dist/cjs/grid/tests/grid-long-titles.js +64 -46
  118. package/dist/cjs/grid/tests/grid-multicolumn-headers.js +64 -46
  119. package/dist/cjs/grid/tests/grid-no-records.js +64 -46
  120. package/dist/cjs/grid/tests/grid-pager.js +64 -46
  121. package/dist/cjs/grid/tests/grid-react-basic.js +64 -46
  122. package/dist/cjs/grid/tests/grid-react.js +64 -46
  123. package/dist/cjs/grid/tests/grid-row-reordering.js +64 -46
  124. package/dist/cjs/grid/tests/grid-rows-resizing.js +64 -46
  125. package/dist/cjs/grid/tests/grid-rows-states.js +64 -46
  126. package/dist/cjs/grid/tests/grid-rtl-angular.js +64 -46
  127. package/dist/cjs/grid/tests/grid-rtl.js +64 -46
  128. package/dist/cjs/grid/tests/grid-selection-aggregates.js +64 -46
  129. package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +64 -46
  130. package/dist/cjs/grid/tests/grid-size-sm.js +64 -46
  131. package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +64 -46
  132. package/dist/cjs/grid/tests/grid-sticky-columns.js +64 -46
  133. package/dist/cjs/grid/tests/grid-sticky-multicolumn-headers.js +64 -46
  134. package/dist/cjs/grid/tests/grid-toolbar.js +64 -46
  135. package/dist/cjs/grid/tests/grid-virtualization.js +64 -46
  136. package/dist/cjs/grid/tests/grid.js +64 -46
  137. package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +64 -46
  138. package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +64 -46
  139. package/dist/cjs/imageeditor/tests/imageeditor.js +64 -46
  140. package/dist/cjs/index.js +2589 -2217
  141. package/dist/cjs/mediaplayer/tests/mediaplayer.js +64 -46
  142. package/dist/cjs/multiselect/templates/multiselect-prefix.js +1105 -879
  143. package/dist/cjs/multiselect/templates/multiselect-suffix.js +1105 -879
  144. package/dist/cjs/multiselect/tests/multiselect-adaptive.js +1111 -885
  145. package/dist/cjs/multiselect/tests/multiselect-flat.js +1135 -909
  146. package/dist/cjs/multiselect/tests/multiselect-grouping.js +1111 -885
  147. package/dist/cjs/multiselect/tests/multiselect-opened.js +1113 -887
  148. package/dist/cjs/multiselect/tests/multiselect-outline.js +1135 -909
  149. package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +1142 -916
  150. package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +1114 -888
  151. package/dist/cjs/multiselect/tests/multiselect-solid.js +1135 -909
  152. package/dist/cjs/pdf-viewer/pdf-viewer.spec.js +64 -46
  153. package/dist/cjs/pdf-viewer/templates/pdf-viewer-blank.js +64 -46
  154. package/dist/cjs/pdf-viewer/templates/pdf-viewer-normal.js +64 -46
  155. package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-search-panel.js +64 -46
  156. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +64 -46
  157. package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +64 -46
  158. package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +64 -46
  159. package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +886 -739
  160. package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +64 -46
  161. package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +1172 -308
  162. package/dist/cjs/prompt/templates/prompt-more-actions.js +87 -55
  163. package/dist/cjs/prompt/templates/prompt-normal.js +64 -46
  164. package/dist/cjs/prompt/templates/prompt-output.js +64 -46
  165. package/dist/cjs/prompt/templates/prompt-popup.js +64 -46
  166. package/dist/cjs/prompt/templates/prompt-settings.js +64 -46
  167. package/dist/cjs/prompt/templates/prompt-suggestions.js +64 -46
  168. package/dist/cjs/prompt/tests/prompt-more-actions.js +87 -55
  169. package/dist/cjs/prompt/tests/prompt-normal.js +64 -46
  170. package/dist/cjs/prompt/tests/prompt-output.js +64 -46
  171. package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +64 -46
  172. package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +64 -46
  173. package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +64 -46
  174. package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +64 -46
  175. package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +64 -46
  176. package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +64 -46
  177. package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +64 -46
  178. package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +64 -46
  179. package/dist/cjs/scheduler/tests/scheduler-angular-month.js +64 -46
  180. package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +64 -46
  181. package/dist/cjs/scheduler/tests/scheduler-angular.js +64 -46
  182. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +1144 -918
  183. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +1158 -932
  184. package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +64 -46
  185. package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +64 -46
  186. package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +64 -46
  187. package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +64 -46
  188. package/dist/cjs/scheduler/tests/scheduler-react-day.js +64 -46
  189. package/dist/cjs/scheduler/tests/scheduler-react-month.js +64 -46
  190. package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +64 -46
  191. package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +64 -46
  192. package/dist/cjs/scheduler/tests/scheduler-react-week.js +64 -46
  193. package/dist/cjs/scheduler/tests/scheduler-year.js +64 -46
  194. package/dist/cjs/scheduler/tests/scheduler.js +64 -46
  195. package/dist/cjs/slider/slider-tick.js +16 -7
  196. package/dist/cjs/slider/slider.spec.js +48 -39
  197. package/dist/cjs/slider/templates/slider-gradient-vertical.js +64 -46
  198. package/dist/cjs/slider/templates/slider-gradient.js +64 -46
  199. package/dist/cjs/slider/templates/slider-normal.js +64 -46
  200. package/dist/cjs/slider/templates/slider-range-vertical.js +64 -46
  201. package/dist/cjs/slider/templates/slider-range.js +64 -46
  202. package/dist/cjs/slider/templates/slider-vertical.js +64 -46
  203. package/dist/cjs/slider/tests/slider-css-vars.js +64 -46
  204. package/dist/cjs/slider/tests/slider-tick-absolute-position.js +64 -46
  205. package/dist/cjs/slider/tests/slider.js +64 -46
  206. package/dist/cjs/spreadsheet/tests/spreadsheet-borders-config.js +64 -46
  207. package/dist/cjs/spreadsheet/tests/spreadsheet-cell-contextmenu.js +64 -46
  208. package/dist/cjs/spreadsheet/tests/spreadsheet-filtering.js +64 -46
  209. package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +64 -46
  210. package/dist/cjs/spreadsheet/tests/spreadsheet-formula.js +64 -46
  211. package/dist/cjs/spreadsheet/tests/spreadsheet-jquery.js +64 -46
  212. package/dist/cjs/spreadsheet/tests/spreadsheet-row-contextmenu.js +64 -46
  213. package/dist/cjs/spreadsheet/tests/spreadsheet-tools.js +64 -46
  214. package/dist/cjs/spreadsheet/tests/spreadsheet.js +64 -46
  215. package/dist/cjs/taskboard/taskboard-pane.js +1105 -879
  216. package/dist/cjs/taskboard/taskboard-toolbar.js +64 -46
  217. package/dist/cjs/taskboard/taskboard.spec.js +1117 -891
  218. package/dist/cjs/taskboard/templates/taskboard-normal.js +1151 -925
  219. package/dist/cjs/taskboard/tests/taskboard-card-column-menu.js +1620 -64
  220. package/dist/cjs/taskboard/tests/taskboard-card.js +1133 -907
  221. package/dist/cjs/taskboard/tests/taskboard-column.js +1148 -922
  222. package/dist/cjs/taskboard/tests/taskboard-pane.js +1159 -933
  223. package/dist/cjs/taskboard/tests/taskboard-resources.js +1115 -889
  224. package/dist/cjs/taskboard/tests/taskboard-rtl.js +1157 -931
  225. package/dist/cjs/taskboard/tests/taskboard.js +1157 -931
  226. package/dist/cjs/toolbar/templates/toolbar-angular-normal.js +64 -46
  227. package/dist/cjs/toolbar/templates/toolbar-angular-resizable.js +64 -46
  228. package/dist/cjs/toolbar/templates/toolbar-normal.js +64 -46
  229. package/dist/cjs/toolbar/templates/toolbar-resizable.js +64 -46
  230. package/dist/cjs/toolbar/tests/toolbar-adaptive.js +64 -46
  231. package/dist/cjs/toolbar/tests/toolbar-angular.js +64 -46
  232. package/dist/cjs/toolbar/tests/toolbar-components.js +64 -46
  233. package/dist/cjs/toolbar/tests/toolbar-popup-size.js +64 -46
  234. package/dist/cjs/toolbar/tests/toolbar-popup.js +64 -46
  235. package/dist/cjs/toolbar/tests/toolbar-sizes.js +64 -46
  236. package/dist/cjs/toolbar/tests/toolbar.js +64 -46
  237. package/dist/cjs/toolbar/toolbar-angular.spec.js +64 -46
  238. package/dist/cjs/toolbar/toolbar.spec.js +64 -46
  239. package/dist/cjs/treelist/tests/treelist-aggregate-react.js +4295 -73
  240. package/dist/cjs/treelist/tests/treelist-aggregates.js +4537 -216
  241. package/dist/cjs/treelist/tests/treelist-react.js +2536 -98
  242. package/dist/cjs/treelist/tests/treelist-row-reordering.js +4389 -59
  243. package/dist/cjs/treelist/tests/treelist.js +4427 -112
  244. package/dist/cjs/treelist/treelist.spec.js +8433 -0
  245. package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +1075 -849
  246. package/dist/esm/coloreditor/color-editor.spec.js +64 -46
  247. package/dist/esm/coloreditor/templates/coloreditor-group.js +64 -46
  248. package/dist/esm/coloreditor/templates/coloreditor-normal.js +64 -46
  249. package/dist/esm/coloreditor/templates/coloreditor-palette-group.js +64 -46
  250. package/dist/esm/coloreditor/templates/coloreditor-palette.js +64 -46
  251. package/dist/esm/coloreditor/tests/coloreditor-focused-colorgradient.js +64 -46
  252. package/dist/esm/coloreditor/tests/coloreditor-rtl.js +64 -46
  253. package/dist/esm/coloreditor/tests/coloreditor-states.js +64 -46
  254. package/dist/esm/coloreditor/tests/coloreditor.js +64 -46
  255. package/dist/esm/colorgradient/color-gradient.spec.js +64 -46
  256. package/dist/esm/colorgradient/templates/colorgradient-contrast.js +64 -46
  257. package/dist/esm/colorgradient/templates/colorgradient-normal.js +64 -46
  258. package/dist/esm/colorgradient/tests/colorgradient-contrast.js +64 -46
  259. package/dist/esm/colorgradient/tests/colorgradient-draghandle.js +64 -46
  260. package/dist/esm/colorgradient/tests/colorgradient-modes.js +64 -46
  261. package/dist/esm/colorgradient/tests/colorgradient-rtl.js +64 -46
  262. package/dist/esm/colorgradient/tests/colorgradient-states.js +64 -46
  263. package/dist/esm/colorgradient/tests/colorgradient.js +64 -46
  264. package/dist/esm/colorpicker/templates/colorpicker-popup-gradient.js +64 -46
  265. package/dist/esm/colorpicker/templates/colorpicker-popup-palette.js +64 -46
  266. package/dist/esm/colorpicker/tests/colorpicker-opened.js +64 -46
  267. package/dist/esm/colorpicker/tests/colorpicker-size.js +64 -46
  268. package/dist/esm/colorpicker/tests/colorpicker-states.js +64 -46
  269. package/dist/esm/colorpicker/tests/colorpicker.js +64 -46
  270. package/dist/esm/column-menu/column-menu-expander.spec.js +5917 -0
  271. package/dist/esm/column-menu/column-menu-item-content.js +25 -0
  272. package/dist/esm/column-menu/column-menu-item-wrapper.js +24 -0
  273. package/dist/esm/column-menu/column-menu-item.spec.js +4380 -0
  274. package/dist/esm/column-menu/column-menu-multicheck-item.js +239 -0
  275. package/dist/esm/column-menu/column-menu-multicheck-wrap.js +24 -0
  276. package/dist/esm/column-menu/column-menu.spec.js +45 -0
  277. package/dist/esm/column-menu/filter-menu.spec.js +39 -0
  278. package/dist/esm/column-menu/templates/column-menu-normal.js +5941 -0
  279. package/dist/esm/column-menu/templates/column-menu-tabbed.js +5931 -0
  280. package/dist/esm/column-menu/templates/filter-menu-multi-check.js +5968 -0
  281. package/dist/esm/column-menu/templates/filter-menu-normal.js +5931 -0
  282. package/dist/esm/column-menu/tests/column-menu-rtl.js +6022 -0
  283. package/dist/esm/column-menu/tests/column-menu-tabbed.js +6010 -0
  284. package/dist/esm/column-menu/tests/column-menu.js +6022 -0
  285. package/dist/esm/combobox/tests/combobox-prefix-suffix.js +1075 -849
  286. package/dist/esm/dock-manager/tests/dock-manager-unpinned-pane.js +64 -46
  287. package/dist/esm/dock-manager/tests/dock-manager.js +64 -46
  288. package/dist/esm/editor/editor-toolbar.js +64 -46
  289. package/dist/esm/editor/templates/editor-normal.js +64 -46
  290. package/dist/esm/editor/tests/editor-find-replace.js +64 -46
  291. package/dist/esm/editor/tests/editor-states.js +64 -46
  292. package/dist/esm/editor/tests/editor-table-wizard.js +64 -46
  293. package/dist/esm/editor/tests/editor.js +64 -46
  294. package/dist/esm/filemanager/file-info.js +64 -46
  295. package/dist/esm/filemanager/filemanager-toolbar.spec.js +64 -46
  296. package/dist/esm/filemanager/filemanager.spec.js +64 -46
  297. package/dist/esm/filemanager/templates/filemanager-grid-preview.js +64 -46
  298. package/dist/esm/filemanager/templates/filemanager-grid.js +64 -46
  299. package/dist/esm/filemanager/templates/filemanager-normal.js +64 -46
  300. package/dist/esm/filemanager/templates/filemanager-preview.js +64 -46
  301. package/dist/esm/filemanager/tests/filemanager-contextmenu.js +64 -46
  302. package/dist/esm/filemanager/tests/filemanager-drag-hint.js +64 -46
  303. package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +1013 -787
  304. package/dist/esm/filemanager/tests/filemanager-gridview.js +64 -46
  305. package/dist/esm/filemanager/tests/filemanager-listview-preview.js +967 -741
  306. package/dist/esm/filemanager/tests/filemanager-listview.js +64 -46
  307. package/dist/esm/filter/templates/filter-normal.js +64 -46
  308. package/dist/esm/filter/templates/filter-preview.js +64 -46
  309. package/dist/esm/filter/tests/filter-preview.js +64 -46
  310. package/dist/esm/filter/tests/filter.js +64 -46
  311. package/dist/esm/form/tests/form-field-dropdowns.js +1074 -848
  312. package/dist/esm/form/tests/form-field-inputs-rtl.js +64 -46
  313. package/dist/esm/form/tests/form-field-inputs.js +64 -46
  314. package/dist/esm/gantt/gantt-columns-table.spec.js +261 -0
  315. package/dist/esm/gantt/gantt-content.spec.js +24 -0
  316. package/dist/esm/gantt/gantt-footer-toolbar.spec.js +7879 -0
  317. package/dist/esm/gantt/gantt-header-toolbar.spec.js +7879 -0
  318. package/dist/esm/gantt/gantt-line.spec.js +45 -0
  319. package/dist/esm/gantt/gantt-rows-table.spec.js +261 -0
  320. package/dist/esm/gantt/gantt-tables-wrapper.spec.js +24 -0
  321. package/dist/esm/gantt/gantt-task-content.spec.js +4339 -0
  322. package/dist/esm/gantt/gantt-task-dot.spec.js +45 -0
  323. package/dist/esm/gantt/gantt-task-wrap.spec.js +45 -0
  324. package/dist/esm/gantt/gantt-task.spec.js +46 -0
  325. package/dist/esm/gantt/gantt-tasks-table.spec.js +261 -0
  326. package/dist/esm/gantt/gantt.spec.js +45 -0
  327. package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +64 -46
  328. package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +64 -46
  329. package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +64 -46
  330. package/dist/esm/gantt/tests/gantt-react.js +1900 -919
  331. package/dist/esm/gantt/tests/gantt-row-reordering.js +2498 -1313
  332. package/dist/esm/gantt/tests/gantt.js +2473 -1288
  333. package/dist/esm/grid/grid-toolbar.spec.js +64 -46
  334. package/dist/esm/grid/tests/grid-adaptive-pager.js +64 -46
  335. package/dist/esm/grid/tests/grid-adaptive-search.js +64 -46
  336. package/dist/esm/grid/tests/grid-angular.js +64 -46
  337. package/dist/esm/grid/tests/grid-column-menu-angular.js +64 -46
  338. package/dist/esm/grid/tests/grid-column-menu-blazor.js +64 -46
  339. package/dist/esm/grid/tests/grid-column-menu-rtl.js +707 -603
  340. package/dist/esm/grid/tests/grid-column-menu-tabbed.js +852 -666
  341. package/dist/esm/grid/tests/grid-column-menu.js +706 -602
  342. package/dist/esm/grid/tests/grid-column-reordering-actions.js +366 -168
  343. package/dist/esm/grid/tests/grid-column-reordering.js +372 -174
  344. package/dist/esm/grid/tests/grid-column-resizing-actions.js +354 -153
  345. package/dist/esm/grid/tests/grid-editing-custom-editor.js +1147 -921
  346. package/dist/esm/grid/tests/grid-editing-inline-angular.js +64 -46
  347. package/dist/esm/grid/tests/grid-editing-inline-blazor.js +64 -46
  348. package/dist/esm/grid/tests/grid-editing.js +64 -46
  349. package/dist/esm/grid/tests/grid-filter-menu-angular.js +64 -46
  350. package/dist/esm/grid/tests/grid-filter-menu-blazor.js +64 -46
  351. package/dist/esm/grid/tests/grid-filter-row-angular.js +64 -46
  352. package/dist/esm/grid/tests/grid-filter-row-blazor.js +64 -46
  353. package/dist/esm/grid/tests/grid-filter-row.js +64 -46
  354. package/dist/esm/grid/tests/grid-grouping-actions.js +336 -105
  355. package/dist/esm/grid/tests/grid-grouping-blazor.js +64 -46
  356. package/dist/esm/grid/tests/grid-grouping-detail-template.js +64 -46
  357. package/dist/esm/grid/tests/grid-grouping.js +64 -46
  358. package/dist/esm/grid/tests/grid-hierarchy.js +64 -46
  359. package/dist/esm/grid/tests/grid-locked-columns-rtl.js +64 -46
  360. package/dist/esm/grid/tests/grid-locked-columns.js +64 -46
  361. package/dist/esm/grid/tests/grid-long-titles.js +64 -46
  362. package/dist/esm/grid/tests/grid-multicolumn-headers.js +64 -46
  363. package/dist/esm/grid/tests/grid-no-records.js +64 -46
  364. package/dist/esm/grid/tests/grid-pager.js +64 -46
  365. package/dist/esm/grid/tests/grid-react-basic.js +64 -46
  366. package/dist/esm/grid/tests/grid-react.js +64 -46
  367. package/dist/esm/grid/tests/grid-row-reordering.js +64 -46
  368. package/dist/esm/grid/tests/grid-rows-resizing.js +64 -46
  369. package/dist/esm/grid/tests/grid-rows-states.js +64 -46
  370. package/dist/esm/grid/tests/grid-rtl-angular.js +64 -46
  371. package/dist/esm/grid/tests/grid-rtl.js +64 -46
  372. package/dist/esm/grid/tests/grid-selection-aggregates.js +64 -46
  373. package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +64 -46
  374. package/dist/esm/grid/tests/grid-size-sm.js +64 -46
  375. package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +64 -46
  376. package/dist/esm/grid/tests/grid-sticky-columns.js +64 -46
  377. package/dist/esm/grid/tests/grid-sticky-multicolumn-headers.js +64 -46
  378. package/dist/esm/grid/tests/grid-toolbar.js +64 -46
  379. package/dist/esm/grid/tests/grid-virtualization.js +64 -46
  380. package/dist/esm/grid/tests/grid.js +64 -46
  381. package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +64 -46
  382. package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +64 -46
  383. package/dist/esm/imageeditor/tests/imageeditor.js +64 -46
  384. package/dist/esm/index.js +2574 -2202
  385. package/dist/esm/mediaplayer/tests/mediaplayer.js +64 -46
  386. package/dist/esm/multiselect/templates/multiselect-prefix.js +1050 -824
  387. package/dist/esm/multiselect/templates/multiselect-suffix.js +1050 -824
  388. package/dist/esm/multiselect/tests/multiselect-adaptive.js +1056 -830
  389. package/dist/esm/multiselect/tests/multiselect-flat.js +1080 -854
  390. package/dist/esm/multiselect/tests/multiselect-grouping.js +1056 -830
  391. package/dist/esm/multiselect/tests/multiselect-opened.js +1058 -832
  392. package/dist/esm/multiselect/tests/multiselect-outline.js +1080 -854
  393. package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +1087 -861
  394. package/dist/esm/multiselect/tests/multiselect-size-rounded.js +1059 -833
  395. package/dist/esm/multiselect/tests/multiselect-solid.js +1080 -854
  396. package/dist/esm/pdf-viewer/pdf-viewer.spec.js +64 -46
  397. package/dist/esm/pdf-viewer/templates/pdf-viewer-blank.js +64 -46
  398. package/dist/esm/pdf-viewer/templates/pdf-viewer-normal.js +64 -46
  399. package/dist/esm/pdf-viewer/templates/pdf-viewer-with-search-panel.js +64 -46
  400. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +64 -46
  401. package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +64 -46
  402. package/dist/esm/pdf-viewer/tests/pdf-viewer.js +64 -46
  403. package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +886 -739
  404. package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +64 -46
  405. package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +1172 -308
  406. package/dist/esm/prompt/templates/prompt-more-actions.js +87 -55
  407. package/dist/esm/prompt/templates/prompt-normal.js +64 -46
  408. package/dist/esm/prompt/templates/prompt-output.js +64 -46
  409. package/dist/esm/prompt/templates/prompt-popup.js +64 -46
  410. package/dist/esm/prompt/templates/prompt-settings.js +64 -46
  411. package/dist/esm/prompt/templates/prompt-suggestions.js +64 -46
  412. package/dist/esm/prompt/tests/prompt-more-actions.js +87 -55
  413. package/dist/esm/prompt/tests/prompt-normal.js +64 -46
  414. package/dist/esm/prompt/tests/prompt-output.js +64 -46
  415. package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +64 -46
  416. package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +64 -46
  417. package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +64 -46
  418. package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +64 -46
  419. package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +64 -46
  420. package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +64 -46
  421. package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +64 -46
  422. package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +64 -46
  423. package/dist/esm/scheduler/tests/scheduler-angular-month.js +64 -46
  424. package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +64 -46
  425. package/dist/esm/scheduler/tests/scheduler-angular.js +64 -46
  426. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +1089 -863
  427. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +1103 -877
  428. package/dist/esm/scheduler/tests/scheduler-flex-layout.js +64 -46
  429. package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +64 -46
  430. package/dist/esm/scheduler/tests/scheduler-jquery-month.js +64 -46
  431. package/dist/esm/scheduler/tests/scheduler-react-agenda.js +64 -46
  432. package/dist/esm/scheduler/tests/scheduler-react-day.js +64 -46
  433. package/dist/esm/scheduler/tests/scheduler-react-month.js +64 -46
  434. package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +64 -46
  435. package/dist/esm/scheduler/tests/scheduler-react-timeline.js +64 -46
  436. package/dist/esm/scheduler/tests/scheduler-react-week.js +64 -46
  437. package/dist/esm/scheduler/tests/scheduler-year.js +64 -46
  438. package/dist/esm/scheduler/tests/scheduler.js +64 -46
  439. package/dist/esm/slider/slider-tick.js +16 -7
  440. package/dist/esm/slider/slider.spec.js +48 -39
  441. package/dist/esm/slider/templates/slider-gradient-vertical.js +64 -46
  442. package/dist/esm/slider/templates/slider-gradient.js +64 -46
  443. package/dist/esm/slider/templates/slider-normal.js +64 -46
  444. package/dist/esm/slider/templates/slider-range-vertical.js +64 -46
  445. package/dist/esm/slider/templates/slider-range.js +64 -46
  446. package/dist/esm/slider/templates/slider-vertical.js +64 -46
  447. package/dist/esm/slider/tests/slider-css-vars.js +64 -46
  448. package/dist/esm/slider/tests/slider-tick-absolute-position.js +64 -46
  449. package/dist/esm/slider/tests/slider.js +64 -46
  450. package/dist/esm/spreadsheet/tests/spreadsheet-borders-config.js +64 -46
  451. package/dist/esm/spreadsheet/tests/spreadsheet-cell-contextmenu.js +64 -46
  452. package/dist/esm/spreadsheet/tests/spreadsheet-filtering.js +64 -46
  453. package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +64 -46
  454. package/dist/esm/spreadsheet/tests/spreadsheet-formula.js +64 -46
  455. package/dist/esm/spreadsheet/tests/spreadsheet-jquery.js +64 -46
  456. package/dist/esm/spreadsheet/tests/spreadsheet-row-contextmenu.js +64 -46
  457. package/dist/esm/spreadsheet/tests/spreadsheet-tools.js +64 -46
  458. package/dist/esm/spreadsheet/tests/spreadsheet.js +64 -46
  459. package/dist/esm/taskboard/taskboard-pane.js +1049 -823
  460. package/dist/esm/taskboard/taskboard-toolbar.js +64 -46
  461. package/dist/esm/taskboard/taskboard.spec.js +1045 -819
  462. package/dist/esm/taskboard/templates/taskboard-normal.js +1079 -853
  463. package/dist/esm/taskboard/tests/taskboard-card-column-menu.js +1620 -64
  464. package/dist/esm/taskboard/tests/taskboard-card.js +1078 -852
  465. package/dist/esm/taskboard/tests/taskboard-column.js +1093 -867
  466. package/dist/esm/taskboard/tests/taskboard-pane.js +1087 -861
  467. package/dist/esm/taskboard/tests/taskboard-resources.js +1060 -834
  468. package/dist/esm/taskboard/tests/taskboard-rtl.js +1085 -859
  469. package/dist/esm/taskboard/tests/taskboard.js +1085 -859
  470. package/dist/esm/toolbar/templates/toolbar-angular-normal.js +64 -46
  471. package/dist/esm/toolbar/templates/toolbar-angular-resizable.js +64 -46
  472. package/dist/esm/toolbar/templates/toolbar-normal.js +64 -46
  473. package/dist/esm/toolbar/templates/toolbar-resizable.js +64 -46
  474. package/dist/esm/toolbar/tests/toolbar-adaptive.js +64 -46
  475. package/dist/esm/toolbar/tests/toolbar-angular.js +64 -46
  476. package/dist/esm/toolbar/tests/toolbar-components.js +64 -46
  477. package/dist/esm/toolbar/tests/toolbar-popup-size.js +64 -46
  478. package/dist/esm/toolbar/tests/toolbar-popup.js +64 -46
  479. package/dist/esm/toolbar/tests/toolbar-sizes.js +64 -46
  480. package/dist/esm/toolbar/tests/toolbar.js +64 -46
  481. package/dist/esm/toolbar/toolbar-angular.spec.js +64 -46
  482. package/dist/esm/toolbar/toolbar.spec.js +64 -46
  483. package/dist/esm/treelist/tests/treelist-aggregate-react.js +4295 -73
  484. package/dist/esm/treelist/tests/treelist-aggregates.js +4538 -217
  485. package/dist/esm/treelist/tests/treelist-react.js +2536 -98
  486. package/dist/esm/treelist/tests/treelist-row-reordering.js +4389 -59
  487. package/dist/esm/treelist/tests/treelist.js +4428 -113
  488. package/dist/esm/treelist/treelist.spec.js +8417 -0
  489. package/dist/types/column-menu/column-menu-expander.spec.d.ts +17 -0
  490. package/dist/types/column-menu/column-menu-item-content.d.ts +1 -0
  491. package/dist/types/column-menu/column-menu-item-wrapper.d.ts +1 -0
  492. package/dist/types/column-menu/column-menu-item.spec.d.ts +17 -0
  493. package/dist/types/column-menu/column-menu-multicheck-item.d.ts +4 -0
  494. package/dist/types/column-menu/column-menu-multicheck-wrap.d.ts +1 -0
  495. package/dist/types/column-menu/column-menu.spec.d.ts +14 -0
  496. package/dist/types/column-menu/filter-menu.spec.d.ts +9 -0
  497. package/dist/types/column-menu/index.d.ts +12 -0
  498. package/dist/types/column-menu/templates/column-menu-normal.d.ts +1 -0
  499. package/dist/types/column-menu/templates/column-menu-tabbed.d.ts +1 -0
  500. package/dist/types/column-menu/templates/filter-menu-multi-check.d.ts +1 -0
  501. package/dist/types/column-menu/templates/filter-menu-normal.d.ts +1 -0
  502. package/dist/types/column-menu/tests/column-menu-rtl.d.ts +2 -0
  503. package/dist/types/column-menu/tests/column-menu-tabbed.d.ts +2 -0
  504. package/dist/types/column-menu/tests/column-menu.d.ts +2 -0
  505. package/dist/types/gantt/gantt-columns-table.spec.d.ts +3 -0
  506. package/dist/types/gantt/gantt-content.spec.d.ts +1 -0
  507. package/dist/types/gantt/gantt-footer-toolbar.spec.d.ts +2 -0
  508. package/dist/types/gantt/gantt-header-toolbar.spec.d.ts +2 -0
  509. package/dist/types/gantt/gantt-line.spec.d.ts +14 -0
  510. package/dist/types/gantt/gantt-rows-table.spec.d.ts +3 -0
  511. package/dist/types/gantt/gantt-tables-wrapper.spec.d.ts +1 -0
  512. package/dist/types/gantt/gantt-task-content.spec.d.ts +13 -0
  513. package/dist/types/gantt/gantt-task-dot.spec.d.ts +14 -0
  514. package/dist/types/gantt/gantt-task-wrap.spec.d.ts +14 -0
  515. package/dist/types/gantt/gantt-task.spec.d.ts +14 -0
  516. package/dist/types/gantt/gantt-tasks-table.spec.d.ts +3 -0
  517. package/dist/types/gantt/gantt.spec.d.ts +14 -0
  518. package/dist/types/gantt/index.d.ts +13 -0
  519. package/dist/types/index.d.ts +2 -0
  520. package/dist/types/treelist/index.d.ts +1 -0
  521. package/dist/types/treelist/treelist.spec.d.ts +9 -0
  522. package/package.json +2 -2
  523. package/src/column-menu/column-menu-expander.spec.tsx +66 -0
  524. package/src/column-menu/column-menu-item-content.tsx +18 -0
  525. package/src/column-menu/column-menu-item-wrapper.tsx +17 -0
  526. package/src/column-menu/column-menu-item.spec.tsx +56 -0
  527. package/src/column-menu/column-menu-multicheck-item.tsx +32 -0
  528. package/src/column-menu/column-menu-multicheck-wrap.tsx +17 -0
  529. package/src/column-menu/column-menu.spec.tsx +46 -0
  530. package/src/column-menu/filter-menu.spec.tsx +38 -0
  531. package/src/column-menu/index.ts +12 -0
  532. package/src/column-menu/templates/column-menu-normal.tsx +23 -0
  533. package/src/column-menu/templates/column-menu-tabbed.tsx +36 -0
  534. package/src/column-menu/templates/filter-menu-multi-check.tsx +26 -0
  535. package/src/column-menu/templates/filter-menu-normal.tsx +23 -0
  536. package/src/column-menu/tests/column-menu-rtl.tsx +119 -0
  537. package/src/column-menu/tests/column-menu-tabbed.tsx +113 -0
  538. package/src/column-menu/tests/column-menu.tsx +119 -0
  539. package/src/gantt/gantt-columns-table.spec.tsx +20 -0
  540. package/src/gantt/gantt-content.spec.tsx +16 -0
  541. package/src/gantt/gantt-footer-toolbar.spec.tsx +20 -0
  542. package/src/gantt/gantt-header-toolbar.spec.tsx +20 -0
  543. package/src/gantt/gantt-line.spec.tsx +47 -0
  544. package/src/gantt/gantt-rows-table.spec.tsx +20 -0
  545. package/src/gantt/gantt-tables-wrapper.spec.tsx +16 -0
  546. package/src/gantt/gantt-task-content.spec.tsx +44 -0
  547. package/src/gantt/gantt-task-dot.spec.tsx +47 -0
  548. package/src/gantt/gantt-task-wrap.spec.tsx +47 -0
  549. package/src/gantt/gantt-task.spec.tsx +48 -0
  550. package/src/gantt/gantt-tasks-table.spec.tsx +20 -0
  551. package/src/gantt/gantt.spec.tsx +47 -0
  552. package/src/gantt/index.ts +13 -0
  553. package/src/gantt/tests/gantt-react.tsx +350 -347
  554. package/src/gantt/tests/gantt-row-reordering.tsx +701 -748
  555. package/src/gantt/tests/gantt.tsx +694 -742
  556. package/src/grid/tests/grid-column-menu-rtl.tsx +194 -367
  557. package/src/grid/tests/grid-column-menu-tabbed.tsx +147 -260
  558. package/src/grid/tests/grid-column-menu.tsx +194 -366
  559. package/src/grid/tests/grid-column-reordering-actions.tsx +48 -77
  560. package/src/grid/tests/grid-column-reordering.tsx +60 -86
  561. package/src/grid/tests/grid-column-resizing-actions.tsx +25 -64
  562. package/src/grid/tests/grid-grouping-actions.tsx +15 -11
  563. package/src/index.ts +2 -1
  564. package/src/pivotgrid/tests/pivotgrid-column-menus.tsx +141 -232
  565. package/src/pivotgrid/tests/pivotgrid-settings-panel-reordering.tsx +17 -34
  566. package/src/prompt/templates/prompt-more-actions.tsx +56 -13
  567. package/src/slider/slider-tick.tsx +12 -9
  568. package/src/slider/slider.spec.tsx +17 -14
  569. package/src/taskboard/tests/taskboard-card-column-menu.tsx +12 -22
  570. package/src/treelist/index.ts +1 -0
  571. package/src/treelist/tests/treelist-aggregate-react.tsx +73 -71
  572. package/src/treelist/tests/treelist-aggregates.tsx +219 -242
  573. package/src/treelist/tests/treelist-react.tsx +98 -95
  574. package/src/treelist/tests/treelist-row-reordering.tsx +95 -74
  575. package/src/treelist/tests/treelist.tsx +110 -139
  576. package/src/treelist/treelist.spec.tsx +32 -0
@@ -59,6 +59,22 @@ var optionClassNames = (componentClassName, props) => {
59
59
  }
60
60
  );
61
61
  };
62
+ var stateClassNames = (_componentClassName, props) => {
63
+ return classNames({
64
+ "k-valid": props.valid,
65
+ "k-invalid": props.invalid,
66
+ "k-hover": props.hover,
67
+ "k-focus": props.focus,
68
+ "k-checked": props.checked,
69
+ "k-active": props.active,
70
+ "k-selected": props.selected,
71
+ "k-disabled": props.disabled,
72
+ "k-indeterminate": props.indeterminate && !props.checked,
73
+ "k-loading": props.loading,
74
+ "k-empty": props.empty,
75
+ "k-readonly": props.readonly
76
+ });
77
+ };
62
78
 
63
79
  // src/misc/theme.ts
64
80
  var Size = {
@@ -70,6 +86,19 @@ var Size = {
70
86
  "xxlarge": "xxlarge",
71
87
  "xxxlarge": "xxxlarge"
72
88
  };
89
+ var Roundness = {
90
+ "small": "small",
91
+ "medium": "medium",
92
+ "large": "large",
93
+ "full": "full"
94
+ };
95
+ var FillMode = {
96
+ "solid": "solid",
97
+ "flat": "flat",
98
+ "outline": "outline",
99
+ "clear": "clear",
100
+ "link": "link"
101
+ };
73
102
  var ThemeColor = {
74
103
  "inherit": "inherit",
75
104
  "base": "base",
@@ -84,6 +113,22 @@ var ThemeColor = {
84
113
  "light": "light",
85
114
  "inverse": "inverse"
86
115
  };
116
+ var States = {
117
+ "open": "open",
118
+ "hover": "hover",
119
+ "focus": "focus",
120
+ "active": "active",
121
+ "selected": "selected",
122
+ "disabled": "disabled",
123
+ "valid": "valid",
124
+ "invalid": "invalid",
125
+ "loading": "loading",
126
+ "required": "required",
127
+ "empty": "empty",
128
+ "indeterminate": "indeterminate",
129
+ "checked": "checked",
130
+ "readonly": "readonly"
131
+ };
87
132
 
88
133
  // src/icon/font-icon.spec.tsx
89
134
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -4318,111 +4363,4288 @@ Icon.states = states3;
4318
4363
  Icon.options = options3;
4319
4364
  Icon.defaultProps = defaultProps3;
4320
4365
 
4321
- // src/treelist/tests/treelist-aggregate-react.tsx
4366
+ // src/grid/grid.spec.tsx
4322
4367
  var import_jsx_runtime4 = require("react/jsx-runtime");
4323
- var treelist_aggregate_react_default = () => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { children: [
4324
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: "React" }),
4325
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid k-grid-md k-treelist-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("table", { className: "k-table k-table-md", children: [
4326
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("colgroup", { children: [
4327
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { style: { width: "34%" } }),
4328
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { style: { width: "33%" } }),
4329
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { style: { width: "33%" } })
4368
+ var GRID_CLASSNAME = "k-grid";
4369
+ var states4 = [];
4370
+ var options4 = {
4371
+ size: [Size.small, Size.medium, Size.large]
4372
+ };
4373
+ var defaultProps4 = {
4374
+ size: Size.medium,
4375
+ pagerPosition: "bottom"
4376
+ };
4377
+ var Grid = (props) => {
4378
+ const {
4379
+ size = defaultProps4.size,
4380
+ toolbar,
4381
+ pager,
4382
+ pagerPosition,
4383
+ groupingHeader,
4384
+ _renderAriaRoot,
4385
+ ...other
4386
+ } = props;
4387
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
4388
+ "div",
4389
+ {
4390
+ ...other,
4391
+ className: classNames(
4392
+ props.className,
4393
+ GRID_CLASSNAME,
4394
+ optionClassNames(GRID_CLASSNAME, { size })
4395
+ ),
4396
+ children: [
4397
+ toolbar,
4398
+ pagerPosition === "top" && pager,
4399
+ groupingHeader,
4400
+ props.children && _renderAriaRoot ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
4401
+ pagerPosition === "bottom" && pager
4402
+ ]
4403
+ }
4404
+ );
4405
+ };
4406
+ Grid.states = states4;
4407
+ Grid.options = options4;
4408
+ Grid.className = GRID_CLASSNAME;
4409
+ Grid.defaultProps = defaultProps4;
4410
+
4411
+ // src/grid/grid-header.spec.tsx
4412
+ var import_jsx_runtime5 = require("react/jsx-runtime");
4413
+
4414
+ // src/grid/grid-grouping-header.spec.tsx
4415
+ var import_jsx_runtime6 = require("react/jsx-runtime");
4416
+
4417
+ // src/table/data-table.spec.tsx
4418
+ var import_jsx_runtime7 = require("react/jsx-runtime");
4419
+ var DATATABLE_CLASSNAME = `k-data-table`;
4420
+ var states5 = [];
4421
+ var options5 = {
4422
+ size: [Size.small, Size.medium, Size.large]
4423
+ };
4424
+ var defaultProps5 = {
4425
+ size: Size.medium
4426
+ };
4427
+ var DataTable = (props) => {
4428
+ const {
4429
+ size = defaultProps5.size,
4430
+ ...other
4431
+ } = props;
4432
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
4433
+ "div",
4434
+ {
4435
+ ...other,
4436
+ className: classNames(
4437
+ props.className,
4438
+ DATATABLE_CLASSNAME,
4439
+ optionClassNames("k-table", {
4440
+ size
4441
+ })
4442
+ ),
4443
+ children: props.children
4444
+ }
4445
+ );
4446
+ };
4447
+ DataTable.states = states5;
4448
+ DataTable.options = options5;
4449
+ DataTable.className = DATATABLE_CLASSNAME;
4450
+ DataTable.defaultProps = defaultProps5;
4451
+
4452
+ // src/table/table-header.tsx
4453
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4454
+
4455
+ // src/table/table-body.tsx
4456
+ var import_jsx_runtime9 = require("react/jsx-runtime");
4457
+
4458
+ // src/table/table-footer.tsx
4459
+ var import_jsx_runtime10 = require("react/jsx-runtime");
4460
+
4461
+ // src/table/table.spec.tsx
4462
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4463
+ var TABLE_CLASSNAME = `k-table`;
4464
+ var states6 = [];
4465
+ var options6 = {
4466
+ size: [Size.small, Size.medium, Size.large]
4467
+ };
4468
+ var defaultProps6 = {};
4469
+ var Table = (props) => {
4470
+ const {
4471
+ size,
4472
+ ...other
4473
+ } = props;
4474
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4475
+ "table",
4476
+ {
4477
+ ...other,
4478
+ className: classNames(
4479
+ props.className,
4480
+ TABLE_CLASSNAME,
4481
+ optionClassNames(TABLE_CLASSNAME, {
4482
+ size
4483
+ })
4484
+ ),
4485
+ children: props.children
4486
+ }
4487
+ );
4488
+ };
4489
+ Table.states = states6;
4490
+ Table.options = options6;
4491
+ Table.className = TABLE_CLASSNAME;
4492
+ Table.defaultProps = defaultProps6;
4493
+
4494
+ // src/table/table-list.spec.tsx
4495
+ var import_jsx_runtime12 = require("react/jsx-runtime");
4496
+ var TABLELIST_CLASSNAME = `k-table-list`;
4497
+ var states7 = [];
4498
+ var options7 = {
4499
+ size: [Size.small, Size.medium, Size.large]
4500
+ };
4501
+ var defaultProps7 = {};
4502
+ var TableList = (props) => {
4503
+ const {
4504
+ size,
4505
+ virtualization,
4506
+ ...other
4507
+ } = props;
4508
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4509
+ "ul",
4510
+ {
4511
+ ...other,
4512
+ className: classNames(
4513
+ props.className,
4514
+ "k-table",
4515
+ TABLELIST_CLASSNAME,
4516
+ optionClassNames(TABLELIST_CLASSNAME, {
4517
+ size
4518
+ }),
4519
+ {
4520
+ "k-virtual-table": virtualization
4521
+ }
4522
+ ),
4523
+ children: props.children
4524
+ }
4525
+ );
4526
+ };
4527
+ TableList.states = states7;
4528
+ TableList.options = options7;
4529
+ TableList.className = TABLELIST_CLASSNAME;
4530
+ TableList.defaultProps = defaultProps7;
4531
+
4532
+ // src/table/table-thead.tsx
4533
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4534
+ var className = `k-table-thead`;
4535
+ var TableThead = (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4536
+ "thead",
4537
+ {
4538
+ className: classNames(
4539
+ props.className,
4540
+ className
4541
+ ),
4542
+ children: props.children
4543
+ }
4544
+ );
4545
+
4546
+ // src/table/table-tbody.tsx
4547
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4548
+ var className2 = `k-table-tbody`;
4549
+ var TableTbody = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
4550
+ "tbody",
4551
+ {
4552
+ className: classNames(
4553
+ props.className,
4554
+ className2
4555
+ ),
4556
+ children: props.children
4557
+ }
4558
+ );
4559
+
4560
+ // src/table/table-tfoot.tsx
4561
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4562
+
4563
+ // src/table/table-row.tsx
4564
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4565
+ var TABLEROW_CLASSNAME = `k-table-row`;
4566
+ var states8 = [
4567
+ States.hover,
4568
+ States.focus,
4569
+ States.selected,
4570
+ States.disabled
4571
+ ];
4572
+ var TableRow = (props) => {
4573
+ const {
4574
+ hover,
4575
+ focus,
4576
+ selected,
4577
+ disabled,
4578
+ alt,
4579
+ ...other
4580
+ } = props;
4581
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4582
+ "tr",
4583
+ {
4584
+ ...other,
4585
+ className: classNames(
4586
+ props.className,
4587
+ TABLEROW_CLASSNAME,
4588
+ {
4589
+ ["k-table-alt-row"]: alt
4590
+ },
4591
+ stateClassNames(TABLEROW_CLASSNAME, {
4592
+ hover,
4593
+ focus,
4594
+ disabled,
4595
+ selected
4596
+ })
4597
+ ),
4598
+ children: props.children
4599
+ }
4600
+ );
4601
+ };
4602
+
4603
+ // src/table/table-list-row.tsx
4604
+ var import_jsx_runtime17 = require("react/jsx-runtime");
4605
+ var states9 = [
4606
+ States.hover,
4607
+ States.focus,
4608
+ States.selected,
4609
+ States.disabled
4610
+ ];
4611
+
4612
+ // src/table/table-th.tsx
4613
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4614
+ var className3 = `k-table-th`;
4615
+ var TableTh = (props) => {
4616
+ const {
4617
+ text,
4618
+ colspan,
4619
+ rowspan,
4620
+ ...other
4621
+ } = props;
4622
+ const textOrChildren = text ? text : props.children;
4623
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4624
+ "th",
4625
+ {
4626
+ colSpan: colspan,
4627
+ rowSpan: rowspan,
4628
+ ...other,
4629
+ className: classNames(
4630
+ props.className,
4631
+ className3
4632
+ ),
4633
+ children: textOrChildren
4634
+ }
4635
+ );
4636
+ };
4637
+
4638
+ // src/table/table-list-th.tsx
4639
+ var import_jsx_runtime19 = require("react/jsx-runtime");
4640
+
4641
+ // src/table/table-td.tsx
4642
+ var import_jsx_runtime20 = require("react/jsx-runtime");
4643
+ var className4 = `k-table-td`;
4644
+ var TableTd = (props) => {
4645
+ const {
4646
+ text,
4647
+ colspan,
4648
+ ...other
4649
+ } = props;
4650
+ const textOrChildren = text ? text : props.children;
4651
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4652
+ "td",
4653
+ {
4654
+ colSpan: colspan,
4655
+ ...other,
4656
+ className: classNames(
4657
+ props.className,
4658
+ className4
4659
+ ),
4660
+ children: textOrChildren
4661
+ }
4662
+ );
4663
+ };
4664
+
4665
+ // src/table/table-list-td.tsx
4666
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4667
+
4668
+ // src/table/table-group-header.tsx
4669
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4670
+
4671
+ // src/table/table-group-sticky-header.tsx
4672
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4673
+
4674
+ // src/table/table-group-row.tsx
4675
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4676
+
4677
+ // src/table/table-list-group-row.tsx
4678
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4679
+
4680
+ // src/table/templates/table-list.tsx
4681
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4682
+
4683
+ // src/table/templates/table-list-virtualization.tsx
4684
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4685
+
4686
+ // src/table/templates/data-table-normal.tsx
4687
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4688
+
4689
+ // src/table/templates/table-native.tsx
4690
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4691
+
4692
+ // src/grid/grid-header-table.spec.tsx
4693
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4694
+
4695
+ // src/grid/grid-header-cell.spec.tsx
4696
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4697
+ var states10 = [
4698
+ States.hover,
4699
+ States.focus,
4700
+ States.active
4701
+ ];
4702
+
4703
+ // src/grid/grid-container.spec.tsx
4704
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4705
+
4706
+ // src/grid/grid-content.spec.tsx
4707
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4708
+
4709
+ // src/grid/grid-table.spec.tsx
4710
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4711
+ var GRIDTABLE_CLASSNAME = `k-grid-table`;
4712
+ var GridTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4713
+ Table,
4714
+ {
4715
+ size: "medium",
4716
+ ...props,
4717
+ className: classNames(
4718
+ props.className,
4719
+ GRIDTABLE_CLASSNAME
4720
+ ),
4721
+ children: props.children
4722
+ }
4723
+ );
4724
+
4725
+ // src/grid/grid-footer.spec.tsx
4726
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4727
+
4728
+ // src/grid/grid-footer-table.spec.tsx
4729
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4730
+
4731
+ // src/button/button.spec.tsx
4732
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4733
+ var BUTTON_CLASSNAME = `k-button`;
4734
+ var states11 = [
4735
+ States.hover,
4736
+ States.focus,
4737
+ States.active,
4738
+ States.selected,
4739
+ States.disabled
4740
+ ];
4741
+ var options8 = {
4742
+ size: [Size.small, Size.medium, Size.large],
4743
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4744
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4745
+ themeColor: [
4746
+ ThemeColor.base,
4747
+ ThemeColor.primary,
4748
+ ThemeColor.secondary,
4749
+ ThemeColor.tertiary,
4750
+ ThemeColor.success,
4751
+ ThemeColor.warning,
4752
+ ThemeColor.error,
4753
+ ThemeColor.info,
4754
+ ThemeColor.light,
4755
+ ThemeColor.dark,
4756
+ ThemeColor.inverse
4757
+ ]
4758
+ };
4759
+ var defaultProps8 = {
4760
+ size: Size.medium,
4761
+ rounded: Roundness.medium,
4762
+ fillMode: FillMode.solid,
4763
+ themeColor: ThemeColor.base,
4764
+ showArrow: false,
4765
+ arrowIconName: "caret-alt-down"
4766
+ };
4767
+ var Button = (props) => {
4768
+ const {
4769
+ size = defaultProps8.size,
4770
+ rounded = defaultProps8.rounded,
4771
+ fillMode = defaultProps8.fillMode,
4772
+ themeColor = defaultProps8.themeColor,
4773
+ hover,
4774
+ focus,
4775
+ active,
4776
+ selected,
4777
+ disabled,
4778
+ icon,
4779
+ text,
4780
+ iconClassName,
4781
+ showArrow = defaultProps8.showArrow,
4782
+ arrowIconName = defaultProps8.arrowIconName,
4783
+ ...other
4784
+ } = props;
4785
+ const hasIcon = icon !== void 0;
4786
+ const hasChildren = props.children !== void 0;
4787
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
4788
+ "button",
4789
+ {
4790
+ ...other,
4791
+ className: classNames(
4792
+ props.className,
4793
+ BUTTON_CLASSNAME,
4794
+ optionClassNames(BUTTON_CLASSNAME, {
4795
+ size,
4796
+ rounded,
4797
+ fillMode,
4798
+ themeColor
4799
+ }),
4800
+ stateClassNames(BUTTON_CLASSNAME, {
4801
+ hover,
4802
+ focus,
4803
+ active,
4804
+ disabled,
4805
+ selected
4806
+ }),
4807
+ {
4808
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
4809
+ }
4810
+ ),
4811
+ children: [
4812
+ icon && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4813
+ Icon,
4814
+ {
4815
+ className: classNames(iconClassName, "k-button-icon"),
4816
+ icon
4817
+ }
4818
+ ),
4819
+ text ? /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
4820
+ text && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-button-text", children: text }),
4821
+ props.children
4822
+ ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-button-text", children: props.children }),
4823
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { icon: arrowIconName }) })
4824
+ ]
4825
+ }
4826
+ );
4827
+ };
4828
+ Button.states = states11;
4829
+ Button.options = options8;
4830
+ Button.className = BUTTON_CLASSNAME;
4831
+ Button.defaultProps = defaultProps8;
4832
+
4833
+ // src/button/templates/icon-button.tsx
4834
+ var import_jsx_runtime38 = require("react/jsx-runtime");
4835
+
4836
+ // src/button/templates/icon-text-button.tsx
4837
+ var import_jsx_runtime39 = require("react/jsx-runtime");
4838
+
4839
+ // src/button/templates/text-button.tsx
4840
+ var import_jsx_runtime40 = require("react/jsx-runtime");
4841
+
4842
+ // src/input/input.spec.tsx
4843
+ var import_jsx_runtime41 = require("react/jsx-runtime");
4844
+ var INPUT_CLASSNAME = `k-input`;
4845
+ var states12 = [
4846
+ States.hover,
4847
+ States.focus,
4848
+ States.valid,
4849
+ States.invalid,
4850
+ States.required,
4851
+ States.disabled,
4852
+ States.loading,
4853
+ States.readonly
4854
+ ];
4855
+ var options9 = {
4856
+ size: [Size.small, Size.medium, Size.large],
4857
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4858
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4859
+ };
4860
+ var defaultProps9 = {
4861
+ size: Size.medium,
4862
+ rounded: Size.medium,
4863
+ fillMode: FillMode.solid
4864
+ };
4865
+ var Input = (props) => {
4866
+ const {
4867
+ hover,
4868
+ focus,
4869
+ disabled,
4870
+ invalid,
4871
+ valid,
4872
+ loading,
4873
+ readonly,
4874
+ size = defaultProps9.size,
4875
+ rounded = defaultProps9.rounded,
4876
+ fillMode = defaultProps9.fillMode,
4877
+ ...other
4878
+ } = props;
4879
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4880
+ "span",
4881
+ {
4882
+ ...other,
4883
+ className: classNames(
4884
+ props.className,
4885
+ INPUT_CLASSNAME,
4886
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
4887
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
4888
+ )
4889
+ }
4890
+ );
4891
+ };
4892
+ Input.states = states12;
4893
+ Input.options = options9;
4894
+ Input.className = INPUT_CLASSNAME;
4895
+ Input.defaultProps = defaultProps9;
4896
+
4897
+ // src/input/picker.spec.tsx
4898
+ var import_jsx_runtime42 = require("react/jsx-runtime");
4899
+ var PICKER_CLASSNAME = `k-picker`;
4900
+ var pickerStates = [
4901
+ States.hover,
4902
+ States.focus,
4903
+ States.valid,
4904
+ States.invalid,
4905
+ States.required,
4906
+ States.disabled,
4907
+ States.loading,
4908
+ States.readonly
4909
+ ];
4910
+ var pickerOptions = {
4911
+ size: [Size.small, Size.medium, Size.large],
4912
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4913
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4914
+ };
4915
+ var defaultProps10 = {
4916
+ size: Size.medium,
4917
+ rounded: Roundness.medium,
4918
+ fillMode: FillMode.solid
4919
+ };
4920
+ var Picker = (props) => {
4921
+ const {
4922
+ hover,
4923
+ focus,
4924
+ disabled,
4925
+ invalid,
4926
+ valid,
4927
+ loading,
4928
+ readonly,
4929
+ size = defaultProps10.size,
4930
+ rounded = defaultProps10.rounded,
4931
+ fillMode = defaultProps10.fillMode,
4932
+ ...other
4933
+ } = props;
4934
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4935
+ "span",
4936
+ {
4937
+ ...other,
4938
+ className: classNames(
4939
+ props.className,
4940
+ PICKER_CLASSNAME,
4941
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
4942
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
4943
+ ),
4944
+ children: props.children
4945
+ }
4946
+ );
4947
+ };
4948
+ Picker.states = pickerStates;
4949
+ Picker.options = pickerOptions;
4950
+ Picker.className = PICKER_CLASSNAME;
4951
+ Picker.defaultProps = defaultProps10;
4952
+
4953
+ // src/input/input-clear-value.tsx
4954
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4955
+ var className5 = `k-clear-value`;
4956
+ var states13 = [
4957
+ States.disabled,
4958
+ States.loading,
4959
+ States.readonly
4960
+ ];
4961
+ var options10 = {};
4962
+ var InputClearValue = (props) => {
4963
+ const {
4964
+ disabled,
4965
+ loading,
4966
+ readonly,
4967
+ value
4968
+ } = props;
4969
+ if (disabled || readonly || loading || !value) {
4970
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {});
4971
+ }
4972
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: classNames(props.className, className5), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: "x" }) });
4973
+ };
4974
+ InputClearValue.states = states13;
4975
+ InputClearValue.options = options10;
4976
+ InputClearValue.className = className5;
4977
+
4978
+ // src/input/input-inner-input.tsx
4979
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4980
+ var className6 = `k-input-inner`;
4981
+ var states14 = [];
4982
+ var options11 = {};
4983
+ var defaultProps11 = {
4984
+ type: "text",
4985
+ autocomplete: "off",
4986
+ value: "",
4987
+ placeholder: ""
4988
+ };
4989
+ var InputInnerInput = (props) => {
4990
+ const {
4991
+ value = defaultProps11.value,
4992
+ type = defaultProps11.type,
4993
+ placeholder = defaultProps11.placeholder,
4994
+ autocomplete = defaultProps11.autocomplete,
4995
+ ...other
4996
+ } = props;
4997
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4998
+ "input",
4999
+ {
5000
+ ...other,
5001
+ type,
5002
+ className: classNames(props.className, className6, optionClassNames(className6, props)),
5003
+ placeholder,
5004
+ autoComplete: autocomplete,
5005
+ defaultValue: value
5006
+ }
5007
+ );
5008
+ };
5009
+ InputInnerInput.states = states14;
5010
+ InputInnerInput.options = options11;
5011
+ InputInnerInput.className = className6;
5012
+
5013
+ // src/input/input-inner-span.tsx
5014
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5015
+ var className7 = `k-input-inner`;
5016
+ var states15 = [];
5017
+ var options12 = {};
5018
+ var InputInnerSpan = (props) => {
5019
+ const {
5020
+ value,
5021
+ placeholder,
5022
+ showValue,
5023
+ valueIcon,
5024
+ valueIconName,
5025
+ ...other
5026
+ } = props;
5027
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5028
+ "span",
5029
+ {
5030
+ ...other,
5031
+ className: classNames(props.className, className7, optionClassNames(className7, props)),
5032
+ children: [
5033
+ valueIcon,
5034
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
5035
+ showValue && !value && placeholder,
5036
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "k-input-value-text", children: value })
5037
+ ]
5038
+ }
5039
+ );
5040
+ };
5041
+ InputInnerSpan.states = states15;
5042
+ InputInnerSpan.options = options12;
5043
+ InputInnerSpan.className = className7;
5044
+
5045
+ // src/input/input-inner-textarea.tsx
5046
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5047
+ var defaultProps12 = {
5048
+ value: "",
5049
+ placeholder: ""
5050
+ };
5051
+ var className8 = `k-input-inner`;
5052
+ var states16 = [];
5053
+ var options13 = {};
5054
+ var InputInnerTextarea = (props) => {
5055
+ const {
5056
+ value = defaultProps12.value,
5057
+ placeholder = defaultProps12.placeholder,
5058
+ rows,
5059
+ ...other
5060
+ } = props;
5061
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5062
+ "textarea",
5063
+ {
5064
+ ...other,
5065
+ className: classNames(props.className, className8, optionClassNames(className8, props)),
5066
+ placeholder,
5067
+ rows,
5068
+ children: value
5069
+ }
5070
+ );
5071
+ };
5072
+ InputInnerTextarea.states = states16;
5073
+ InputInnerTextarea.options = options13;
5074
+ InputInnerTextarea.className = className8;
5075
+
5076
+ // src/input/input-loading-icon.tsx
5077
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5078
+ var className9 = `k-input-loading-icon`;
5079
+ var states17 = [
5080
+ States.disabled,
5081
+ States.loading
5082
+ ];
5083
+ var InputLoadingIcon = (props) => {
5084
+ const {
5085
+ disabled,
5086
+ loading
5087
+ } = props;
5088
+ if (disabled || !loading) {
5089
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, {});
5090
+ }
5091
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: classNames(props.className, className9, "k-icon k-i-loading") });
5092
+ };
5093
+
5094
+ // src/input/input-validation-icon.tsx
5095
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5096
+ var className10 = `k-input-validation-icon`;
5097
+ var states18 = [
5098
+ States.valid,
5099
+ States.invalid,
5100
+ States.disabled,
5101
+ States.loading
5102
+ ];
5103
+ var options14 = {};
5104
+ var InputValidationIcon = (props) => {
5105
+ const {
5106
+ valid,
5107
+ invalid,
5108
+ disabled,
5109
+ loading
5110
+ } = props;
5111
+ const iconName = invalid ? "warning-circle" : "check-circle";
5112
+ const renderValidationIcon = Boolean(valid || invalid);
5113
+ if (disabled || loading || !renderValidationIcon) {
5114
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {});
5115
+ }
5116
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { className: classNames(className10), icon: iconName });
5117
+ };
5118
+ InputValidationIcon.states = states18;
5119
+ InputValidationIcon.options = options14;
5120
+ InputValidationIcon.className = className10;
5121
+
5122
+ // src/input/input-prefix.tsx
5123
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5124
+ var className11 = `k-input-prefix`;
5125
+ var defaultProps13 = {
5126
+ direction: "horizontal"
5127
+ };
5128
+ var InputPrefix = (props) => {
5129
+ const {
5130
+ direction = defaultProps13.direction,
5131
+ ...other
5132
+ } = props;
5133
+ if (!props.children) {
5134
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, {});
5135
+ }
5136
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5137
+ "span",
5138
+ {
5139
+ ...other,
5140
+ className: classNames(
5141
+ className11,
5142
+ props.className,
5143
+ {
5144
+ [`k-input-prefix-${direction}`]: direction
5145
+ }
5146
+ ),
5147
+ children: props.children
5148
+ }
5149
+ );
5150
+ };
5151
+
5152
+ // src/input/input-suffix.tsx
5153
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5154
+ var className12 = `k-input-suffix`;
5155
+ var defaultProps14 = {
5156
+ direction: "horizontal"
5157
+ };
5158
+ var InputSuffix = (props) => {
5159
+ const {
5160
+ direction = defaultProps14.direction,
5161
+ ...other
5162
+ } = props;
5163
+ if (!props.children) {
5164
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, {});
5165
+ }
5166
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5167
+ "span",
5168
+ {
5169
+ ...other,
5170
+ className: classNames(
5171
+ className12,
5172
+ props.className,
5173
+ {
5174
+ [`k-input-suffix-${direction}`]: direction
5175
+ }
5176
+ ),
5177
+ children: props.children
5178
+ }
5179
+ );
5180
+ };
5181
+
5182
+ // src/input/input-prefix-text.tsx
5183
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5184
+
5185
+ // src/input/input-suffix-text.tsx
5186
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5187
+
5188
+ // src/input/input-separator.tsx
5189
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5190
+ var className13 = `k-input-separator`;
5191
+ var defaultProps15 = {
5192
+ direction: "vertical"
5193
+ };
5194
+ var InputSeparator = (props) => {
5195
+ const {
5196
+ direction = defaultProps15.direction,
5197
+ ...other
5198
+ } = props;
5199
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5200
+ "span",
5201
+ {
5202
+ ...other,
5203
+ className: classNames(
5204
+ className13,
5205
+ props.className,
5206
+ {
5207
+ [`${className13}-${direction}`]: direction
5208
+ }
5209
+ )
5210
+ }
5211
+ );
5212
+ };
5213
+
5214
+ // src/animation-container/animation-container.spec.tsx
5215
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5216
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5217
+ var states19 = [];
5218
+ var options15 = {};
5219
+ var defaultProps16 = {
5220
+ positionMode: "absolute"
5221
+ };
5222
+ var AnimationContainer = (props) => {
5223
+ const {
5224
+ positionMode,
5225
+ animationStyle,
5226
+ offset,
5227
+ ...other
5228
+ } = props;
5229
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5230
+ "div",
5231
+ {
5232
+ ...other,
5233
+ style: { ...offset, ...props.style },
5234
+ className: classNames(
5235
+ ANIMATION_CONTAINER_CLASSNAME,
5236
+ "k-animation-container-shown",
5237
+ {
5238
+ ["k-animation-container-fixed"]: positionMode === "fixed"
5239
+ }
5240
+ ),
5241
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5242
+ }
5243
+ );
5244
+ };
5245
+ AnimationContainer.states = states19;
5246
+ AnimationContainer.options = options15;
5247
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5248
+ AnimationContainer.defaultProps = defaultProps16;
5249
+
5250
+ // src/popup/popup.spec.tsx
5251
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5252
+ var POPUP_CLASSNAME = `k-popup`;
5253
+ var states20 = [];
5254
+ var options16 = {};
5255
+ var defaultProps17 = {
5256
+ positionMode: "absolute"
5257
+ };
5258
+ var Popup = (props) => {
5259
+ const {
5260
+ offset,
5261
+ positionMode,
5262
+ ...other
5263
+ } = props;
5264
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5265
+ AnimationContainer,
5266
+ {
5267
+ positionMode,
5268
+ offset,
5269
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5270
+ }
5271
+ );
5272
+ };
5273
+ Popup.states = states20;
5274
+ Popup.options = options16;
5275
+ Popup.className = POPUP_CLASSNAME;
5276
+ Popup.defaultProps = defaultProps17;
5277
+
5278
+ // src/dropdownlist/dropdownlist.spec.tsx
5279
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5280
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5281
+ var states21 = [
5282
+ States.hover,
5283
+ States.focus,
5284
+ States.valid,
5285
+ States.invalid,
5286
+ States.required,
5287
+ States.disabled,
5288
+ States.loading,
5289
+ States.readonly
5290
+ ];
5291
+ var options17 = {
5292
+ size: [Size.small, Size.medium, Size.large],
5293
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5294
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5295
+ };
5296
+ var defaultProps18 = {
5297
+ showValue: true,
5298
+ arrowIconName: "caret-alt-down",
5299
+ size: Size.medium,
5300
+ rounded: Roundness.medium,
5301
+ fillMode: FillMode.solid
5302
+ };
5303
+ var DropdownList = (props) => {
5304
+ const {
5305
+ valueIconName,
5306
+ arrowIconName = defaultProps18.arrowIconName,
5307
+ prefix,
5308
+ suffix,
5309
+ value,
5310
+ placeholder,
5311
+ size,
5312
+ rounded,
5313
+ fillMode,
5314
+ hover,
5315
+ focus,
5316
+ valid,
5317
+ invalid,
5318
+ required,
5319
+ loading,
5320
+ disabled,
5321
+ readonly,
5322
+ showValue = defaultProps18.showValue,
5323
+ popup,
5324
+ opened,
5325
+ ...other
5326
+ } = props;
5327
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
5328
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5329
+ Picker,
5330
+ {
5331
+ ...other,
5332
+ size,
5333
+ rounded,
5334
+ fillMode,
5335
+ hover,
5336
+ focus,
5337
+ valid,
5338
+ invalid,
5339
+ required,
5340
+ loading,
5341
+ disabled,
5342
+ readonly,
5343
+ className: classNames(
5344
+ props.className,
5345
+ DROPDOWNLIST_CLASSNAME,
5346
+ {
5347
+ "k-icon-picker": !showValue && valueIconName
5348
+ }
5349
+ ),
5350
+ children: [
5351
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputPrefix, { children: prefix }),
5352
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5353
+ InputInnerSpan,
5354
+ {
5355
+ placeholder,
5356
+ value,
5357
+ showValue,
5358
+ valueIconName
5359
+ }
5360
+ ),
5361
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5362
+ InputValidationIcon,
5363
+ {
5364
+ valid,
5365
+ invalid,
5366
+ loading,
5367
+ disabled
5368
+ }
5369
+ ),
5370
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5371
+ InputLoadingIcon,
5372
+ {
5373
+ loading,
5374
+ disabled
5375
+ }
5376
+ ),
5377
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputSuffix, { children: suffix }),
5378
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5379
+ Button,
5380
+ {
5381
+ className: "k-input-button",
5382
+ icon: arrowIconName,
5383
+ rounded: null,
5384
+ size: props.size,
5385
+ fillMode: props.fillMode
5386
+ }
5387
+ )
5388
+ ]
5389
+ }
5390
+ ),
5391
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5392
+ ] });
5393
+ };
5394
+ DropdownList.states = states21;
5395
+ DropdownList.options = options17;
5396
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
5397
+ DropdownList.defaultProps = defaultProps18;
5398
+
5399
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
5400
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5401
+
5402
+ // src/nodata/nodata.tsx
5403
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5404
+ var className14 = `k-nodata`;
5405
+ var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: classNames(className14, props.className), children: props.children });
5406
+
5407
+ // src/list/list.spec.tsx
5408
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5409
+ var LIST_CLASSNAME = `k-list`;
5410
+ var states22 = [];
5411
+ var options18 = {
5412
+ size: [Size.small, Size.medium, Size.large]
5413
+ };
5414
+ var defaultProps19 = {
5415
+ size: Size.medium
5416
+ };
5417
+ var List = (props) => {
5418
+ const {
5419
+ size = defaultProps19.size,
5420
+ virtualization,
5421
+ children,
5422
+ optionLabel,
5423
+ ...other
5424
+ } = props;
5425
+ let listHeader;
5426
+ let listGroup;
5427
+ let listContent;
5428
+ const listChildren = [];
5429
+ if (children) {
5430
+ children.map((child, index) => {
5431
+ if (child.type === ListGroup) {
5432
+ if (child.props.root === true) {
5433
+ listHeader = child.props.label;
5434
+ child.props.children.map((optChild, index2) => {
5435
+ listChildren.push(
5436
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5437
+ ListItem,
5438
+ {
5439
+ ...optChild.props
5440
+ },
5441
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5442
+ )
5443
+ );
5444
+ });
5445
+ } else {
5446
+ child.props.children.forEach((optChild, index2) => {
5447
+ let groupLabel = "";
5448
+ if (index2 === 0) {
5449
+ groupLabel = child.props.label;
5450
+ }
5451
+ listChildren.push(
5452
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5453
+ ListItem,
5454
+ {
5455
+ className: index2 === 0 ? "k-first" : "",
5456
+ ...optChild.props,
5457
+ groupLabel
5458
+ },
5459
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5460
+ )
5461
+ );
5462
+ });
5463
+ }
5464
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5465
+ } else if (child.type === ListItem) {
5466
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5467
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ListContent, { virtualization, children: listChildren });
5468
+ }
5469
+ });
5470
+ } else {
5471
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(NoData, { children: "No data found." });
5472
+ }
5473
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5474
+ "div",
5475
+ {
5476
+ ...other,
5477
+ className: classNames(
5478
+ props.className,
5479
+ LIST_CLASSNAME,
5480
+ optionClassNames(LIST_CLASSNAME, {
5481
+ size
5482
+ }),
5483
+ {
5484
+ ["k-virtual-list"]: virtualization
5485
+ }
5486
+ ),
5487
+ children: [
5488
+ optionLabel,
5489
+ listGroup,
5490
+ listContent
5491
+ ]
5492
+ }
5493
+ );
5494
+ };
5495
+ List.states = states22;
5496
+ List.options = options18;
5497
+ List.className = LIST_CLASSNAME;
5498
+ List.defaultProps = defaultProps19;
5499
+
5500
+ // src/list/list-angular.spec.tsx
5501
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5502
+ var LISTANGULAR_CLASSNAME = `k-list`;
5503
+ var states23 = [];
5504
+ var options19 = {
5505
+ size: [Size.small, Size.medium, Size.large]
5506
+ };
5507
+ var defaultProps20 = {
5508
+ size: Size.medium
5509
+ };
5510
+ var ListAngular = (props) => {
5511
+ const {
5512
+ size = defaultProps20.size,
5513
+ virtualization,
5514
+ children,
5515
+ ...other
5516
+ } = props;
5517
+ let listHeader;
5518
+ let listGroup;
5519
+ let listContent;
5520
+ const listChildren = [];
5521
+ if (children) {
5522
+ children.map((child, index) => {
5523
+ if (child.type === ListGroup) {
5524
+ if (child.props.root === true) {
5525
+ listHeader = child.props.label;
5526
+ child.props.children.map((optChild, index2) => {
5527
+ listChildren.push(
5528
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5529
+ ListItem,
5530
+ {
5531
+ ...optChild.props
5532
+ },
5533
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5534
+ )
5535
+ );
5536
+ });
5537
+ } else {
5538
+ listChildren.push(
5539
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5540
+ ListGroupItem,
5541
+ {
5542
+ ...child.props,
5543
+ children: child.props.label
5544
+ },
5545
+ `listChild-${index}`
5546
+ )
5547
+ );
5548
+ child.props.children.map((optChild, index2) => {
5549
+ listChildren.push(
5550
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5551
+ ListItem,
5552
+ {
5553
+ ...optChild.props
5554
+ },
5555
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5556
+ )
5557
+ );
5558
+ });
5559
+ }
5560
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5561
+ } else if (child.type === ListItem) {
5562
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5563
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListContent, { virtualization, children: listChildren });
5564
+ }
5565
+ });
5566
+ } else {
5567
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(NoData, { children: "No data found." });
5568
+ }
5569
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5570
+ "div",
5571
+ {
5572
+ ...other,
5573
+ className: classNames(
5574
+ props.className,
5575
+ LISTANGULAR_CLASSNAME,
5576
+ optionClassNames(LISTANGULAR_CLASSNAME, {
5577
+ size
5578
+ }),
5579
+ {
5580
+ ["k-virtual-list"]: virtualization
5581
+ }
5582
+ ),
5583
+ children: [
5584
+ listGroup,
5585
+ listContent
5586
+ ]
5587
+ }
5588
+ );
5589
+ };
5590
+ ListAngular.states = states23;
5591
+ ListAngular.options = options19;
5592
+ ListAngular.className = LISTANGULAR_CLASSNAME;
5593
+ ListAngular.defaultProps = defaultProps20;
5594
+
5595
+ // src/checkbox/checkbox.spec.tsx
5596
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5597
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
5598
+ var states24 = [
5599
+ States.hover,
5600
+ States.focus,
5601
+ States.valid,
5602
+ States.invalid,
5603
+ States.required,
5604
+ States.disabled,
5605
+ States.checked,
5606
+ States.indeterminate
5607
+ ];
5608
+ var options20 = {
5609
+ size: [Size.small, Size.medium, Size.large],
5610
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5611
+ };
5612
+ var defaultProps21 = {
5613
+ size: Size.medium,
5614
+ rounded: Roundness.medium
5615
+ };
5616
+ var Checkbox = (props) => {
5617
+ const {
5618
+ id,
5619
+ checked,
5620
+ indeterminate,
5621
+ hover,
5622
+ focus,
5623
+ disabled,
5624
+ invalid,
5625
+ valid,
5626
+ required,
5627
+ size = defaultProps21.size,
5628
+ rounded = defaultProps21.rounded,
5629
+ ...other
5630
+ } = props;
5631
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5632
+ "input",
5633
+ {
5634
+ ...other,
5635
+ id,
5636
+ type: "checkbox",
5637
+ checked,
5638
+ required,
5639
+ className: classNames(
5640
+ props.className,
5641
+ CHECKBOX_CLASSNAME,
5642
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
5643
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
5644
+ )
5645
+ }
5646
+ ) });
5647
+ };
5648
+ Checkbox.states = states24;
5649
+ Checkbox.options = options20;
5650
+ Checkbox.className = CHECKBOX_CLASSNAME;
5651
+ Checkbox.defaultProps = defaultProps21;
5652
+
5653
+ // src/checkbox/checkbox-group.spec.tsx
5654
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5655
+ var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
5656
+ var states25 = [];
5657
+ var options21 = {};
5658
+ var defaultProps22 = {
5659
+ layout: "vertical"
5660
+ };
5661
+ var CheckboxGroup = (props) => {
5662
+ const {
5663
+ layout = defaultProps22.layout,
5664
+ ...other
5665
+ } = props;
5666
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5667
+ "ul",
5668
+ {
5669
+ ...other,
5670
+ className: classNames(
5671
+ props.className,
5672
+ CHECKBOXGROUP_CLASSNAME,
5673
+ {
5674
+ [`k-list-${layout}`]: layout
5675
+ }
5676
+ ),
5677
+ children: props.children
5678
+ }
5679
+ );
5680
+ };
5681
+ CheckboxGroup.states = states25;
5682
+ CheckboxGroup.options = options21;
5683
+ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
5684
+ CheckboxGroup.defaultProps = defaultProps22;
5685
+
5686
+ // src/checkbox/checkbox-item.spec.tsx
5687
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5688
+ var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
5689
+ var states26 = [];
5690
+ var options22 = {};
5691
+ var defaultProps23 = {};
5692
+ var CheckboxItem = (props) => {
5693
+ const {
5694
+ ...other
5695
+ } = props;
5696
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5697
+ "li",
5698
+ {
5699
+ ...other,
5700
+ className: classNames(
5701
+ props.className,
5702
+ CHECKBOXITEM_CLASSNAME
5703
+ ),
5704
+ children: props.children
5705
+ }
5706
+ );
5707
+ };
5708
+ CheckboxItem.states = states26;
5709
+ CheckboxItem.options = options22;
5710
+ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
5711
+ CheckboxItem.defaultProps = defaultProps23;
5712
+
5713
+ // src/checkbox/templates/checkbox-with-label-after.tsx
5714
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5715
+
5716
+ // src/checkbox/templates/checkbox-with-label-before.tsx
5717
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5718
+
5719
+ // src/checkbox/templates/checkbox-normal.tsx
5720
+ var import_jsx_runtime66 = require("react/jsx-runtime");
5721
+
5722
+ // src/list/list-item.spec.tsx
5723
+ var import_jsx_runtime67 = require("react/jsx-runtime");
5724
+ var LISTITEM_CLASSNAME = `k-list-item`;
5725
+ var states27 = [
5726
+ States.hover,
5727
+ States.focus,
5728
+ States.selected,
5729
+ States.disabled
5730
+ ];
5731
+ var options23 = {};
5732
+ var defaultProps24 = {};
5733
+ var ListItem = (props) => {
5734
+ const {
5735
+ text,
5736
+ groupLabel,
5737
+ showIcon,
5738
+ iconName,
5739
+ showCheckbox,
5740
+ checked,
5741
+ hover,
5742
+ focus,
5743
+ selected,
5744
+ disabled,
5745
+ ...other
5746
+ } = props;
5747
+ const textOrChildren = text ? text : props.children;
5748
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
5749
+ "li",
5750
+ {
5751
+ ...other,
5752
+ className: classNames(
5753
+ props.className,
5754
+ LISTITEM_CLASSNAME,
5755
+ stateClassNames(LISTITEM_CLASSNAME, {
5756
+ hover,
5757
+ focus,
5758
+ disabled,
5759
+ selected
5760
+ })
5761
+ ),
5762
+ children: [
5763
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Checkbox, { checked }),
5764
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: iconName }),
5765
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
5766
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
5767
+ ]
5768
+ }
5769
+ );
5770
+ };
5771
+ ListItem.states = states27;
5772
+ ListItem.options = options23;
5773
+ ListItem.className = LISTITEM_CLASSNAME;
5774
+ ListItem.defaultProps = defaultProps24;
5775
+
5776
+ // src/list/list-content.tsx
5777
+ var import_jsx_runtime68 = require("react/jsx-runtime");
5778
+ var className15 = `k-list-content`;
5779
+ var ListContent = (props) => {
5780
+ const {
5781
+ virtualization
5782
+ } = props;
5783
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: classNames(className15, props.className), children: [
5784
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
5785
+ virtualization && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", {}) })
5786
+ ] });
5787
+ };
5788
+
5789
+ // src/list/list-header.tsx
5790
+ var import_jsx_runtime69 = require("react/jsx-runtime");
5791
+ var className16 = `k-list-group-sticky-header`;
5792
+ var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: classNames(className16, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-list-header-text", children: props.children }) });
5793
+
5794
+ // src/list/list-group.tsx
5795
+ var import_jsx_runtime70 = require("react/jsx-runtime");
5796
+ var ListGroup = (props) => {
5797
+ const {
5798
+ virtualization,
5799
+ label
5800
+ } = props;
5801
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
5802
+ label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ListHeader, { children: label }),
5803
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ListContent, { virtualization, children: props.children })
5804
+ ] });
5805
+ };
5806
+
5807
+ // src/list/list-group-item.tsx
5808
+ var import_jsx_runtime71 = require("react/jsx-runtime");
5809
+ var className17 = `k-list-group-item`;
5810
+ var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("li", { className: classNames(className17, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "k-list-item-text", children: props.children }) });
5811
+
5812
+ // src/list/list-option-label.tsx
5813
+ var import_jsx_runtime72 = require("react/jsx-runtime");
5814
+ var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
5815
+ var states28 = [
5816
+ States.hover,
5817
+ States.focus,
5818
+ States.selected,
5819
+ States.disabled
5820
+ ];
5821
+ var options24 = {};
5822
+ var defaultProps25 = {};
5823
+ var ListOptionLabel = (props) => {
5824
+ const {
5825
+ text,
5826
+ hover,
5827
+ focus,
5828
+ selected,
5829
+ disabled,
5830
+ ...other
5831
+ } = props;
5832
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5833
+ "div",
5834
+ {
5835
+ ...other,
5836
+ className: classNames(
5837
+ LIST_OPTIONLABEL_CLASSNAME,
5838
+ stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
5839
+ hover,
5840
+ focus,
5841
+ selected,
5842
+ disabled
5843
+ })
5844
+ ),
5845
+ children: text
5846
+ }
5847
+ );
5848
+ };
5849
+ ListOptionLabel.states = states28;
5850
+ ListOptionLabel.options = options24;
5851
+ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
5852
+ ListOptionLabel.defaultProps = defaultProps25;
5853
+
5854
+ // src/list/templates/list-normal.tsx
5855
+ var import_jsx_runtime73 = require("react/jsx-runtime");
5856
+
5857
+ // src/list/templates/list-virtualization.tsx
5858
+ var import_jsx_runtime74 = require("react/jsx-runtime");
5859
+
5860
+ // src/list/templates/list-grouping.tsx
5861
+ var import_jsx_runtime75 = require("react/jsx-runtime");
5862
+
5863
+ // src/list/templates/list-virualization-grouping.tsx
5864
+ var import_jsx_runtime76 = require("react/jsx-runtime");
5865
+
5866
+ // src/list/templates/list-virtualization-angular.tsx
5867
+ var import_jsx_runtime77 = require("react/jsx-runtime");
5868
+
5869
+ // src/list/templates/list-grouping-angular.tsx
5870
+ var import_jsx_runtime78 = require("react/jsx-runtime");
5871
+
5872
+ // src/list/templates/list-virualization-grouping-angular.tsx
5873
+ var import_jsx_runtime79 = require("react/jsx-runtime");
5874
+
5875
+ // src/dropdownlist/templates/dropdownlist-popup.tsx
5876
+ var import_jsx_runtime80 = require("react/jsx-runtime");
5877
+
5878
+ // src/searchbox/searchbox.spec.tsx
5879
+ var import_jsx_runtime81 = require("react/jsx-runtime");
5880
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5881
+ var states29 = [
5882
+ States.hover,
5883
+ States.focus,
5884
+ States.valid,
5885
+ States.invalid,
5886
+ States.required,
5887
+ States.disabled,
5888
+ States.loading
5889
+ ];
5890
+ var options25 = {
5891
+ size: [Size.small, Size.medium, Size.large],
5892
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5893
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5894
+ };
5895
+ var defaultProps26 = {
5896
+ showIcon: true,
5897
+ icon: "search",
5898
+ size: Input.defaultProps.size,
5899
+ rounded: Input.defaultProps.rounded,
5900
+ fillMode: Input.defaultProps.fillMode
5901
+ };
5902
+ var Searchbox = (props) => {
5903
+ const {
5904
+ value,
5905
+ placeholder,
5906
+ size,
5907
+ rounded,
5908
+ fillMode,
5909
+ hover,
5910
+ focus,
5911
+ valid,
5912
+ invalid,
5913
+ required,
5914
+ loading,
5915
+ disabled,
5916
+ showIcon = defaultProps26.showIcon,
5917
+ icon = defaultProps26.icon,
5918
+ ...other
5919
+ } = props;
5920
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
5921
+ Input,
5922
+ {
5923
+ ...other,
5924
+ size,
5925
+ rounded,
5926
+ fillMode,
5927
+ hover,
5928
+ focus,
5929
+ valid,
5930
+ invalid,
5931
+ required,
5932
+ loading,
5933
+ disabled,
5934
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
5935
+ children: [
5936
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { className: "k-input-icon", icon }),
5937
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputInnerInput, { placeholder, value }),
5938
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputLoadingIcon, { ...props }),
5939
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputValidationIcon, { ...props }),
5940
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputClearValue, { ...props })
5941
+ ]
5942
+ }
5943
+ );
5944
+ };
5945
+ Searchbox.states = states29;
5946
+ Searchbox.options = options25;
5947
+ Searchbox.className = SEARCHBOX_CLASSNAME;
5948
+ Searchbox.defaultProps = defaultProps26;
5949
+
5950
+ // src/searchbox/templates/searchbox-normal.tsx
5951
+ var import_jsx_runtime82 = require("react/jsx-runtime");
5952
+
5953
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
5954
+ var import_jsx_runtime83 = require("react/jsx-runtime");
5955
+
5956
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
5957
+ var import_jsx_runtime84 = require("react/jsx-runtime");
5958
+
5959
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
5960
+ var import_jsx_runtime85 = require("react/jsx-runtime");
5961
+
5962
+ // src/spinbutton/spinbutton.spec.tsx
5963
+ var import_jsx_runtime86 = require("react/jsx-runtime");
5964
+ var SPINBUTTON_CLASSNAME = `k-spin-button`;
5965
+ var states30 = [];
5966
+ var options26 = {
5967
+ size: [Size.small, Size.medium, Size.large],
5968
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
5969
+ };
5970
+ var defaultProps27 = {
5971
+ size: Size.medium,
5972
+ fillMode: FillMode.solid
5973
+ };
5974
+ var SpinButton = (props) => {
5975
+ const {
5976
+ size = defaultProps27.size,
5977
+ fillMode = defaultProps27.fillMode,
5978
+ ...other
5979
+ } = props;
5980
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
5981
+ "span",
5982
+ {
5983
+ ...other,
5984
+ className: classNames(
5985
+ SPINBUTTON_CLASSNAME,
5986
+ props.className
5987
+ ),
5988
+ children: [
5989
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
5990
+ Button,
5991
+ {
5992
+ className: "k-spinner-increase",
5993
+ icon: "caret-alt-up",
5994
+ rounded: null,
5995
+ size,
5996
+ fillMode
5997
+ }
5998
+ ),
5999
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6000
+ Button,
6001
+ {
6002
+ className: "k-spinner-decrease",
6003
+ icon: "caret-alt-down",
6004
+ rounded: null,
6005
+ size,
6006
+ fillMode
6007
+ }
6008
+ )
6009
+ ]
6010
+ }
6011
+ );
6012
+ };
6013
+ SpinButton.states = states30;
6014
+ SpinButton.options = options26;
6015
+ SpinButton.className = SPINBUTTON_CLASSNAME;
6016
+ SpinButton.defaultProps = defaultProps27;
6017
+
6018
+ // src/numerictextbox/numerictextbox.spec.tsx
6019
+ var import_jsx_runtime87 = require("react/jsx-runtime");
6020
+ var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
6021
+ var states31 = [
6022
+ States.hover,
6023
+ States.focus,
6024
+ States.valid,
6025
+ States.invalid,
6026
+ States.loading,
6027
+ States.required,
6028
+ States.disabled,
6029
+ States.readonly
6030
+ ];
6031
+ var options27 = {
6032
+ size: [Size.small, Size.medium, Size.large],
6033
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6034
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6035
+ };
6036
+ var defaultProps28 = {
6037
+ showSpinButton: true,
6038
+ showClearButton: true,
6039
+ size: Input.defaultProps.size,
6040
+ rounded: Input.defaultProps.rounded,
6041
+ fillMode: Input.defaultProps.fillMode
6042
+ };
6043
+ var NumericTextbox = (props) => {
6044
+ const {
6045
+ prefix,
6046
+ suffix,
6047
+ value,
6048
+ placeholder,
6049
+ size,
6050
+ rounded,
6051
+ fillMode,
6052
+ hover,
6053
+ focus,
6054
+ valid,
6055
+ invalid,
6056
+ required,
6057
+ loading,
6058
+ disabled,
6059
+ readonly,
6060
+ showClearButton = defaultProps28.showClearButton,
6061
+ showSpinButton = defaultProps28.showSpinButton,
6062
+ ...other
6063
+ } = props;
6064
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6065
+ Input,
6066
+ {
6067
+ ...other,
6068
+ size,
6069
+ rounded,
6070
+ fillMode,
6071
+ hover,
6072
+ focus,
6073
+ valid,
6074
+ invalid,
6075
+ required,
6076
+ loading,
6077
+ disabled,
6078
+ readonly,
6079
+ className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
6080
+ children: [
6081
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
6082
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputPrefix, { children: prefix }),
6083
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSeparator, {})
6084
+ ] }),
6085
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputInnerInput, { placeholder, value }),
6086
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6087
+ InputValidationIcon,
6088
+ {
6089
+ valid,
6090
+ invalid,
6091
+ loading,
6092
+ disabled
6093
+ }
6094
+ ),
6095
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6096
+ InputLoadingIcon,
6097
+ {
6098
+ loading,
6099
+ disabled
6100
+ }
6101
+ ),
6102
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6103
+ InputClearValue,
6104
+ {
6105
+ loading,
6106
+ disabled,
6107
+ readonly,
6108
+ value
6109
+ }
6110
+ ),
6111
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
6112
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSeparator, {}),
6113
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSuffix, { children: suffix })
6114
+ ] }),
6115
+ showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6116
+ SpinButton,
6117
+ {
6118
+ className: "k-input-spinner",
6119
+ size,
6120
+ fillMode
6121
+ }
6122
+ )
6123
+ ]
6124
+ }
6125
+ );
6126
+ };
6127
+ NumericTextbox.states = states31;
6128
+ NumericTextbox.options = options27;
6129
+ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
6130
+ NumericTextbox.defaultProps = defaultProps28;
6131
+
6132
+ // src/numerictextbox/templates/numerictextbox-normal.tsx
6133
+ var import_jsx_runtime88 = require("react/jsx-runtime");
6134
+
6135
+ // src/numerictextbox/templates/numerictextbox-prefix.tsx
6136
+ var import_jsx_runtime89 = require("react/jsx-runtime");
6137
+
6138
+ // src/numerictextbox/templates/numerictextbox-suffix.tsx
6139
+ var import_jsx_runtime90 = require("react/jsx-runtime");
6140
+
6141
+ // src/pager/pager.spec.tsx
6142
+ var import_jsx_runtime91 = require("react/jsx-runtime");
6143
+ var PAGER_CLASSNAME = `k-pager`;
6144
+ var states32 = [
6145
+ States.focus,
6146
+ States.disabled
6147
+ ];
6148
+ var options28 = {
6149
+ size: [Size.small, Size.medium, Size.large]
6150
+ };
6151
+ var defaultProps29 = {
6152
+ size: Size.medium,
6153
+ adaptive: false,
6154
+ itemsPerPage: true,
6155
+ type: "numeric",
6156
+ pageSizes: true,
6157
+ refresh: true,
6158
+ info: true
6159
+ };
6160
+ var Pager = (props) => {
6161
+ const {
6162
+ size = defaultProps29.size,
6163
+ adaptive = defaultProps29.adaptive,
6164
+ itemsPerPage = defaultProps29.itemsPerPage,
6165
+ type = defaultProps29.type,
6166
+ pageSizes = defaultProps29.pageSizes,
6167
+ refresh = defaultProps29.refresh,
6168
+ info = defaultProps29.info,
6169
+ focus,
6170
+ disabled,
6171
+ dir,
6172
+ ...other
6173
+ } = props;
6174
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6175
+ "div",
6176
+ {
6177
+ dir,
6178
+ ...other,
6179
+ className: classNames(
6180
+ props.className,
6181
+ PAGER_CLASSNAME,
6182
+ optionClassNames(PAGER_CLASSNAME, {
6183
+ size
6184
+ }),
6185
+ stateClassNames(PAGER_CLASSNAME, {
6186
+ focus,
6187
+ disabled
6188
+ })
6189
+ ),
6190
+ children: [
6191
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6192
+ "div",
6193
+ {
6194
+ className: classNames(
6195
+ "k-pager-numbers-wrap"
6196
+ ),
6197
+ children: [
6198
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6199
+ Button,
6200
+ {
6201
+ className: classNames(
6202
+ "k-pager-nav",
6203
+ "k-pager-first"
6204
+ ),
6205
+ disabled: true,
6206
+ fillMode: "flat",
6207
+ size,
6208
+ rounded: null,
6209
+ icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
6210
+ }
6211
+ ),
6212
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6213
+ Button,
6214
+ {
6215
+ className: classNames(
6216
+ "k-pager-nav"
6217
+ ),
6218
+ disabled: true,
6219
+ fillMode: "flat",
6220
+ size,
6221
+ rounded: null,
6222
+ icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
6223
+ }
6224
+ ),
6225
+ type === "numeric" && !adaptive && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6226
+ "div",
6227
+ {
6228
+ className: classNames(
6229
+ "k-pager-numbers"
6230
+ ),
6231
+ children: [
6232
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6233
+ Button,
6234
+ {
6235
+ selected: true,
6236
+ fillMode: "flat",
6237
+ themeColor: "primary",
6238
+ size,
6239
+ rounded: null,
6240
+ children: "1"
6241
+ }
6242
+ ),
6243
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6244
+ Button,
6245
+ {
6246
+ fillMode: "flat",
6247
+ themeColor: "primary",
6248
+ size,
6249
+ rounded: null,
6250
+ children: "2"
6251
+ }
6252
+ ),
6253
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6254
+ Button,
6255
+ {
6256
+ fillMode: "flat",
6257
+ themeColor: "primary",
6258
+ size,
6259
+ rounded: null,
6260
+ children: "3"
6261
+ }
6262
+ ),
6263
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6264
+ Button,
6265
+ {
6266
+ fillMode: "flat",
6267
+ themeColor: "primary",
6268
+ size,
6269
+ rounded: null,
6270
+ children: "4"
6271
+ }
6272
+ ),
6273
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6274
+ Button,
6275
+ {
6276
+ fillMode: "flat",
6277
+ themeColor: "primary",
6278
+ size,
6279
+ rounded: null,
6280
+ children: "5"
6281
+ }
6282
+ ),
6283
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6284
+ Button,
6285
+ {
6286
+ fillMode: "flat",
6287
+ themeColor: "primary",
6288
+ size,
6289
+ rounded: null,
6290
+ children: "6"
6291
+ }
6292
+ )
6293
+ ]
6294
+ }
6295
+ ),
6296
+ type === "numeric" && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6297
+ "select",
6298
+ {
6299
+ className: classNames(
6300
+ "k-picker",
6301
+ "k-picker-solid",
6302
+ "k-dropdown-list",
6303
+ "k-dropdown",
6304
+ "k-rounded-md",
6305
+ optionClassNames("k-picker", {
6306
+ size
6307
+ }),
6308
+ {
6309
+ ["k-hidden"]: !adaptive
6310
+ }
6311
+ ),
6312
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("option", { children: "99" })
6313
+ }
6314
+ ),
6315
+ type === "input" && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6316
+ "span",
6317
+ {
6318
+ className: classNames(
6319
+ "k-pager-input"
6320
+ ),
6321
+ children: [
6322
+ !adaptive && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: "Page" }),
6323
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
6324
+ !adaptive && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: "of 8" })
6325
+ ]
6326
+ }
6327
+ ),
6328
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6329
+ Button,
6330
+ {
6331
+ className: classNames(
6332
+ "k-pager-nav"
6333
+ ),
6334
+ fillMode: "flat",
6335
+ size,
6336
+ rounded: null,
6337
+ icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
6338
+ }
6339
+ ),
6340
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6341
+ Button,
6342
+ {
6343
+ className: classNames(
6344
+ "k-pager-nav",
6345
+ "k-pager-last"
6346
+ ),
6347
+ fillMode: "flat",
6348
+ size,
6349
+ rounded: null,
6350
+ icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
6351
+ }
6352
+ )
6353
+ ]
6354
+ }
6355
+ ),
6356
+ pageSizes && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6357
+ "span",
6358
+ {
6359
+ className: classNames(
6360
+ "k-pager-sizes"
6361
+ ),
6362
+ children: [
6363
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(DropdownList, { value: "99", size }),
6364
+ itemsPerPage && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: "items per page" })
6365
+ ]
6366
+ }
6367
+ ),
6368
+ refresh && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6369
+ Button,
6370
+ {
6371
+ className: classNames(
6372
+ "k-pager-refresh"
6373
+ ),
6374
+ fillMode: "flat",
6375
+ size,
6376
+ rounded: null,
6377
+ icon: "arrow-rotate-cw"
6378
+ }
6379
+ ),
6380
+ info && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6381
+ "span",
6382
+ {
6383
+ className: classNames(
6384
+ "k-pager-info"
6385
+ ),
6386
+ children: "1 - 20 of 91 items"
6387
+ }
6388
+ )
6389
+ ]
6390
+ }
6391
+ );
6392
+ };
6393
+ Pager.states = states32;
6394
+ Pager.options = options28;
6395
+ Pager.className = PAGER_CLASSNAME;
6396
+ Pager.defaultProps = defaultProps29;
6397
+
6398
+ // src/pager/templates/pager-normal.tsx
6399
+ var import_jsx_runtime92 = require("react/jsx-runtime");
6400
+
6401
+ // src/pager/templates/pager-input.tsx
6402
+ var import_jsx_runtime93 = require("react/jsx-runtime");
6403
+
6404
+ // src/pager/templates/pager-adaptive.tsx
6405
+ var import_jsx_runtime94 = require("react/jsx-runtime");
6406
+
6407
+ // src/pager/templates/pager-adaptive-input.tsx
6408
+ var import_jsx_runtime95 = require("react/jsx-runtime");
6409
+
6410
+ // src/grid/grid-pager.spec.tsx
6411
+ var import_jsx_runtime96 = require("react/jsx-runtime");
6412
+
6413
+ // src/button-group/button-group.spec.tsx
6414
+ var import_jsx_runtime97 = require("react/jsx-runtime");
6415
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
6416
+ var states33 = [
6417
+ States.disabled
6418
+ ];
6419
+ var options29 = {
6420
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
6421
+ };
6422
+ var defaultProps30 = {
6423
+ fillMode: FillMode.solid
6424
+ };
6425
+ var ButtonGroup = (props) => {
6426
+ const {
6427
+ fillMode = defaultProps30.fillMode,
6428
+ disabled,
6429
+ stretched,
6430
+ ...other
6431
+ } = props;
6432
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6433
+ "div",
6434
+ {
6435
+ ...other,
6436
+ className: classNames(
6437
+ props.className,
6438
+ BUTTONGROUP_CLASSNAME,
6439
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
6440
+ fillMode
6441
+ }),
6442
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
6443
+ disabled
6444
+ }),
6445
+ {
6446
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
6447
+ }
6448
+ ),
6449
+ children: props.children
6450
+ }
6451
+ );
6452
+ };
6453
+ ButtonGroup.states = states33;
6454
+ ButtonGroup.options = options29;
6455
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
6456
+ ButtonGroup.defaultProps = defaultProps30;
6457
+
6458
+ // src/button-group/templates/icon-button-group.tsx
6459
+ var import_jsx_runtime98 = require("react/jsx-runtime");
6460
+
6461
+ // src/button-group/templates/icon-text-button-group.tsx
6462
+ var import_jsx_runtime99 = require("react/jsx-runtime");
6463
+
6464
+ // src/button-group/templates/text-button-group.tsx
6465
+ var import_jsx_runtime100 = require("react/jsx-runtime");
6466
+
6467
+ // src/button-group/templates/mixed-button-group.tsx
6468
+ var import_jsx_runtime101 = require("react/jsx-runtime");
6469
+
6470
+ // src/color-preview/color-preview.tsx
6471
+ var import_jsx_runtime102 = require("react/jsx-runtime");
6472
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
6473
+ var states34 = [];
6474
+ var options30 = {};
6475
+ var ColorPreview = (props) => {
6476
+ const {
6477
+ color,
6478
+ iconName,
6479
+ ...other
6480
+ } = props;
6481
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
6482
+ "span",
6483
+ {
6484
+ ...other,
6485
+ className: classNames(
6486
+ props.className,
6487
+ COLORPREVIEW_CLASSNAME,
6488
+ {
6489
+ "k-icon-color-preview": iconName,
6490
+ "k-no-color": !color
6491
+ }
6492
+ ),
6493
+ children: [
6494
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
6495
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
6496
+ "span",
6497
+ {
6498
+ className: "k-color-preview-mask",
6499
+ style: { backgroundColor: color }
6500
+ }
6501
+ )
6502
+ ]
6503
+ }
6504
+ );
6505
+ };
6506
+ ColorPreview.states = states34;
6507
+ ColorPreview.options = options30;
6508
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
6509
+
6510
+ // src/colorpicker/colorpicker.spec.tsx
6511
+ var import_jsx_runtime103 = require("react/jsx-runtime");
6512
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
6513
+ var states35 = [
6514
+ States.hover,
6515
+ States.focus,
6516
+ States.valid,
6517
+ States.invalid,
6518
+ States.required,
6519
+ States.disabled
6520
+ ];
6521
+ var options31 = {
6522
+ size: [Size.small, Size.medium, Size.large],
6523
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6524
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6525
+ };
6526
+ var defaultProps31 = {
6527
+ arrowIconName: "caret-alt-down",
6528
+ size: Picker.defaultProps.size,
6529
+ rounded: Picker.defaultProps.rounded,
6530
+ fillMode: Picker.defaultProps.fillMode
6531
+ };
6532
+ var ColorPicker = (props) => {
6533
+ const {
6534
+ prefix,
6535
+ suffix,
6536
+ value,
6537
+ placeholder,
6538
+ size,
6539
+ rounded,
6540
+ fillMode,
6541
+ hover,
6542
+ focus,
6543
+ valid,
6544
+ invalid,
6545
+ required,
6546
+ disabled,
6547
+ valueIconName,
6548
+ arrowIconName = defaultProps31.arrowIconName,
6549
+ popup,
6550
+ opened,
6551
+ ...other
6552
+ } = props;
6553
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
6554
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
6555
+ Picker,
6556
+ {
6557
+ ...other,
6558
+ size,
6559
+ rounded,
6560
+ fillMode,
6561
+ hover,
6562
+ focus,
6563
+ valid,
6564
+ invalid,
6565
+ required,
6566
+ disabled,
6567
+ className: classNames(
6568
+ props.className,
6569
+ COLORPICKER_CLASSNAME,
6570
+ "k-icon-picker"
6571
+ ),
6572
+ children: [
6573
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(InputPrefix, { children: prefix }),
6574
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
6575
+ InputInnerSpan,
6576
+ {
6577
+ placeholder,
6578
+ value,
6579
+ showValue: false,
6580
+ valueIcon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
6581
+ ColorPreview,
6582
+ {
6583
+ className: "k-value-icon",
6584
+ color: value,
6585
+ iconName: valueIconName
6586
+ }
6587
+ ),
6588
+ valueIconName
6589
+ }
6590
+ ),
6591
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(InputSuffix, { children: suffix }),
6592
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
6593
+ Button,
6594
+ {
6595
+ className: "k-input-button",
6596
+ icon: arrowIconName,
6597
+ rounded: null,
6598
+ size,
6599
+ fillMode
6600
+ }
6601
+ )
6602
+ ]
6603
+ }
6604
+ ),
6605
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
6606
+ ] });
6607
+ };
6608
+ ColorPicker.states = states35;
6609
+ ColorPicker.options = options31;
6610
+ ColorPicker.className = COLORPICKER_CLASSNAME;
6611
+ ColorPicker.defaultProps = defaultProps31;
6612
+
6613
+ // src/colorpicker/templates/colorpicker-normal.tsx
6614
+ var import_jsx_runtime104 = require("react/jsx-runtime");
6615
+
6616
+ // src/action-buttons/action-buttons.spec.tsx
6617
+ var import_jsx_runtime105 = require("react/jsx-runtime");
6618
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
6619
+ var states36 = [];
6620
+ var options32 = {};
6621
+ var defaultProps32 = {
6622
+ alignment: "start",
6623
+ orientation: "horizontal"
6624
+ };
6625
+ var ActionButtons = (props) => {
6626
+ const {
6627
+ alignment = defaultProps32.alignment,
6628
+ orientation = defaultProps32.orientation,
6629
+ ...other
6630
+ } = props;
6631
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6632
+ "div",
6633
+ {
6634
+ ...other,
6635
+ className: classNames(
6636
+ ACTIONBUTTONS_CLASSNAME,
6637
+ {
6638
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
6639
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
6640
+ },
6641
+ props.className
6642
+ ),
6643
+ children: props.children
6644
+ }
6645
+ );
6646
+ };
6647
+ ActionButtons.states = states36;
6648
+ ActionButtons.options = options32;
6649
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
6650
+ ActionButtons.defaultProps = defaultProps32;
6651
+ var action_buttons_spec_default = ActionButtons;
6652
+
6653
+ // src/slider/slider.spec.tsx
6654
+ var import_jsx_runtime106 = require("react/jsx-runtime");
6655
+ var SLIDER_CLASSNAME = "k-slider";
6656
+ var states37 = [
6657
+ States.hover,
6658
+ States.focus,
6659
+ States.active,
6660
+ States.disabled,
6661
+ States.readonly
6662
+ ];
6663
+ var options33 = {};
6664
+ var defaultProps33 = {
6665
+ type: "single",
6666
+ orientation: "horizontal",
6667
+ readonly: false,
6668
+ disabled: false,
6669
+ handlePosition: "end",
6670
+ showButtons: true,
6671
+ showTicks: true
6672
+ };
6673
+ var Slider = (props) => {
6674
+ const {
6675
+ type = defaultProps33.type,
6676
+ orientation = defaultProps33.orientation,
6677
+ readonly = defaultProps33.readonly,
6678
+ disabled = defaultProps33.disabled,
6679
+ handlePosition = defaultProps33.handlePosition,
6680
+ showButtons = defaultProps33.showButtons,
6681
+ showTicks = defaultProps33.showTicks,
6682
+ hover,
6683
+ focus,
6684
+ active,
6685
+ trackStyle,
6686
+ dir,
6687
+ ...other
6688
+ } = props;
6689
+ let iconIncrease;
6690
+ let iconDecrease;
6691
+ if (orientation === "horizontal") {
6692
+ iconIncrease = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
6693
+ iconDecrease = dir === "rtl" ? "caret-alt-right" : "caret-alt-left";
6694
+ } else if (orientation === "vertical") {
6695
+ iconIncrease = "caret-alt-up";
6696
+ iconDecrease = "caret-alt-down";
6697
+ }
6698
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
6699
+ "div",
6700
+ {
6701
+ ...other,
6702
+ className: classNames(
6703
+ SLIDER_CLASSNAME,
6704
+ props.className,
6705
+ stateClassNames(SLIDER_CLASSNAME, {
6706
+ readonly,
6707
+ disabled
6708
+ }),
6709
+ {
6710
+ [`k-slider-${orientation}`]: orientation,
6711
+ "k-colorgradient-slider": type === "gradient",
6712
+ "k-range-slider": type === "range"
6713
+ }
6714
+ ),
6715
+ dir,
6716
+ children: [
6717
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
6718
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "k-slider-track-wrap", children: [
6719
+ showTicks && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
6720
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
6721
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "k-slider-selection" }),
6722
+ type === "range" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: classNames(
6723
+ "k-draghandle",
6724
+ "k-draghandle-start",
6725
+ stateClassNames(SLIDER_CLASSNAME, {
6726
+ hover,
6727
+ focus,
6728
+ active
6729
+ })
6730
+ ) }),
6731
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: classNames(
6732
+ "k-draghandle",
6733
+ `k-draghandle-${handlePosition}`,
6734
+ stateClassNames(SLIDER_CLASSNAME, {
6735
+ hover,
6736
+ focus,
6737
+ active
6738
+ })
6739
+ ) })
6740
+ ] })
6741
+ ] }),
6742
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
6743
+ ]
6744
+ }
6745
+ );
6746
+ };
6747
+ Slider.states = states37;
6748
+ Slider.options = options33;
6749
+ Slider.className = SLIDER_CLASSNAME;
6750
+ Slider.defaultProps = defaultProps33;
6751
+
6752
+ // src/slider/slider-tick.tsx
6753
+ var import_jsx_runtime107 = require("react/jsx-runtime");
6754
+ var SLIDER_TICK_CLASSNAME = "k-tick";
6755
+ var states38 = [];
6756
+ var options34 = {};
6757
+ var defaultProps34 = {
6758
+ label: false
6759
+ };
6760
+ var SliderTick = (props) => {
6761
+ const {
6762
+ style,
6763
+ label = defaultProps34.label,
6764
+ orientation,
6765
+ large,
6766
+ text,
6767
+ ...other
6768
+ } = props;
6769
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
6770
+ "li",
6771
+ {
6772
+ ...other,
6773
+ className: classNames(
6774
+ props.className,
6775
+ SLIDER_TICK_CLASSNAME,
6776
+ {
6777
+ [`k-tick-${orientation}`]: orientation,
6778
+ "k-tick-large": large
6779
+ }
6780
+ ),
6781
+ style,
6782
+ children: label && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { className: "k-label", children: text })
6783
+ }
6784
+ );
6785
+ };
6786
+ SliderTick.states = states38;
6787
+ SliderTick.options = options34;
6788
+ SliderTick.className = SLIDER_TICK_CLASSNAME;
6789
+ SliderTick.defaultProps = defaultProps34;
6790
+
6791
+ // src/slider/templates/slider-normal.tsx
6792
+ var import_jsx_runtime108 = require("react/jsx-runtime");
6793
+
6794
+ // src/slider/templates/slider-vertical.tsx
6795
+ var import_jsx_runtime109 = require("react/jsx-runtime");
6796
+
6797
+ // src/slider/templates/slider-range.tsx
6798
+ var import_jsx_runtime110 = require("react/jsx-runtime");
6799
+
6800
+ // src/slider/templates/slider-range-vertical.tsx
6801
+ var import_jsx_runtime111 = require("react/jsx-runtime");
6802
+
6803
+ // src/slider/templates/slider-gradient.tsx
6804
+ var import_jsx_runtime112 = require("react/jsx-runtime");
6805
+
6806
+ // src/slider/templates/slider-gradient-vertical.tsx
6807
+ var import_jsx_runtime113 = require("react/jsx-runtime");
6808
+ var SliderGradientVertical = (props) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
6809
+ Slider,
6810
+ {
6811
+ type: "gradient",
6812
+ orientation: "vertical",
6813
+ showButtons: false,
6814
+ showTicks: false,
6815
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
6816
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, { label: true, large: true, text: "0" }),
6817
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6818
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6819
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6820
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6821
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, { label: true, large: true, text: "5" }),
6822
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6823
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6824
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6825
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6826
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, { label: true, large: true, text: "10" })
6827
+ ] }),
6828
+ ...props
6829
+ }
6830
+ );
6831
+
6832
+ // src/textbox/textbox.spec.tsx
6833
+ var import_jsx_runtime114 = require("react/jsx-runtime");
6834
+ var TEXTBOX_CLASSNAME = `k-textbox`;
6835
+ var states39 = [
6836
+ States.hover,
6837
+ States.focus,
6838
+ States.valid,
6839
+ States.invalid,
6840
+ States.required,
6841
+ States.disabled,
6842
+ States.loading,
6843
+ States.readonly
6844
+ ];
6845
+ var options35 = {
6846
+ size: [Size.small, Size.medium, Size.large],
6847
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6848
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6849
+ };
6850
+ var defaultProps35 = {
6851
+ showClearButton: true,
6852
+ size: Input.defaultProps.size,
6853
+ rounded: Input.defaultProps.rounded,
6854
+ fillMode: Input.defaultProps.fillMode
6855
+ };
6856
+ var Textbox = (props) => {
6857
+ const {
6858
+ prefix,
6859
+ suffix,
6860
+ value,
6861
+ placeholder,
6862
+ size,
6863
+ rounded,
6864
+ fillMode,
6865
+ hover,
6866
+ focus,
6867
+ valid,
6868
+ invalid,
6869
+ required,
6870
+ loading,
6871
+ disabled,
6872
+ readonly,
6873
+ showClearButton = defaultProps35.showClearButton,
6874
+ ...other
6875
+ } = props;
6876
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
6877
+ Input,
6878
+ {
6879
+ ...other,
6880
+ size,
6881
+ rounded,
6882
+ fillMode,
6883
+ hover,
6884
+ focus,
6885
+ valid,
6886
+ invalid,
6887
+ required,
6888
+ loading,
6889
+ disabled,
6890
+ readonly,
6891
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
6892
+ children: [
6893
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
6894
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputPrefix, { children: prefix }),
6895
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputSeparator, {})
6896
+ ] }),
6897
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputInnerInput, { placeholder, value }),
6898
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
6899
+ InputValidationIcon,
6900
+ {
6901
+ valid,
6902
+ invalid,
6903
+ loading,
6904
+ disabled
6905
+ }
6906
+ ),
6907
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
6908
+ InputLoadingIcon,
6909
+ {
6910
+ loading,
6911
+ disabled
6912
+ }
6913
+ ),
6914
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
6915
+ InputClearValue,
6916
+ {
6917
+ loading,
6918
+ disabled,
6919
+ readonly,
6920
+ value
6921
+ }
6922
+ ),
6923
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
6924
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputSeparator, {}),
6925
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputSuffix, { children: suffix })
6926
+ ] })
6927
+ ]
6928
+ }
6929
+ );
6930
+ };
6931
+ Textbox.states = states39;
6932
+ Textbox.options = options35;
6933
+ Textbox.className = TEXTBOX_CLASSNAME;
6934
+ Textbox.defaultProps = defaultProps35;
6935
+
6936
+ // src/textbox/templates/textbox-normal.tsx
6937
+ var import_jsx_runtime115 = require("react/jsx-runtime");
6938
+
6939
+ // src/textbox/templates/textbox-prefix.tsx
6940
+ var import_jsx_runtime116 = require("react/jsx-runtime");
6941
+
6942
+ // src/textbox/templates/textbox-suffix.tsx
6943
+ var import_jsx_runtime117 = require("react/jsx-runtime");
6944
+
6945
+ // src/colorgradient/color-input.tsx
6946
+ var import_jsx_runtime118 = require("react/jsx-runtime");
6947
+ var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
6948
+ var states40 = [];
6949
+ var options36 = {};
6950
+ var defaultProps36 = {
6951
+ mode: "rgba"
6952
+ };
6953
+ var ColorInput = (props) => {
6954
+ const {
6955
+ mode = defaultProps36.mode
6956
+ } = props;
6957
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
6958
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-vstack", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
6959
+ mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
6960
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6961
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6962
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
6963
+ ] }),
6964
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6965
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6966
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
6967
+ ] }),
6968
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6969
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6970
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
6971
+ ] }),
6972
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6973
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
6974
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
6975
+ ] })
6976
+ ] }),
6977
+ mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
6978
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6979
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6980
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
6981
+ ] }),
6982
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6983
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6984
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
6985
+ ] }),
6986
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6987
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6988
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
6989
+ ] })
6990
+ ] }),
6991
+ mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
6992
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6993
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6994
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
6995
+ ] }),
6996
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
6997
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6998
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
6999
+ ] }),
7000
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7001
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7002
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
7003
+ ] }),
7004
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7005
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7006
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
7007
+ ] })
7008
+ ] }),
7009
+ mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
7010
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7011
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7012
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
7013
+ ] }),
7014
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7015
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7016
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
7017
+ ] }),
7018
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7019
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7020
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
7021
+ ] })
7022
+ ] }),
7023
+ mode === "hex" && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_jsx_runtime118.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack k-flex-1", children: [
7024
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
7025
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
7026
+ ] }) })
7027
+ ] });
7028
+ };
7029
+ ColorInput.states = states40;
7030
+ ColorInput.options = options36;
7031
+ ColorInput.className = COLOR_INPUT_CLASSNAME;
7032
+ ColorInput.defaultProps = defaultProps36;
7033
+
7034
+ // src/colorgradient/color-contrast.tsx
7035
+ var import_jsx_runtime119 = require("react/jsx-runtime");
7036
+ var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
7037
+ var states41 = [];
7038
+ var options37 = {};
7039
+ var defaultProps37 = {};
7040
+ var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
7041
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { className: "k-contrast-ratio", children: [
7042
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
7043
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
7044
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "check" }),
7045
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "check" })
7046
+ ] })
7047
+ ] }),
7048
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { children: [
7049
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { children: "AA: 4.5" }),
7050
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
7051
+ "Pass",
7052
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "check" })
7053
+ ] })
7054
+ ] }),
7055
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { children: [
7056
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { children: "AAA: 7.0" }),
7057
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
7058
+ "Fail",
7059
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "x" })
7060
+ ] })
7061
+ ] })
7062
+ ] });
7063
+ ColorContrast.states = states41;
7064
+ ColorContrast.options = options37;
7065
+ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
7066
+ ColorContrast.defaultProps = defaultProps37;
7067
+
7068
+ // src/colorgradient/color-gradient.spec.tsx
7069
+ var import_jsx_runtime120 = require("react/jsx-runtime");
7070
+ var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
7071
+ var states42 = [
7072
+ States.hover,
7073
+ States.focus,
7074
+ States.readonly,
7075
+ States.disabled
7076
+ ];
7077
+ var options38 = {};
7078
+ var defaultProps38 = {
7079
+ mode: "rgba",
7080
+ readonly: false,
7081
+ disabled: false,
7082
+ contrast: false,
7083
+ gradientStyle: { background: "rgb(255, 0, 0 )" },
7084
+ dragHandleStyle: { top: "50px", left: "73px" },
7085
+ alphaStyle: { background: "linear-gradient(to top, transparent, rgb(255, 0, 0))" }
7086
+ };
7087
+ var ColorGradient = (props) => {
7088
+ const {
7089
+ mode = defaultProps38.mode,
7090
+ readonly = defaultProps38.readonly,
7091
+ disabled = defaultProps38.disabled,
7092
+ dir,
7093
+ contrast = defaultProps38.contrast,
7094
+ hover,
7095
+ focus,
7096
+ hoverHandle,
7097
+ focusHandle,
7098
+ gradientStyle = defaultProps38.gradientStyle,
7099
+ dragHandleStyle = defaultProps38.dragHandleStyle,
7100
+ alphaStyle = defaultProps38.alphaStyle
7101
+ } = props;
7102
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: classNames(
7103
+ props.className,
7104
+ COLOR_GRADIENT_CLASSNAME,
7105
+ stateClassNames(COLOR_GRADIENT_CLASSNAME, {
7106
+ hover,
7107
+ focus,
7108
+ readonly,
7109
+ disabled
7110
+ })
7111
+ ), dir, children: [
7112
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
7113
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: classNames(
7114
+ "k-hsv-draghandle",
7115
+ "k-draghandle",
7116
+ {
7117
+ "k-hover": hoverHandle,
7118
+ "k-focus": focusHandle
7119
+ }
7120
+ ), style: dragHandleStyle }) }) }),
7121
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
7122
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
7123
+ mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
7124
+ ] })
7125
+ ] }),
7126
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(ColorInput, { mode: props.mode }),
7127
+ contrast && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(ColorContrast, {})
7128
+ ] });
7129
+ };
7130
+ ColorGradient.states = states42;
7131
+ ColorGradient.options = options38;
7132
+ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
7133
+ ColorGradient.defaultProps = defaultProps38;
7134
+
7135
+ // src/colorgradient/templates/colorgradient-normal.tsx
7136
+ var import_jsx_runtime121 = require("react/jsx-runtime");
7137
+
7138
+ // src/colorgradient/templates/colorgradient-contrast.tsx
7139
+ var import_jsx_runtime122 = require("react/jsx-runtime");
7140
+
7141
+ // src/colorpalette/colorpalette-row.tsx
7142
+ var import_jsx_runtime123 = require("react/jsx-runtime");
7143
+ var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("tr", { children: props.children });
7144
+
7145
+ // src/colorpalette/colorpalette-tile.tsx
7146
+ var import_jsx_runtime124 = require("react/jsx-runtime");
7147
+ var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
7148
+ var states43 = [
7149
+ States.hover,
7150
+ States.focus,
7151
+ States.selected
7152
+ ];
7153
+ var options39 = {};
7154
+ var ColorPaletteTile = (props) => {
7155
+ const {
7156
+ color,
7157
+ tileSize,
7158
+ hover,
7159
+ focus,
7160
+ selected,
7161
+ ...other
7162
+ } = props;
7163
+ const styles = {
7164
+ "background-color": color,
7165
+ "width": tileSize ? tileSize + "px" : "",
7166
+ "height": tileSize ? tileSize + "px" : ""
7167
+ };
7168
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7169
+ "td",
7170
+ {
7171
+ ...other,
7172
+ className: classNames(
7173
+ props.className,
7174
+ COLORPALETTETILE_CLASSNAME,
7175
+ stateClassNames(COLORPALETTETILE_CLASSNAME, {
7176
+ hover,
7177
+ focus,
7178
+ selected
7179
+ })
7180
+ ),
7181
+ style: styles
7182
+ }
7183
+ );
7184
+ };
7185
+ ColorPaletteTile.states = states43;
7186
+ ColorPaletteTile.options = options39;
7187
+ ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
7188
+
7189
+ // src/colorpalette/colorpalette.spec.tsx
7190
+ var import_jsx_runtime125 = require("react/jsx-runtime");
7191
+ var COLORPALETTE_CLASSNAME = `k-colorpalette`;
7192
+ var states44 = [
7193
+ States.disabled
7194
+ ];
7195
+ var options40 = {};
7196
+ var defaultProps39 = {
7197
+ columns: 10
7198
+ };
7199
+ var ColorPalette = (props) => {
7200
+ const {
7201
+ palette,
7202
+ columns = defaultProps39.columns,
7203
+ tileSize,
7204
+ disabled,
7205
+ ...other
7206
+ } = props;
7207
+ const newChildren = [];
7208
+ if (palette) {
7209
+ const cols = columns || palette.columns;
7210
+ const colors = palette.colors ? palette.colors : palette;
7211
+ if (Array.isArray(colors)) {
7212
+ Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
7213
+ const items = [];
7214
+ colors.slice(i * cols, (i + 1) * cols).map((color) => {
7215
+ items.push(/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(ColorPaletteTile, { color, tileSize }));
7216
+ });
7217
+ const row = /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(ColorPaletteRow, { children: items });
7218
+ newChildren.push(row);
7219
+ });
7220
+ }
7221
+ }
7222
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7223
+ "div",
7224
+ {
7225
+ ...other,
7226
+ className: classNames(
7227
+ props.className,
7228
+ COLORPALETTE_CLASSNAME,
7229
+ stateClassNames(COLORPALETTE_CLASSNAME, {
7230
+ disabled
7231
+ })
7232
+ ),
7233
+ children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
7234
+ }
7235
+ );
7236
+ };
7237
+ ColorPalette.states = states44;
7238
+ ColorPalette.options = options40;
7239
+ ColorPalette.className = COLORPALETTE_CLASSNAME;
7240
+ ColorPalette.defaultProps = defaultProps39;
7241
+
7242
+ // src/colorpalette/templates/colorpalette-normal.tsx
7243
+ var import_jsx_runtime126 = require("react/jsx-runtime");
7244
+
7245
+ // src/colorpalette/colorpalette-presets.tsx
7246
+ var PALETTEPRESETS = {
7247
+ basic: {
7248
+ colors: ["#000000", "#7f7f7f", "#880015", "#ed1c24", "#ff7f27", "#fff200", "#22b14c", "#00a2e8", "#3f48cc", "#a349a4", "#ffffff", "#c3c3c3", "#b97a57", "#ffaec9", "#ffc90e", "#efe4b0", "#b5e61d", "#99d9ea", "#7092be", "#c8bfe7"],
7249
+ columns: 10
7250
+ },
7251
+ office: {
7252
+ colors: ["#ffffff", "#000000", "#e6e6e6", "#435569", "#4371c4", "#ed7e32", "#a5a4a5", "#febf04", "#5a9bd5", "#71ae48", "#f2f2f3", "#7f7f7f", "#d1cece", "#d5dde3", "#dae1f4", "#fce5d4", "#deeded", "#fff2cc", "#deeaf6", "#e1efd9", "#d7d8d8", "#585959", "#aeabab", "#adbaca", "#b4c5e7", "#f6caac", "#dbdbdb", "#ffe498", "#bcd6ee", "#c5e0b2", "#bfbfc0", "#3f3f3f", "#767070", "#8595b1", "#8fabdb", "#f5b183", "#c9c8c9", "#fed965", "#9bc4e5", "#a8d08d", "#a5a5a6", "#262625", "#393939", "#334050", "#2e5496", "#c45a11", "#7b7b7a", "#bf9000", "#2f75b5", "#548235", "#7f7f7f", "#0b0c0c", "#161616", "#222a34", "#203764", "#843d0b", "#525252", "#7f6000", "#1d4d79", "#375623"],
7253
+ columns: 10
7254
+ },
7255
+ apex: {
7256
+ colors: ["#ffffff", "#000000", "#c9c2d1", "#69676d", "#ceb966", "#9cb084", "#6bb1c9", "#6585cf", "#7e6bc9", "#a379bb", "#f2f2f2", "#7f7f7f", "#f4f2f5", "#e0e0e2", "#f5f1e0", "#ebefe6", "#e1eff4", "#e0e6f5", "#e5e1f4", "#ece4f1", "#d8d8d8", "#595959", "#e9e6ec", "#c2c1c5", "#ebe3c1", "#d7dfcd", "#c3dfe9", "#c1ceeb", "#cbc3e9", "#dac9e3", "#bfbfbf", "#3f3f3f", "#dedae3", "#a4a3a8", "#e1d5a3", "#c3cfb5", "#a6d0de", "#a2b5e2", "#b1a6de", "#c7aed6", "#a5a5a5", "#262626", "#9688a5", "#4e4d51", "#ae9638", "#758c5a", "#3d8da9", "#365bb0", "#533da9", "#7d4d99", "#7f7f7f", "#0c0c0c", "#635672", "#343336", "#746425", "#4e5d3c", "#295e70", "#243c75", "#372970", "#533366"],
7257
+ columns: 10
7258
+ },
7259
+ austin: {
7260
+ colors: ["#ffffff", "#000000", "#caf278", "#3e3d2d", "#94c600", "#71685a", "#ff6700", "#909465", "#956b43", "#fea022", "#f2f2f2", "#7f7f7f", "#f4fce4", "#dddcd0", "#efffc0", "#e3e1dc", "#ffe0cb", "#e8e9df", "#ece1d6", "#feecd2", "#d8d8d8", "#595959", "#e9f9c9", "#bbb9a1", "#dfff82", "#c8c3ba", "#ffc299", "#d2d4c0", "#dac3ad", "#fed9a6", "#bfbfbf", "#3f3f3f", "#dff7ae", "#ada598", "#cfff43", "#ada598", "#ffa365", "#bcbfa1", "#c8a585", "#fec67a", "#a5a5a5", "#262626", "#a9ea25", "#2e2d21", "#6f9400", "#544e43", "#bf4d00", "#6c6f4b", "#6f5032", "#d77b00", "#7f7f7f", "#0c0c0c", "#74a50f", "#1f1e16", "#4a6300", "#38342d", "#7f3300", "#484a32", "#4a3521", "#8f5200"],
7261
+ columns: 10
7262
+ },
7263
+ clarity: {
7264
+ colors: ["#ffffff", "#292934", "#f3f2dc", "#d2533c", "#93a299", "#ad8f67", "#726056", "#4c5a6a", "#808da0", "#79463d", "#f2f2f2", "#e7e7ec", "#e7e5b9", "#f6dcd8", "#e9ecea", "#eee8e0", "#e4dedb", "#d8dde3", "#e5e8ec", "#e9d6d3", "#d8d8d8", "#c4c4d1", "#d5d185", "#edbab1", "#d3d9d6", "#ded2c2", "#c9beb8", "#b2bcc8", "#ccd1d9", "#d3aea7", "#bfbfbf", "#8a8aa3", "#aca73b", "#e4978a", "#bec7c1", "#cdbba3", "#af9e94", "#8c9bac", "#b2bac6", "#bd857c", "#a5a5a5", "#56566e", "#56531d", "#a43925", "#6b7c72", "#866b48", "#554840", "#39434f", "#5c697b", "#5a342d", "#7f7f7f", "#3b3b4b", "#22210b", "#6d2619", "#47534c", "#594730", "#39302b", "#262d35", "#3d4652", "#3c231e"],
7265
+ columns: 10
7266
+ },
7267
+ slipstream: {
7268
+ colors: ["#ffffff", "#000000", "#b4dcfa", "#212745", "#4e67c8", "#5eccf3", "#a7ea52", "#5dceaf", "#ff8021", "#f14124", "#f2f2f2", "#7f7f7f", "#8bc9f7", "#c7cce4", "#dbe0f4", "#def4fc", "#edfadc", "#def5ef", "#ffe5d2", "#fcd9d3", "#d8d8d8", "#595959", "#4facf3", "#909aca", "#b8c2e9", "#beeafa", "#dbf6b9", "#beebdf", "#ffcca6", "#f9b3a7", "#bfbfbf", "#3f3f3f", "#0d78c9", "#5967af", "#94a3de", "#9ee0f7", "#caf297", "#9de1cf", "#ffb279", "#f68d7b", "#a5a5a5", "#262626", "#063c64", "#181d33", "#31479f", "#11b2eb", "#81d319", "#34ac8b", "#d85c00", "#c3260c", "#7f7f7f", "#0c0c0c", "#021828", "#101322", "#202f6a", "#0b769c", "#568c11", "#22725c", "#903d00", "#821908"],
7269
+ columns: 10
7270
+ },
7271
+ metro: {
7272
+ colors: ["#ffffff", "#000000", "#d6ecff", "#4e5b6f", "#7fd13b", "#ea157a", "#feb80a", "#00addc", "#738ac8", "#1ab39f", "#f2f2f2", "#7f7f7f", "#a7d6ff", "#d9dde4", "#e5f5d7", "#fad0e4", "#fef0cd", "#c5f2ff", "#e2e7f4", "#c9f7f1", "#d8d8d8", "#595959", "#60b5ff", "#b3bcca", "#cbecb0", "#f6a1c9", "#fee29c", "#8be6ff", "#c7d0e9", "#94efe3", "#bfbfbf", "#3f3f3f", "#007dea", "#8d9baf", "#b2e389", "#f272af", "#fed46b", "#51d9ff", "#aab8de", "#5fe7d5", "#a5a5a5", "#262626", "#003e75", "#3a4453", "#5ea226", "#af0f5b", "#c58c00", "#0081a5", "#425ea9", "#138677", "#7f7f7f", "#0c0c0c", "#00192e", "#272d37", "#3f6c19", "#750a3d", "#835d00", "#00566e", "#2c3f71", "#0c594f"],
7273
+ columns: 10
7274
+ },
7275
+ flow: {
7276
+ colors: ["#ffffff", "#000000", "#dbf5f9", "#04617b", "#0f6fc6", "#009dd9", "#0bd0d9", "#10cf9b", "#7cca62", "#a5c249", "#f2f2f2", "#7f7f7f", "#b2e9f2", "#b4ecfc", "#c7e2fa", "#c4eeff", "#c9fafc", "#c9faed", "#e4f4df", "#edf2da", "#d8d8d8", "#595959", "#76d9e8", "#6adafa", "#90c6f6", "#89deff", "#93f5f9", "#94f6db", "#cae9c0", "#dbe6b6", "#bfbfbf", "#3f3f3f", "#21b2c8", "#20c8f7", "#59a9f2", "#4fceff", "#5df0f6", "#5ff2ca", "#b0dfa0", "#c9da91", "#a5a5a5", "#262626", "#105964", "#02485c", "#0b5394", "#0075a2", "#089ca2", "#0b9b74", "#54a838", "#7e9532", "#7f7f7f", "#0c0c0c", "#062328", "#01303d", "#073763", "#004e6c", "#05686c", "#07674d", "#387025", "#546321"],
7277
+ columns: 10
7278
+ },
7279
+ hardcover: {
7280
+ colors: ["#ffffff", "#000000", "#ece9c6", "#895d1d", "#873624", "#d6862d", "#d0be40", "#877f6c", "#972109", "#aeb795", "#f2f2f2", "#7f7f7f", "#e1dca5", "#f2e0c6", "#f0d0c9", "#f6e6d5", "#f5f2d8", "#e7e5e1", "#fbc7bc", "#eef0e9", "#d8d8d8", "#595959", "#d0c974", "#e6c28d", "#e2a293", "#eeceaa", "#ece5b2", "#cfccc3", "#f78f7a", "#dee2d4", "#bfbfbf", "#3f3f3f", "#a29a36", "#daa454", "#d4735e", "#e6b681", "#e2d88c", "#b7b2a5", "#f35838", "#ced3bf", "#a5a5a5", "#262626", "#514d1b", "#664515", "#65281a", "#a2641f", "#a39428", "#655f50", "#711806", "#879464", "#7f7f7f", "#0c0c0c", "#201e0a", "#442e0e", "#431b11", "#6c4315", "#6d621a", "#433f35", "#4b1004", "#5a6243"],
7281
+ columns: 10
7282
+ },
7283
+ trek: {
7284
+ colors: ["#ffffff", "#000000", "#fbeec9", "#4e3b30", "#f0a22e", "#a5644e", "#b58b80", "#c3986d", "#a19574", "#c17529", "#f2f2f2", "#7f7f7f", "#f7e09e", "#e1d6cf", "#fcecd5", "#eddfda", "#f0e7e5", "#f3eae1", "#ece9e3", "#f5e3d1", "#d8d8d8", "#595959", "#f3cc5f", "#c4ad9f", "#f9d9ab", "#dcc0b6", "#e1d0cc", "#e7d5c4", "#d9d4c7", "#ebc7a3", "#bfbfbf", "#3f3f3f", "#d29f0f", "#a78470", "#f6c781", "#cba092", "#d2b9b2", "#dbc1a7", "#c6bfab", "#e1ac76", "#a5a5a5", "#262626", "#694f07", "#3a2c24", "#c87d0e", "#7b4b3a", "#926255", "#a17242", "#7b7153", "#90571e", "#7f7f7f", "#0c0c0c", "#2a1f03", "#271d18", "#855309", "#523226", "#614138", "#6b4c2c", "#524b37", "#603a14"],
7285
+ columns: 10
7286
+ },
7287
+ verve: {
7288
+ colors: ["#ffffff", "#000000", "#d2d2d2", "#666666", "#ff388c", "#e40059", "#9c007f", "#68007f", "#005bd3", "#00349e", "#f2f2f2", "#7f7f7f", "#bdbdbd", "#e0e0e0", "#ffd7e8", "#ffc6dc", "#ffb8f1", "#f1b2ff", "#c3dcff", "#b8cfff", "#d8d8d8", "#595959", "#9d9d9d", "#c1c1c1", "#ffafd1", "#ff8eba", "#ff71e4", "#e365ff", "#87baff", "#72a0ff", "#bfbfbf", "#3f3f3f", "#696969", "#a3a3a3", "#ff87ba", "#ff5597", "#ff2ad7", "#d519ff", "#4b98ff", "#2b71ff", "#a5a5a5", "#262626", "#343434", "#4c4c4c", "#e90062", "#ab0042", "#75005f", "#4e005f", "#00449e", "#002676", "#7f7f7f", "#0c0c0c", "#151515", "#333333", "#9b0041", "#72002c", "#4e003f", "#34003f", "#002d69", "#00194f"],
7289
+ columns: 10
7290
+ },
7291
+ monochrome: {
7292
+ colors: ["#000000", "#1a1a1a", "#333333", "#4d4d4d", "#666666", "#808080", "#999999", "#b3b3b3", "#cccccc", "#e6e6e6", "#f2f2f2", "#ffffff"],
7293
+ columns: 12
7294
+ }
7295
+ };
7296
+
7297
+ // src/coloreditor/color-editor.spec.tsx
7298
+ var import_jsx_runtime127 = require("react/jsx-runtime");
7299
+ var COLOREDITOR_CLASSNAME = "k-coloreditor";
7300
+ var states45 = [
7301
+ States.focus
7302
+ ];
7303
+ var options41 = {};
7304
+ var defaultProps40 = {
7305
+ view: "gradient",
7306
+ currentColor: "fuchsia",
7307
+ palette: PALETTEPRESETS.office
7308
+ };
7309
+ var ColorEditor = (props) => {
7310
+ const {
7311
+ view = defaultProps40.view,
7312
+ color,
7313
+ currentColor = defaultProps40.currentColor,
7314
+ focus,
7315
+ focusView,
7316
+ dir,
7317
+ group,
7318
+ palette = defaultProps40.palette
7319
+ } = props;
7320
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: classNames(
7321
+ props.className,
7322
+ "k-flatcolorpicker",
7323
+ COLOREDITOR_CLASSNAME,
7324
+ stateClassNames(COLOREDITOR_CLASSNAME, { focus })
7325
+ ), dir, children: [
7326
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
7327
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(ButtonGroup, { children: [
7328
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
7329
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
7330
+ ] }) }),
7331
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { className: "k-spacer" }),
7332
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
7333
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
7334
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
7335
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
7336
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
7337
+ ] })
7338
+ ] })
7339
+ ] }),
7340
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorGradient, { focus: focusView }) : /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPalette, { palette }) }),
7341
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
7342
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
7343
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
7344
+ ] })
7345
+ ] });
7346
+ };
7347
+ ColorEditor.states = states45;
7348
+ ColorEditor.options = options41;
7349
+ ColorEditor.className = COLOREDITOR_CLASSNAME;
7350
+ ColorEditor.defaultProps = defaultProps40;
7351
+
7352
+ // src/coloreditor/templates/coloreditor-normal.tsx
7353
+ var import_jsx_runtime128 = require("react/jsx-runtime");
7354
+
7355
+ // src/coloreditor/templates/coloreditor-palette.tsx
7356
+ var import_jsx_runtime129 = require("react/jsx-runtime");
7357
+
7358
+ // src/coloreditor/templates/coloreditor-group.tsx
7359
+ var import_jsx_runtime130 = require("react/jsx-runtime");
7360
+
7361
+ // src/coloreditor/templates/coloreditor-palette-group.tsx
7362
+ var import_jsx_runtime131 = require("react/jsx-runtime");
7363
+
7364
+ // src/colorpicker/templates/colorpicker-popup-gradient.tsx
7365
+ var import_jsx_runtime132 = require("react/jsx-runtime");
7366
+
7367
+ // src/colorpicker/templates/colorpicker-popup-palette.tsx
7368
+ var import_jsx_runtime133 = require("react/jsx-runtime");
7369
+
7370
+ // src/action-sheet/action-sheet.spec.tsx
7371
+ var import_jsx_runtime134 = require("react/jsx-runtime");
7372
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
7373
+ var states46 = [];
7374
+ var options42 = {};
7375
+ var defaultProps41 = {
7376
+ side: "bottom",
7377
+ fullscreen: false,
7378
+ adaptive: false,
7379
+ overlay: true
7380
+ };
7381
+ var ActionSheet = (props) => {
7382
+ const {
7383
+ children,
7384
+ title,
7385
+ header,
7386
+ footer,
7387
+ actions,
7388
+ side = defaultProps41.side,
7389
+ fullscreen = defaultProps41.fullscreen,
7390
+ adaptive = defaultProps41.adaptive,
7391
+ overlay = defaultProps41.overlay,
7392
+ ...other
7393
+ } = props;
7394
+ const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
7395
+ const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
7396
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
7397
+ switch (child.type) {
7398
+ case ActionSheetHeader:
7399
+ case ActionSheetFooter:
7400
+ return false;
7401
+ default:
7402
+ return true;
7403
+ }
7404
+ return true;
7405
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {});
7406
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-actionsheet-container", children: [
7407
+ overlay && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: "k-overlay" }),
7408
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
7409
+ AnimationContainer,
7410
+ {
7411
+ animationStyle: {
7412
+ [`${fullscreen === true ? "top" : side}`]: 0,
7413
+ [`${fullscreen === true ? "width" : null}`]: "100%",
7414
+ [`${fullscreen === true ? "height" : null}`]: "100%",
7415
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
7416
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
7417
+ },
7418
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
7419
+ "div",
7420
+ {
7421
+ ...other,
7422
+ className: classNames(
7423
+ props.className,
7424
+ ACTIONSHEET_CLASSNAME,
7425
+ {
7426
+ [`k-actionsheet-${side}`]: fullscreen === false,
7427
+ "k-actionsheet-fullscreen": fullscreen === true,
7428
+ "k-adaptive-actionsheet": adaptive
7429
+ }
7430
+ ),
7431
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, { children: [
7432
+ _ActionSheetHeader,
7433
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: classNames(
7434
+ "k-actionsheet-content",
7435
+ {
7436
+ "!k-overflow-hidden": adaptive
7437
+ }
7438
+ ), children: _ActionSheetContent }),
7439
+ _ActionSheetFooter
7440
+ ] })
7441
+ }
7442
+ )
7443
+ }
7444
+ )
7445
+ ] });
7446
+ };
7447
+ ActionSheet.states = states46;
7448
+ ActionSheet.options = options42;
7449
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
7450
+ ActionSheet.defaultProps = defaultProps41;
7451
+
7452
+ // src/action-sheet/actionsheet-header.tsx
7453
+ var import_jsx_runtime135 = require("react/jsx-runtime");
7454
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
7455
+ var ActionSheetHeader = (props) => {
7456
+ const {
7457
+ title,
7458
+ subTitle,
7459
+ actions,
7460
+ filter,
7461
+ ...other
7462
+ } = props;
7463
+ return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
7464
+ "div",
7465
+ {
7466
+ ...other,
7467
+ className: classNames(
7468
+ props.className,
7469
+ ACTIONSHEETHEADER_CLASSNAME
7470
+ ),
7471
+ children: /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, { children: [
7472
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
7473
+ !props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { className: "k-actionsheet-title", children: [
7474
+ title !== "" && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-text-center", children: title }),
7475
+ subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
7476
+ ] }) }),
7477
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
7478
+ actions && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
7479
+ ] }),
7480
+ filter && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
7481
+ ] })
7482
+ }
7483
+ );
7484
+ };
7485
+
7486
+ // src/action-sheet/actionsheet-footer.tsx
7487
+ var import_jsx_runtime136 = require("react/jsx-runtime");
7488
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
7489
+ var ActionSheetFooter = (props) => {
7490
+ const {
7491
+ actions,
7492
+ ...other
7493
+ } = props;
7494
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
7495
+ action_buttons_spec_default,
7496
+ {
7497
+ ...other,
7498
+ className: classNames(
7499
+ props.className,
7500
+ ACTIONSHEETFOOTER_CLASSNAME
7501
+ ),
7502
+ alignment: "stretched",
7503
+ children: /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_jsx_runtime136.Fragment, { children: [
7504
+ actions && actions.map((action, index) => {
7505
+ if (action === "|") {
7506
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { className: "k-separator" }, index);
7507
+ }
7508
+ if (action === " ") {
7509
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { className: "k-spacer" }, index);
7510
+ }
7511
+ const importantFlag = action.startsWith("!");
7512
+ const actionName = importantFlag ? action.substring(1) : action;
7513
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
7514
+ }),
7515
+ !actions && props.children
7516
+ ] })
7517
+ }
7518
+ );
7519
+ };
7520
+
7521
+ // src/action-sheet/actionsheet-items.tsx
7522
+ var import_jsx_runtime137 = require("react/jsx-runtime");
7523
+ var ActionSheetItems = (props) => {
7524
+ const {
7525
+ ...other
7526
+ } = props;
7527
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
7528
+ "div",
7529
+ {
7530
+ ...other,
7531
+ className: classNames(
7532
+ props.className,
7533
+ "k-list-ul"
7534
+ ),
7535
+ children: props.children
7536
+ }
7537
+ );
7538
+ };
7539
+
7540
+ // src/action-sheet/actionsheet-item.tsx
7541
+ var import_jsx_runtime138 = require("react/jsx-runtime");
7542
+ var states47 = [
7543
+ States.hover,
7544
+ States.focus,
7545
+ States.selected,
7546
+ States.disabled
7547
+ ];
7548
+
7549
+ // src/combobox/combobox.spec.tsx
7550
+ var import_jsx_runtime139 = require("react/jsx-runtime");
7551
+ var COMBOBOX_CLASSNAME = `k-combobox`;
7552
+ var states48 = [
7553
+ States.hover,
7554
+ States.focus,
7555
+ States.valid,
7556
+ States.invalid,
7557
+ States.loading,
7558
+ States.required,
7559
+ States.disabled,
7560
+ States.readonly
7561
+ ];
7562
+ var defaultProps42 = {
7563
+ size: Input.defaultProps.size,
7564
+ rounded: Input.defaultProps.rounded,
7565
+ fillMode: Input.defaultProps.fillMode
7566
+ };
7567
+ var options43 = {
7568
+ size: [Size.small, Size.medium, Size.large],
7569
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7570
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
7571
+ };
7572
+ var Combobox = (props) => {
7573
+ const {
7574
+ prefix,
7575
+ suffix,
7576
+ value,
7577
+ placeholder,
7578
+ size,
7579
+ rounded,
7580
+ fillMode,
7581
+ hover,
7582
+ focus,
7583
+ valid,
7584
+ invalid,
7585
+ required,
7586
+ loading,
7587
+ disabled,
7588
+ popup,
7589
+ opened,
7590
+ readonly,
7591
+ adaptive,
7592
+ adaptiveSettings,
7593
+ ...other
7594
+ } = props;
7595
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_jsx_runtime139.Fragment, { children: [
7596
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(
7597
+ Input,
7598
+ {
7599
+ ...other,
7600
+ size,
7601
+ rounded,
7602
+ fillMode,
7603
+ hover,
7604
+ focus,
7605
+ valid,
7606
+ invalid,
7607
+ required,
7608
+ loading,
7609
+ disabled,
7610
+ readonly,
7611
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
7612
+ children: [
7613
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_jsx_runtime139.Fragment, { children: [
7614
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputPrefix, { children: prefix }),
7615
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputSeparator, {})
7616
+ ] }),
7617
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputInnerInput, { placeholder, value }),
7618
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7619
+ InputValidationIcon,
7620
+ {
7621
+ valid,
7622
+ invalid,
7623
+ loading,
7624
+ disabled
7625
+ }
7626
+ ),
7627
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7628
+ InputLoadingIcon,
7629
+ {
7630
+ loading,
7631
+ disabled
7632
+ }
7633
+ ),
7634
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7635
+ InputClearValue,
7636
+ {
7637
+ loading,
7638
+ disabled,
7639
+ readonly,
7640
+ value
7641
+ }
7642
+ ),
7643
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_jsx_runtime139.Fragment, { children: [
7644
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputSeparator, {}),
7645
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputSuffix, { children: suffix })
7646
+ ] }),
7647
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7648
+ Button,
7649
+ {
7650
+ className: "k-input-button",
7651
+ icon: "caret-alt-down",
7652
+ rounded: null,
7653
+ size,
7654
+ fillMode
7655
+ }
7656
+ )
7657
+ ]
7658
+ }
7659
+ ),
7660
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
7661
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
7662
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7663
+ ActionSheetHeader,
7664
+ {
7665
+ actions: ["x"],
7666
+ filter: true,
7667
+ title: "Select Item"
7668
+ }
7669
+ ),
7670
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(List, { size: "large", children: [
7671
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ListItem, { text: "List item" }),
7672
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ListItem, { text: "List item" }),
7673
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ListItem, { text: "List item" })
7674
+ ] }) })
7675
+ ] })
7676
+ ] });
7677
+ };
7678
+ Combobox.states = states48;
7679
+ Combobox.options = options43;
7680
+ Combobox.className = COMBOBOX_CLASSNAME;
7681
+ Combobox.defaultProps = defaultProps42;
7682
+
7683
+ // src/combobox/templates/combobox-normal.tsx
7684
+ var import_jsx_runtime140 = require("react/jsx-runtime");
7685
+
7686
+ // src/combobox/templates/combobox-popup.tsx
7687
+ var import_jsx_runtime141 = require("react/jsx-runtime");
7688
+
7689
+ // src/combobox/templates/combobox-grouping.tsx
7690
+ var import_jsx_runtime142 = require("react/jsx-runtime");
7691
+
7692
+ // src/combobox/templates/combobox-adaptive.tsx
7693
+ var import_jsx_runtime143 = require("react/jsx-runtime");
7694
+
7695
+ // src/combobox/templates/combobox-prefix.tsx
7696
+ var import_jsx_runtime144 = require("react/jsx-runtime");
7697
+
7698
+ // src/combobox/templates/combobox-suffix.tsx
7699
+ var import_jsx_runtime145 = require("react/jsx-runtime");
7700
+
7701
+ // src/menu-button/menu-button.spec.tsx
7702
+ var import_jsx_runtime146 = require("react/jsx-runtime");
7703
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
7704
+ var states49 = [
7705
+ States.hover,
7706
+ States.focus,
7707
+ States.active,
7708
+ States.selected,
7709
+ States.disabled
7710
+ ];
7711
+ var options44 = {
7712
+ size: [Size.small, Size.medium, Size.large],
7713
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7714
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
7715
+ themeColor: [
7716
+ ThemeColor.base,
7717
+ ThemeColor.primary,
7718
+ ThemeColor.secondary,
7719
+ ThemeColor.tertiary,
7720
+ ThemeColor.success,
7721
+ ThemeColor.warning,
7722
+ ThemeColor.error,
7723
+ ThemeColor.info,
7724
+ ThemeColor.light,
7725
+ ThemeColor.dark,
7726
+ ThemeColor.inverse
7727
+ ]
7728
+ };
7729
+ var defaultProps43 = {
7730
+ size: Size.medium,
7731
+ rounded: Roundness.medium,
7732
+ fillMode: FillMode.solid,
7733
+ themeColor: ThemeColor.base,
7734
+ showArrow: true,
7735
+ arrowIconName: "caret-alt-down"
7736
+ };
7737
+ var MenuButton = (props) => {
7738
+ const {
7739
+ size = defaultProps43.size,
7740
+ rounded = defaultProps43.rounded,
7741
+ fillMode = defaultProps43.fillMode,
7742
+ themeColor = defaultProps43.themeColor,
7743
+ hover,
7744
+ focus,
7745
+ active,
7746
+ selected,
7747
+ disabled,
7748
+ icon,
7749
+ text,
7750
+ showArrow = defaultProps43.showArrow,
7751
+ arrowIconName = defaultProps43.arrowIconName,
7752
+ popup,
7753
+ opened,
7754
+ ...other
7755
+ } = props;
7756
+ return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(import_jsx_runtime146.Fragment, { children: [
7757
+ /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
7758
+ Button,
7759
+ {
7760
+ ...other,
7761
+ className: classNames(
7762
+ props.className,
7763
+ MENUBUTTON_CLASSNAME
7764
+ ),
7765
+ text,
7766
+ size,
7767
+ rounded,
7768
+ fillMode,
7769
+ themeColor,
7770
+ hover,
7771
+ focus,
7772
+ active,
7773
+ selected,
7774
+ disabled,
7775
+ icon,
7776
+ showArrow,
7777
+ arrowIconName
7778
+ }
7779
+ ),
7780
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Popup, { className: "k-menu-popup", children: popup })
7781
+ ] });
7782
+ };
7783
+ MenuButton.states = states49;
7784
+ MenuButton.options = options44;
7785
+ MenuButton.className = MENUBUTTON_CLASSNAME;
7786
+ MenuButton.defaultProps = defaultProps43;
7787
+
7788
+ // src/menu-button/templates/icon-menu-button.tsx
7789
+ var import_jsx_runtime147 = require("react/jsx-runtime");
7790
+
7791
+ // src/menu-button/templates/icon-text-menu-button.tsx
7792
+ var import_jsx_runtime148 = require("react/jsx-runtime");
7793
+
7794
+ // src/menu-button/templates/text-menu-button.tsx
7795
+ var import_jsx_runtime149 = require("react/jsx-runtime");
7796
+
7797
+ // src/menu/menu-item.spec.tsx
7798
+ var import_jsx_runtime150 = require("react/jsx-runtime");
7799
+ var MENUITEM_CLASSNAME = `k-menu-item`;
7800
+ var states50 = [
7801
+ States.hover,
7802
+ States.focus,
7803
+ States.active,
7804
+ States.selected,
7805
+ States.disabled
7806
+ ];
7807
+ var options45 = {};
7808
+ var defaultProps44 = {
7809
+ dir: "ltr"
7810
+ };
7811
+ var MenuItem = (props) => {
7812
+ const {
7813
+ hover,
7814
+ focus,
7815
+ active,
7816
+ selected,
7817
+ disabled,
7818
+ icon,
7819
+ text,
7820
+ showArrow,
7821
+ arrowIconName,
7822
+ dir = defaultProps44.dir,
7823
+ children,
7824
+ ...other
7825
+ } = props;
7826
+ const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(import_jsx_runtime150.Fragment, {});
7827
+ if (children) {
7828
+ children.forEach((child) => {
7829
+ const component = child.type;
7830
+ if (component === "MenuItemContent") {
7831
+ contentTemplate.props.children.push(child);
7832
+ return;
7833
+ }
7834
+ });
7835
+ }
7836
+ let expandArrowName = arrowIconName;
7837
+ if (!expandArrowName) {
7838
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
7839
+ }
7840
+ return /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(
7841
+ "li",
7842
+ {
7843
+ ...other,
7844
+ className: classNames(
7845
+ props.className,
7846
+ MENUITEM_CLASSNAME,
7847
+ //TODO
7848
+ "k-item",
7849
+ stateClassNames(MENUITEM_CLASSNAME, {
7850
+ focus,
7851
+ disabled
7852
+ })
7853
+ ),
7854
+ children: [
7855
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(
7856
+ "span",
7857
+ {
7858
+ className: classNames(
7859
+ "k-link k-menu-link",
7860
+ stateClassNames("k-menu-link", {
7861
+ hover,
7862
+ active,
7863
+ selected,
7864
+ disabled
7865
+ })
7866
+ ),
7867
+ children: [
7868
+ icon && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Icon, { className: "k-menu-link-icon", icon }),
7869
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)("span", { className: "k-menu-link-text", children: text }),
7870
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Icon, { icon: expandArrowName }) })
7871
+ ]
7872
+ }
7873
+ ),
7874
+ contentTemplate
7875
+ ]
7876
+ }
7877
+ );
7878
+ };
7879
+ MenuItem.states = states50;
7880
+ MenuItem.options = options45;
7881
+ MenuItem.className = MENUITEM_CLASSNAME;
7882
+ MenuItem.defaultProps = defaultProps44;
7883
+ var menu_item_spec_default = MenuItem;
7884
+
7885
+ // src/menu/menu-separator.spec.tsx
7886
+ var import_jsx_runtime151 = require("react/jsx-runtime");
7887
+ var SEPARATOR_CLASSNAME = `k-separator`;
7888
+ var defaultProps45 = {
7889
+ orientation: "horizontal"
7890
+ };
7891
+ var MenuSeparator = (props) => {
7892
+ const {
7893
+ orientation = defaultProps45.orientation,
7894
+ ...other
7895
+ } = props;
7896
+ return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
7897
+ "li",
7898
+ {
7899
+ ...other,
7900
+ className: classNames(
7901
+ props.className,
7902
+ "k-item",
7903
+ SEPARATOR_CLASSNAME,
7904
+ {
7905
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
7906
+ }
7907
+ )
7908
+ }
7909
+ );
7910
+ };
7911
+ var menu_separator_spec_default = MenuSeparator;
7912
+
7913
+ // src/menu/menu-item-content.tsx
7914
+ var import_jsx_runtime152 = require("react/jsx-runtime");
7915
+
7916
+ // src/menu/menu-list.spec.tsx
7917
+ var import_jsx_runtime153 = require("react/jsx-runtime");
7918
+ var import_react = require("react");
7919
+ var MENULIST_CLASSNAME = `k-menu-group`;
7920
+ var states51 = [];
7921
+ var options46 = {
7922
+ size: [Size.small, Size.medium, Size.large]
7923
+ };
7924
+ var defaultProps46 = {
7925
+ size: Size.medium,
7926
+ dir: "ltr"
7927
+ };
7928
+ var MenuList = (props) => {
7929
+ const {
7930
+ children,
7931
+ size = defaultProps46.size,
7932
+ dir = defaultProps46.dir,
7933
+ ...other
7934
+ } = props;
7935
+ const listChildren = [];
7936
+ if (children) {
7937
+ if (Array.isArray(children)) {
7938
+ children.map((child, index) => {
7939
+ if (child.type === menu_item_spec_default) {
7940
+ listChildren.push(
7941
+ /* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
7942
+ );
7943
+ } else if (child.type === menu_separator_spec_default) {
7944
+ listChildren.push(
7945
+ /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(menu_separator_spec_default, {})
7946
+ );
7947
+ } else {
7948
+ listChildren.push(child);
7949
+ }
7950
+ });
7951
+ }
7952
+ }
7953
+ return /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
7954
+ "ul",
7955
+ {
7956
+ ...other,
7957
+ className: classNames(
7958
+ props.className,
7959
+ MENULIST_CLASSNAME,
7960
+ optionClassNames(MENULIST_CLASSNAME, {
7961
+ size
7962
+ })
7963
+ ),
7964
+ children: listChildren
7965
+ }
7966
+ );
7967
+ };
7968
+ MenuList.states = states51;
7969
+ MenuList.options = options46;
7970
+ MenuList.className = MENULIST_CLASSNAME;
7971
+ MenuList.defaultProps = defaultProps46;
7972
+
7973
+ // src/menu-button/templates/menu-button-popup.tsx
7974
+ var import_jsx_runtime154 = require("react/jsx-runtime");
7975
+
7976
+ // src/split-button/split-button.spec.tsx
7977
+ var import_jsx_runtime155 = require("react/jsx-runtime");
7978
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
7979
+ var states52 = [
7980
+ States.hover,
7981
+ States.focus,
7982
+ States.active,
7983
+ States.selected,
7984
+ States.disabled
7985
+ ];
7986
+ var options47 = {
7987
+ size: [Size.small, Size.medium, Size.large],
7988
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7989
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
7990
+ themeColor: [
7991
+ ThemeColor.base,
7992
+ ThemeColor.primary,
7993
+ ThemeColor.secondary,
7994
+ ThemeColor.tertiary,
7995
+ ThemeColor.success,
7996
+ ThemeColor.warning,
7997
+ ThemeColor.error,
7998
+ ThemeColor.info,
7999
+ ThemeColor.light,
8000
+ ThemeColor.dark,
8001
+ ThemeColor.inverse
8002
+ ]
8003
+ };
8004
+ var defaultProps47 = {
8005
+ size: Size.medium,
8006
+ rounded: Roundness.medium,
8007
+ fillMode: FillMode.solid,
8008
+ themeColor: ThemeColor.base,
8009
+ arrowIconName: "caret-alt-down"
8010
+ };
8011
+ var SplitButton = (props) => {
8012
+ const {
8013
+ size = defaultProps47.size,
8014
+ rounded = defaultProps47.rounded,
8015
+ fillMode = defaultProps47.fillMode,
8016
+ themeColor = defaultProps47.themeColor,
8017
+ hover,
8018
+ focus,
8019
+ active,
8020
+ selected,
8021
+ disabled,
8022
+ icon,
8023
+ text,
8024
+ arrowIconName = defaultProps47.arrowIconName,
8025
+ popup,
8026
+ opened,
8027
+ ...other
8028
+ } = props;
8029
+ return /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(import_jsx_runtime155.Fragment, { children: [
8030
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(
8031
+ "div",
8032
+ {
8033
+ ...other,
8034
+ className: classNames(
8035
+ props.className,
8036
+ SPLITBUTTON_CLASSNAME,
8037
+ "k-button-group",
8038
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
8039
+ rounded
8040
+ })
8041
+ ),
8042
+ children: [
8043
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
8044
+ Button,
8045
+ {
8046
+ text,
8047
+ icon,
8048
+ size,
8049
+ rounded,
8050
+ fillMode,
8051
+ themeColor,
8052
+ hover,
8053
+ focus,
8054
+ active,
8055
+ selected,
8056
+ disabled,
8057
+ children: props.children
8058
+ }
8059
+ ),
8060
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
8061
+ Button,
8062
+ {
8063
+ className: "k-split-button-arrow",
8064
+ icon: arrowIconName,
8065
+ size,
8066
+ rounded,
8067
+ fillMode,
8068
+ disabled
8069
+ }
8070
+ )
8071
+ ]
8072
+ }
8073
+ ),
8074
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(Popup, { className: "k-menu-popup", children: popup })
8075
+ ] });
8076
+ };
8077
+ SplitButton.states = states52;
8078
+ SplitButton.options = options47;
8079
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
8080
+ SplitButton.defaultProps = defaultProps47;
8081
+ var split_button_spec_default = SplitButton;
8082
+
8083
+ // src/toolbar/toolbar.spec.tsx
8084
+ var import_jsx_runtime156 = require("react/jsx-runtime");
8085
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
8086
+ var states53 = [
8087
+ States.focus
8088
+ ];
8089
+ var options48 = {
8090
+ size: [Size.small, Size.medium, Size.large]
8091
+ };
8092
+ var defaultProps48 = {
8093
+ size: Size.medium
8094
+ };
8095
+ var Toolbar = (props) => {
8096
+ const {
8097
+ size = defaultProps48.size,
8098
+ focus,
8099
+ resizable,
8100
+ ...other
8101
+ } = props;
8102
+ const toolbarChildren = [];
8103
+ const addUniqueToolClass = (child, index) => {
8104
+ const tempToolbarChildren = [];
8105
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8106
+ tempToolbarChildren.push(
8107
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8108
+ Button,
8109
+ {
8110
+ ...child.props,
8111
+ className: `${child.props.className ? child.props.className : ""}`
8112
+ },
8113
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8114
+ )
8115
+ );
8116
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8117
+ tempToolbarChildren.push(
8118
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8119
+ Button,
8120
+ {
8121
+ ...child.props,
8122
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8123
+ },
8124
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8125
+ )
8126
+ );
8127
+ } else if (child.type === Button) {
8128
+ tempToolbarChildren.push(
8129
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8130
+ Button,
8131
+ {
8132
+ ...child.props,
8133
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8134
+ },
8135
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8136
+ )
8137
+ );
8138
+ } else if (child.type === MenuButton) {
8139
+ tempToolbarChildren.push(
8140
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8141
+ MenuButton,
8142
+ {
8143
+ ...child.props,
8144
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8145
+ },
8146
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8147
+ )
8148
+ );
8149
+ } else if (child.type === split_button_spec_default) {
8150
+ tempToolbarChildren.push(
8151
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8152
+ split_button_spec_default,
8153
+ {
8154
+ ...child.props,
8155
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8156
+ },
8157
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8158
+ )
8159
+ );
8160
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8161
+ const buttonGroupItems = [];
8162
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8163
+ childrenArray.forEach((button, bindex) => {
8164
+ buttonGroupItems.push(
8165
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8166
+ Button,
8167
+ {
8168
+ ...button.props,
8169
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8170
+ },
8171
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8172
+ )
8173
+ );
8174
+ });
8175
+ tempToolbarChildren.push(
8176
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8177
+ ButtonGroup,
8178
+ {
8179
+ ...child.props,
8180
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8181
+ children: buttonGroupItems
8182
+ },
8183
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8184
+ )
8185
+ );
8186
+ } else if (child.type === Combobox) {
8187
+ tempToolbarChildren.push(
8188
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8189
+ Combobox,
8190
+ {
8191
+ ...child.props,
8192
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8193
+ },
8194
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8195
+ )
8196
+ );
8197
+ } else if (child.type === DropdownList) {
8198
+ tempToolbarChildren.push(
8199
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8200
+ DropdownList,
8201
+ {
8202
+ ...child.props,
8203
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8204
+ },
8205
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8206
+ )
8207
+ );
8208
+ } else if (child.type === ColorPicker) {
8209
+ tempToolbarChildren.push(
8210
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8211
+ ColorPicker,
8212
+ {
8213
+ ...child.props,
8214
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8215
+ },
8216
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8217
+ )
8218
+ );
8219
+ } else {
8220
+ tempToolbarChildren.push(child);
8221
+ }
8222
+ tempToolbarChildren.forEach((item) => {
8223
+ toolbarChildren.push(item);
8224
+ });
8225
+ };
8226
+ if (props.children) {
8227
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8228
+ childrenArray.forEach((child, index) => {
8229
+ addUniqueToolClass(child, index);
8230
+ });
8231
+ }
8232
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8233
+ "div",
8234
+ {
8235
+ ...other,
8236
+ className: classNames(
8237
+ props.className,
8238
+ TOOLBAR_CLASSNAME,
8239
+ optionClassNames(TOOLBAR_CLASSNAME, {
8240
+ size
8241
+ }),
8242
+ stateClassNames(TOOLBAR_CLASSNAME, {
8243
+ focus
8244
+ }),
8245
+ {
8246
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
8247
+ }
8248
+ ),
8249
+ children: toolbarChildren
8250
+ }
8251
+ );
8252
+ };
8253
+ Toolbar.states = states53;
8254
+ Toolbar.options = options48;
8255
+ Toolbar.className = TOOLBAR_CLASSNAME;
8256
+ Toolbar.defaultProps = defaultProps48;
8257
+
8258
+ // src/toolbar/toolbar-angular.spec.tsx
8259
+ var import_jsx_runtime157 = require("react/jsx-runtime");
8260
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
8261
+ var states54 = [
8262
+ States.focus
8263
+ ];
8264
+ var options49 = {
8265
+ size: [Size.small, Size.medium, Size.large]
8266
+ };
8267
+ var defaultProps49 = {
8268
+ size: Size.medium
8269
+ };
8270
+ var ToolbarAngular = (props) => {
8271
+ const {
8272
+ size = defaultProps49.size,
8273
+ focus,
8274
+ resizable,
8275
+ ...other
8276
+ } = props;
8277
+ const toolbarChildren = [];
8278
+ const addUniqueToolClass = (child, index) => {
8279
+ const tempToolbarChildren = [];
8280
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8281
+ tempToolbarChildren.push(
8282
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8283
+ Button,
8284
+ {
8285
+ ...child.props,
8286
+ className: `${child.props.className ? child.props.className : ""}`
8287
+ },
8288
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8289
+ ) })
8290
+ );
8291
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8292
+ tempToolbarChildren.push(
8293
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8294
+ Button,
8295
+ {
8296
+ ...child.props,
8297
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8298
+ },
8299
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8300
+ ) })
8301
+ );
8302
+ } else if (child.type === Button) {
8303
+ tempToolbarChildren.push(
8304
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8305
+ Button,
8306
+ {
8307
+ ...child.props,
8308
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8309
+ },
8310
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8311
+ ) })
8312
+ );
8313
+ } else if (child.type === MenuButton) {
8314
+ tempToolbarChildren.push(
8315
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8316
+ MenuButton,
8317
+ {
8318
+ ...child.props,
8319
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8320
+ },
8321
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8322
+ ) })
8323
+ );
8324
+ } else if (child.type === split_button_spec_default) {
8325
+ tempToolbarChildren.push(
8326
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8327
+ split_button_spec_default,
8328
+ {
8329
+ ...child.props,
8330
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8331
+ },
8332
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8333
+ ) })
8334
+ );
8335
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8336
+ const buttonGroupItems = [];
8337
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8338
+ childrenArray.forEach((button, bindex) => {
8339
+ buttonGroupItems.push(
8340
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8341
+ Button,
8342
+ {
8343
+ ...button.props,
8344
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8345
+ },
8346
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8347
+ )
8348
+ );
8349
+ });
8350
+ tempToolbarChildren.push(
8351
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8352
+ ButtonGroup,
8353
+ {
8354
+ ...child.props,
8355
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8356
+ children: buttonGroupItems
8357
+ },
8358
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8359
+ ) })
8360
+ );
8361
+ } else if (child.type === Combobox) {
8362
+ tempToolbarChildren.push(
8363
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8364
+ Combobox,
8365
+ {
8366
+ ...child.props,
8367
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8368
+ },
8369
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8370
+ ) })
8371
+ );
8372
+ } else if (child.type === DropdownList) {
8373
+ tempToolbarChildren.push(
8374
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8375
+ DropdownList,
8376
+ {
8377
+ ...child.props,
8378
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8379
+ },
8380
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8381
+ ) })
8382
+ );
8383
+ } else if (child.type === ColorPicker) {
8384
+ tempToolbarChildren.push(
8385
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8386
+ ColorPicker,
8387
+ {
8388
+ ...child.props,
8389
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8390
+ },
8391
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8392
+ ) })
8393
+ );
8394
+ } else {
8395
+ tempToolbarChildren.push(child);
8396
+ }
8397
+ tempToolbarChildren.forEach((item) => {
8398
+ toolbarChildren.push(item);
8399
+ });
8400
+ };
8401
+ if (props.children) {
8402
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8403
+ childrenArray.forEach((child, index) => {
8404
+ addUniqueToolClass(child, index);
8405
+ });
8406
+ }
8407
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8408
+ "div",
8409
+ {
8410
+ ...other,
8411
+ className: classNames(
8412
+ props.className,
8413
+ TOOLBARANGULAR_CLASSNAME,
8414
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
8415
+ size
8416
+ }),
8417
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
8418
+ focus
8419
+ }),
8420
+ {
8421
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
8422
+ }
8423
+ ),
8424
+ children: toolbarChildren
8425
+ }
8426
+ );
8427
+ };
8428
+ ToolbarAngular.states = states54;
8429
+ ToolbarAngular.options = options49;
8430
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
8431
+ ToolbarAngular.defaultProps = defaultProps49;
8432
+
8433
+ // src/toolbar/toolbar-separator.tsx
8434
+ var import_jsx_runtime158 = require("react/jsx-runtime");
8435
+
8436
+ // src/toolbar/toolbar-item.spec.tsx
8437
+ var import_jsx_runtime159 = require("react/jsx-runtime");
8438
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
8439
+ var states55 = [
8440
+ States.focus
8441
+ ];
8442
+ var options50 = {};
8443
+ var defaultProps50 = {};
8444
+ var ToolbarItem = (props) => {
8445
+ const {
8446
+ focus,
8447
+ ...other
8448
+ } = props;
8449
+ return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
8450
+ "div",
8451
+ {
8452
+ ...other,
8453
+ className: classNames(
8454
+ props.className,
8455
+ TOOLBARITEM_CLASSNAME,
8456
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
8457
+ focus
8458
+ })
8459
+ ),
8460
+ children: props.children
8461
+ }
8462
+ );
8463
+ };
8464
+ ToolbarItem.states = states55;
8465
+ ToolbarItem.options = options50;
8466
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
8467
+ ToolbarItem.defaultProps = defaultProps50;
8468
+
8469
+ // src/toolbar/toolbar-popup.spec.tsx
8470
+ var import_jsx_runtime160 = require("react/jsx-runtime");
8471
+ var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
8472
+ var states56 = [];
8473
+ var options51 = {};
8474
+ var defaultProps51 = {};
8475
+ var ToolbarPopup = (props) => {
8476
+ const { ...other } = props;
8477
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
8478
+ Popup,
8479
+ {
8480
+ ...other,
8481
+ className: classNames(
8482
+ props.className,
8483
+ TOOLBARPOPUP_CLASSNAME
8484
+ ),
8485
+ children: props.children
8486
+ }
8487
+ );
8488
+ };
8489
+ ToolbarPopup.states = states56;
8490
+ ToolbarPopup.options = options51;
8491
+ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
8492
+ ToolbarPopup.defaultProps = defaultProps51;
8493
+
8494
+ // src/split-button/templates/icon-split-button.tsx
8495
+ var import_jsx_runtime161 = require("react/jsx-runtime");
8496
+
8497
+ // src/split-button/templates/icon-text-split-button.tsx
8498
+ var import_jsx_runtime162 = require("react/jsx-runtime");
8499
+
8500
+ // src/split-button/templates/text-split-button.tsx
8501
+ var import_jsx_runtime163 = require("react/jsx-runtime");
8502
+
8503
+ // src/split-button/templates/split-button-popup.tsx
8504
+ var import_jsx_runtime164 = require("react/jsx-runtime");
8505
+
8506
+ // src/toolbar/templates/toolbar-normal.tsx
8507
+ var import_jsx_runtime165 = require("react/jsx-runtime");
8508
+
8509
+ // src/toolbar/templates/toolbar-resizable.tsx
8510
+ var import_jsx_runtime166 = require("react/jsx-runtime");
8511
+
8512
+ // src/toolbar/templates/toolbar-angular-normal.tsx
8513
+ var import_jsx_runtime167 = require("react/jsx-runtime");
8514
+
8515
+ // src/toolbar/templates/toolbar-angular-resizable.tsx
8516
+ var import_jsx_runtime168 = require("react/jsx-runtime");
8517
+
8518
+ // src/grid/grid-toolbar.spec.tsx
8519
+ var import_jsx_runtime169 = require("react/jsx-runtime");
8520
+
8521
+ // src/treelist/treelist.spec.tsx
8522
+ var import_jsx_runtime170 = require("react/jsx-runtime");
8523
+ var TREELIST_CLASSNAME = "k-treelist";
8524
+ var states57 = [];
8525
+ var options52 = {};
8526
+ var defaultProps52 = {};
8527
+ var TreeList = (props) => /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
8528
+ Grid,
8529
+ {
8530
+ ...props,
8531
+ className: classNames(
8532
+ TREELIST_CLASSNAME,
8533
+ props.className
8534
+ ),
8535
+ children: props.children
8536
+ }
8537
+ );
8538
+ TreeList.states = states57;
8539
+ TreeList.options = options52;
8540
+ TreeList.className = TREELIST_CLASSNAME;
8541
+ TreeList.defaultProps = defaultProps52;
8542
+
8543
+ // src/treelist/tests/treelist-aggregate-react.tsx
8544
+ var import_jsx_runtime171 = require("react/jsx-runtime");
8545
+ var treelist_aggregate_react_default = () => /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_jsx_runtime171.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)("section", { children: [
8546
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("span", { children: "React" }),
8547
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TreeList, { className: "k-treelist-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(GridTable, { children: [
8548
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)("colgroup", { children: [
8549
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("col", { style: { width: "34%" } }),
8550
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("col", { style: { width: "33%" } }),
8551
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("col", { style: { width: "33%" } })
4330
8552
  ] }),
4331
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("thead", { className: "k-table-thead k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row", children: [
4332
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { colSpan: 1, rowSpan: 1, className: "k-table-th k-header", style: { top: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", { className: "k-link", children: "Name" }) }),
4333
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { colSpan: 1, rowSpan: 1, className: "k-table-th k-header", style: { top: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", { className: "k-link", children: "Position" }) }),
4334
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { colSpan: 1, rowSpan: 1, className: "k-table-th k-header", style: { top: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", { className: "k-link", children: "Hire Date" }) })
8553
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableThead, { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { children: [
8554
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTh, { colspan: 1, rowspan: 1, className: "k-header", style: { top: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("a", { className: "k-link", children: "Name" }) }),
8555
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTh, { colspan: 1, rowspan: 1, className: "k-header", style: { top: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("a", { className: "k-link", children: "Position" }) }),
8556
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTh, { colspan: 1, rowspan: 1, className: "k-header", style: { top: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("a", { className: "k-link", children: "Hire Date" }) })
4335
8557
  ] }) }),
4336
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tbody", { className: "k-table-tbody", children: [
4337
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4338
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4339
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
8558
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTbody, { children: [
8559
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8560
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8561
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
4340
8562
  "Daryl Sweeney"
4341
8563
  ] }),
4342
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "CEO" }),
4343
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "March 7, 2012" })
8564
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "CEO" }),
8565
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "March 7, 2012" })
4344
8566
  ] }),
4345
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4346
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4347
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4348
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
8567
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8568
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: " k-text-nowrap", colspan: 1, children: [
8569
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8570
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
4349
8571
  "Guy Wooten"
4350
8572
  ] }),
4351
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Chief Technical Officer" }),
4352
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "April 3, 2010" })
8573
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Chief Technical Officer" }),
8574
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "April 3, 2010" })
4353
8575
  ] }),
4354
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4355
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4356
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4357
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
8576
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8577
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8578
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8579
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
4358
8580
  "Priscilla Frank"
4359
8581
  ] }),
4360
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Chief Product Officer" }),
4361
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "December 30, 2014" })
8582
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Chief Product Officer" }),
8583
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "December 30, 2014" })
4362
8584
  ] }),
4363
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4364
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4365
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4366
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
8585
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8586
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8587
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8588
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
4367
8589
  "Anika Vega"
4368
8590
  ] }),
4369
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Chief Process Officer" }),
4370
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "March 25, 2010" })
8591
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Chief Process Officer" }),
8592
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "March 25, 2010" })
4371
8593
  ] }),
4372
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4373
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4374
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4375
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4376
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
8594
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8595
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8596
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8597
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8598
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
4377
8599
  "Vernon Ballard"
4378
8600
  ] }),
4379
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Director Facilities" }),
4380
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "July 26, 2015" })
8601
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Director Facilities" }),
8602
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "July 26, 2015" })
4381
8603
  ] }),
4382
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-group-footer", children: [
4383
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4384
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4385
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4386
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8604
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-group-footer", children: [
8605
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8606
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8607
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8608
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4387
8609
  "7 employee(s)"
4388
8610
  ] }),
4389
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td" }),
4390
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Last employee hired on August 30, 2015" })
8611
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1 }),
8612
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Last employee hired on August 30, 2015" })
4391
8613
  ] }),
4392
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4393
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4394
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4395
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
8614
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8615
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8616
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8617
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
4396
8618
  "Nevada Hart"
4397
8619
  ] }),
4398
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Chief Financial Officer" }),
4399
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "September 17, 2015" })
8620
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Chief Financial Officer" }),
8621
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "September 17, 2015" })
4400
8622
  ] }),
4401
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4402
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4403
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4404
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
8623
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-master-row", children: [
8624
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8625
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8626
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-right" }),
4405
8627
  "Hunter Fry"
4406
8628
  ] }),
4407
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "General Counsel" }),
4408
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "March 12, 2011" })
8629
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "General Counsel" }),
8630
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "March 12, 2011" })
4409
8631
  ] }),
4410
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-group-footer", children: [
4411
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4412
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4413
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8632
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-group-footer", children: [
8633
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8634
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8635
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4414
8636
  "98 employee(s)"
4415
8637
  ] }),
4416
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td" }),
4417
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Last employee hired on September 17, 2015" })
8638
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1 }),
8639
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, children: "Last employee hired on September 17, 2015" })
4418
8640
  ] }),
4419
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-group-footer", children: [
4420
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("td", { className: "k-table-td k-text-nowrap", colSpan: 1, children: [
4421
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
8641
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableRow, { className: "k-group-footer", children: [
8642
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(TableTd, { className: "k-text-nowrap", colspan: 1, children: [
8643
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
4422
8644
  "99 employee(s)"
4423
8645
  ] }),
4424
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td" }),
4425
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { colSpan: 1, className: "k-table-td", children: "Last employee hired on September 17, 2015" })
8646
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1 }),
8647
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(TableTd, { colspan: 1, className: "k-table-TableTd", children: "Last employee hired on September 17, 2015" })
4426
8648
  ] })
4427
8649
  ] })
4428
8650
  ] }) })