@progress/kendo-themes-html 7.1.1-dev.0 → 7.2.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/cjs/action-sheet/tests/action-sheet-data-table.js +2 -0
  2. package/dist/cjs/autocomplete/tests/autocomplete-prefix-suffix.js +863 -778
  3. package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +863 -778
  4. package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +2 -0
  5. package/dist/cjs/dropdowngrid/templates/dropdowngrid-adaptive.js +2 -0
  6. package/dist/cjs/dropdowngrid/templates/dropdowngrid-normal.js +2 -0
  7. package/dist/cjs/dropdowngrid/templates/dropdowngrid-popup.js +2 -0
  8. package/dist/cjs/dropdowngrid/templates/dropdowngrid-prefix.js +2 -0
  9. package/dist/cjs/dropdowngrid/templates/dropdowngrid-suffix.js +2 -0
  10. package/dist/cjs/dropdowngrid/tests/dropdowngrid-adaptive.js +2 -0
  11. package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +2 -0
  12. package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +2 -0
  13. package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +2 -0
  14. package/dist/cjs/dropdowngrid/tests/dropdowngrid-prefix-suffix.js +2 -0
  15. package/dist/cjs/dropdowngrid/tests/dropdowngrid-size-rounded.js +2 -0
  16. package/dist/cjs/dropdowngrid/tests/dropdowngrid-solid.js +2 -0
  17. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +2 -0
  18. package/dist/cjs/filemanager/templates/filemanager-grid.js +2 -0
  19. package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +763 -678
  20. package/dist/cjs/filemanager/tests/filemanager-gridview.js +2 -0
  21. package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +717 -632
  22. package/dist/cjs/form/tests/form-field-dropdowns.js +862 -777
  23. package/dist/cjs/grid/grid-container.spec.js +46 -0
  24. package/dist/cjs/grid/grid-content.spec.js +46 -0
  25. package/dist/cjs/grid/grid-footer-table.spec.js +283 -0
  26. package/dist/cjs/grid/grid-footer.spec.js +46 -0
  27. package/dist/cjs/grid/grid-grouping-header.spec.js +57 -0
  28. package/dist/cjs/grid/grid-header-cell.spec.js +4446 -0
  29. package/dist/cjs/grid/grid-header-table.spec.js +283 -0
  30. package/dist/cjs/grid/grid-header.spec.js +46 -0
  31. package/dist/cjs/grid/grid-pager.spec.js +6058 -0
  32. package/dist/cjs/grid/grid-table.spec.js +283 -0
  33. package/dist/cjs/grid/grid-toolbar.spec.js +7876 -0
  34. package/dist/cjs/grid/grid.spec.js +120 -0
  35. package/dist/cjs/grid/tests/grid-adaptive-pager.js +2740 -380
  36. package/dist/cjs/grid/tests/grid-adaptive-search.js +1745 -1203
  37. package/dist/cjs/grid/tests/grid-angular.js +3787 -1267
  38. package/dist/cjs/grid/tests/grid-column-menu-angular.js +4095 -115
  39. package/dist/cjs/grid/tests/grid-column-menu-blazor.js +4095 -116
  40. package/dist/cjs/grid/tests/grid-column-reordering-actions.js +1484 -1280
  41. package/dist/cjs/grid/tests/grid-column-reordering.js +1489 -1285
  42. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +2119 -1915
  43. package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1107 -869
  44. package/dist/cjs/grid/tests/grid-editing-inline-angular.js +1972 -1218
  45. package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +1959 -1201
  46. package/dist/cjs/grid/tests/grid-editing.js +1391 -635
  47. package/dist/cjs/grid/tests/grid-filter-menu-angular.js +4092 -100
  48. package/dist/cjs/grid/tests/grid-filter-menu-blazor.js +4089 -101
  49. package/dist/cjs/grid/tests/grid-filter-row-angular.js +1327 -576
  50. package/dist/cjs/grid/tests/grid-filter-row-blazor.js +1313 -554
  51. package/dist/cjs/grid/tests/grid-filter-row.js +1496 -59
  52. package/dist/cjs/grid/tests/grid-grouping-actions.js +1450 -1246
  53. package/dist/cjs/grid/tests/grid-grouping-blazor.js +4162 -141
  54. package/dist/cjs/grid/tests/grid-grouping-detail-template.js +4297 -288
  55. package/dist/cjs/grid/tests/grid-grouping.js +2725 -1934
  56. package/dist/cjs/grid/tests/grid-hierarchy.js +4333 -43
  57. package/dist/cjs/grid/tests/grid-locked-columns-rtl.js +4365 -207
  58. package/dist/cjs/grid/tests/grid-locked-columns.js +4563 -424
  59. package/dist/cjs/grid/tests/grid-long-titles.js +4315 -124
  60. package/dist/cjs/grid/tests/grid-multicolumn-headers.js +4407 -135
  61. package/dist/cjs/grid/tests/grid-no-records.js +8627 -48
  62. package/dist/cjs/grid/tests/grid-pager.js +3120 -550
  63. package/dist/cjs/grid/tests/grid-react-basic.js +8500 -128
  64. package/dist/cjs/grid/tests/grid-react.js +4516 -190
  65. package/dist/cjs/grid/tests/grid-row-reordering.js +1711 -1499
  66. package/dist/cjs/grid/tests/grid-rows-resizing.js +2066 -1308
  67. package/dist/cjs/grid/tests/grid-rows-states.js +8369 -105
  68. package/dist/cjs/grid/tests/grid-rtl-angular.js +3987 -1430
  69. package/dist/cjs/grid/tests/grid-rtl.js +4028 -1469
  70. package/dist/cjs/grid/tests/grid-selection-aggregates.js +3318 -742
  71. package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +2038 -1537
  72. package/dist/cjs/grid/tests/grid-size-sm.js +1447 -946
  73. package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +4118 -1505
  74. package/dist/cjs/grid/tests/grid-sticky-columns.js +4445 -177
  75. package/dist/cjs/grid/tests/grid-sticky-multicolumn-headers.js +8571 -53
  76. package/dist/cjs/grid/tests/grid-toolbar.js +1896 -1349
  77. package/dist/cjs/grid/tests/grid-virtualization.js +8968 -450
  78. package/dist/cjs/grid/tests/grid.js +4055 -1496
  79. package/dist/cjs/index.js +2442 -2148
  80. package/dist/cjs/multiselect/templates/multiselect-prefix.js +838 -753
  81. package/dist/cjs/multiselect/templates/multiselect-suffix.js +838 -753
  82. package/dist/cjs/multiselect/tests/multiselect-adaptive.js +844 -759
  83. package/dist/cjs/multiselect/tests/multiselect-flat.js +868 -783
  84. package/dist/cjs/multiselect/tests/multiselect-grouping.js +844 -759
  85. package/dist/cjs/multiselect/tests/multiselect-opened.js +846 -761
  86. package/dist/cjs/multiselect/tests/multiselect-outline.js +868 -783
  87. package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +875 -790
  88. package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +847 -762
  89. package/dist/cjs/multiselect/tests/multiselect-solid.js +868 -783
  90. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +877 -792
  91. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +891 -806
  92. package/dist/cjs/table/table-th.js +2 -0
  93. package/dist/cjs/table/templates/data-table-normal.js +2 -0
  94. package/dist/cjs/table/templates/table-list-virtualization.js +2 -0
  95. package/dist/cjs/table/templates/table-list.js +2 -0
  96. package/dist/cjs/table/templates/table-native.js +2 -0
  97. package/dist/cjs/table/tests/table-data-sizes.js +2 -0
  98. package/dist/cjs/table/tests/table-list-jquery.js +2 -0
  99. package/dist/cjs/table/tests/table-list-sizes.js +2 -0
  100. package/dist/cjs/table/tests/table-list-virtual.js +2 -0
  101. package/dist/cjs/table/tests/table-native-sizes.js +2 -0
  102. package/dist/cjs/table/tests/table-native-states.js +2 -0
  103. package/dist/esm/action-sheet/tests/action-sheet-data-table.js +2 -0
  104. package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +863 -778
  105. package/dist/esm/combobox/tests/combobox-prefix-suffix.js +863 -778
  106. package/dist/esm/dropdowngrid/dropdowngrid.spec.js +2 -0
  107. package/dist/esm/dropdowngrid/templates/dropdowngrid-adaptive.js +2 -0
  108. package/dist/esm/dropdowngrid/templates/dropdowngrid-normal.js +2 -0
  109. package/dist/esm/dropdowngrid/templates/dropdowngrid-popup.js +2 -0
  110. package/dist/esm/dropdowngrid/templates/dropdowngrid-prefix.js +2 -0
  111. package/dist/esm/dropdowngrid/templates/dropdowngrid-suffix.js +2 -0
  112. package/dist/esm/dropdowngrid/tests/dropdowngrid-adaptive.js +2 -0
  113. package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +2 -0
  114. package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +2 -0
  115. package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +2 -0
  116. package/dist/esm/dropdowngrid/tests/dropdowngrid-prefix-suffix.js +2 -0
  117. package/dist/esm/dropdowngrid/tests/dropdowngrid-size-rounded.js +2 -0
  118. package/dist/esm/dropdowngrid/tests/dropdowngrid-solid.js +2 -0
  119. package/dist/esm/filemanager/templates/filemanager-grid-preview.js +2 -0
  120. package/dist/esm/filemanager/templates/filemanager-grid.js +2 -0
  121. package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +763 -678
  122. package/dist/esm/filemanager/tests/filemanager-gridview.js +2 -0
  123. package/dist/esm/filemanager/tests/filemanager-listview-preview.js +717 -632
  124. package/dist/esm/form/tests/form-field-dropdowns.js +862 -777
  125. package/dist/esm/grid/grid-container.spec.js +24 -0
  126. package/dist/esm/grid/grid-content.spec.js +24 -0
  127. package/dist/esm/grid/grid-footer-table.spec.js +261 -0
  128. package/dist/esm/grid/grid-footer.spec.js +24 -0
  129. package/dist/esm/grid/grid-grouping-header.spec.js +35 -0
  130. package/dist/esm/grid/grid-header-cell.spec.js +4430 -0
  131. package/dist/esm/grid/grid-header-table.spec.js +261 -0
  132. package/dist/esm/grid/grid-header.spec.js +24 -0
  133. package/dist/esm/grid/grid-pager.spec.js +6042 -0
  134. package/dist/esm/grid/grid-table.spec.js +261 -0
  135. package/dist/esm/grid/grid-toolbar.spec.js +7860 -0
  136. package/dist/esm/grid/grid.spec.js +98 -0
  137. package/dist/esm/grid/tests/grid-adaptive-pager.js +2740 -380
  138. package/dist/esm/grid/tests/grid-adaptive-search.js +1865 -1323
  139. package/dist/esm/grid/tests/grid-angular.js +3831 -1311
  140. package/dist/esm/grid/tests/grid-column-menu-angular.js +4095 -115
  141. package/dist/esm/grid/tests/grid-column-menu-blazor.js +4095 -116
  142. package/dist/esm/grid/tests/grid-column-reordering-actions.js +2314 -2110
  143. package/dist/esm/grid/tests/grid-column-reordering.js +2320 -2116
  144. package/dist/esm/grid/tests/grid-column-resizing-actions.js +2863 -2659
  145. package/dist/esm/grid/tests/grid-editing-custom-editor.js +1107 -869
  146. package/dist/esm/grid/tests/grid-editing-inline-angular.js +1905 -1151
  147. package/dist/esm/grid/tests/grid-editing-inline-blazor.js +1914 -1156
  148. package/dist/esm/grid/tests/grid-editing.js +1391 -635
  149. package/dist/esm/grid/tests/grid-filter-menu-angular.js +4092 -100
  150. package/dist/esm/grid/tests/grid-filter-menu-blazor.js +4089 -101
  151. package/dist/esm/grid/tests/grid-filter-row-angular.js +1327 -576
  152. package/dist/esm/grid/tests/grid-filter-row-blazor.js +1313 -554
  153. package/dist/esm/grid/tests/grid-filter-row.js +1496 -59
  154. package/dist/esm/grid/tests/grid-grouping-actions.js +2280 -2076
  155. package/dist/esm/grid/tests/grid-grouping-blazor.js +4162 -141
  156. package/dist/esm/grid/tests/grid-grouping-detail-template.js +4297 -288
  157. package/dist/esm/grid/tests/grid-grouping.js +2679 -1888
  158. package/dist/esm/grid/tests/grid-hierarchy.js +4333 -43
  159. package/dist/esm/grid/tests/grid-locked-columns-rtl.js +4366 -208
  160. package/dist/esm/grid/tests/grid-locked-columns.js +4564 -425
  161. package/dist/esm/grid/tests/grid-long-titles.js +4316 -125
  162. package/dist/esm/grid/tests/grid-multicolumn-headers.js +4407 -135
  163. package/dist/esm/grid/tests/grid-no-records.js +8632 -49
  164. package/dist/esm/grid/tests/grid-pager.js +3139 -569
  165. package/dist/esm/grid/tests/grid-react-basic.js +8506 -128
  166. package/dist/esm/grid/tests/grid-react.js +4516 -190
  167. package/dist/esm/grid/tests/grid-row-reordering.js +1385 -1173
  168. package/dist/esm/grid/tests/grid-rows-resizing.js +2145 -1387
  169. package/dist/esm/grid/tests/grid-rows-states.js +8375 -105
  170. package/dist/esm/grid/tests/grid-rtl-angular.js +3974 -1417
  171. package/dist/esm/grid/tests/grid-rtl.js +4022 -1463
  172. package/dist/esm/grid/tests/grid-selection-aggregates.js +3143 -567
  173. package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +2100 -1599
  174. package/dist/esm/grid/tests/grid-size-sm.js +1513 -1012
  175. package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +4113 -1500
  176. package/dist/esm/grid/tests/grid-sticky-columns.js +4445 -177
  177. package/dist/esm/grid/tests/grid-sticky-multicolumn-headers.js +8576 -54
  178. package/dist/esm/grid/tests/grid-toolbar.js +1906 -1359
  179. package/dist/esm/grid/tests/grid-virtualization.js +8975 -451
  180. package/dist/esm/grid/tests/grid.js +4052 -1493
  181. package/dist/esm/index.js +2442 -2148
  182. package/dist/esm/multiselect/templates/multiselect-prefix.js +838 -753
  183. package/dist/esm/multiselect/templates/multiselect-suffix.js +838 -753
  184. package/dist/esm/multiselect/tests/multiselect-adaptive.js +844 -759
  185. package/dist/esm/multiselect/tests/multiselect-flat.js +868 -783
  186. package/dist/esm/multiselect/tests/multiselect-grouping.js +844 -759
  187. package/dist/esm/multiselect/tests/multiselect-opened.js +846 -761
  188. package/dist/esm/multiselect/tests/multiselect-outline.js +868 -783
  189. package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +875 -790
  190. package/dist/esm/multiselect/tests/multiselect-size-rounded.js +847 -762
  191. package/dist/esm/multiselect/tests/multiselect-solid.js +868 -783
  192. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +877 -792
  193. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +891 -806
  194. package/dist/esm/table/table-th.js +2 -0
  195. package/dist/esm/table/templates/data-table-normal.js +2 -0
  196. package/dist/esm/table/templates/table-list-virtualization.js +2 -0
  197. package/dist/esm/table/templates/table-list.js +2 -0
  198. package/dist/esm/table/templates/table-native.js +2 -0
  199. package/dist/esm/table/tests/table-data-sizes.js +2 -0
  200. package/dist/esm/table/tests/table-list-jquery.js +2 -0
  201. package/dist/esm/table/tests/table-list-sizes.js +2 -0
  202. package/dist/esm/table/tests/table-list-virtual.js +2 -0
  203. package/dist/esm/table/tests/table-native-sizes.js +2 -0
  204. package/dist/esm/table/tests/table-native-states.js +2 -0
  205. package/dist/types/grid/grid-container.spec.d.ts +1 -0
  206. package/dist/types/grid/grid-content.spec.d.ts +1 -0
  207. package/dist/types/grid/grid-footer-table.spec.d.ts +3 -0
  208. package/dist/types/grid/grid-footer.spec.d.ts +1 -0
  209. package/dist/types/grid/grid-grouping-header.spec.d.ts +5 -0
  210. package/dist/types/grid/grid-header-cell.spec.d.ts +17 -0
  211. package/dist/types/grid/grid-header-table.spec.d.ts +3 -0
  212. package/dist/types/grid/grid-header.spec.d.ts +1 -0
  213. package/dist/types/grid/grid-pager.spec.d.ts +2 -0
  214. package/dist/types/grid/grid-table.spec.d.ts +3 -0
  215. package/dist/types/grid/grid-toolbar.spec.d.ts +2 -0
  216. package/dist/types/grid/grid.spec.d.ts +28 -0
  217. package/dist/types/grid/index.d.ts +12 -0
  218. package/dist/types/index.d.ts +1 -0
  219. package/dist/types/table/table-th.d.ts +1 -0
  220. package/package.json +2 -2
  221. package/src/grid/grid-container.spec.tsx +17 -0
  222. package/src/grid/grid-content.spec.tsx +16 -0
  223. package/src/grid/grid-footer-table.spec.tsx +20 -0
  224. package/src/grid/grid-footer.spec.tsx +17 -0
  225. package/src/grid/grid-grouping-header.spec.tsx +33 -0
  226. package/src/grid/grid-header-cell.spec.tsx +104 -0
  227. package/src/grid/grid-header-table.spec.tsx +20 -0
  228. package/src/grid/grid-header.spec.tsx +19 -0
  229. package/src/grid/grid-pager.spec.tsx +19 -0
  230. package/src/grid/grid-table.spec.tsx +20 -0
  231. package/src/grid/grid-toolbar.spec.tsx +19 -0
  232. package/src/grid/grid.spec.tsx +67 -0
  233. package/src/grid/index.ts +12 -0
  234. package/src/grid/tests/grid-adaptive-pager.tsx +9 -7
  235. package/src/grid/tests/grid-adaptive-search.tsx +11 -9
  236. package/src/grid/tests/grid-angular.tsx +154 -237
  237. package/src/grid/tests/grid-column-menu-angular.tsx +150 -181
  238. package/src/grid/tests/grid-column-menu-blazor.tsx +121 -189
  239. package/src/grid/tests/grid-column-reordering-actions.tsx +60 -97
  240. package/src/grid/tests/grid-column-reordering.tsx +60 -99
  241. package/src/grid/tests/grid-column-resizing-actions.tsx +60 -97
  242. package/src/grid/tests/grid-editing-custom-editor.tsx +168 -201
  243. package/src/grid/tests/grid-editing-inline-angular.tsx +132 -140
  244. package/src/grid/tests/grid-editing-inline-blazor.tsx +97 -118
  245. package/src/grid/tests/grid-editing.tsx +133 -163
  246. package/src/grid/tests/grid-filter-menu-angular.tsx +171 -174
  247. package/src/grid/tests/grid-filter-menu-blazor.tsx +114 -171
  248. package/src/grid/tests/grid-filter-row-angular.tsx +171 -182
  249. package/src/grid/tests/grid-filter-row-blazor.tsx +116 -153
  250. package/src/grid/tests/grid-filter-row.tsx +110 -109
  251. package/src/grid/tests/grid-grouping-actions.tsx +60 -98
  252. package/src/grid/tests/grid-grouping-blazor.tsx +162 -241
  253. package/src/grid/tests/grid-grouping-detail-template.tsx +383 -375
  254. package/src/grid/tests/grid-grouping.tsx +195 -293
  255. package/src/grid/tests/grid-hierarchy.tsx +82 -93
  256. package/src/grid/tests/grid-locked-columns-rtl.tsx +224 -312
  257. package/src/grid/tests/grid-locked-columns.tsx +414 -572
  258. package/src/grid/tests/grid-long-titles.tsx +122 -210
  259. package/src/grid/tests/grid-multicolumn-headers.tsx +114 -208
  260. package/src/grid/tests/grid-no-records.tsx +60 -82
  261. package/src/grid/tests/grid-pager.tsx +144 -197
  262. package/src/grid/tests/grid-react-basic.tsx +138 -172
  263. package/src/grid/tests/grid-react.tsx +224 -235
  264. package/src/grid/tests/grid-row-reordering.tsx +69 -104
  265. package/src/grid/tests/grid-rows-resizing.tsx +130 -159
  266. package/src/grid/tests/grid-rows-states.tsx +106 -104
  267. package/src/grid/tests/grid-rtl-angular.tsx +114 -168
  268. package/src/grid/tests/grid-rtl.tsx +104 -149
  269. package/src/grid/tests/grid-selection-aggregates.tsx +96 -115
  270. package/src/grid/tests/grid-size-sm-comp-sm.tsx +239 -323
  271. package/src/grid/tests/grid-size-sm.tsx +239 -326
  272. package/src/grid/tests/grid-sticky-columns-rtl.tsx +112 -140
  273. package/src/grid/tests/grid-sticky-columns.tsx +208 -312
  274. package/src/grid/tests/grid-sticky-multicolumn-headers.tsx +52 -159
  275. package/src/grid/tests/grid-toolbar.tsx +43 -43
  276. package/src/grid/tests/grid-virtualization.tsx +614 -758
  277. package/src/grid/tests/grid.tsx +141 -196
  278. package/src/index.ts +1 -1
  279. package/src/table/table-th.tsx +3 -0
@@ -4601,132 +4601,4124 @@ var import_jsx_runtime12 = require("react/jsx-runtime");
4601
4601
  // src/checkbox/templates/checkbox-normal.tsx
4602
4602
  var import_jsx_runtime13 = require("react/jsx-runtime");
4603
4603
 
4604
+ // src/grid/grid.spec.tsx
4605
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4606
+ var GRID_CLASSNAME = "k-grid";
4607
+ var states8 = [];
4608
+ var options8 = {
4609
+ size: [Size.small, Size.medium, Size.large]
4610
+ };
4611
+ var defaultProps8 = {
4612
+ size: Size.medium,
4613
+ pagerPosition: "bottom"
4614
+ };
4615
+ var Grid = (props) => {
4616
+ const {
4617
+ size = defaultProps8.size,
4618
+ toolbar,
4619
+ pager,
4620
+ pagerPosition,
4621
+ groupingHeader,
4622
+ _renderAriaRoot,
4623
+ ...other
4624
+ } = props;
4625
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
4626
+ "div",
4627
+ {
4628
+ ...other,
4629
+ className: classNames(
4630
+ props.className,
4631
+ GRID_CLASSNAME,
4632
+ optionClassNames(GRID_CLASSNAME, { size })
4633
+ ),
4634
+ children: [
4635
+ toolbar,
4636
+ pagerPosition === "top" && pager,
4637
+ groupingHeader,
4638
+ props.children && _renderAriaRoot ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
4639
+ pagerPosition === "bottom" && pager
4640
+ ]
4641
+ }
4642
+ );
4643
+ };
4644
+ Grid.states = states8;
4645
+ Grid.options = options8;
4646
+ Grid.className = GRID_CLASSNAME;
4647
+ Grid.defaultProps = defaultProps8;
4648
+
4649
+ // src/grid/grid-header.spec.tsx
4650
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4651
+ var className = `k-grid-header`;
4652
+ var GridHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4653
+ "div",
4654
+ {
4655
+ ...props,
4656
+ className: classNames(
4657
+ props.className,
4658
+ className
4659
+ ),
4660
+ children: props.children
4661
+ }
4662
+ );
4663
+
4664
+ // src/grid/grid-grouping-header.spec.tsx
4665
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4666
+
4667
+ // src/table/data-table.spec.tsx
4668
+ var import_jsx_runtime17 = require("react/jsx-runtime");
4669
+ var DATATABLE_CLASSNAME = `k-data-table`;
4670
+ var states9 = [];
4671
+ var options9 = {
4672
+ size: [Size.small, Size.medium, Size.large]
4673
+ };
4674
+ var defaultProps9 = {
4675
+ size: Size.medium
4676
+ };
4677
+ var DataTable = (props) => {
4678
+ const {
4679
+ size = defaultProps9.size,
4680
+ ...other
4681
+ } = props;
4682
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4683
+ "div",
4684
+ {
4685
+ ...other,
4686
+ className: classNames(
4687
+ props.className,
4688
+ DATATABLE_CLASSNAME,
4689
+ optionClassNames("k-table", {
4690
+ size
4691
+ })
4692
+ ),
4693
+ children: props.children
4694
+ }
4695
+ );
4696
+ };
4697
+ DataTable.states = states9;
4698
+ DataTable.options = options9;
4699
+ DataTable.className = DATATABLE_CLASSNAME;
4700
+ DataTable.defaultProps = defaultProps9;
4701
+
4702
+ // src/table/table-header.tsx
4703
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4704
+
4705
+ // src/table/table-body.tsx
4706
+ var import_jsx_runtime19 = require("react/jsx-runtime");
4707
+
4708
+ // src/table/table-footer.tsx
4709
+ var import_jsx_runtime20 = require("react/jsx-runtime");
4710
+
4711
+ // src/table/table.spec.tsx
4712
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4713
+ var TABLE_CLASSNAME = `k-table`;
4714
+ var states10 = [];
4715
+ var options10 = {
4716
+ size: [Size.small, Size.medium, Size.large]
4717
+ };
4718
+ var defaultProps10 = {};
4719
+ var Table = (props) => {
4720
+ const {
4721
+ size,
4722
+ ...other
4723
+ } = props;
4724
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4725
+ "table",
4726
+ {
4727
+ ...other,
4728
+ className: classNames(
4729
+ props.className,
4730
+ TABLE_CLASSNAME,
4731
+ optionClassNames(TABLE_CLASSNAME, {
4732
+ size
4733
+ })
4734
+ ),
4735
+ children: props.children
4736
+ }
4737
+ );
4738
+ };
4739
+ Table.states = states10;
4740
+ Table.options = options10;
4741
+ Table.className = TABLE_CLASSNAME;
4742
+ Table.defaultProps = defaultProps10;
4743
+
4744
+ // src/table/table-list.spec.tsx
4745
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4746
+ var TABLELIST_CLASSNAME = `k-table-list`;
4747
+ var states11 = [];
4748
+ var options11 = {
4749
+ size: [Size.small, Size.medium, Size.large]
4750
+ };
4751
+ var defaultProps11 = {};
4752
+ var TableList = (props) => {
4753
+ const {
4754
+ size,
4755
+ virtualization,
4756
+ ...other
4757
+ } = props;
4758
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4759
+ "ul",
4760
+ {
4761
+ ...other,
4762
+ className: classNames(
4763
+ props.className,
4764
+ "k-table",
4765
+ TABLELIST_CLASSNAME,
4766
+ optionClassNames(TABLELIST_CLASSNAME, {
4767
+ size
4768
+ }),
4769
+ {
4770
+ "k-virtual-table": virtualization
4771
+ }
4772
+ ),
4773
+ children: props.children
4774
+ }
4775
+ );
4776
+ };
4777
+ TableList.states = states11;
4778
+ TableList.options = options11;
4779
+ TableList.className = TABLELIST_CLASSNAME;
4780
+ TableList.defaultProps = defaultProps11;
4781
+
4782
+ // src/table/table-thead.tsx
4783
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4784
+ var className2 = `k-table-thead`;
4785
+ var TableThead = (props) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4786
+ "thead",
4787
+ {
4788
+ className: classNames(
4789
+ props.className,
4790
+ className2
4791
+ ),
4792
+ children: props.children
4793
+ }
4794
+ );
4795
+
4796
+ // src/table/table-tbody.tsx
4797
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4798
+ var className3 = `k-table-tbody`;
4799
+ var TableTbody = (props) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4800
+ "tbody",
4801
+ {
4802
+ className: classNames(
4803
+ props.className,
4804
+ className3
4805
+ ),
4806
+ children: props.children
4807
+ }
4808
+ );
4809
+
4810
+ // src/table/table-tfoot.tsx
4811
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4812
+
4813
+ // src/table/table-row.tsx
4814
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4815
+ var TABLEROW_CLASSNAME = `k-table-row`;
4816
+ var states12 = [
4817
+ States.hover,
4818
+ States.focus,
4819
+ States.selected,
4820
+ States.disabled
4821
+ ];
4822
+ var TableRow = (props) => {
4823
+ const {
4824
+ hover,
4825
+ focus,
4826
+ selected,
4827
+ disabled,
4828
+ alt,
4829
+ ...other
4830
+ } = props;
4831
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4832
+ "tr",
4833
+ {
4834
+ ...other,
4835
+ className: classNames(
4836
+ props.className,
4837
+ TABLEROW_CLASSNAME,
4838
+ {
4839
+ ["k-table-alt-row"]: alt
4840
+ },
4841
+ stateClassNames(TABLEROW_CLASSNAME, {
4842
+ hover,
4843
+ focus,
4844
+ disabled,
4845
+ selected
4846
+ })
4847
+ ),
4848
+ children: props.children
4849
+ }
4850
+ );
4851
+ };
4852
+
4853
+ // src/table/table-list-row.tsx
4854
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4855
+ var states13 = [
4856
+ States.hover,
4857
+ States.focus,
4858
+ States.selected,
4859
+ States.disabled
4860
+ ];
4861
+
4862
+ // src/table/table-th.tsx
4863
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4864
+ var className4 = `k-table-th`;
4865
+ var TableTh = (props) => {
4866
+ const {
4867
+ text,
4868
+ colspan,
4869
+ rowspan,
4870
+ ...other
4871
+ } = props;
4872
+ const textOrChildren = text ? text : props.children;
4873
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4874
+ "th",
4875
+ {
4876
+ colSpan: colspan,
4877
+ rowSpan: rowspan,
4878
+ ...other,
4879
+ className: classNames(
4880
+ props.className,
4881
+ className4
4882
+ ),
4883
+ children: textOrChildren
4884
+ }
4885
+ );
4886
+ };
4887
+
4888
+ // src/table/table-list-th.tsx
4889
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4890
+
4891
+ // src/table/table-td.tsx
4892
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4893
+ var className5 = `k-table-td`;
4894
+ var TableTd = (props) => {
4895
+ const {
4896
+ text,
4897
+ colspan,
4898
+ ...other
4899
+ } = props;
4900
+ const textOrChildren = text ? text : props.children;
4901
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4902
+ "td",
4903
+ {
4904
+ colSpan: colspan,
4905
+ ...other,
4906
+ className: classNames(
4907
+ props.className,
4908
+ className5
4909
+ ),
4910
+ children: textOrChildren
4911
+ }
4912
+ );
4913
+ };
4914
+
4915
+ // src/table/table-list-td.tsx
4916
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4917
+
4918
+ // src/table/table-group-header.tsx
4919
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4920
+
4921
+ // src/table/table-group-sticky-header.tsx
4922
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4923
+
4924
+ // src/table/table-group-row.tsx
4925
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4926
+
4927
+ // src/table/table-list-group-row.tsx
4928
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4929
+
4930
+ // src/table/templates/table-list.tsx
4931
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4932
+
4933
+ // src/table/templates/table-list-virtualization.tsx
4934
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4935
+
4936
+ // src/table/templates/data-table-normal.tsx
4937
+ var import_jsx_runtime38 = require("react/jsx-runtime");
4938
+
4939
+ // src/table/templates/table-native.tsx
4940
+ var import_jsx_runtime39 = require("react/jsx-runtime");
4941
+
4942
+ // src/grid/grid-header-table.spec.tsx
4943
+ var import_jsx_runtime40 = require("react/jsx-runtime");
4944
+ var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
4945
+ var GridHeaderTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4946
+ Table,
4947
+ {
4948
+ size: "medium",
4949
+ ...props,
4950
+ className: classNames(
4951
+ props.className,
4952
+ GRIDHEADERTABLE_CLASSNAME
4953
+ ),
4954
+ children: props.children
4955
+ }
4956
+ );
4957
+
4958
+ // src/grid/grid-header-cell.spec.tsx
4959
+ var import_jsx_runtime41 = require("react/jsx-runtime");
4960
+ var className6 = `k-header`;
4961
+ var states14 = [
4962
+ States.hover,
4963
+ States.focus,
4964
+ States.active
4965
+ ];
4966
+ var defaultProps12 = {
4967
+ sortIcon: "sort-asc-small"
4968
+ };
4969
+ var GridHeaderCell = (props) => {
4970
+ const {
4971
+ menu,
4972
+ sortable,
4973
+ sticky,
4974
+ resizable,
4975
+ columnTitle,
4976
+ hover,
4977
+ focus,
4978
+ active,
4979
+ sortIcon = defaultProps12.sortIcon,
4980
+ sortOrder,
4981
+ ...others
4982
+ } = props;
4983
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4984
+ TableTh,
4985
+ {
4986
+ ...others,
4987
+ className: classNames(
4988
+ props.className,
4989
+ className6,
4990
+ {
4991
+ [`k-filterable`]: menu === "filter",
4992
+ [`k-sorted`]: sortable,
4993
+ [`k-grid-header-sticky`]: sticky,
4994
+ [`k-touch-action-none`]: resizable
4995
+ },
4996
+ stateClassNames(className6, {
4997
+ hover,
4998
+ focus,
4999
+ active
5000
+ })
5001
+ ),
5002
+ children: [
5003
+ columnTitle && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: "k-cell-inner", children: [
5004
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: "k-link", children: [
5005
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-column-title", children: columnTitle }),
5006
+ sortable && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: sortIcon }) }),
5007
+ sortOrder && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-sort-order", children: sortOrder })
5008
+ ] }),
5009
+ menu && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("a", { href: "#", className: classNames(
5010
+ "k-grid-header-menu",
5011
+ {
5012
+ [`k-active`]: active,
5013
+ [`k-grid-filter-menu`]: menu === "filter",
5014
+ [`k-grid-column-menu`]: menu === "column"
5015
+ }
5016
+ ), children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: menu === "filter" ? "filter" : "more-vertical" }) })
5017
+ ] }),
5018
+ props.children,
5019
+ resizable && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-column-resizer k-touch-action-none" })
5020
+ ]
5021
+ }
5022
+ );
5023
+ };
5024
+
5025
+ // src/grid/grid-container.spec.tsx
5026
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5027
+ var className7 = `k-grid-container`;
5028
+ var GridContainer = (props) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5029
+ "div",
5030
+ {
5031
+ ...props,
5032
+ className: classNames(
5033
+ props.className,
5034
+ className7
5035
+ ),
5036
+ children: props.children
5037
+ }
5038
+ );
5039
+
5040
+ // src/grid/grid-content.spec.tsx
5041
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5042
+ var className8 = `k-grid-content`;
5043
+ var GridContent = (props) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5044
+ "div",
5045
+ {
5046
+ ...props,
5047
+ className: classNames(
5048
+ props.className,
5049
+ className8
5050
+ ),
5051
+ children: props.children
5052
+ }
5053
+ );
5054
+
5055
+ // src/grid/grid-table.spec.tsx
5056
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5057
+ var GRIDTABLE_CLASSNAME = `k-grid-table`;
5058
+ var GridTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5059
+ Table,
5060
+ {
5061
+ size: "medium",
5062
+ ...props,
5063
+ className: classNames(
5064
+ props.className,
5065
+ GRIDTABLE_CLASSNAME
5066
+ ),
5067
+ children: props.children
5068
+ }
5069
+ );
5070
+
5071
+ // src/grid/grid-footer.spec.tsx
5072
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5073
+
5074
+ // src/grid/grid-footer-table.spec.tsx
5075
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5076
+
5077
+ // src/input/input.spec.tsx
5078
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5079
+ var INPUT_CLASSNAME = `k-input`;
5080
+ var states15 = [
5081
+ States.hover,
5082
+ States.focus,
5083
+ States.valid,
5084
+ States.invalid,
5085
+ States.required,
5086
+ States.disabled,
5087
+ States.loading,
5088
+ States.readonly
5089
+ ];
5090
+ var options12 = {
5091
+ size: [Size.small, Size.medium, Size.large],
5092
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5093
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5094
+ };
5095
+ var defaultProps13 = {
5096
+ size: Size.medium,
5097
+ rounded: Size.medium,
5098
+ fillMode: FillMode.solid
5099
+ };
5100
+ var Input = (props) => {
5101
+ const {
5102
+ hover,
5103
+ focus,
5104
+ disabled,
5105
+ invalid,
5106
+ valid,
5107
+ loading,
5108
+ readonly,
5109
+ size = defaultProps13.size,
5110
+ rounded = defaultProps13.rounded,
5111
+ fillMode = defaultProps13.fillMode,
5112
+ ...other
5113
+ } = props;
5114
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5115
+ "span",
5116
+ {
5117
+ ...other,
5118
+ className: classNames(
5119
+ props.className,
5120
+ INPUT_CLASSNAME,
5121
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
5122
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
5123
+ )
5124
+ }
5125
+ );
5126
+ };
5127
+ Input.states = states15;
5128
+ Input.options = options12;
5129
+ Input.className = INPUT_CLASSNAME;
5130
+ Input.defaultProps = defaultProps13;
5131
+
5132
+ // src/input/picker.spec.tsx
5133
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5134
+ var PICKER_CLASSNAME = `k-picker`;
5135
+ var pickerStates = [
5136
+ States.hover,
5137
+ States.focus,
5138
+ States.valid,
5139
+ States.invalid,
5140
+ States.required,
5141
+ States.disabled,
5142
+ States.loading,
5143
+ States.readonly
5144
+ ];
5145
+ var pickerOptions = {
5146
+ size: [Size.small, Size.medium, Size.large],
5147
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5148
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5149
+ };
5150
+ var defaultProps14 = {
5151
+ size: Size.medium,
5152
+ rounded: Roundness.medium,
5153
+ fillMode: FillMode.solid
5154
+ };
5155
+ var Picker = (props) => {
5156
+ const {
5157
+ hover,
5158
+ focus,
5159
+ disabled,
5160
+ invalid,
5161
+ valid,
5162
+ loading,
5163
+ readonly,
5164
+ size = defaultProps14.size,
5165
+ rounded = defaultProps14.rounded,
5166
+ fillMode = defaultProps14.fillMode,
5167
+ ...other
5168
+ } = props;
5169
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5170
+ "span",
5171
+ {
5172
+ ...other,
5173
+ className: classNames(
5174
+ props.className,
5175
+ PICKER_CLASSNAME,
5176
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
5177
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
5178
+ ),
5179
+ children: props.children
5180
+ }
5181
+ );
5182
+ };
5183
+ Picker.states = pickerStates;
5184
+ Picker.options = pickerOptions;
5185
+ Picker.className = PICKER_CLASSNAME;
5186
+ Picker.defaultProps = defaultProps14;
5187
+
5188
+ // src/input/input-clear-value.tsx
5189
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5190
+ var className9 = `k-clear-value`;
5191
+ var states16 = [
5192
+ States.disabled,
5193
+ States.loading,
5194
+ States.readonly
5195
+ ];
5196
+ var options13 = {};
5197
+ var InputClearValue = (props) => {
5198
+ const {
5199
+ disabled,
5200
+ loading,
5201
+ readonly,
5202
+ value
5203
+ } = props;
5204
+ if (disabled || readonly || loading || !value) {
5205
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, {});
5206
+ }
5207
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: classNames(props.className, className9), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: "x" }) });
5208
+ };
5209
+ InputClearValue.states = states16;
5210
+ InputClearValue.options = options13;
5211
+ InputClearValue.className = className9;
5212
+
5213
+ // src/input/input-inner-input.tsx
5214
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5215
+ var className10 = `k-input-inner`;
5216
+ var states17 = [];
5217
+ var options14 = {};
5218
+ var defaultProps15 = {
5219
+ type: "text",
5220
+ autocomplete: "off",
5221
+ value: "",
5222
+ placeholder: ""
5223
+ };
5224
+ var InputInnerInput = (props) => {
5225
+ const {
5226
+ value = defaultProps15.value,
5227
+ type = defaultProps15.type,
5228
+ placeholder = defaultProps15.placeholder,
5229
+ autocomplete = defaultProps15.autocomplete,
5230
+ ...other
5231
+ } = props;
5232
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5233
+ "input",
5234
+ {
5235
+ ...other,
5236
+ type,
5237
+ className: classNames(props.className, className10, optionClassNames(className10, props)),
5238
+ placeholder,
5239
+ autoComplete: autocomplete,
5240
+ defaultValue: value
5241
+ }
5242
+ );
5243
+ };
5244
+ InputInnerInput.states = states17;
5245
+ InputInnerInput.options = options14;
5246
+ InputInnerInput.className = className10;
5247
+
5248
+ // src/input/input-inner-span.tsx
5249
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5250
+ var className11 = `k-input-inner`;
5251
+ var states18 = [];
5252
+ var options15 = {};
5253
+ var InputInnerSpan = (props) => {
5254
+ const {
5255
+ value,
5256
+ placeholder,
5257
+ showValue,
5258
+ valueIcon,
5259
+ valueIconName,
5260
+ ...other
5261
+ } = props;
5262
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
5263
+ "span",
5264
+ {
5265
+ ...other,
5266
+ className: classNames(props.className, className11, optionClassNames(className11, props)),
5267
+ children: [
5268
+ valueIcon,
5269
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
5270
+ showValue && !value && placeholder,
5271
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "k-input-value-text", children: value })
5272
+ ]
5273
+ }
5274
+ );
5275
+ };
5276
+ InputInnerSpan.states = states18;
5277
+ InputInnerSpan.options = options15;
5278
+ InputInnerSpan.className = className11;
5279
+
5280
+ // src/input/input-inner-textarea.tsx
5281
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5282
+ var defaultProps16 = {
5283
+ value: "",
5284
+ placeholder: ""
5285
+ };
5286
+ var className12 = `k-input-inner`;
5287
+ var states19 = [];
5288
+ var options16 = {};
5289
+ var InputInnerTextarea = (props) => {
5290
+ const {
5291
+ value = defaultProps16.value,
5292
+ placeholder = defaultProps16.placeholder,
5293
+ rows,
5294
+ ...other
5295
+ } = props;
5296
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5297
+ "textarea",
5298
+ {
5299
+ ...other,
5300
+ className: classNames(props.className, className12, optionClassNames(className12, props)),
5301
+ placeholder,
5302
+ rows,
5303
+ children: value
5304
+ }
5305
+ );
5306
+ };
5307
+ InputInnerTextarea.states = states19;
5308
+ InputInnerTextarea.options = options16;
5309
+ InputInnerTextarea.className = className12;
5310
+
5311
+ // src/input/input-loading-icon.tsx
5312
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5313
+ var className13 = `k-input-loading-icon`;
5314
+ var states20 = [
5315
+ States.disabled,
5316
+ States.loading
5317
+ ];
5318
+ var InputLoadingIcon = (props) => {
5319
+ const {
5320
+ disabled,
5321
+ loading
5322
+ } = props;
5323
+ if (disabled || !loading) {
5324
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, {});
5325
+ }
5326
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: classNames(props.className, className13, "k-icon k-i-loading") });
5327
+ };
5328
+
5329
+ // src/input/input-validation-icon.tsx
5330
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5331
+ var className14 = `k-input-validation-icon`;
5332
+ var states21 = [
5333
+ States.valid,
5334
+ States.invalid,
5335
+ States.disabled,
5336
+ States.loading
5337
+ ];
5338
+ var options17 = {};
5339
+ var InputValidationIcon = (props) => {
5340
+ const {
5341
+ valid,
5342
+ invalid,
5343
+ disabled,
5344
+ loading
5345
+ } = props;
5346
+ const iconName = invalid ? "warning-circle" : "check-circle";
5347
+ const renderValidationIcon = Boolean(valid || invalid);
5348
+ if (disabled || loading || !renderValidationIcon) {
5349
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {});
5350
+ }
5351
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { className: classNames(className14), icon: iconName });
5352
+ };
5353
+ InputValidationIcon.states = states21;
5354
+ InputValidationIcon.options = options17;
5355
+ InputValidationIcon.className = className14;
5356
+
5357
+ // src/input/input-prefix.tsx
5358
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5359
+ var className15 = `k-input-prefix`;
5360
+ var defaultProps17 = {
5361
+ direction: "horizontal"
5362
+ };
5363
+ var InputPrefix = (props) => {
5364
+ const {
5365
+ direction = defaultProps17.direction,
5366
+ ...other
5367
+ } = props;
5368
+ if (!props.children) {
5369
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {});
5370
+ }
5371
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5372
+ "span",
5373
+ {
5374
+ ...other,
5375
+ className: classNames(
5376
+ className15,
5377
+ props.className,
5378
+ {
5379
+ [`k-input-prefix-${direction}`]: direction
5380
+ }
5381
+ ),
5382
+ children: props.children
5383
+ }
5384
+ );
5385
+ };
5386
+
5387
+ // src/input/input-suffix.tsx
5388
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5389
+ var className16 = `k-input-suffix`;
5390
+ var defaultProps18 = {
5391
+ direction: "horizontal"
5392
+ };
5393
+ var InputSuffix = (props) => {
5394
+ const {
5395
+ direction = defaultProps18.direction,
5396
+ ...other
5397
+ } = props;
5398
+ if (!props.children) {
5399
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, {});
5400
+ }
5401
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5402
+ "span",
5403
+ {
5404
+ ...other,
5405
+ className: classNames(
5406
+ className16,
5407
+ props.className,
5408
+ {
5409
+ [`k-input-suffix-${direction}`]: direction
5410
+ }
5411
+ ),
5412
+ children: props.children
5413
+ }
5414
+ );
5415
+ };
5416
+
5417
+ // src/input/input-prefix-text.tsx
5418
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5419
+
5420
+ // src/input/input-suffix-text.tsx
5421
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5422
+
5423
+ // src/input/input-separator.tsx
5424
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5425
+ var className17 = `k-input-separator`;
5426
+ var defaultProps19 = {
5427
+ direction: "vertical"
5428
+ };
5429
+ var InputSeparator = (props) => {
5430
+ const {
5431
+ direction = defaultProps19.direction,
5432
+ ...other
5433
+ } = props;
5434
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5435
+ "span",
5436
+ {
5437
+ ...other,
5438
+ className: classNames(
5439
+ className17,
5440
+ props.className,
5441
+ {
5442
+ [`${className17}-${direction}`]: direction
5443
+ }
5444
+ )
5445
+ }
5446
+ );
5447
+ };
5448
+
5449
+ // src/animation-container/animation-container.spec.tsx
5450
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5451
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5452
+ var states22 = [];
5453
+ var options18 = {};
5454
+ var defaultProps20 = {
5455
+ positionMode: "absolute"
5456
+ };
5457
+ var AnimationContainer = (props) => {
5458
+ const {
5459
+ positionMode,
5460
+ animationStyle,
5461
+ offset,
5462
+ ...other
5463
+ } = props;
5464
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5465
+ "div",
5466
+ {
5467
+ ...other,
5468
+ style: { ...offset, ...props.style },
5469
+ className: classNames(
5470
+ ANIMATION_CONTAINER_CLASSNAME,
5471
+ "k-animation-container-shown",
5472
+ {
5473
+ ["k-animation-container-fixed"]: positionMode === "fixed"
5474
+ }
5475
+ ),
5476
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5477
+ }
5478
+ );
5479
+ };
5480
+ AnimationContainer.states = states22;
5481
+ AnimationContainer.options = options18;
5482
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5483
+ AnimationContainer.defaultProps = defaultProps20;
5484
+
5485
+ // src/popup/popup.spec.tsx
5486
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5487
+ var POPUP_CLASSNAME = `k-popup`;
5488
+ var states23 = [];
5489
+ var options19 = {};
5490
+ var defaultProps21 = {
5491
+ positionMode: "absolute"
5492
+ };
5493
+ var Popup = (props) => {
5494
+ const {
5495
+ offset,
5496
+ positionMode,
5497
+ ...other
5498
+ } = props;
5499
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5500
+ AnimationContainer,
5501
+ {
5502
+ positionMode,
5503
+ offset,
5504
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5505
+ }
5506
+ );
5507
+ };
5508
+ Popup.states = states23;
5509
+ Popup.options = options19;
5510
+ Popup.className = POPUP_CLASSNAME;
5511
+ Popup.defaultProps = defaultProps21;
5512
+
5513
+ // src/dropdownlist/dropdownlist.spec.tsx
5514
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5515
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5516
+ var states24 = [
5517
+ States.hover,
5518
+ States.focus,
5519
+ States.valid,
5520
+ States.invalid,
5521
+ States.required,
5522
+ States.disabled,
5523
+ States.loading,
5524
+ States.readonly
5525
+ ];
5526
+ var options20 = {
5527
+ size: [Size.small, Size.medium, Size.large],
5528
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5529
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5530
+ };
5531
+ var defaultProps22 = {
5532
+ showValue: true,
5533
+ arrowIconName: "caret-alt-down",
5534
+ size: Size.medium,
5535
+ rounded: Roundness.medium,
5536
+ fillMode: FillMode.solid
5537
+ };
5538
+ var DropdownList = (props) => {
5539
+ const {
5540
+ valueIconName,
5541
+ arrowIconName = defaultProps22.arrowIconName,
5542
+ prefix,
5543
+ suffix,
5544
+ value,
5545
+ placeholder,
5546
+ size,
5547
+ rounded,
5548
+ fillMode,
5549
+ hover,
5550
+ focus,
5551
+ valid,
5552
+ invalid,
5553
+ required,
5554
+ loading,
5555
+ disabled,
5556
+ readonly,
5557
+ showValue = defaultProps22.showValue,
5558
+ popup,
5559
+ opened,
5560
+ ...other
5561
+ } = props;
5562
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
5563
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5564
+ Picker,
5565
+ {
5566
+ ...other,
5567
+ size,
5568
+ rounded,
5569
+ fillMode,
5570
+ hover,
5571
+ focus,
5572
+ valid,
5573
+ invalid,
5574
+ required,
5575
+ loading,
5576
+ disabled,
5577
+ readonly,
5578
+ className: classNames(
5579
+ props.className,
5580
+ DROPDOWNLIST_CLASSNAME,
5581
+ {
5582
+ "k-icon-picker": !showValue && valueIconName
5583
+ }
5584
+ ),
5585
+ children: [
5586
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputPrefix, { children: prefix }),
5587
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5588
+ InputInnerSpan,
5589
+ {
5590
+ placeholder,
5591
+ value,
5592
+ showValue,
5593
+ valueIconName
5594
+ }
5595
+ ),
5596
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5597
+ InputValidationIcon,
5598
+ {
5599
+ valid,
5600
+ invalid,
5601
+ loading,
5602
+ disabled
5603
+ }
5604
+ ),
5605
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5606
+ InputLoadingIcon,
5607
+ {
5608
+ loading,
5609
+ disabled
5610
+ }
5611
+ ),
5612
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputSuffix, { children: suffix }),
5613
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5614
+ Button,
5615
+ {
5616
+ className: "k-input-button",
5617
+ icon: arrowIconName,
5618
+ rounded: null,
5619
+ size: props.size,
5620
+ fillMode: props.fillMode
5621
+ }
5622
+ )
5623
+ ]
5624
+ }
5625
+ ),
5626
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5627
+ ] });
5628
+ };
5629
+ DropdownList.states = states24;
5630
+ DropdownList.options = options20;
5631
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
5632
+ DropdownList.defaultProps = defaultProps22;
5633
+
5634
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
5635
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5636
+
5637
+ // src/nodata/nodata.tsx
5638
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5639
+ var className18 = `k-nodata`;
5640
+ var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: classNames(className18, props.className), children: props.children });
5641
+
5642
+ // src/list/list.spec.tsx
5643
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5644
+ var LIST_CLASSNAME = `k-list`;
5645
+ var states25 = [];
5646
+ var options21 = {
5647
+ size: [Size.small, Size.medium, Size.large]
5648
+ };
5649
+ var defaultProps23 = {
5650
+ size: Size.medium
5651
+ };
5652
+ var List = (props) => {
5653
+ const {
5654
+ size = defaultProps23.size,
5655
+ virtualization,
5656
+ children,
5657
+ optionLabel,
5658
+ ...other
5659
+ } = props;
5660
+ let listHeader;
5661
+ let listGroup;
5662
+ let listContent;
5663
+ const listChildren = [];
5664
+ if (children) {
5665
+ children.map((child, index) => {
5666
+ if (child.type === ListGroup) {
5667
+ if (child.props.root === true) {
5668
+ listHeader = child.props.label;
5669
+ child.props.children.map((optChild, index2) => {
5670
+ listChildren.push(
5671
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5672
+ ListItem,
5673
+ {
5674
+ ...optChild.props
5675
+ },
5676
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5677
+ )
5678
+ );
5679
+ });
5680
+ } else {
5681
+ child.props.children.forEach((optChild, index2) => {
5682
+ let groupLabel = "";
5683
+ if (index2 === 0) {
5684
+ groupLabel = child.props.label;
5685
+ }
5686
+ listChildren.push(
5687
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5688
+ ListItem,
5689
+ {
5690
+ className: index2 === 0 ? "k-first" : "",
5691
+ ...optChild.props,
5692
+ groupLabel
5693
+ },
5694
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5695
+ )
5696
+ );
5697
+ });
5698
+ }
5699
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5700
+ } else if (child.type === ListItem) {
5701
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5702
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ListContent, { virtualization, children: listChildren });
5703
+ }
5704
+ });
5705
+ } else {
5706
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(NoData, { children: "No data found." });
5707
+ }
5708
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5709
+ "div",
5710
+ {
5711
+ ...other,
5712
+ className: classNames(
5713
+ props.className,
5714
+ LIST_CLASSNAME,
5715
+ optionClassNames(LIST_CLASSNAME, {
5716
+ size
5717
+ }),
5718
+ {
5719
+ ["k-virtual-list"]: virtualization
5720
+ }
5721
+ ),
5722
+ children: [
5723
+ optionLabel,
5724
+ listGroup,
5725
+ listContent
5726
+ ]
5727
+ }
5728
+ );
5729
+ };
5730
+ List.states = states25;
5731
+ List.options = options21;
5732
+ List.className = LIST_CLASSNAME;
5733
+ List.defaultProps = defaultProps23;
5734
+
5735
+ // src/list/list-angular.spec.tsx
5736
+ var import_jsx_runtime66 = require("react/jsx-runtime");
5737
+ var LISTANGULAR_CLASSNAME = `k-list`;
5738
+ var states26 = [];
5739
+ var options22 = {
5740
+ size: [Size.small, Size.medium, Size.large]
5741
+ };
5742
+ var defaultProps24 = {
5743
+ size: Size.medium
5744
+ };
5745
+ var ListAngular = (props) => {
5746
+ const {
5747
+ size = defaultProps24.size,
5748
+ virtualization,
5749
+ children,
5750
+ ...other
5751
+ } = props;
5752
+ let listHeader;
5753
+ let listGroup;
5754
+ let listContent;
5755
+ const listChildren = [];
5756
+ if (children) {
5757
+ children.map((child, index) => {
5758
+ if (child.type === ListGroup) {
5759
+ if (child.props.root === true) {
5760
+ listHeader = child.props.label;
5761
+ child.props.children.map((optChild, index2) => {
5762
+ listChildren.push(
5763
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
5764
+ ListItem,
5765
+ {
5766
+ ...optChild.props
5767
+ },
5768
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5769
+ )
5770
+ );
5771
+ });
5772
+ } else {
5773
+ listChildren.push(
5774
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
5775
+ ListGroupItem,
5776
+ {
5777
+ ...child.props,
5778
+ children: child.props.label
5779
+ },
5780
+ `listChild-${index}`
5781
+ )
5782
+ );
5783
+ child.props.children.map((optChild, index2) => {
5784
+ listChildren.push(
5785
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
5786
+ ListItem,
5787
+ {
5788
+ ...optChild.props
5789
+ },
5790
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5791
+ )
5792
+ );
5793
+ });
5794
+ }
5795
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5796
+ } else if (child.type === ListItem) {
5797
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5798
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ListContent, { virtualization, children: listChildren });
5799
+ }
5800
+ });
5801
+ } else {
5802
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(NoData, { children: "No data found." });
5803
+ }
5804
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
5805
+ "div",
5806
+ {
5807
+ ...other,
5808
+ className: classNames(
5809
+ props.className,
5810
+ LISTANGULAR_CLASSNAME,
5811
+ optionClassNames(LISTANGULAR_CLASSNAME, {
5812
+ size
5813
+ }),
5814
+ {
5815
+ ["k-virtual-list"]: virtualization
5816
+ }
5817
+ ),
5818
+ children: [
5819
+ listGroup,
5820
+ listContent
5821
+ ]
5822
+ }
5823
+ );
5824
+ };
5825
+ ListAngular.states = states26;
5826
+ ListAngular.options = options22;
5827
+ ListAngular.className = LISTANGULAR_CLASSNAME;
5828
+ ListAngular.defaultProps = defaultProps24;
5829
+
5830
+ // src/list/list-item.spec.tsx
5831
+ var import_jsx_runtime67 = require("react/jsx-runtime");
5832
+ var LISTITEM_CLASSNAME = `k-list-item`;
5833
+ var states27 = [
5834
+ States.hover,
5835
+ States.focus,
5836
+ States.selected,
5837
+ States.disabled
5838
+ ];
5839
+ var options23 = {};
5840
+ var defaultProps25 = {};
5841
+ var ListItem = (props) => {
5842
+ const {
5843
+ text,
5844
+ groupLabel,
5845
+ showIcon,
5846
+ iconName,
5847
+ showCheckbox,
5848
+ checked,
5849
+ hover,
5850
+ focus,
5851
+ selected,
5852
+ disabled,
5853
+ ...other
5854
+ } = props;
5855
+ const textOrChildren = text ? text : props.children;
5856
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
5857
+ "li",
5858
+ {
5859
+ ...other,
5860
+ className: classNames(
5861
+ props.className,
5862
+ LISTITEM_CLASSNAME,
5863
+ stateClassNames(LISTITEM_CLASSNAME, {
5864
+ hover,
5865
+ focus,
5866
+ disabled,
5867
+ selected
5868
+ })
5869
+ ),
5870
+ children: [
5871
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Checkbox, { checked }),
5872
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: iconName }),
5873
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
5874
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
5875
+ ]
5876
+ }
5877
+ );
5878
+ };
5879
+ ListItem.states = states27;
5880
+ ListItem.options = options23;
5881
+ ListItem.className = LISTITEM_CLASSNAME;
5882
+ ListItem.defaultProps = defaultProps25;
5883
+
5884
+ // src/list/list-content.tsx
5885
+ var import_jsx_runtime68 = require("react/jsx-runtime");
5886
+ var className19 = `k-list-content`;
5887
+ var ListContent = (props) => {
5888
+ const {
5889
+ virtualization
5890
+ } = props;
5891
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: classNames(className19, props.className), children: [
5892
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
5893
+ virtualization && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", {}) })
5894
+ ] });
5895
+ };
5896
+
5897
+ // src/list/list-header.tsx
5898
+ var import_jsx_runtime69 = require("react/jsx-runtime");
5899
+ var className20 = `k-list-group-sticky-header`;
5900
+ var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: classNames(className20, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-list-header-text", children: props.children }) });
5901
+
5902
+ // src/list/list-group.tsx
5903
+ var import_jsx_runtime70 = require("react/jsx-runtime");
5904
+ var ListGroup = (props) => {
5905
+ const {
5906
+ virtualization,
5907
+ label
5908
+ } = props;
5909
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
5910
+ label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ListHeader, { children: label }),
5911
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ListContent, { virtualization, children: props.children })
5912
+ ] });
5913
+ };
5914
+
5915
+ // src/list/list-group-item.tsx
5916
+ var import_jsx_runtime71 = require("react/jsx-runtime");
5917
+ var className21 = `k-list-group-item`;
5918
+ var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("li", { className: classNames(className21, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "k-list-item-text", children: props.children }) });
5919
+
5920
+ // src/list/list-option-label.tsx
5921
+ var import_jsx_runtime72 = require("react/jsx-runtime");
5922
+ var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
5923
+ var states28 = [
5924
+ States.hover,
5925
+ States.focus,
5926
+ States.selected,
5927
+ States.disabled
5928
+ ];
5929
+ var options24 = {};
5930
+ var defaultProps26 = {};
5931
+ var ListOptionLabel = (props) => {
5932
+ const {
5933
+ text,
5934
+ hover,
5935
+ focus,
5936
+ selected,
5937
+ disabled,
5938
+ ...other
5939
+ } = props;
5940
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5941
+ "div",
5942
+ {
5943
+ ...other,
5944
+ className: classNames(
5945
+ LIST_OPTIONLABEL_CLASSNAME,
5946
+ stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
5947
+ hover,
5948
+ focus,
5949
+ selected,
5950
+ disabled
5951
+ })
5952
+ ),
5953
+ children: text
5954
+ }
5955
+ );
5956
+ };
5957
+ ListOptionLabel.states = states28;
5958
+ ListOptionLabel.options = options24;
5959
+ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
5960
+ ListOptionLabel.defaultProps = defaultProps26;
5961
+
5962
+ // src/list/templates/list-normal.tsx
5963
+ var import_jsx_runtime73 = require("react/jsx-runtime");
5964
+
5965
+ // src/list/templates/list-virtualization.tsx
5966
+ var import_jsx_runtime74 = require("react/jsx-runtime");
5967
+
5968
+ // src/list/templates/list-grouping.tsx
5969
+ var import_jsx_runtime75 = require("react/jsx-runtime");
5970
+
5971
+ // src/list/templates/list-virualization-grouping.tsx
5972
+ var import_jsx_runtime76 = require("react/jsx-runtime");
5973
+
5974
+ // src/list/templates/list-virtualization-angular.tsx
5975
+ var import_jsx_runtime77 = require("react/jsx-runtime");
5976
+
5977
+ // src/list/templates/list-grouping-angular.tsx
5978
+ var import_jsx_runtime78 = require("react/jsx-runtime");
5979
+
5980
+ // src/list/templates/list-virualization-grouping-angular.tsx
5981
+ var import_jsx_runtime79 = require("react/jsx-runtime");
5982
+
5983
+ // src/dropdownlist/templates/dropdownlist-popup.tsx
5984
+ var import_jsx_runtime80 = require("react/jsx-runtime");
5985
+
5986
+ // src/searchbox/searchbox.spec.tsx
5987
+ var import_jsx_runtime81 = require("react/jsx-runtime");
5988
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5989
+ var states29 = [
5990
+ States.hover,
5991
+ States.focus,
5992
+ States.valid,
5993
+ States.invalid,
5994
+ States.required,
5995
+ States.disabled,
5996
+ States.loading
5997
+ ];
5998
+ var options25 = {
5999
+ size: [Size.small, Size.medium, Size.large],
6000
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6001
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6002
+ };
6003
+ var defaultProps27 = {
6004
+ showIcon: true,
6005
+ icon: "search",
6006
+ size: Input.defaultProps.size,
6007
+ rounded: Input.defaultProps.rounded,
6008
+ fillMode: Input.defaultProps.fillMode
6009
+ };
6010
+ var Searchbox = (props) => {
6011
+ const {
6012
+ value,
6013
+ placeholder,
6014
+ size,
6015
+ rounded,
6016
+ fillMode,
6017
+ hover,
6018
+ focus,
6019
+ valid,
6020
+ invalid,
6021
+ required,
6022
+ loading,
6023
+ disabled,
6024
+ showIcon = defaultProps27.showIcon,
6025
+ icon = defaultProps27.icon,
6026
+ ...other
6027
+ } = props;
6028
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
6029
+ Input,
6030
+ {
6031
+ ...other,
6032
+ size,
6033
+ rounded,
6034
+ fillMode,
6035
+ hover,
6036
+ focus,
6037
+ valid,
6038
+ invalid,
6039
+ required,
6040
+ loading,
6041
+ disabled,
6042
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
6043
+ children: [
6044
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { className: "k-input-icon", icon }),
6045
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputInnerInput, { placeholder, value }),
6046
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputLoadingIcon, { ...props }),
6047
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputValidationIcon, { ...props }),
6048
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InputClearValue, { ...props })
6049
+ ]
6050
+ }
6051
+ );
6052
+ };
6053
+ Searchbox.states = states29;
6054
+ Searchbox.options = options25;
6055
+ Searchbox.className = SEARCHBOX_CLASSNAME;
6056
+ Searchbox.defaultProps = defaultProps27;
6057
+
6058
+ // src/searchbox/templates/searchbox-normal.tsx
6059
+ var import_jsx_runtime82 = require("react/jsx-runtime");
6060
+
6061
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
6062
+ var import_jsx_runtime83 = require("react/jsx-runtime");
6063
+
6064
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
6065
+ var import_jsx_runtime84 = require("react/jsx-runtime");
6066
+
6067
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6068
+ var import_jsx_runtime85 = require("react/jsx-runtime");
6069
+
6070
+ // src/spinbutton/spinbutton.spec.tsx
6071
+ var import_jsx_runtime86 = require("react/jsx-runtime");
6072
+ var SPINBUTTON_CLASSNAME = `k-spin-button`;
6073
+ var states30 = [];
6074
+ var options26 = {
6075
+ size: [Size.small, Size.medium, Size.large],
6076
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
6077
+ };
6078
+ var defaultProps28 = {
6079
+ size: Size.medium,
6080
+ fillMode: FillMode.solid
6081
+ };
6082
+ var SpinButton = (props) => {
6083
+ const {
6084
+ size = defaultProps28.size,
6085
+ fillMode = defaultProps28.fillMode,
6086
+ ...other
6087
+ } = props;
6088
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
6089
+ "span",
6090
+ {
6091
+ ...other,
6092
+ className: classNames(
6093
+ SPINBUTTON_CLASSNAME,
6094
+ props.className
6095
+ ),
6096
+ children: [
6097
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6098
+ Button,
6099
+ {
6100
+ className: "k-spinner-increase",
6101
+ icon: "caret-alt-up",
6102
+ rounded: null,
6103
+ size,
6104
+ fillMode
6105
+ }
6106
+ ),
6107
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6108
+ Button,
6109
+ {
6110
+ className: "k-spinner-decrease",
6111
+ icon: "caret-alt-down",
6112
+ rounded: null,
6113
+ size,
6114
+ fillMode
6115
+ }
6116
+ )
6117
+ ]
6118
+ }
6119
+ );
6120
+ };
6121
+ SpinButton.states = states30;
6122
+ SpinButton.options = options26;
6123
+ SpinButton.className = SPINBUTTON_CLASSNAME;
6124
+ SpinButton.defaultProps = defaultProps28;
6125
+
6126
+ // src/numerictextbox/numerictextbox.spec.tsx
6127
+ var import_jsx_runtime87 = require("react/jsx-runtime");
6128
+ var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
6129
+ var states31 = [
6130
+ States.hover,
6131
+ States.focus,
6132
+ States.valid,
6133
+ States.invalid,
6134
+ States.loading,
6135
+ States.required,
6136
+ States.disabled,
6137
+ States.readonly
6138
+ ];
6139
+ var options27 = {
6140
+ size: [Size.small, Size.medium, Size.large],
6141
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6142
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6143
+ };
6144
+ var defaultProps29 = {
6145
+ showSpinButton: true,
6146
+ showClearButton: true,
6147
+ size: Input.defaultProps.size,
6148
+ rounded: Input.defaultProps.rounded,
6149
+ fillMode: Input.defaultProps.fillMode
6150
+ };
6151
+ var NumericTextbox = (props) => {
6152
+ const {
6153
+ prefix,
6154
+ suffix,
6155
+ value,
6156
+ placeholder,
6157
+ size,
6158
+ rounded,
6159
+ fillMode,
6160
+ hover,
6161
+ focus,
6162
+ valid,
6163
+ invalid,
6164
+ required,
6165
+ loading,
6166
+ disabled,
6167
+ readonly,
6168
+ showClearButton = defaultProps29.showClearButton,
6169
+ showSpinButton = defaultProps29.showSpinButton,
6170
+ ...other
6171
+ } = props;
6172
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6173
+ Input,
6174
+ {
6175
+ ...other,
6176
+ size,
6177
+ rounded,
6178
+ fillMode,
6179
+ hover,
6180
+ focus,
6181
+ valid,
6182
+ invalid,
6183
+ required,
6184
+ loading,
6185
+ disabled,
6186
+ readonly,
6187
+ className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
6188
+ children: [
6189
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
6190
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputPrefix, { children: prefix }),
6191
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSeparator, {})
6192
+ ] }),
6193
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputInnerInput, { placeholder, value }),
6194
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6195
+ InputValidationIcon,
6196
+ {
6197
+ valid,
6198
+ invalid,
6199
+ loading,
6200
+ disabled
6201
+ }
6202
+ ),
6203
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6204
+ InputLoadingIcon,
6205
+ {
6206
+ loading,
6207
+ disabled
6208
+ }
6209
+ ),
6210
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6211
+ InputClearValue,
6212
+ {
6213
+ loading,
6214
+ disabled,
6215
+ readonly,
6216
+ value
6217
+ }
6218
+ ),
6219
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
6220
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSeparator, {}),
6221
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSuffix, { children: suffix })
6222
+ ] }),
6223
+ showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6224
+ SpinButton,
6225
+ {
6226
+ className: "k-input-spinner",
6227
+ size,
6228
+ fillMode
6229
+ }
6230
+ )
6231
+ ]
6232
+ }
6233
+ );
6234
+ };
6235
+ NumericTextbox.states = states31;
6236
+ NumericTextbox.options = options27;
6237
+ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
6238
+ NumericTextbox.defaultProps = defaultProps29;
6239
+
6240
+ // src/numerictextbox/templates/numerictextbox-normal.tsx
6241
+ var import_jsx_runtime88 = require("react/jsx-runtime");
6242
+
6243
+ // src/numerictextbox/templates/numerictextbox-prefix.tsx
6244
+ var import_jsx_runtime89 = require("react/jsx-runtime");
6245
+
6246
+ // src/numerictextbox/templates/numerictextbox-suffix.tsx
6247
+ var import_jsx_runtime90 = require("react/jsx-runtime");
6248
+
6249
+ // src/pager/pager.spec.tsx
6250
+ var import_jsx_runtime91 = require("react/jsx-runtime");
6251
+ var PAGER_CLASSNAME = `k-pager`;
6252
+ var states32 = [
6253
+ States.focus,
6254
+ States.disabled
6255
+ ];
6256
+ var options28 = {
6257
+ size: [Size.small, Size.medium, Size.large]
6258
+ };
6259
+ var defaultProps30 = {
6260
+ size: Size.medium,
6261
+ adaptive: false,
6262
+ itemsPerPage: true,
6263
+ type: "numeric",
6264
+ pageSizes: true,
6265
+ refresh: true,
6266
+ info: true
6267
+ };
6268
+ var Pager = (props) => {
6269
+ const {
6270
+ size = defaultProps30.size,
6271
+ adaptive = defaultProps30.adaptive,
6272
+ itemsPerPage = defaultProps30.itemsPerPage,
6273
+ type = defaultProps30.type,
6274
+ pageSizes = defaultProps30.pageSizes,
6275
+ refresh = defaultProps30.refresh,
6276
+ info = defaultProps30.info,
6277
+ focus,
6278
+ disabled,
6279
+ dir,
6280
+ ...other
6281
+ } = props;
6282
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6283
+ "div",
6284
+ {
6285
+ dir,
6286
+ ...other,
6287
+ className: classNames(
6288
+ props.className,
6289
+ PAGER_CLASSNAME,
6290
+ optionClassNames(PAGER_CLASSNAME, {
6291
+ size
6292
+ }),
6293
+ stateClassNames(PAGER_CLASSNAME, {
6294
+ focus,
6295
+ disabled
6296
+ })
6297
+ ),
6298
+ children: [
6299
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6300
+ "div",
6301
+ {
6302
+ className: classNames(
6303
+ "k-pager-numbers-wrap"
6304
+ ),
6305
+ children: [
6306
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6307
+ Button,
6308
+ {
6309
+ className: classNames(
6310
+ "k-pager-nav",
6311
+ "k-pager-first"
6312
+ ),
6313
+ disabled: true,
6314
+ fillMode: "flat",
6315
+ size,
6316
+ rounded: null,
6317
+ icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
6318
+ }
6319
+ ),
6320
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6321
+ Button,
6322
+ {
6323
+ className: classNames(
6324
+ "k-pager-nav"
6325
+ ),
6326
+ disabled: true,
6327
+ fillMode: "flat",
6328
+ size,
6329
+ rounded: null,
6330
+ icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
6331
+ }
6332
+ ),
6333
+ type === "numeric" && !adaptive && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6334
+ "div",
6335
+ {
6336
+ className: classNames(
6337
+ "k-pager-numbers"
6338
+ ),
6339
+ children: [
6340
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6341
+ Button,
6342
+ {
6343
+ selected: true,
6344
+ fillMode: "flat",
6345
+ themeColor: "primary",
6346
+ size,
6347
+ rounded: null,
6348
+ children: "1"
6349
+ }
6350
+ ),
6351
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6352
+ Button,
6353
+ {
6354
+ fillMode: "flat",
6355
+ themeColor: "primary",
6356
+ size,
6357
+ rounded: null,
6358
+ children: "2"
6359
+ }
6360
+ ),
6361
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6362
+ Button,
6363
+ {
6364
+ fillMode: "flat",
6365
+ themeColor: "primary",
6366
+ size,
6367
+ rounded: null,
6368
+ children: "3"
6369
+ }
6370
+ ),
6371
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6372
+ Button,
6373
+ {
6374
+ fillMode: "flat",
6375
+ themeColor: "primary",
6376
+ size,
6377
+ rounded: null,
6378
+ children: "4"
6379
+ }
6380
+ ),
6381
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6382
+ Button,
6383
+ {
6384
+ fillMode: "flat",
6385
+ themeColor: "primary",
6386
+ size,
6387
+ rounded: null,
6388
+ children: "5"
6389
+ }
6390
+ ),
6391
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6392
+ Button,
6393
+ {
6394
+ fillMode: "flat",
6395
+ themeColor: "primary",
6396
+ size,
6397
+ rounded: null,
6398
+ children: "6"
6399
+ }
6400
+ )
6401
+ ]
6402
+ }
6403
+ ),
6404
+ type === "numeric" && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6405
+ "select",
6406
+ {
6407
+ className: classNames(
6408
+ "k-picker",
6409
+ "k-picker-solid",
6410
+ "k-dropdown-list",
6411
+ "k-dropdown",
6412
+ "k-rounded-md",
6413
+ optionClassNames("k-picker", {
6414
+ size
6415
+ }),
6416
+ {
6417
+ ["k-hidden"]: !adaptive
6418
+ }
6419
+ ),
6420
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("option", { children: "99" })
6421
+ }
6422
+ ),
6423
+ type === "input" && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6424
+ "span",
6425
+ {
6426
+ className: classNames(
6427
+ "k-pager-input"
6428
+ ),
6429
+ children: [
6430
+ !adaptive && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: "Page" }),
6431
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
6432
+ !adaptive && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: "of 8" })
6433
+ ]
6434
+ }
6435
+ ),
6436
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6437
+ Button,
6438
+ {
6439
+ className: classNames(
6440
+ "k-pager-nav"
6441
+ ),
6442
+ fillMode: "flat",
6443
+ size,
6444
+ rounded: null,
6445
+ icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
6446
+ }
6447
+ ),
6448
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6449
+ Button,
6450
+ {
6451
+ className: classNames(
6452
+ "k-pager-nav",
6453
+ "k-pager-last"
6454
+ ),
6455
+ fillMode: "flat",
6456
+ size,
6457
+ rounded: null,
6458
+ icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
6459
+ }
6460
+ )
6461
+ ]
6462
+ }
6463
+ ),
6464
+ pageSizes && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
6465
+ "span",
6466
+ {
6467
+ className: classNames(
6468
+ "k-pager-sizes"
6469
+ ),
6470
+ children: [
6471
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(DropdownList, { value: "99", size }),
6472
+ itemsPerPage && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: "items per page" })
6473
+ ]
6474
+ }
6475
+ ),
6476
+ refresh && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6477
+ Button,
6478
+ {
6479
+ className: classNames(
6480
+ "k-pager-refresh"
6481
+ ),
6482
+ fillMode: "flat",
6483
+ size,
6484
+ rounded: null,
6485
+ icon: "arrow-rotate-cw"
6486
+ }
6487
+ ),
6488
+ info && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6489
+ "span",
6490
+ {
6491
+ className: classNames(
6492
+ "k-pager-info"
6493
+ ),
6494
+ children: "1 - 20 of 91 items"
6495
+ }
6496
+ )
6497
+ ]
6498
+ }
6499
+ );
6500
+ };
6501
+ Pager.states = states32;
6502
+ Pager.options = options28;
6503
+ Pager.className = PAGER_CLASSNAME;
6504
+ Pager.defaultProps = defaultProps30;
6505
+
6506
+ // src/pager/templates/pager-normal.tsx
6507
+ var import_jsx_runtime92 = require("react/jsx-runtime");
6508
+
6509
+ // src/pager/templates/pager-input.tsx
6510
+ var import_jsx_runtime93 = require("react/jsx-runtime");
6511
+
6512
+ // src/pager/templates/pager-adaptive.tsx
6513
+ var import_jsx_runtime94 = require("react/jsx-runtime");
6514
+
6515
+ // src/pager/templates/pager-adaptive-input.tsx
6516
+ var import_jsx_runtime95 = require("react/jsx-runtime");
6517
+
6518
+ // src/grid/grid-pager.spec.tsx
6519
+ var import_jsx_runtime96 = require("react/jsx-runtime");
6520
+
6521
+ // src/button-group/button-group.spec.tsx
6522
+ var import_jsx_runtime97 = require("react/jsx-runtime");
6523
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
6524
+ var states33 = [
6525
+ States.disabled
6526
+ ];
6527
+ var options29 = {
6528
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
6529
+ };
6530
+ var defaultProps31 = {
6531
+ fillMode: FillMode.solid
6532
+ };
6533
+ var ButtonGroup = (props) => {
6534
+ const {
6535
+ fillMode = defaultProps31.fillMode,
6536
+ disabled,
6537
+ stretched,
6538
+ ...other
6539
+ } = props;
6540
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6541
+ "div",
6542
+ {
6543
+ ...other,
6544
+ className: classNames(
6545
+ props.className,
6546
+ BUTTONGROUP_CLASSNAME,
6547
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
6548
+ fillMode
6549
+ }),
6550
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
6551
+ disabled
6552
+ }),
6553
+ {
6554
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
6555
+ }
6556
+ ),
6557
+ children: props.children
6558
+ }
6559
+ );
6560
+ };
6561
+ ButtonGroup.states = states33;
6562
+ ButtonGroup.options = options29;
6563
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
6564
+ ButtonGroup.defaultProps = defaultProps31;
6565
+
6566
+ // src/button-group/templates/icon-button-group.tsx
6567
+ var import_jsx_runtime98 = require("react/jsx-runtime");
6568
+
6569
+ // src/button-group/templates/icon-text-button-group.tsx
6570
+ var import_jsx_runtime99 = require("react/jsx-runtime");
6571
+
6572
+ // src/button-group/templates/text-button-group.tsx
6573
+ var import_jsx_runtime100 = require("react/jsx-runtime");
6574
+
6575
+ // src/button-group/templates/mixed-button-group.tsx
6576
+ var import_jsx_runtime101 = require("react/jsx-runtime");
6577
+
6578
+ // src/color-preview/color-preview.tsx
6579
+ var import_jsx_runtime102 = require("react/jsx-runtime");
6580
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
6581
+ var states34 = [];
6582
+ var options30 = {};
6583
+ var ColorPreview = (props) => {
6584
+ const {
6585
+ color,
6586
+ iconName,
6587
+ ...other
6588
+ } = props;
6589
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
6590
+ "span",
6591
+ {
6592
+ ...other,
6593
+ className: classNames(
6594
+ props.className,
6595
+ COLORPREVIEW_CLASSNAME,
6596
+ {
6597
+ "k-icon-color-preview": iconName,
6598
+ "k-no-color": !color
6599
+ }
6600
+ ),
6601
+ children: [
6602
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
6603
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
6604
+ "span",
6605
+ {
6606
+ className: "k-color-preview-mask",
6607
+ style: { backgroundColor: color }
6608
+ }
6609
+ )
6610
+ ]
6611
+ }
6612
+ );
6613
+ };
6614
+ ColorPreview.states = states34;
6615
+ ColorPreview.options = options30;
6616
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
6617
+
6618
+ // src/colorpicker/colorpicker.spec.tsx
6619
+ var import_jsx_runtime103 = require("react/jsx-runtime");
6620
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
6621
+ var states35 = [
6622
+ States.hover,
6623
+ States.focus,
6624
+ States.valid,
6625
+ States.invalid,
6626
+ States.required,
6627
+ States.disabled
6628
+ ];
6629
+ var options31 = {
6630
+ size: [Size.small, Size.medium, Size.large],
6631
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6632
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6633
+ };
6634
+ var defaultProps32 = {
6635
+ arrowIconName: "caret-alt-down",
6636
+ size: Picker.defaultProps.size,
6637
+ rounded: Picker.defaultProps.rounded,
6638
+ fillMode: Picker.defaultProps.fillMode
6639
+ };
6640
+ var ColorPicker = (props) => {
6641
+ const {
6642
+ prefix,
6643
+ suffix,
6644
+ value,
6645
+ placeholder,
6646
+ size,
6647
+ rounded,
6648
+ fillMode,
6649
+ hover,
6650
+ focus,
6651
+ valid,
6652
+ invalid,
6653
+ required,
6654
+ disabled,
6655
+ valueIconName,
6656
+ arrowIconName = defaultProps32.arrowIconName,
6657
+ popup,
6658
+ opened,
6659
+ ...other
6660
+ } = props;
6661
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
6662
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
6663
+ Picker,
6664
+ {
6665
+ ...other,
6666
+ size,
6667
+ rounded,
6668
+ fillMode,
6669
+ hover,
6670
+ focus,
6671
+ valid,
6672
+ invalid,
6673
+ required,
6674
+ disabled,
6675
+ className: classNames(
6676
+ props.className,
6677
+ COLORPICKER_CLASSNAME,
6678
+ "k-icon-picker"
6679
+ ),
6680
+ children: [
6681
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(InputPrefix, { children: prefix }),
6682
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
6683
+ InputInnerSpan,
6684
+ {
6685
+ placeholder,
6686
+ value,
6687
+ showValue: false,
6688
+ valueIcon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
6689
+ ColorPreview,
6690
+ {
6691
+ className: "k-value-icon",
6692
+ color: value,
6693
+ iconName: valueIconName
6694
+ }
6695
+ ),
6696
+ valueIconName
6697
+ }
6698
+ ),
6699
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(InputSuffix, { children: suffix }),
6700
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
6701
+ Button,
6702
+ {
6703
+ className: "k-input-button",
6704
+ icon: arrowIconName,
6705
+ rounded: null,
6706
+ size,
6707
+ fillMode
6708
+ }
6709
+ )
6710
+ ]
6711
+ }
6712
+ ),
6713
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
6714
+ ] });
6715
+ };
6716
+ ColorPicker.states = states35;
6717
+ ColorPicker.options = options31;
6718
+ ColorPicker.className = COLORPICKER_CLASSNAME;
6719
+ ColorPicker.defaultProps = defaultProps32;
6720
+
6721
+ // src/colorpicker/templates/colorpicker-normal.tsx
6722
+ var import_jsx_runtime104 = require("react/jsx-runtime");
6723
+
6724
+ // src/action-buttons/action-buttons.spec.tsx
6725
+ var import_jsx_runtime105 = require("react/jsx-runtime");
6726
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
6727
+ var states36 = [];
6728
+ var options32 = {};
6729
+ var defaultProps33 = {
6730
+ alignment: "start",
6731
+ orientation: "horizontal"
6732
+ };
6733
+ var ActionButtons = (props) => {
6734
+ const {
6735
+ alignment = defaultProps33.alignment,
6736
+ orientation = defaultProps33.orientation,
6737
+ ...other
6738
+ } = props;
6739
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6740
+ "div",
6741
+ {
6742
+ ...other,
6743
+ className: classNames(
6744
+ ACTIONBUTTONS_CLASSNAME,
6745
+ {
6746
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
6747
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
6748
+ },
6749
+ props.className
6750
+ ),
6751
+ children: props.children
6752
+ }
6753
+ );
6754
+ };
6755
+ ActionButtons.states = states36;
6756
+ ActionButtons.options = options32;
6757
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
6758
+ ActionButtons.defaultProps = defaultProps33;
6759
+ var action_buttons_spec_default = ActionButtons;
6760
+
6761
+ // src/slider/slider.spec.tsx
6762
+ var import_jsx_runtime106 = require("react/jsx-runtime");
6763
+ var SLIDER_CLASSNAME = "k-slider";
6764
+ var states37 = [
6765
+ States.hover,
6766
+ States.focus,
6767
+ States.active,
6768
+ States.disabled,
6769
+ States.readonly
6770
+ ];
6771
+ var options33 = {};
6772
+ var defaultProps34 = {
6773
+ type: "single",
6774
+ orientation: "horizontal",
6775
+ readonly: false,
6776
+ disabled: false,
6777
+ handlePosition: "end",
6778
+ showButtons: true,
6779
+ showTicks: true
6780
+ };
6781
+ var Slider = (props) => {
6782
+ const {
6783
+ type = defaultProps34.type,
6784
+ orientation = defaultProps34.orientation,
6785
+ readonly = defaultProps34.readonly,
6786
+ disabled = defaultProps34.disabled,
6787
+ handlePosition = defaultProps34.handlePosition,
6788
+ showButtons = defaultProps34.showButtons,
6789
+ showTicks = defaultProps34.showTicks,
6790
+ hover,
6791
+ focus,
6792
+ active,
6793
+ trackStyle,
6794
+ dir
6795
+ } = props;
6796
+ let iconIncrease;
6797
+ let iconDecrease;
6798
+ if (orientation === "horizontal") {
6799
+ iconIncrease = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
6800
+ iconDecrease = dir === "rtl" ? "caret-alt-right" : "caret-alt-left";
6801
+ } else if (orientation === "vertical") {
6802
+ iconIncrease = "caret-alt-up";
6803
+ iconDecrease = "caret-alt-down";
6804
+ }
6805
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: classNames(
6806
+ SLIDER_CLASSNAME,
6807
+ props.className,
6808
+ stateClassNames(SLIDER_CLASSNAME, {
6809
+ readonly,
6810
+ disabled
6811
+ }),
6812
+ {
6813
+ [`k-slider-${orientation}`]: orientation,
6814
+ "k-colorgradient-slider": type === "gradient",
6815
+ "k-range-slider": type === "range"
6816
+ }
6817
+ ), dir, children: [
6818
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
6819
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "k-slider-track-wrap", children: [
6820
+ showTicks && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
6821
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
6822
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "k-slider-selection" }),
6823
+ type === "range" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: classNames(
6824
+ "k-draghandle",
6825
+ "k-draghandle-start",
6826
+ stateClassNames(SLIDER_CLASSNAME, {
6827
+ hover,
6828
+ focus,
6829
+ active
6830
+ })
6831
+ ) }),
6832
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: classNames(
6833
+ "k-draghandle",
6834
+ `k-draghandle-${handlePosition}`,
6835
+ stateClassNames(SLIDER_CLASSNAME, {
6836
+ hover,
6837
+ focus,
6838
+ active
6839
+ })
6840
+ ) })
6841
+ ] })
6842
+ ] }),
6843
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
6844
+ ] });
6845
+ };
6846
+ Slider.states = states37;
6847
+ Slider.options = options33;
6848
+ Slider.className = SLIDER_CLASSNAME;
6849
+ Slider.defaultProps = defaultProps34;
6850
+
6851
+ // src/slider/slider-tick.tsx
6852
+ var import_jsx_runtime107 = require("react/jsx-runtime");
6853
+ var SLIDER_TICK_CLASSNAME = "k-tick";
6854
+ var states38 = [];
6855
+ var options34 = {};
6856
+ var defaultProps35 = {
6857
+ label: false
6858
+ };
6859
+ var SliderTick = (props) => {
6860
+ const {
6861
+ style,
6862
+ label = defaultProps35.label,
6863
+ orientation,
6864
+ large,
6865
+ text
6866
+ } = props;
6867
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("li", { className: classNames(
6868
+ props.className,
6869
+ SLIDER_TICK_CLASSNAME,
6870
+ {
6871
+ [`k-tick-${orientation}`]: orientation,
6872
+ "k-tick-large": large
6873
+ }
6874
+ ), style, children: label && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { className: "k-label", children: text }) });
6875
+ };
6876
+ SliderTick.states = states38;
6877
+ SliderTick.options = options34;
6878
+ SliderTick.className = SLIDER_TICK_CLASSNAME;
6879
+ SliderTick.defaultProps = defaultProps35;
6880
+
6881
+ // src/slider/templates/slider-normal.tsx
6882
+ var import_jsx_runtime108 = require("react/jsx-runtime");
6883
+
6884
+ // src/slider/templates/slider-vertical.tsx
6885
+ var import_jsx_runtime109 = require("react/jsx-runtime");
6886
+
6887
+ // src/slider/templates/slider-range.tsx
6888
+ var import_jsx_runtime110 = require("react/jsx-runtime");
6889
+
6890
+ // src/slider/templates/slider-range-vertical.tsx
6891
+ var import_jsx_runtime111 = require("react/jsx-runtime");
6892
+
6893
+ // src/slider/templates/slider-gradient.tsx
6894
+ var import_jsx_runtime112 = require("react/jsx-runtime");
6895
+
6896
+ // src/slider/templates/slider-gradient-vertical.tsx
6897
+ var import_jsx_runtime113 = require("react/jsx-runtime");
6898
+ var SliderGradientVertical = (props) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
6899
+ Slider,
6900
+ {
6901
+ type: "gradient",
6902
+ orientation: "vertical",
6903
+ showButtons: false,
6904
+ showTicks: false,
6905
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
6906
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, { label: true, large: true, text: "0" }),
6907
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6908
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6909
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6910
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6911
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, { label: true, large: true, text: "5" }),
6912
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6913
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6914
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6915
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, {}),
6916
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(SliderTick, { label: true, large: true, text: "10" })
6917
+ ] }),
6918
+ ...props
6919
+ }
6920
+ );
6921
+
6922
+ // src/textbox/textbox.spec.tsx
6923
+ var import_jsx_runtime114 = require("react/jsx-runtime");
6924
+ var TEXTBOX_CLASSNAME = `k-textbox`;
6925
+ var states39 = [
6926
+ States.hover,
6927
+ States.focus,
6928
+ States.valid,
6929
+ States.invalid,
6930
+ States.required,
6931
+ States.disabled,
6932
+ States.loading,
6933
+ States.readonly
6934
+ ];
6935
+ var options35 = {
6936
+ size: [Size.small, Size.medium, Size.large],
6937
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6938
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6939
+ };
6940
+ var defaultProps36 = {
6941
+ showClearButton: true,
6942
+ size: Input.defaultProps.size,
6943
+ rounded: Input.defaultProps.rounded,
6944
+ fillMode: Input.defaultProps.fillMode
6945
+ };
6946
+ var Textbox = (props) => {
6947
+ const {
6948
+ prefix,
6949
+ suffix,
6950
+ value,
6951
+ placeholder,
6952
+ size,
6953
+ rounded,
6954
+ fillMode,
6955
+ hover,
6956
+ focus,
6957
+ valid,
6958
+ invalid,
6959
+ required,
6960
+ loading,
6961
+ disabled,
6962
+ readonly,
6963
+ showClearButton = defaultProps36.showClearButton,
6964
+ ...other
6965
+ } = props;
6966
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
6967
+ Input,
6968
+ {
6969
+ ...other,
6970
+ size,
6971
+ rounded,
6972
+ fillMode,
6973
+ hover,
6974
+ focus,
6975
+ valid,
6976
+ invalid,
6977
+ required,
6978
+ loading,
6979
+ disabled,
6980
+ readonly,
6981
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
6982
+ children: [
6983
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
6984
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputPrefix, { children: prefix }),
6985
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputSeparator, {})
6986
+ ] }),
6987
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputInnerInput, { placeholder, value }),
6988
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
6989
+ InputValidationIcon,
6990
+ {
6991
+ valid,
6992
+ invalid,
6993
+ loading,
6994
+ disabled
6995
+ }
6996
+ ),
6997
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
6998
+ InputLoadingIcon,
6999
+ {
7000
+ loading,
7001
+ disabled
7002
+ }
7003
+ ),
7004
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
7005
+ InputClearValue,
7006
+ {
7007
+ loading,
7008
+ disabled,
7009
+ readonly,
7010
+ value
7011
+ }
7012
+ ),
7013
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
7014
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputSeparator, {}),
7015
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(InputSuffix, { children: suffix })
7016
+ ] })
7017
+ ]
7018
+ }
7019
+ );
7020
+ };
7021
+ Textbox.states = states39;
7022
+ Textbox.options = options35;
7023
+ Textbox.className = TEXTBOX_CLASSNAME;
7024
+ Textbox.defaultProps = defaultProps36;
7025
+
7026
+ // src/textbox/templates/textbox-normal.tsx
7027
+ var import_jsx_runtime115 = require("react/jsx-runtime");
7028
+
7029
+ // src/textbox/templates/textbox-prefix.tsx
7030
+ var import_jsx_runtime116 = require("react/jsx-runtime");
7031
+
7032
+ // src/textbox/templates/textbox-suffix.tsx
7033
+ var import_jsx_runtime117 = require("react/jsx-runtime");
7034
+
7035
+ // src/colorgradient/color-input.tsx
7036
+ var import_jsx_runtime118 = require("react/jsx-runtime");
7037
+ var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
7038
+ var states40 = [];
7039
+ var options36 = {};
7040
+ var defaultProps37 = {
7041
+ mode: "rgba"
7042
+ };
7043
+ var ColorInput = (props) => {
7044
+ const {
7045
+ mode = defaultProps37.mode
7046
+ } = props;
7047
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
7048
+ /* @__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" }) }),
7049
+ mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
7050
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7051
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7052
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
7053
+ ] }),
7054
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7055
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7056
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
7057
+ ] }),
7058
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7059
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7060
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
7061
+ ] }),
7062
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7063
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7064
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
7065
+ ] })
7066
+ ] }),
7067
+ mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
7068
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7069
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7070
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
7071
+ ] }),
7072
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7073
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7074
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
7075
+ ] }),
7076
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7077
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7078
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
7079
+ ] })
7080
+ ] }),
7081
+ mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
7082
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7083
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7084
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
7085
+ ] }),
7086
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7087
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7088
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
7089
+ ] }),
7090
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7091
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7092
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
7093
+ ] }),
7094
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7095
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7096
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
7097
+ ] })
7098
+ ] }),
7099
+ mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
7100
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7101
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7102
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
7103
+ ] }),
7104
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7105
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7106
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
7107
+ ] }),
7108
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "k-vstack", children: [
7109
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7110
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
7111
+ ] })
7112
+ ] }),
7113
+ 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: [
7114
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
7115
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
7116
+ ] }) })
7117
+ ] });
7118
+ };
7119
+ ColorInput.states = states40;
7120
+ ColorInput.options = options36;
7121
+ ColorInput.className = COLOR_INPUT_CLASSNAME;
7122
+ ColorInput.defaultProps = defaultProps37;
7123
+
7124
+ // src/colorgradient/color-contrast.tsx
7125
+ var import_jsx_runtime119 = require("react/jsx-runtime");
7126
+ var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
7127
+ var states41 = [];
7128
+ var options37 = {};
7129
+ var defaultProps38 = {};
7130
+ var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
7131
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { className: "k-contrast-ratio", children: [
7132
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
7133
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
7134
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "check" }),
7135
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "check" })
7136
+ ] })
7137
+ ] }),
7138
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { children: [
7139
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { children: "AA: 4.5" }),
7140
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
7141
+ "Pass",
7142
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "check" })
7143
+ ] })
7144
+ ] }),
7145
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { children: [
7146
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { children: "AAA: 7.0" }),
7147
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
7148
+ "Fail",
7149
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "x" })
7150
+ ] })
7151
+ ] })
7152
+ ] });
7153
+ ColorContrast.states = states41;
7154
+ ColorContrast.options = options37;
7155
+ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
7156
+ ColorContrast.defaultProps = defaultProps38;
7157
+
7158
+ // src/colorgradient/color-gradient.spec.tsx
7159
+ var import_jsx_runtime120 = require("react/jsx-runtime");
7160
+ var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
7161
+ var states42 = [
7162
+ States.hover,
7163
+ States.focus,
7164
+ States.readonly,
7165
+ States.disabled
7166
+ ];
7167
+ var options38 = {};
7168
+ var defaultProps39 = {
7169
+ mode: "rgba",
7170
+ readonly: false,
7171
+ disabled: false,
7172
+ contrast: false,
7173
+ gradientStyle: { background: "rgb(255, 0, 0 )" },
7174
+ dragHandleStyle: { top: "50px", left: "73px" },
7175
+ alphaStyle: { background: "linear-gradient(to top, transparent, rgb(255, 0, 0))" }
7176
+ };
7177
+ var ColorGradient = (props) => {
7178
+ const {
7179
+ mode = defaultProps39.mode,
7180
+ readonly = defaultProps39.readonly,
7181
+ disabled = defaultProps39.disabled,
7182
+ dir,
7183
+ contrast = defaultProps39.contrast,
7184
+ hover,
7185
+ focus,
7186
+ hoverHandle,
7187
+ focusHandle,
7188
+ gradientStyle = defaultProps39.gradientStyle,
7189
+ dragHandleStyle = defaultProps39.dragHandleStyle,
7190
+ alphaStyle = defaultProps39.alphaStyle
7191
+ } = props;
7192
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: classNames(
7193
+ props.className,
7194
+ COLOR_GRADIENT_CLASSNAME,
7195
+ stateClassNames(COLOR_GRADIENT_CLASSNAME, {
7196
+ hover,
7197
+ focus,
7198
+ readonly,
7199
+ disabled
7200
+ })
7201
+ ), dir, children: [
7202
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
7203
+ /* @__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(
7204
+ "k-hsv-draghandle",
7205
+ "k-draghandle",
7206
+ {
7207
+ "k-hover": hoverHandle,
7208
+ "k-focus": focusHandle
7209
+ }
7210
+ ), style: dragHandleStyle }) }) }),
7211
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
7212
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
7213
+ mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
7214
+ ] })
7215
+ ] }),
7216
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(ColorInput, { mode: props.mode }),
7217
+ contrast && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(ColorContrast, {})
7218
+ ] });
7219
+ };
7220
+ ColorGradient.states = states42;
7221
+ ColorGradient.options = options38;
7222
+ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
7223
+ ColorGradient.defaultProps = defaultProps39;
7224
+
7225
+ // src/colorgradient/templates/colorgradient-normal.tsx
7226
+ var import_jsx_runtime121 = require("react/jsx-runtime");
7227
+
7228
+ // src/colorgradient/templates/colorgradient-contrast.tsx
7229
+ var import_jsx_runtime122 = require("react/jsx-runtime");
7230
+
7231
+ // src/colorpalette/colorpalette-row.tsx
7232
+ var import_jsx_runtime123 = require("react/jsx-runtime");
7233
+ var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("tr", { children: props.children });
7234
+
7235
+ // src/colorpalette/colorpalette-tile.tsx
7236
+ var import_jsx_runtime124 = require("react/jsx-runtime");
7237
+ var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
7238
+ var states43 = [
7239
+ States.hover,
7240
+ States.focus,
7241
+ States.selected
7242
+ ];
7243
+ var options39 = {};
7244
+ var ColorPaletteTile = (props) => {
7245
+ const {
7246
+ color,
7247
+ tileSize,
7248
+ hover,
7249
+ focus,
7250
+ selected,
7251
+ ...other
7252
+ } = props;
7253
+ const styles = {
7254
+ "background-color": color,
7255
+ "width": tileSize ? tileSize + "px" : "",
7256
+ "height": tileSize ? tileSize + "px" : ""
7257
+ };
7258
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7259
+ "td",
7260
+ {
7261
+ ...other,
7262
+ className: classNames(
7263
+ props.className,
7264
+ COLORPALETTETILE_CLASSNAME,
7265
+ stateClassNames(COLORPALETTETILE_CLASSNAME, {
7266
+ hover,
7267
+ focus,
7268
+ selected
7269
+ })
7270
+ ),
7271
+ style: styles
7272
+ }
7273
+ );
7274
+ };
7275
+ ColorPaletteTile.states = states43;
7276
+ ColorPaletteTile.options = options39;
7277
+ ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
7278
+
7279
+ // src/colorpalette/colorpalette.spec.tsx
7280
+ var import_jsx_runtime125 = require("react/jsx-runtime");
7281
+ var COLORPALETTE_CLASSNAME = `k-colorpalette`;
7282
+ var states44 = [
7283
+ States.disabled
7284
+ ];
7285
+ var options40 = {};
7286
+ var defaultProps40 = {
7287
+ columns: 10
7288
+ };
7289
+ var ColorPalette = (props) => {
7290
+ const {
7291
+ palette,
7292
+ columns = defaultProps40.columns,
7293
+ tileSize,
7294
+ disabled,
7295
+ ...other
7296
+ } = props;
7297
+ const newChildren = [];
7298
+ if (palette) {
7299
+ const cols = columns || palette.columns;
7300
+ const colors = palette.colors ? palette.colors : palette;
7301
+ if (Array.isArray(colors)) {
7302
+ Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
7303
+ const items = [];
7304
+ colors.slice(i * cols, (i + 1) * cols).map((color) => {
7305
+ items.push(/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(ColorPaletteTile, { color, tileSize }));
7306
+ });
7307
+ const row = /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(ColorPaletteRow, { children: items });
7308
+ newChildren.push(row);
7309
+ });
7310
+ }
7311
+ }
7312
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7313
+ "div",
7314
+ {
7315
+ ...other,
7316
+ className: classNames(
7317
+ props.className,
7318
+ COLORPALETTE_CLASSNAME,
7319
+ stateClassNames(COLORPALETTE_CLASSNAME, {
7320
+ disabled
7321
+ })
7322
+ ),
7323
+ children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
7324
+ }
7325
+ );
7326
+ };
7327
+ ColorPalette.states = states44;
7328
+ ColorPalette.options = options40;
7329
+ ColorPalette.className = COLORPALETTE_CLASSNAME;
7330
+ ColorPalette.defaultProps = defaultProps40;
7331
+
7332
+ // src/colorpalette/templates/colorpalette-normal.tsx
7333
+ var import_jsx_runtime126 = require("react/jsx-runtime");
7334
+
7335
+ // src/colorpalette/colorpalette-presets.tsx
7336
+ var PALETTEPRESETS = {
7337
+ basic: {
7338
+ colors: ["#000000", "#7f7f7f", "#880015", "#ed1c24", "#ff7f27", "#fff200", "#22b14c", "#00a2e8", "#3f48cc", "#a349a4", "#ffffff", "#c3c3c3", "#b97a57", "#ffaec9", "#ffc90e", "#efe4b0", "#b5e61d", "#99d9ea", "#7092be", "#c8bfe7"],
7339
+ columns: 10
7340
+ },
7341
+ office: {
7342
+ 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"],
7343
+ columns: 10
7344
+ },
7345
+ apex: {
7346
+ 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"],
7347
+ columns: 10
7348
+ },
7349
+ austin: {
7350
+ 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"],
7351
+ columns: 10
7352
+ },
7353
+ clarity: {
7354
+ 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"],
7355
+ columns: 10
7356
+ },
7357
+ slipstream: {
7358
+ 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"],
7359
+ columns: 10
7360
+ },
7361
+ metro: {
7362
+ 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"],
7363
+ columns: 10
7364
+ },
7365
+ flow: {
7366
+ 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"],
7367
+ columns: 10
7368
+ },
7369
+ hardcover: {
7370
+ 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"],
7371
+ columns: 10
7372
+ },
7373
+ trek: {
7374
+ 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"],
7375
+ columns: 10
7376
+ },
7377
+ verve: {
7378
+ 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"],
7379
+ columns: 10
7380
+ },
7381
+ monochrome: {
7382
+ colors: ["#000000", "#1a1a1a", "#333333", "#4d4d4d", "#666666", "#808080", "#999999", "#b3b3b3", "#cccccc", "#e6e6e6", "#f2f2f2", "#ffffff"],
7383
+ columns: 12
7384
+ }
7385
+ };
7386
+
7387
+ // src/coloreditor/color-editor.spec.tsx
7388
+ var import_jsx_runtime127 = require("react/jsx-runtime");
7389
+ var COLOREDITOR_CLASSNAME = "k-coloreditor";
7390
+ var states45 = [
7391
+ States.focus
7392
+ ];
7393
+ var options41 = {};
7394
+ var defaultProps41 = {
7395
+ view: "gradient",
7396
+ currentColor: "fuchsia",
7397
+ palette: PALETTEPRESETS.office
7398
+ };
7399
+ var ColorEditor = (props) => {
7400
+ const {
7401
+ view = defaultProps41.view,
7402
+ color,
7403
+ currentColor = defaultProps41.currentColor,
7404
+ focus,
7405
+ focusView,
7406
+ dir,
7407
+ group,
7408
+ palette = defaultProps41.palette
7409
+ } = props;
7410
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: classNames(
7411
+ props.className,
7412
+ "k-flatcolorpicker",
7413
+ COLOREDITOR_CLASSNAME,
7414
+ stateClassNames(COLOREDITOR_CLASSNAME, { focus })
7415
+ ), dir, children: [
7416
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
7417
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(ButtonGroup, { children: [
7418
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
7419
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
7420
+ ] }) }),
7421
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { className: "k-spacer" }),
7422
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
7423
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
7424
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
7425
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
7426
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
7427
+ ] })
7428
+ ] })
7429
+ ] }),
7430
+ /* @__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 }) }),
7431
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
7432
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
7433
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
7434
+ ] })
7435
+ ] });
7436
+ };
7437
+ ColorEditor.states = states45;
7438
+ ColorEditor.options = options41;
7439
+ ColorEditor.className = COLOREDITOR_CLASSNAME;
7440
+ ColorEditor.defaultProps = defaultProps41;
7441
+
7442
+ // src/coloreditor/templates/coloreditor-normal.tsx
7443
+ var import_jsx_runtime128 = require("react/jsx-runtime");
7444
+
7445
+ // src/coloreditor/templates/coloreditor-palette.tsx
7446
+ var import_jsx_runtime129 = require("react/jsx-runtime");
7447
+
7448
+ // src/coloreditor/templates/coloreditor-group.tsx
7449
+ var import_jsx_runtime130 = require("react/jsx-runtime");
7450
+
7451
+ // src/coloreditor/templates/coloreditor-palette-group.tsx
7452
+ var import_jsx_runtime131 = require("react/jsx-runtime");
7453
+
7454
+ // src/colorpicker/templates/colorpicker-popup-gradient.tsx
7455
+ var import_jsx_runtime132 = require("react/jsx-runtime");
7456
+
7457
+ // src/colorpicker/templates/colorpicker-popup-palette.tsx
7458
+ var import_jsx_runtime133 = require("react/jsx-runtime");
7459
+
7460
+ // src/action-sheet/action-sheet.spec.tsx
7461
+ var import_jsx_runtime134 = require("react/jsx-runtime");
7462
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
7463
+ var states46 = [];
7464
+ var options42 = {};
7465
+ var defaultProps42 = {
7466
+ side: "bottom",
7467
+ fullscreen: false,
7468
+ adaptive: false,
7469
+ overlay: true
7470
+ };
7471
+ var ActionSheet = (props) => {
7472
+ const {
7473
+ children,
7474
+ title,
7475
+ header,
7476
+ footer,
7477
+ actions,
7478
+ side = defaultProps42.side,
7479
+ fullscreen = defaultProps42.fullscreen,
7480
+ adaptive = defaultProps42.adaptive,
7481
+ overlay = defaultProps42.overlay,
7482
+ ...other
7483
+ } = props;
7484
+ const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
7485
+ 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);
7486
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
7487
+ switch (child.type) {
7488
+ case ActionSheetHeader:
7489
+ case ActionSheetFooter:
7490
+ return false;
7491
+ default:
7492
+ return true;
7493
+ }
7494
+ return true;
7495
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {});
7496
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-actionsheet-container", children: [
7497
+ overlay && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: "k-overlay" }),
7498
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
7499
+ AnimationContainer,
7500
+ {
7501
+ animationStyle: {
7502
+ [`${fullscreen === true ? "top" : side}`]: 0,
7503
+ [`${fullscreen === true ? "width" : null}`]: "100%",
7504
+ [`${fullscreen === true ? "height" : null}`]: "100%",
7505
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
7506
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
7507
+ },
7508
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
7509
+ "div",
7510
+ {
7511
+ ...other,
7512
+ className: classNames(
7513
+ props.className,
7514
+ ACTIONSHEET_CLASSNAME,
7515
+ {
7516
+ [`k-actionsheet-${side}`]: fullscreen === false,
7517
+ "k-actionsheet-fullscreen": fullscreen === true,
7518
+ "k-adaptive-actionsheet": adaptive
7519
+ }
7520
+ ),
7521
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, { children: [
7522
+ _ActionSheetHeader,
7523
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: classNames(
7524
+ "k-actionsheet-content",
7525
+ {
7526
+ "!k-overflow-hidden": adaptive
7527
+ }
7528
+ ), children: _ActionSheetContent }),
7529
+ _ActionSheetFooter
7530
+ ] })
7531
+ }
7532
+ )
7533
+ }
7534
+ )
7535
+ ] });
7536
+ };
7537
+ ActionSheet.states = states46;
7538
+ ActionSheet.options = options42;
7539
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
7540
+ ActionSheet.defaultProps = defaultProps42;
7541
+
7542
+ // src/action-sheet/actionsheet-header.tsx
7543
+ var import_jsx_runtime135 = require("react/jsx-runtime");
7544
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
7545
+ var ActionSheetHeader = (props) => {
7546
+ const {
7547
+ title,
7548
+ subTitle,
7549
+ actions,
7550
+ filter,
7551
+ ...other
7552
+ } = props;
7553
+ return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
7554
+ "div",
7555
+ {
7556
+ ...other,
7557
+ className: classNames(
7558
+ props.className,
7559
+ ACTIONSHEETHEADER_CLASSNAME
7560
+ ),
7561
+ children: /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, { children: [
7562
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
7563
+ !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: [
7564
+ title !== "" && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-text-center", children: title }),
7565
+ subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
7566
+ ] }) }),
7567
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
7568
+ 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)) }) })
7569
+ ] }),
7570
+ 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" }) }) })
7571
+ ] })
7572
+ }
7573
+ );
7574
+ };
7575
+
7576
+ // src/action-sheet/actionsheet-footer.tsx
7577
+ var import_jsx_runtime136 = require("react/jsx-runtime");
7578
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
7579
+ var ActionSheetFooter = (props) => {
7580
+ const {
7581
+ actions,
7582
+ ...other
7583
+ } = props;
7584
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
7585
+ action_buttons_spec_default,
7586
+ {
7587
+ ...other,
7588
+ className: classNames(
7589
+ props.className,
7590
+ ACTIONSHEETFOOTER_CLASSNAME
7591
+ ),
7592
+ alignment: "stretched",
7593
+ children: /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_jsx_runtime136.Fragment, { children: [
7594
+ actions && actions.map((action, index) => {
7595
+ if (action === "|") {
7596
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { className: "k-separator" }, index);
7597
+ }
7598
+ if (action === " ") {
7599
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { className: "k-spacer" }, index);
7600
+ }
7601
+ const importantFlag = action.startsWith("!");
7602
+ const actionName = importantFlag ? action.substring(1) : action;
7603
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
7604
+ }),
7605
+ !actions && props.children
7606
+ ] })
7607
+ }
7608
+ );
7609
+ };
7610
+
7611
+ // src/action-sheet/actionsheet-items.tsx
7612
+ var import_jsx_runtime137 = require("react/jsx-runtime");
7613
+ var ActionSheetItems = (props) => {
7614
+ const {
7615
+ ...other
7616
+ } = props;
7617
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
7618
+ "div",
7619
+ {
7620
+ ...other,
7621
+ className: classNames(
7622
+ props.className,
7623
+ "k-list-ul"
7624
+ ),
7625
+ children: props.children
7626
+ }
7627
+ );
7628
+ };
7629
+
7630
+ // src/action-sheet/actionsheet-item.tsx
7631
+ var import_jsx_runtime138 = require("react/jsx-runtime");
7632
+ var states47 = [
7633
+ States.hover,
7634
+ States.focus,
7635
+ States.selected,
7636
+ States.disabled
7637
+ ];
7638
+
7639
+ // src/combobox/combobox.spec.tsx
7640
+ var import_jsx_runtime139 = require("react/jsx-runtime");
7641
+ var COMBOBOX_CLASSNAME = `k-combobox`;
7642
+ var states48 = [
7643
+ States.hover,
7644
+ States.focus,
7645
+ States.valid,
7646
+ States.invalid,
7647
+ States.loading,
7648
+ States.required,
7649
+ States.disabled,
7650
+ States.readonly
7651
+ ];
7652
+ var defaultProps43 = {
7653
+ size: Input.defaultProps.size,
7654
+ rounded: Input.defaultProps.rounded,
7655
+ fillMode: Input.defaultProps.fillMode
7656
+ };
7657
+ var options43 = {
7658
+ size: [Size.small, Size.medium, Size.large],
7659
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7660
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
7661
+ };
7662
+ var Combobox = (props) => {
7663
+ const {
7664
+ prefix,
7665
+ suffix,
7666
+ value,
7667
+ placeholder,
7668
+ size,
7669
+ rounded,
7670
+ fillMode,
7671
+ hover,
7672
+ focus,
7673
+ valid,
7674
+ invalid,
7675
+ required,
7676
+ loading,
7677
+ disabled,
7678
+ popup,
7679
+ opened,
7680
+ readonly,
7681
+ adaptive,
7682
+ adaptiveSettings,
7683
+ ...other
7684
+ } = props;
7685
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_jsx_runtime139.Fragment, { children: [
7686
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(
7687
+ Input,
7688
+ {
7689
+ ...other,
7690
+ size,
7691
+ rounded,
7692
+ fillMode,
7693
+ hover,
7694
+ focus,
7695
+ valid,
7696
+ invalid,
7697
+ required,
7698
+ loading,
7699
+ disabled,
7700
+ readonly,
7701
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
7702
+ children: [
7703
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_jsx_runtime139.Fragment, { children: [
7704
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputPrefix, { children: prefix }),
7705
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputSeparator, {})
7706
+ ] }),
7707
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputInnerInput, { placeholder, value }),
7708
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7709
+ InputValidationIcon,
7710
+ {
7711
+ valid,
7712
+ invalid,
7713
+ loading,
7714
+ disabled
7715
+ }
7716
+ ),
7717
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7718
+ InputLoadingIcon,
7719
+ {
7720
+ loading,
7721
+ disabled
7722
+ }
7723
+ ),
7724
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7725
+ InputClearValue,
7726
+ {
7727
+ loading,
7728
+ disabled,
7729
+ readonly,
7730
+ value
7731
+ }
7732
+ ),
7733
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(import_jsx_runtime139.Fragment, { children: [
7734
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputSeparator, {}),
7735
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(InputSuffix, { children: suffix })
7736
+ ] }),
7737
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7738
+ Button,
7739
+ {
7740
+ className: "k-input-button",
7741
+ icon: "caret-alt-down",
7742
+ rounded: null,
7743
+ size,
7744
+ fillMode
7745
+ }
7746
+ )
7747
+ ]
7748
+ }
7749
+ ),
7750
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
7751
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
7752
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(
7753
+ ActionSheetHeader,
7754
+ {
7755
+ actions: ["x"],
7756
+ filter: true,
7757
+ title: "Select Item"
7758
+ }
7759
+ ),
7760
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime139.jsxs)(List, { size: "large", children: [
7761
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ListItem, { text: "List item" }),
7762
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ListItem, { text: "List item" }),
7763
+ /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ListItem, { text: "List item" })
7764
+ ] }) })
7765
+ ] })
7766
+ ] });
7767
+ };
7768
+ Combobox.states = states48;
7769
+ Combobox.options = options43;
7770
+ Combobox.className = COMBOBOX_CLASSNAME;
7771
+ Combobox.defaultProps = defaultProps43;
7772
+
7773
+ // src/combobox/templates/combobox-normal.tsx
7774
+ var import_jsx_runtime140 = require("react/jsx-runtime");
7775
+
7776
+ // src/combobox/templates/combobox-popup.tsx
7777
+ var import_jsx_runtime141 = require("react/jsx-runtime");
7778
+
7779
+ // src/combobox/templates/combobox-grouping.tsx
7780
+ var import_jsx_runtime142 = require("react/jsx-runtime");
7781
+
7782
+ // src/combobox/templates/combobox-adaptive.tsx
7783
+ var import_jsx_runtime143 = require("react/jsx-runtime");
7784
+
7785
+ // src/combobox/templates/combobox-prefix.tsx
7786
+ var import_jsx_runtime144 = require("react/jsx-runtime");
7787
+
7788
+ // src/combobox/templates/combobox-suffix.tsx
7789
+ var import_jsx_runtime145 = require("react/jsx-runtime");
7790
+
7791
+ // src/menu-button/menu-button.spec.tsx
7792
+ var import_jsx_runtime146 = require("react/jsx-runtime");
7793
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
7794
+ var states49 = [
7795
+ States.hover,
7796
+ States.focus,
7797
+ States.active,
7798
+ States.selected,
7799
+ States.disabled
7800
+ ];
7801
+ var options44 = {
7802
+ size: [Size.small, Size.medium, Size.large],
7803
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7804
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
7805
+ themeColor: [
7806
+ ThemeColor.base,
7807
+ ThemeColor.primary,
7808
+ ThemeColor.secondary,
7809
+ ThemeColor.tertiary,
7810
+ ThemeColor.success,
7811
+ ThemeColor.warning,
7812
+ ThemeColor.error,
7813
+ ThemeColor.info,
7814
+ ThemeColor.light,
7815
+ ThemeColor.dark,
7816
+ ThemeColor.inverse
7817
+ ]
7818
+ };
7819
+ var defaultProps44 = {
7820
+ size: Size.medium,
7821
+ rounded: Roundness.medium,
7822
+ fillMode: FillMode.solid,
7823
+ themeColor: ThemeColor.base,
7824
+ showArrow: true,
7825
+ arrowIconName: "caret-alt-down"
7826
+ };
7827
+ var MenuButton = (props) => {
7828
+ const {
7829
+ size = defaultProps44.size,
7830
+ rounded = defaultProps44.rounded,
7831
+ fillMode = defaultProps44.fillMode,
7832
+ themeColor = defaultProps44.themeColor,
7833
+ hover,
7834
+ focus,
7835
+ active,
7836
+ selected,
7837
+ disabled,
7838
+ icon,
7839
+ text,
7840
+ showArrow = defaultProps44.showArrow,
7841
+ arrowIconName = defaultProps44.arrowIconName,
7842
+ popup,
7843
+ opened,
7844
+ ...other
7845
+ } = props;
7846
+ return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(import_jsx_runtime146.Fragment, { children: [
7847
+ /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
7848
+ Button,
7849
+ {
7850
+ ...other,
7851
+ className: classNames(
7852
+ props.className,
7853
+ MENUBUTTON_CLASSNAME
7854
+ ),
7855
+ text,
7856
+ size,
7857
+ rounded,
7858
+ fillMode,
7859
+ themeColor,
7860
+ hover,
7861
+ focus,
7862
+ active,
7863
+ selected,
7864
+ disabled,
7865
+ icon,
7866
+ showArrow,
7867
+ arrowIconName
7868
+ }
7869
+ ),
7870
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Popup, { className: "k-menu-popup", children: popup })
7871
+ ] });
7872
+ };
7873
+ MenuButton.states = states49;
7874
+ MenuButton.options = options44;
7875
+ MenuButton.className = MENUBUTTON_CLASSNAME;
7876
+ MenuButton.defaultProps = defaultProps44;
7877
+
7878
+ // src/menu-button/templates/icon-menu-button.tsx
7879
+ var import_jsx_runtime147 = require("react/jsx-runtime");
7880
+
7881
+ // src/menu-button/templates/icon-text-menu-button.tsx
7882
+ var import_jsx_runtime148 = require("react/jsx-runtime");
7883
+
7884
+ // src/menu-button/templates/text-menu-button.tsx
7885
+ var import_jsx_runtime149 = require("react/jsx-runtime");
7886
+
7887
+ // src/menu/menu-item.spec.tsx
7888
+ var import_jsx_runtime150 = require("react/jsx-runtime");
7889
+ var MENUITEM_CLASSNAME = `k-menu-item`;
7890
+ var states50 = [
7891
+ States.hover,
7892
+ States.focus,
7893
+ States.active,
7894
+ States.selected,
7895
+ States.disabled
7896
+ ];
7897
+ var options45 = {};
7898
+ var defaultProps45 = {
7899
+ dir: "ltr"
7900
+ };
7901
+ var MenuItem = (props) => {
7902
+ const {
7903
+ hover,
7904
+ focus,
7905
+ active,
7906
+ selected,
7907
+ disabled,
7908
+ icon,
7909
+ text,
7910
+ showArrow,
7911
+ arrowIconName,
7912
+ dir = defaultProps45.dir,
7913
+ children,
7914
+ ...other
7915
+ } = props;
7916
+ const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(import_jsx_runtime150.Fragment, {});
7917
+ if (children) {
7918
+ children.forEach((child) => {
7919
+ const component = child.type;
7920
+ if (component === "MenuItemContent") {
7921
+ contentTemplate.props.children.push(child);
7922
+ return;
7923
+ }
7924
+ });
7925
+ }
7926
+ let expandArrowName = arrowIconName;
7927
+ if (!expandArrowName) {
7928
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
7929
+ }
7930
+ return /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(
7931
+ "li",
7932
+ {
7933
+ ...other,
7934
+ className: classNames(
7935
+ props.className,
7936
+ MENUITEM_CLASSNAME,
7937
+ //TODO
7938
+ "k-item",
7939
+ stateClassNames(MENUITEM_CLASSNAME, {
7940
+ focus,
7941
+ disabled
7942
+ })
7943
+ ),
7944
+ children: [
7945
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(
7946
+ "span",
7947
+ {
7948
+ className: classNames(
7949
+ "k-link k-menu-link",
7950
+ stateClassNames("k-menu-link", {
7951
+ hover,
7952
+ active,
7953
+ selected,
7954
+ disabled
7955
+ })
7956
+ ),
7957
+ children: [
7958
+ icon && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Icon, { className: "k-menu-link-icon", icon }),
7959
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)("span", { className: "k-menu-link-text", children: text }),
7960
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Icon, { icon: expandArrowName }) })
7961
+ ]
7962
+ }
7963
+ ),
7964
+ contentTemplate
7965
+ ]
7966
+ }
7967
+ );
7968
+ };
7969
+ MenuItem.states = states50;
7970
+ MenuItem.options = options45;
7971
+ MenuItem.className = MENUITEM_CLASSNAME;
7972
+ MenuItem.defaultProps = defaultProps45;
7973
+ var menu_item_spec_default = MenuItem;
7974
+
7975
+ // src/menu/menu-separator.spec.tsx
7976
+ var import_jsx_runtime151 = require("react/jsx-runtime");
7977
+ var SEPARATOR_CLASSNAME = `k-separator`;
7978
+ var defaultProps46 = {
7979
+ orientation: "horizontal"
7980
+ };
7981
+ var MenuSeparator = (props) => {
7982
+ const {
7983
+ orientation = defaultProps46.orientation,
7984
+ ...other
7985
+ } = props;
7986
+ return /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
7987
+ "li",
7988
+ {
7989
+ ...other,
7990
+ className: classNames(
7991
+ props.className,
7992
+ "k-item",
7993
+ SEPARATOR_CLASSNAME,
7994
+ {
7995
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
7996
+ }
7997
+ )
7998
+ }
7999
+ );
8000
+ };
8001
+ var menu_separator_spec_default = MenuSeparator;
8002
+
8003
+ // src/menu/menu-item-content.tsx
8004
+ var import_jsx_runtime152 = require("react/jsx-runtime");
8005
+
8006
+ // src/menu/menu-list.spec.tsx
8007
+ var import_jsx_runtime153 = require("react/jsx-runtime");
8008
+ var import_react = require("react");
8009
+ var MENULIST_CLASSNAME = `k-menu-group`;
8010
+ var states51 = [];
8011
+ var options46 = {
8012
+ size: [Size.small, Size.medium, Size.large]
8013
+ };
8014
+ var defaultProps47 = {
8015
+ size: Size.medium,
8016
+ dir: "ltr"
8017
+ };
8018
+ var MenuList = (props) => {
8019
+ const {
8020
+ children,
8021
+ size = defaultProps47.size,
8022
+ dir = defaultProps47.dir,
8023
+ ...other
8024
+ } = props;
8025
+ const listChildren = [];
8026
+ if (children) {
8027
+ if (Array.isArray(children)) {
8028
+ children.map((child, index) => {
8029
+ if (child.type === menu_item_spec_default) {
8030
+ listChildren.push(
8031
+ /* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
8032
+ );
8033
+ } else if (child.type === menu_separator_spec_default) {
8034
+ listChildren.push(
8035
+ /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(menu_separator_spec_default, {})
8036
+ );
8037
+ } else {
8038
+ listChildren.push(child);
8039
+ }
8040
+ });
8041
+ }
8042
+ }
8043
+ return /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
8044
+ "ul",
8045
+ {
8046
+ ...other,
8047
+ className: classNames(
8048
+ props.className,
8049
+ MENULIST_CLASSNAME,
8050
+ optionClassNames(MENULIST_CLASSNAME, {
8051
+ size
8052
+ })
8053
+ ),
8054
+ children: listChildren
8055
+ }
8056
+ );
8057
+ };
8058
+ MenuList.states = states51;
8059
+ MenuList.options = options46;
8060
+ MenuList.className = MENULIST_CLASSNAME;
8061
+ MenuList.defaultProps = defaultProps47;
8062
+
8063
+ // src/menu-button/templates/menu-button-popup.tsx
8064
+ var import_jsx_runtime154 = require("react/jsx-runtime");
8065
+
8066
+ // src/split-button/split-button.spec.tsx
8067
+ var import_jsx_runtime155 = require("react/jsx-runtime");
8068
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
8069
+ var states52 = [
8070
+ States.hover,
8071
+ States.focus,
8072
+ States.active,
8073
+ States.selected,
8074
+ States.disabled
8075
+ ];
8076
+ var options47 = {
8077
+ size: [Size.small, Size.medium, Size.large],
8078
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
8079
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
8080
+ themeColor: [
8081
+ ThemeColor.base,
8082
+ ThemeColor.primary,
8083
+ ThemeColor.secondary,
8084
+ ThemeColor.tertiary,
8085
+ ThemeColor.success,
8086
+ ThemeColor.warning,
8087
+ ThemeColor.error,
8088
+ ThemeColor.info,
8089
+ ThemeColor.light,
8090
+ ThemeColor.dark,
8091
+ ThemeColor.inverse
8092
+ ]
8093
+ };
8094
+ var defaultProps48 = {
8095
+ size: Size.medium,
8096
+ rounded: Roundness.medium,
8097
+ fillMode: FillMode.solid,
8098
+ themeColor: ThemeColor.base,
8099
+ arrowIconName: "caret-alt-down"
8100
+ };
8101
+ var SplitButton = (props) => {
8102
+ const {
8103
+ size = defaultProps48.size,
8104
+ rounded = defaultProps48.rounded,
8105
+ fillMode = defaultProps48.fillMode,
8106
+ themeColor = defaultProps48.themeColor,
8107
+ hover,
8108
+ focus,
8109
+ active,
8110
+ selected,
8111
+ disabled,
8112
+ icon,
8113
+ text,
8114
+ arrowIconName = defaultProps48.arrowIconName,
8115
+ popup,
8116
+ opened,
8117
+ ...other
8118
+ } = props;
8119
+ return /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(import_jsx_runtime155.Fragment, { children: [
8120
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(
8121
+ "div",
8122
+ {
8123
+ ...other,
8124
+ className: classNames(
8125
+ props.className,
8126
+ SPLITBUTTON_CLASSNAME,
8127
+ "k-button-group",
8128
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
8129
+ rounded
8130
+ })
8131
+ ),
8132
+ children: [
8133
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
8134
+ Button,
8135
+ {
8136
+ text,
8137
+ icon,
8138
+ size,
8139
+ rounded,
8140
+ fillMode,
8141
+ themeColor,
8142
+ hover,
8143
+ focus,
8144
+ active,
8145
+ selected,
8146
+ disabled,
8147
+ children: props.children
8148
+ }
8149
+ ),
8150
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
8151
+ Button,
8152
+ {
8153
+ className: "k-split-button-arrow",
8154
+ icon: arrowIconName,
8155
+ size,
8156
+ rounded,
8157
+ fillMode,
8158
+ disabled
8159
+ }
8160
+ )
8161
+ ]
8162
+ }
8163
+ ),
8164
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(Popup, { className: "k-menu-popup", children: popup })
8165
+ ] });
8166
+ };
8167
+ SplitButton.states = states52;
8168
+ SplitButton.options = options47;
8169
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
8170
+ SplitButton.defaultProps = defaultProps48;
8171
+ var split_button_spec_default = SplitButton;
8172
+
8173
+ // src/toolbar/toolbar.spec.tsx
8174
+ var import_jsx_runtime156 = require("react/jsx-runtime");
8175
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
8176
+ var states53 = [
8177
+ States.focus
8178
+ ];
8179
+ var options48 = {
8180
+ size: [Size.small, Size.medium, Size.large]
8181
+ };
8182
+ var defaultProps49 = {
8183
+ size: Size.medium
8184
+ };
8185
+ var Toolbar = (props) => {
8186
+ const {
8187
+ size = defaultProps49.size,
8188
+ focus,
8189
+ resizable,
8190
+ ...other
8191
+ } = props;
8192
+ const toolbarChildren = [];
8193
+ const addUniqueToolClass = (child, index) => {
8194
+ const tempToolbarChildren = [];
8195
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8196
+ tempToolbarChildren.push(
8197
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8198
+ Button,
8199
+ {
8200
+ ...child.props,
8201
+ className: `${child.props.className ? child.props.className : ""}`
8202
+ },
8203
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8204
+ )
8205
+ );
8206
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8207
+ tempToolbarChildren.push(
8208
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8209
+ Button,
8210
+ {
8211
+ ...child.props,
8212
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8213
+ },
8214
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8215
+ )
8216
+ );
8217
+ } else if (child.type === Button) {
8218
+ tempToolbarChildren.push(
8219
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8220
+ Button,
8221
+ {
8222
+ ...child.props,
8223
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8224
+ },
8225
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8226
+ )
8227
+ );
8228
+ } else if (child.type === MenuButton) {
8229
+ tempToolbarChildren.push(
8230
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8231
+ MenuButton,
8232
+ {
8233
+ ...child.props,
8234
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8235
+ },
8236
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8237
+ )
8238
+ );
8239
+ } else if (child.type === split_button_spec_default) {
8240
+ tempToolbarChildren.push(
8241
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8242
+ split_button_spec_default,
8243
+ {
8244
+ ...child.props,
8245
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8246
+ },
8247
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8248
+ )
8249
+ );
8250
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8251
+ const buttonGroupItems = [];
8252
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8253
+ childrenArray.forEach((button, bindex) => {
8254
+ buttonGroupItems.push(
8255
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8256
+ Button,
8257
+ {
8258
+ ...button.props,
8259
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8260
+ },
8261
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8262
+ )
8263
+ );
8264
+ });
8265
+ tempToolbarChildren.push(
8266
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8267
+ ButtonGroup,
8268
+ {
8269
+ ...child.props,
8270
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8271
+ children: buttonGroupItems
8272
+ },
8273
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8274
+ )
8275
+ );
8276
+ } else if (child.type === Combobox) {
8277
+ tempToolbarChildren.push(
8278
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8279
+ Combobox,
8280
+ {
8281
+ ...child.props,
8282
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8283
+ },
8284
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8285
+ )
8286
+ );
8287
+ } else if (child.type === DropdownList) {
8288
+ tempToolbarChildren.push(
8289
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8290
+ DropdownList,
8291
+ {
8292
+ ...child.props,
8293
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8294
+ },
8295
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8296
+ )
8297
+ );
8298
+ } else if (child.type === ColorPicker) {
8299
+ tempToolbarChildren.push(
8300
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8301
+ ColorPicker,
8302
+ {
8303
+ ...child.props,
8304
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8305
+ },
8306
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8307
+ )
8308
+ );
8309
+ } else {
8310
+ tempToolbarChildren.push(child);
8311
+ }
8312
+ tempToolbarChildren.forEach((item) => {
8313
+ toolbarChildren.push(item);
8314
+ });
8315
+ };
8316
+ if (props.children) {
8317
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8318
+ childrenArray.forEach((child, index) => {
8319
+ addUniqueToolClass(child, index);
8320
+ });
8321
+ }
8322
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
8323
+ "div",
8324
+ {
8325
+ ...other,
8326
+ className: classNames(
8327
+ props.className,
8328
+ TOOLBAR_CLASSNAME,
8329
+ optionClassNames(TOOLBAR_CLASSNAME, {
8330
+ size
8331
+ }),
8332
+ stateClassNames(TOOLBAR_CLASSNAME, {
8333
+ focus
8334
+ }),
8335
+ {
8336
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
8337
+ }
8338
+ ),
8339
+ children: toolbarChildren
8340
+ }
8341
+ );
8342
+ };
8343
+ Toolbar.states = states53;
8344
+ Toolbar.options = options48;
8345
+ Toolbar.className = TOOLBAR_CLASSNAME;
8346
+ Toolbar.defaultProps = defaultProps49;
8347
+
8348
+ // src/toolbar/toolbar-angular.spec.tsx
8349
+ var import_jsx_runtime157 = require("react/jsx-runtime");
8350
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
8351
+ var states54 = [
8352
+ States.focus
8353
+ ];
8354
+ var options49 = {
8355
+ size: [Size.small, Size.medium, Size.large]
8356
+ };
8357
+ var defaultProps50 = {
8358
+ size: Size.medium
8359
+ };
8360
+ var ToolbarAngular = (props) => {
8361
+ const {
8362
+ size = defaultProps50.size,
8363
+ focus,
8364
+ resizable,
8365
+ ...other
8366
+ } = props;
8367
+ const toolbarChildren = [];
8368
+ const addUniqueToolClass = (child, index) => {
8369
+ const tempToolbarChildren = [];
8370
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8371
+ tempToolbarChildren.push(
8372
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8373
+ Button,
8374
+ {
8375
+ ...child.props,
8376
+ className: `${child.props.className ? child.props.className : ""}`
8377
+ },
8378
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8379
+ ) })
8380
+ );
8381
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8382
+ tempToolbarChildren.push(
8383
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8384
+ Button,
8385
+ {
8386
+ ...child.props,
8387
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8388
+ },
8389
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8390
+ ) })
8391
+ );
8392
+ } else if (child.type === Button) {
8393
+ tempToolbarChildren.push(
8394
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8395
+ Button,
8396
+ {
8397
+ ...child.props,
8398
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8399
+ },
8400
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8401
+ ) })
8402
+ );
8403
+ } else if (child.type === MenuButton) {
8404
+ tempToolbarChildren.push(
8405
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8406
+ MenuButton,
8407
+ {
8408
+ ...child.props,
8409
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8410
+ },
8411
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8412
+ ) })
8413
+ );
8414
+ } else if (child.type === split_button_spec_default) {
8415
+ tempToolbarChildren.push(
8416
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8417
+ split_button_spec_default,
8418
+ {
8419
+ ...child.props,
8420
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8421
+ },
8422
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8423
+ ) })
8424
+ );
8425
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8426
+ const buttonGroupItems = [];
8427
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8428
+ childrenArray.forEach((button, bindex) => {
8429
+ buttonGroupItems.push(
8430
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8431
+ Button,
8432
+ {
8433
+ ...button.props,
8434
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8435
+ },
8436
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8437
+ )
8438
+ );
8439
+ });
8440
+ tempToolbarChildren.push(
8441
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8442
+ ButtonGroup,
8443
+ {
8444
+ ...child.props,
8445
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8446
+ children: buttonGroupItems
8447
+ },
8448
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8449
+ ) })
8450
+ );
8451
+ } else if (child.type === Combobox) {
8452
+ tempToolbarChildren.push(
8453
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8454
+ Combobox,
8455
+ {
8456
+ ...child.props,
8457
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8458
+ },
8459
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8460
+ ) })
8461
+ );
8462
+ } else if (child.type === DropdownList) {
8463
+ tempToolbarChildren.push(
8464
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8465
+ DropdownList,
8466
+ {
8467
+ ...child.props,
8468
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8469
+ },
8470
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8471
+ ) })
8472
+ );
8473
+ } else if (child.type === ColorPicker) {
8474
+ tempToolbarChildren.push(
8475
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8476
+ ColorPicker,
8477
+ {
8478
+ ...child.props,
8479
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8480
+ },
8481
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8482
+ ) })
8483
+ );
8484
+ } else {
8485
+ tempToolbarChildren.push(child);
8486
+ }
8487
+ tempToolbarChildren.forEach((item) => {
8488
+ toolbarChildren.push(item);
8489
+ });
8490
+ };
8491
+ if (props.children) {
8492
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8493
+ childrenArray.forEach((child, index) => {
8494
+ addUniqueToolClass(child, index);
8495
+ });
8496
+ }
8497
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8498
+ "div",
8499
+ {
8500
+ ...other,
8501
+ className: classNames(
8502
+ props.className,
8503
+ TOOLBARANGULAR_CLASSNAME,
8504
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
8505
+ size
8506
+ }),
8507
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
8508
+ focus
8509
+ }),
8510
+ {
8511
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
8512
+ }
8513
+ ),
8514
+ children: toolbarChildren
8515
+ }
8516
+ );
8517
+ };
8518
+ ToolbarAngular.states = states54;
8519
+ ToolbarAngular.options = options49;
8520
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
8521
+ ToolbarAngular.defaultProps = defaultProps50;
8522
+
8523
+ // src/toolbar/toolbar-separator.tsx
8524
+ var import_jsx_runtime158 = require("react/jsx-runtime");
8525
+
8526
+ // src/toolbar/toolbar-item.spec.tsx
8527
+ var import_jsx_runtime159 = require("react/jsx-runtime");
8528
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
8529
+ var states55 = [
8530
+ States.focus
8531
+ ];
8532
+ var options50 = {};
8533
+ var defaultProps51 = {};
8534
+ var ToolbarItem = (props) => {
8535
+ const {
8536
+ focus,
8537
+ ...other
8538
+ } = props;
8539
+ return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
8540
+ "div",
8541
+ {
8542
+ ...other,
8543
+ className: classNames(
8544
+ props.className,
8545
+ TOOLBARITEM_CLASSNAME,
8546
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
8547
+ focus
8548
+ })
8549
+ ),
8550
+ children: props.children
8551
+ }
8552
+ );
8553
+ };
8554
+ ToolbarItem.states = states55;
8555
+ ToolbarItem.options = options50;
8556
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
8557
+ ToolbarItem.defaultProps = defaultProps51;
8558
+
8559
+ // src/toolbar/toolbar-popup.spec.tsx
8560
+ var import_jsx_runtime160 = require("react/jsx-runtime");
8561
+ var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
8562
+ var states56 = [];
8563
+ var options51 = {};
8564
+ var defaultProps52 = {};
8565
+ var ToolbarPopup = (props) => {
8566
+ const { ...other } = props;
8567
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
8568
+ Popup,
8569
+ {
8570
+ ...other,
8571
+ className: classNames(
8572
+ props.className,
8573
+ TOOLBARPOPUP_CLASSNAME
8574
+ ),
8575
+ children: props.children
8576
+ }
8577
+ );
8578
+ };
8579
+ ToolbarPopup.states = states56;
8580
+ ToolbarPopup.options = options51;
8581
+ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
8582
+ ToolbarPopup.defaultProps = defaultProps52;
8583
+
8584
+ // src/split-button/templates/icon-split-button.tsx
8585
+ var import_jsx_runtime161 = require("react/jsx-runtime");
8586
+
8587
+ // src/split-button/templates/icon-text-split-button.tsx
8588
+ var import_jsx_runtime162 = require("react/jsx-runtime");
8589
+
8590
+ // src/split-button/templates/text-split-button.tsx
8591
+ var import_jsx_runtime163 = require("react/jsx-runtime");
8592
+
8593
+ // src/split-button/templates/split-button-popup.tsx
8594
+ var import_jsx_runtime164 = require("react/jsx-runtime");
8595
+
8596
+ // src/toolbar/templates/toolbar-normal.tsx
8597
+ var import_jsx_runtime165 = require("react/jsx-runtime");
8598
+
8599
+ // src/toolbar/templates/toolbar-resizable.tsx
8600
+ var import_jsx_runtime166 = require("react/jsx-runtime");
8601
+
8602
+ // src/toolbar/templates/toolbar-angular-normal.tsx
8603
+ var import_jsx_runtime167 = require("react/jsx-runtime");
8604
+
8605
+ // src/toolbar/templates/toolbar-angular-resizable.tsx
8606
+ var import_jsx_runtime168 = require("react/jsx-runtime");
8607
+
8608
+ // src/grid/grid-toolbar.spec.tsx
8609
+ var import_jsx_runtime169 = require("react/jsx-runtime");
8610
+
4604
8611
  // src/grid/tests/grid-filter-menu-angular.tsx
4605
- var import_jsx_runtime14 = require("react/jsx-runtime");
4606
- var grid_filter_menu_angular_default = () => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
4607
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { dir: "ltr", className: "k-grid k-grid-md", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "k-grid-aria-root", role: "grid", children: [
4608
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "k-table k-table-md k-grid-header-table", children: [
4609
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("colgroup", { children: [
4610
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", { style: { width: "50px" } }),
4611
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {}),
4612
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {})
8612
+ var import_jsx_runtime170 = require("react/jsx-runtime");
8613
+ var grid_filter_menu_angular_default = () => /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(import_jsx_runtime170.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
8614
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(Grid, { dir: "ltr", _renderAriaRoot: true, children: [
8615
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridHeaderTable, { children: [
8616
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8617
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { style: { width: "50px" } }),
8618
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {}),
8619
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {})
4613
8620
  ] }),
4614
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("thead", { className: "k-table-thead", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row", children: [
4615
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4616
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header k-filterable", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "k-cell-inner", children: [
4617
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-column-title", children: "Name" }) }),
4618
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("a", { className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "filter" }) }) })
4619
- ] }) }),
4620
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-column-title", children: "Command" }) }) }) })
8621
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8622
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8623
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { rowspan: 1, colspan: 1, menu: "filter", columnTitle: "Name" }),
8624
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
4621
8625
  ] }) })
4622
8626
  ] }) }) }),
4623
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "k-grid-content k-virtual-content", children: [
4624
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "k-table k-table-md k-grid-table", children: [
4625
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("colgroup", { children: [
4626
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", { style: { width: "50px" } }),
4627
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {}),
4628
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {})
8627
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridContent, { className: "k-virtual-content", children: [
8628
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridTable, { children: [
8629
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8630
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { style: { width: "50px" } }),
8631
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {}),
8632
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {})
4629
8633
  ] }),
4630
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tbody", { className: "k-table-tbody", children: [
4631
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row", children: [
4632
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4633
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
4634
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { icon: "trash", children: "Delete" }) })
8634
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableTbody, { children: [
8635
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8636
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8637
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
8638
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Button, { icon: "trash", children: "Delete" }) })
4635
8639
  ] }),
4636
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
4637
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4638
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
4639
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { icon: "trash", children: "Delete" }) })
8640
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-alt", alt: true, children: [
8641
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8642
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
8643
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Button, { icon: "trash", children: "Delete" }) })
4640
8644
  ] })
4641
8645
  ] })
4642
8646
  ] }) }),
4643
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", {}) })
8647
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", {}) })
4644
8648
  ] }) })
4645
- ] }) }),
4646
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { children: "Sortable" }),
4647
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { dir: "ltr", className: "k-grid k-grid-md", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "k-grid-aria-root", role: "grid", children: [
4648
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "k-table k-table-md k-grid-header-table", children: [
4649
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("colgroup", { children: [
4650
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", { style: { width: "50px" } }),
4651
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {}),
4652
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {})
8649
+ ] }),
8650
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("h3", { children: "Sortable" }),
8651
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(Grid, { dir: "ltr", _renderAriaRoot: true, children: [
8652
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridHeaderTable, { children: [
8653
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8654
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { style: { width: "50px" } }),
8655
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {}),
8656
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {})
4653
8657
  ] }),
4654
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("thead", { className: "k-table-thead", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row", children: [
4655
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4656
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header k-filterable", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "k-cell-inner", children: [
4657
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "k-link", children: [
4658
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-column-title", children: "Name" }),
4659
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "sort-asc-small" }) })
4660
- ] }),
4661
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "filter" }) }) })
4662
- ] }) }),
4663
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-column-title", children: "Command" }) }) }) })
8658
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8659
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8660
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { rowspan: 1, colspan: 1, sortable: true, menu: "filter", columnTitle: "Name" }),
8661
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
4664
8662
  ] }) })
4665
8663
  ] }) }) }),
4666
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "k-grid-content k-virtual-content", children: [
4667
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "k-table k-table-md k-grid-table", children: [
4668
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("colgroup", { children: [
4669
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", { style: { width: "50px" } }),
4670
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {}),
4671
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {})
8664
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridContent, { className: "k-virtual-content", children: [
8665
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridTable, { children: [
8666
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8667
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { style: { width: "50px" } }),
8668
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { className: "k-sorted" }),
8669
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {})
4672
8670
  ] }),
4673
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tbody", { className: "k-table-tbody", children: [
4674
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row", children: [
4675
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4676
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
4677
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { icon: "trash", children: "Delete" }) })
8671
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableTbody, { children: [
8672
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8673
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8674
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
8675
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Button, { icon: "trash", children: "Delete" }) })
4678
8676
  ] }),
4679
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
4680
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4681
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
4682
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { icon: "trash", children: "Delete" }) })
8677
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-alt", alt: true, children: [
8678
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8679
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
8680
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Button, { icon: "trash", children: "Delete" }) })
4683
8681
  ] })
4684
8682
  ] })
4685
8683
  ] }) }),
4686
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", {}) })
8684
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", {}) })
4687
8685
  ] }) })
4688
- ] }) }),
4689
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { children: "Sortable & Resizable" }),
4690
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { dir: "ltr", className: "k-grid k-grid-md", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "k-grid-aria-root", role: "grid", children: [
4691
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "k-table k-table-md k-grid-header-table", children: [
4692
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("colgroup", { children: [
4693
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", { style: { width: "50px" } }),
4694
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {}),
4695
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {})
8686
+ ] }),
8687
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("h3", { children: "Sortable & Resizable" }),
8688
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(Grid, { dir: "ltr", _renderAriaRoot: true, children: [
8689
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridHeaderTable, { children: [
8690
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8691
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { style: { width: "50px" } }),
8692
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {}),
8693
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {})
4696
8694
  ] }),
4697
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("thead", { className: "k-table-thead", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row", children: [
4698
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4699
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header k-filterable", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "k-cell-inner", children: [
4700
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "k-link", children: [
4701
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-column-title", children: "Name" }),
4702
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "sort-asc-small" }) })
4703
- ] }),
4704
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { icon: "filter" }) }) })
4705
- ] }) }),
4706
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-column-title", children: "Command" }) }) }) })
8695
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8696
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { resizable: true, rowspan: 1, colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8697
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { resizable: true, rowspan: 1, colspan: 1, sortable: true, menu: "filter", columnTitle: "Name" }),
8698
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { resizable: true, rowspan: 1, colspan: 1, columnTitle: "Command" })
4707
8699
  ] }) })
4708
8700
  ] }) }) }),
4709
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "k-grid-content k-virtual-content", children: [
4710
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "k-table k-table-md k-grid-table", children: [
4711
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("colgroup", { children: [
4712
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", { style: { width: "50px" } }),
4713
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {}),
4714
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("col", {})
8701
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridContent, { className: "k-virtual-content", children: [
8702
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridTable, { children: [
8703
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8704
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { style: { width: "50px" } }),
8705
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { className: "k-sorted" }),
8706
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", {})
4715
8707
  ] }),
4716
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tbody", { className: "k-table-tbody", children: [
4717
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row", children: [
4718
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4719
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
4720
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { icon: "trash", children: "Delete" }) })
8708
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableTbody, { children: [
8709
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8710
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8711
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
8712
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Button, { icon: "trash", children: "Delete" }) })
4721
8713
  ] }),
4722
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
4723
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Checkbox, {}) }),
4724
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
4725
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { icon: "trash", children: "Delete" }) })
8714
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-alt", alt: true, children: [
8715
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Checkbox, {}) }),
8716
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
8717
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Button, { icon: "trash", children: "Delete" }) })
4726
8718
  ] })
4727
8719
  ] })
4728
8720
  ] }) }),
4729
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", {}) })
8721
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", {}) })
4730
8722
  ] }) })
4731
- ] }) })
8723
+ ] })
4732
8724
  ] }) });