@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
@@ -4823,312 +4823,4321 @@ import { jsx as jsx23 } from "react/jsx-runtime";
4823
4823
  // src/chip/templates/chip-removable.tsx
4824
4824
  import { jsx as jsx24 } from "react/jsx-runtime";
4825
4825
 
4826
+ // src/grid/grid.spec.tsx
4827
+ import { jsx as jsx25, jsxs as jsxs5 } from "react/jsx-runtime";
4828
+ var GRID_CLASSNAME = "k-grid";
4829
+ var states11 = [];
4830
+ var options11 = {
4831
+ size: [Size.small, Size.medium, Size.large]
4832
+ };
4833
+ var defaultProps11 = {
4834
+ size: Size.medium,
4835
+ pagerPosition: "bottom"
4836
+ };
4837
+ var Grid = (props) => {
4838
+ const {
4839
+ size = defaultProps11.size,
4840
+ toolbar,
4841
+ pager,
4842
+ pagerPosition,
4843
+ groupingHeader,
4844
+ _renderAriaRoot,
4845
+ ...other
4846
+ } = props;
4847
+ return /* @__PURE__ */ jsxs5(
4848
+ "div",
4849
+ {
4850
+ ...other,
4851
+ className: classNames(
4852
+ props.className,
4853
+ GRID_CLASSNAME,
4854
+ optionClassNames(GRID_CLASSNAME, { size })
4855
+ ),
4856
+ children: [
4857
+ toolbar,
4858
+ pagerPosition === "top" && pager,
4859
+ groupingHeader,
4860
+ props.children && _renderAriaRoot ? /* @__PURE__ */ jsx25("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
4861
+ pagerPosition === "bottom" && pager
4862
+ ]
4863
+ }
4864
+ );
4865
+ };
4866
+ Grid.states = states11;
4867
+ Grid.options = options11;
4868
+ Grid.className = GRID_CLASSNAME;
4869
+ Grid.defaultProps = defaultProps11;
4870
+
4871
+ // src/grid/grid-header.spec.tsx
4872
+ import { jsx as jsx26 } from "react/jsx-runtime";
4873
+ var className = `k-grid-header`;
4874
+ var GridHeader = (props) => /* @__PURE__ */ jsx26(
4875
+ "div",
4876
+ {
4877
+ ...props,
4878
+ className: classNames(
4879
+ props.className,
4880
+ className
4881
+ ),
4882
+ children: props.children
4883
+ }
4884
+ );
4885
+
4886
+ // src/grid/grid-grouping-header.spec.tsx
4887
+ import { jsx as jsx27, jsxs as jsxs6 } from "react/jsx-runtime";
4888
+ var className2 = `k-grouping-header`;
4889
+ var GridGroupingHeader = (props) => {
4890
+ const {
4891
+ dropHint,
4892
+ dropClue,
4893
+ ...others
4894
+ } = props;
4895
+ return /* @__PURE__ */ jsxs6(
4896
+ "div",
4897
+ {
4898
+ ...others,
4899
+ className: classNames(
4900
+ props.className,
4901
+ className2
4902
+ ),
4903
+ children: [
4904
+ dropClue && /* @__PURE__ */ jsx27("div", { className: "k-grouping-dropclue" }),
4905
+ props.children,
4906
+ /* @__PURE__ */ jsx27("div", { className: "k-grouping-drop-container", children: dropHint })
4907
+ ]
4908
+ }
4909
+ );
4910
+ };
4911
+
4912
+ // src/table/data-table.spec.tsx
4913
+ import { jsx as jsx28 } from "react/jsx-runtime";
4914
+ var DATATABLE_CLASSNAME = `k-data-table`;
4915
+ var states12 = [];
4916
+ var options12 = {
4917
+ size: [Size.small, Size.medium, Size.large]
4918
+ };
4919
+ var defaultProps12 = {
4920
+ size: Size.medium
4921
+ };
4922
+ var DataTable = (props) => {
4923
+ const {
4924
+ size = defaultProps12.size,
4925
+ ...other
4926
+ } = props;
4927
+ return /* @__PURE__ */ jsx28(
4928
+ "div",
4929
+ {
4930
+ ...other,
4931
+ className: classNames(
4932
+ props.className,
4933
+ DATATABLE_CLASSNAME,
4934
+ optionClassNames("k-table", {
4935
+ size
4936
+ })
4937
+ ),
4938
+ children: props.children
4939
+ }
4940
+ );
4941
+ };
4942
+ DataTable.states = states12;
4943
+ DataTable.options = options12;
4944
+ DataTable.className = DATATABLE_CLASSNAME;
4945
+ DataTable.defaultProps = defaultProps12;
4946
+
4947
+ // src/table/table-header.tsx
4948
+ import { jsx as jsx29 } from "react/jsx-runtime";
4949
+
4950
+ // src/table/table-body.tsx
4951
+ import { jsx as jsx30 } from "react/jsx-runtime";
4952
+
4953
+ // src/table/table-footer.tsx
4954
+ import { jsx as jsx31 } from "react/jsx-runtime";
4955
+
4956
+ // src/table/table.spec.tsx
4957
+ import { jsx as jsx32 } from "react/jsx-runtime";
4958
+ var TABLE_CLASSNAME = `k-table`;
4959
+ var states13 = [];
4960
+ var options13 = {
4961
+ size: [Size.small, Size.medium, Size.large]
4962
+ };
4963
+ var defaultProps13 = {};
4964
+ var Table = (props) => {
4965
+ const {
4966
+ size,
4967
+ ...other
4968
+ } = props;
4969
+ return /* @__PURE__ */ jsx32(
4970
+ "table",
4971
+ {
4972
+ ...other,
4973
+ className: classNames(
4974
+ props.className,
4975
+ TABLE_CLASSNAME,
4976
+ optionClassNames(TABLE_CLASSNAME, {
4977
+ size
4978
+ })
4979
+ ),
4980
+ children: props.children
4981
+ }
4982
+ );
4983
+ };
4984
+ Table.states = states13;
4985
+ Table.options = options13;
4986
+ Table.className = TABLE_CLASSNAME;
4987
+ Table.defaultProps = defaultProps13;
4988
+
4989
+ // src/table/table-list.spec.tsx
4990
+ import { jsx as jsx33 } from "react/jsx-runtime";
4991
+ var TABLELIST_CLASSNAME = `k-table-list`;
4992
+ var states14 = [];
4993
+ var options14 = {
4994
+ size: [Size.small, Size.medium, Size.large]
4995
+ };
4996
+ var defaultProps14 = {};
4997
+ var TableList = (props) => {
4998
+ const {
4999
+ size,
5000
+ virtualization,
5001
+ ...other
5002
+ } = props;
5003
+ return /* @__PURE__ */ jsx33(
5004
+ "ul",
5005
+ {
5006
+ ...other,
5007
+ className: classNames(
5008
+ props.className,
5009
+ "k-table",
5010
+ TABLELIST_CLASSNAME,
5011
+ optionClassNames(TABLELIST_CLASSNAME, {
5012
+ size
5013
+ }),
5014
+ {
5015
+ "k-virtual-table": virtualization
5016
+ }
5017
+ ),
5018
+ children: props.children
5019
+ }
5020
+ );
5021
+ };
5022
+ TableList.states = states14;
5023
+ TableList.options = options14;
5024
+ TableList.className = TABLELIST_CLASSNAME;
5025
+ TableList.defaultProps = defaultProps14;
5026
+
5027
+ // src/table/table-thead.tsx
5028
+ import { jsx as jsx34 } from "react/jsx-runtime";
5029
+ var className3 = `k-table-thead`;
5030
+ var TableThead = (props) => /* @__PURE__ */ jsx34(
5031
+ "thead",
5032
+ {
5033
+ className: classNames(
5034
+ props.className,
5035
+ className3
5036
+ ),
5037
+ children: props.children
5038
+ }
5039
+ );
5040
+
5041
+ // src/table/table-tbody.tsx
5042
+ import { jsx as jsx35 } from "react/jsx-runtime";
5043
+ var className4 = `k-table-tbody`;
5044
+ var TableTbody = (props) => /* @__PURE__ */ jsx35(
5045
+ "tbody",
5046
+ {
5047
+ className: classNames(
5048
+ props.className,
5049
+ className4
5050
+ ),
5051
+ children: props.children
5052
+ }
5053
+ );
5054
+
5055
+ // src/table/table-tfoot.tsx
5056
+ import { jsx as jsx36 } from "react/jsx-runtime";
5057
+
5058
+ // src/table/table-row.tsx
5059
+ import { jsx as jsx37 } from "react/jsx-runtime";
5060
+ var TABLEROW_CLASSNAME = `k-table-row`;
5061
+ var states15 = [
5062
+ States.hover,
5063
+ States.focus,
5064
+ States.selected,
5065
+ States.disabled
5066
+ ];
5067
+ var TableRow = (props) => {
5068
+ const {
5069
+ hover,
5070
+ focus,
5071
+ selected,
5072
+ disabled,
5073
+ alt,
5074
+ ...other
5075
+ } = props;
5076
+ return /* @__PURE__ */ jsx37(
5077
+ "tr",
5078
+ {
5079
+ ...other,
5080
+ className: classNames(
5081
+ props.className,
5082
+ TABLEROW_CLASSNAME,
5083
+ {
5084
+ ["k-table-alt-row"]: alt
5085
+ },
5086
+ stateClassNames(TABLEROW_CLASSNAME, {
5087
+ hover,
5088
+ focus,
5089
+ disabled,
5090
+ selected
5091
+ })
5092
+ ),
5093
+ children: props.children
5094
+ }
5095
+ );
5096
+ };
5097
+
5098
+ // src/table/table-list-row.tsx
5099
+ import { jsx as jsx38 } from "react/jsx-runtime";
5100
+ var states16 = [
5101
+ States.hover,
5102
+ States.focus,
5103
+ States.selected,
5104
+ States.disabled
5105
+ ];
5106
+
5107
+ // src/table/table-th.tsx
5108
+ import { jsx as jsx39 } from "react/jsx-runtime";
5109
+ var className5 = `k-table-th`;
5110
+ var TableTh = (props) => {
5111
+ const {
5112
+ text,
5113
+ colspan,
5114
+ rowspan,
5115
+ ...other
5116
+ } = props;
5117
+ const textOrChildren = text ? text : props.children;
5118
+ return /* @__PURE__ */ jsx39(
5119
+ "th",
5120
+ {
5121
+ colSpan: colspan,
5122
+ rowSpan: rowspan,
5123
+ ...other,
5124
+ className: classNames(
5125
+ props.className,
5126
+ className5
5127
+ ),
5128
+ children: textOrChildren
5129
+ }
5130
+ );
5131
+ };
5132
+
5133
+ // src/table/table-list-th.tsx
5134
+ import { jsx as jsx40 } from "react/jsx-runtime";
5135
+
5136
+ // src/table/table-td.tsx
5137
+ import { jsx as jsx41 } from "react/jsx-runtime";
5138
+ var className6 = `k-table-td`;
5139
+ var TableTd = (props) => {
5140
+ const {
5141
+ text,
5142
+ colspan,
5143
+ ...other
5144
+ } = props;
5145
+ const textOrChildren = text ? text : props.children;
5146
+ return /* @__PURE__ */ jsx41(
5147
+ "td",
5148
+ {
5149
+ colSpan: colspan,
5150
+ ...other,
5151
+ className: classNames(
5152
+ props.className,
5153
+ className6
5154
+ ),
5155
+ children: textOrChildren
5156
+ }
5157
+ );
5158
+ };
5159
+
5160
+ // src/table/table-list-td.tsx
5161
+ import { jsx as jsx42 } from "react/jsx-runtime";
5162
+
5163
+ // src/table/table-group-header.tsx
5164
+ import { jsx as jsx43 } from "react/jsx-runtime";
5165
+
5166
+ // src/table/table-group-sticky-header.tsx
5167
+ import { jsx as jsx44 } from "react/jsx-runtime";
5168
+
5169
+ // src/table/table-group-row.tsx
5170
+ import { jsx as jsx45 } from "react/jsx-runtime";
5171
+
5172
+ // src/table/table-list-group-row.tsx
5173
+ import { jsx as jsx46 } from "react/jsx-runtime";
5174
+
5175
+ // src/table/templates/table-list.tsx
5176
+ import { jsx as jsx47, jsxs as jsxs7 } from "react/jsx-runtime";
5177
+
5178
+ // src/table/templates/table-list-virtualization.tsx
5179
+ import { jsx as jsx48, jsxs as jsxs8 } from "react/jsx-runtime";
5180
+
5181
+ // src/table/templates/data-table-normal.tsx
5182
+ import { jsx as jsx49, jsxs as jsxs9 } from "react/jsx-runtime";
5183
+
5184
+ // src/table/templates/table-native.tsx
5185
+ import { jsx as jsx50, jsxs as jsxs10 } from "react/jsx-runtime";
5186
+
5187
+ // src/grid/grid-header-table.spec.tsx
5188
+ import { jsx as jsx51 } from "react/jsx-runtime";
5189
+ var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
5190
+ var GridHeaderTable = (props) => /* @__PURE__ */ jsx51(
5191
+ Table,
5192
+ {
5193
+ size: "medium",
5194
+ ...props,
5195
+ className: classNames(
5196
+ props.className,
5197
+ GRIDHEADERTABLE_CLASSNAME
5198
+ ),
5199
+ children: props.children
5200
+ }
5201
+ );
5202
+
5203
+ // src/grid/grid-header-cell.spec.tsx
5204
+ import { jsx as jsx52, jsxs as jsxs11 } from "react/jsx-runtime";
5205
+ var className7 = `k-header`;
5206
+ var states17 = [
5207
+ States.hover,
5208
+ States.focus,
5209
+ States.active
5210
+ ];
5211
+ var defaultProps15 = {
5212
+ sortIcon: "sort-asc-small"
5213
+ };
5214
+ var GridHeaderCell = (props) => {
5215
+ const {
5216
+ menu,
5217
+ sortable,
5218
+ sticky,
5219
+ resizable,
5220
+ columnTitle,
5221
+ hover,
5222
+ focus,
5223
+ active,
5224
+ sortIcon = defaultProps15.sortIcon,
5225
+ sortOrder,
5226
+ ...others
5227
+ } = props;
5228
+ return /* @__PURE__ */ jsxs11(
5229
+ TableTh,
5230
+ {
5231
+ ...others,
5232
+ className: classNames(
5233
+ props.className,
5234
+ className7,
5235
+ {
5236
+ [`k-filterable`]: menu === "filter",
5237
+ [`k-sorted`]: sortable,
5238
+ [`k-grid-header-sticky`]: sticky,
5239
+ [`k-touch-action-none`]: resizable
5240
+ },
5241
+ stateClassNames(className7, {
5242
+ hover,
5243
+ focus,
5244
+ active
5245
+ })
5246
+ ),
5247
+ children: [
5248
+ columnTitle && /* @__PURE__ */ jsxs11("span", { className: "k-cell-inner", children: [
5249
+ /* @__PURE__ */ jsxs11("span", { className: "k-link", children: [
5250
+ /* @__PURE__ */ jsx52("span", { className: "k-column-title", children: columnTitle }),
5251
+ sortable && /* @__PURE__ */ jsx52("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx52(Icon, { icon: sortIcon }) }),
5252
+ sortOrder && /* @__PURE__ */ jsx52("span", { className: "k-sort-order", children: sortOrder })
5253
+ ] }),
5254
+ menu && /* @__PURE__ */ jsx52("a", { href: "#", className: classNames(
5255
+ "k-grid-header-menu",
5256
+ {
5257
+ [`k-active`]: active,
5258
+ [`k-grid-filter-menu`]: menu === "filter",
5259
+ [`k-grid-column-menu`]: menu === "column"
5260
+ }
5261
+ ), children: /* @__PURE__ */ jsx52(Icon, { icon: menu === "filter" ? "filter" : "more-vertical" }) })
5262
+ ] }),
5263
+ props.children,
5264
+ resizable && /* @__PURE__ */ jsx52("span", { className: "k-column-resizer k-touch-action-none" })
5265
+ ]
5266
+ }
5267
+ );
5268
+ };
5269
+
5270
+ // src/grid/grid-container.spec.tsx
5271
+ import { jsx as jsx53 } from "react/jsx-runtime";
5272
+ var className8 = `k-grid-container`;
5273
+ var GridContainer = (props) => /* @__PURE__ */ jsx53(
5274
+ "div",
5275
+ {
5276
+ ...props,
5277
+ className: classNames(
5278
+ props.className,
5279
+ className8
5280
+ ),
5281
+ children: props.children
5282
+ }
5283
+ );
5284
+
5285
+ // src/grid/grid-content.spec.tsx
5286
+ import { jsx as jsx54 } from "react/jsx-runtime";
5287
+ var className9 = `k-grid-content`;
5288
+ var GridContent = (props) => /* @__PURE__ */ jsx54(
5289
+ "div",
5290
+ {
5291
+ ...props,
5292
+ className: classNames(
5293
+ props.className,
5294
+ className9
5295
+ ),
5296
+ children: props.children
5297
+ }
5298
+ );
5299
+
5300
+ // src/grid/grid-table.spec.tsx
5301
+ import { jsx as jsx55 } from "react/jsx-runtime";
5302
+ var GRIDTABLE_CLASSNAME = `k-grid-table`;
5303
+ var GridTable = (props) => /* @__PURE__ */ jsx55(
5304
+ Table,
5305
+ {
5306
+ size: "medium",
5307
+ ...props,
5308
+ className: classNames(
5309
+ props.className,
5310
+ GRIDTABLE_CLASSNAME
5311
+ ),
5312
+ children: props.children
5313
+ }
5314
+ );
5315
+
5316
+ // src/grid/grid-footer.spec.tsx
5317
+ import { jsx as jsx56 } from "react/jsx-runtime";
5318
+
5319
+ // src/grid/grid-footer-table.spec.tsx
5320
+ import { jsx as jsx57 } from "react/jsx-runtime";
5321
+
5322
+ // src/input/input.spec.tsx
5323
+ import { jsx as jsx58 } from "react/jsx-runtime";
5324
+ var INPUT_CLASSNAME = `k-input`;
5325
+ var states18 = [
5326
+ States.hover,
5327
+ States.focus,
5328
+ States.valid,
5329
+ States.invalid,
5330
+ States.required,
5331
+ States.disabled,
5332
+ States.loading,
5333
+ States.readonly
5334
+ ];
5335
+ var options15 = {
5336
+ size: [Size.small, Size.medium, Size.large],
5337
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5338
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5339
+ };
5340
+ var defaultProps16 = {
5341
+ size: Size.medium,
5342
+ rounded: Size.medium,
5343
+ fillMode: FillMode.solid
5344
+ };
5345
+ var Input = (props) => {
5346
+ const {
5347
+ hover,
5348
+ focus,
5349
+ disabled,
5350
+ invalid,
5351
+ valid,
5352
+ loading,
5353
+ readonly,
5354
+ size = defaultProps16.size,
5355
+ rounded = defaultProps16.rounded,
5356
+ fillMode = defaultProps16.fillMode,
5357
+ ...other
5358
+ } = props;
5359
+ return /* @__PURE__ */ jsx58(
5360
+ "span",
5361
+ {
5362
+ ...other,
5363
+ className: classNames(
5364
+ props.className,
5365
+ INPUT_CLASSNAME,
5366
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
5367
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
5368
+ )
5369
+ }
5370
+ );
5371
+ };
5372
+ Input.states = states18;
5373
+ Input.options = options15;
5374
+ Input.className = INPUT_CLASSNAME;
5375
+ Input.defaultProps = defaultProps16;
5376
+
5377
+ // src/input/picker.spec.tsx
5378
+ import { jsx as jsx59 } from "react/jsx-runtime";
5379
+ var PICKER_CLASSNAME = `k-picker`;
5380
+ var pickerStates = [
5381
+ States.hover,
5382
+ States.focus,
5383
+ States.valid,
5384
+ States.invalid,
5385
+ States.required,
5386
+ States.disabled,
5387
+ States.loading,
5388
+ States.readonly
5389
+ ];
5390
+ var pickerOptions = {
5391
+ size: [Size.small, Size.medium, Size.large],
5392
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5393
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5394
+ };
5395
+ var defaultProps17 = {
5396
+ size: Size.medium,
5397
+ rounded: Roundness.medium,
5398
+ fillMode: FillMode.solid
5399
+ };
5400
+ var Picker = (props) => {
5401
+ const {
5402
+ hover,
5403
+ focus,
5404
+ disabled,
5405
+ invalid,
5406
+ valid,
5407
+ loading,
5408
+ readonly,
5409
+ size = defaultProps17.size,
5410
+ rounded = defaultProps17.rounded,
5411
+ fillMode = defaultProps17.fillMode,
5412
+ ...other
5413
+ } = props;
5414
+ return /* @__PURE__ */ jsx59(
5415
+ "span",
5416
+ {
5417
+ ...other,
5418
+ className: classNames(
5419
+ props.className,
5420
+ PICKER_CLASSNAME,
5421
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
5422
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
5423
+ ),
5424
+ children: props.children
5425
+ }
5426
+ );
5427
+ };
5428
+ Picker.states = pickerStates;
5429
+ Picker.options = pickerOptions;
5430
+ Picker.className = PICKER_CLASSNAME;
5431
+ Picker.defaultProps = defaultProps17;
5432
+
5433
+ // src/input/input-clear-value.tsx
5434
+ import { Fragment as Fragment7, jsx as jsx60 } from "react/jsx-runtime";
5435
+ var className10 = `k-clear-value`;
5436
+ var states19 = [
5437
+ States.disabled,
5438
+ States.loading,
5439
+ States.readonly
5440
+ ];
5441
+ var options16 = {};
5442
+ var InputClearValue = (props) => {
5443
+ const {
5444
+ disabled,
5445
+ loading,
5446
+ readonly,
5447
+ value
5448
+ } = props;
5449
+ if (disabled || readonly || loading || !value) {
5450
+ return /* @__PURE__ */ jsx60(Fragment7, {});
5451
+ }
5452
+ return /* @__PURE__ */ jsx60("span", { className: classNames(props.className, className10), children: /* @__PURE__ */ jsx60(Icon, { icon: "x" }) });
5453
+ };
5454
+ InputClearValue.states = states19;
5455
+ InputClearValue.options = options16;
5456
+ InputClearValue.className = className10;
5457
+
5458
+ // src/input/input-inner-input.tsx
5459
+ import { jsx as jsx61 } from "react/jsx-runtime";
5460
+ var className11 = `k-input-inner`;
5461
+ var states20 = [];
5462
+ var options17 = {};
5463
+ var defaultProps18 = {
5464
+ type: "text",
5465
+ autocomplete: "off",
5466
+ value: "",
5467
+ placeholder: ""
5468
+ };
5469
+ var InputInnerInput = (props) => {
5470
+ const {
5471
+ value = defaultProps18.value,
5472
+ type = defaultProps18.type,
5473
+ placeholder = defaultProps18.placeholder,
5474
+ autocomplete = defaultProps18.autocomplete,
5475
+ ...other
5476
+ } = props;
5477
+ return /* @__PURE__ */ jsx61(
5478
+ "input",
5479
+ {
5480
+ ...other,
5481
+ type,
5482
+ className: classNames(props.className, className11, optionClassNames(className11, props)),
5483
+ placeholder,
5484
+ autoComplete: autocomplete,
5485
+ defaultValue: value
5486
+ }
5487
+ );
5488
+ };
5489
+ InputInnerInput.states = states20;
5490
+ InputInnerInput.options = options17;
5491
+ InputInnerInput.className = className11;
5492
+
5493
+ // src/input/input-inner-span.tsx
5494
+ import { jsx as jsx62, jsxs as jsxs12 } from "react/jsx-runtime";
5495
+ var className12 = `k-input-inner`;
5496
+ var states21 = [];
5497
+ var options18 = {};
5498
+ var InputInnerSpan = (props) => {
5499
+ const {
5500
+ value,
5501
+ placeholder,
5502
+ showValue,
5503
+ valueIcon,
5504
+ valueIconName,
5505
+ ...other
5506
+ } = props;
5507
+ return /* @__PURE__ */ jsxs12(
5508
+ "span",
5509
+ {
5510
+ ...other,
5511
+ className: classNames(props.className, className12, optionClassNames(className12, props)),
5512
+ children: [
5513
+ valueIcon,
5514
+ !valueIcon && valueIconName && /* @__PURE__ */ jsx62(Icon, { className: "k-input-value-icon", icon: valueIconName }),
5515
+ showValue && !value && placeholder,
5516
+ showValue && value && /* @__PURE__ */ jsx62("span", { className: "k-input-value-text", children: value })
5517
+ ]
5518
+ }
5519
+ );
5520
+ };
5521
+ InputInnerSpan.states = states21;
5522
+ InputInnerSpan.options = options18;
5523
+ InputInnerSpan.className = className12;
5524
+
5525
+ // src/input/input-inner-textarea.tsx
5526
+ import { jsx as jsx63 } from "react/jsx-runtime";
5527
+ var defaultProps19 = {
5528
+ value: "",
5529
+ placeholder: ""
5530
+ };
5531
+ var className13 = `k-input-inner`;
5532
+ var states22 = [];
5533
+ var options19 = {};
5534
+ var InputInnerTextarea = (props) => {
5535
+ const {
5536
+ value = defaultProps19.value,
5537
+ placeholder = defaultProps19.placeholder,
5538
+ rows,
5539
+ ...other
5540
+ } = props;
5541
+ return /* @__PURE__ */ jsx63(
5542
+ "textarea",
5543
+ {
5544
+ ...other,
5545
+ className: classNames(props.className, className13, optionClassNames(className13, props)),
5546
+ placeholder,
5547
+ rows,
5548
+ children: value
5549
+ }
5550
+ );
5551
+ };
5552
+ InputInnerTextarea.states = states22;
5553
+ InputInnerTextarea.options = options19;
5554
+ InputInnerTextarea.className = className13;
5555
+
5556
+ // src/input/input-loading-icon.tsx
5557
+ import { Fragment as Fragment8, jsx as jsx64 } from "react/jsx-runtime";
5558
+ var className14 = `k-input-loading-icon`;
5559
+ var states23 = [
5560
+ States.disabled,
5561
+ States.loading
5562
+ ];
5563
+ var InputLoadingIcon = (props) => {
5564
+ const {
5565
+ disabled,
5566
+ loading
5567
+ } = props;
5568
+ if (disabled || !loading) {
5569
+ return /* @__PURE__ */ jsx64(Fragment8, {});
5570
+ }
5571
+ return /* @__PURE__ */ jsx64("span", { className: classNames(props.className, className14, "k-icon k-i-loading") });
5572
+ };
5573
+
5574
+ // src/input/input-validation-icon.tsx
5575
+ import { Fragment as Fragment9, jsx as jsx65 } from "react/jsx-runtime";
5576
+ var className15 = `k-input-validation-icon`;
5577
+ var states24 = [
5578
+ States.valid,
5579
+ States.invalid,
5580
+ States.disabled,
5581
+ States.loading
5582
+ ];
5583
+ var options20 = {};
5584
+ var InputValidationIcon = (props) => {
5585
+ const {
5586
+ valid,
5587
+ invalid,
5588
+ disabled,
5589
+ loading
5590
+ } = props;
5591
+ const iconName = invalid ? "warning-circle" : "check-circle";
5592
+ const renderValidationIcon = Boolean(valid || invalid);
5593
+ if (disabled || loading || !renderValidationIcon) {
5594
+ return /* @__PURE__ */ jsx65(Fragment9, {});
5595
+ }
5596
+ return /* @__PURE__ */ jsx65(Icon, { className: classNames(className15), icon: iconName });
5597
+ };
5598
+ InputValidationIcon.states = states24;
5599
+ InputValidationIcon.options = options20;
5600
+ InputValidationIcon.className = className15;
5601
+
5602
+ // src/input/input-prefix.tsx
5603
+ import { Fragment as Fragment10, jsx as jsx66 } from "react/jsx-runtime";
5604
+ var className16 = `k-input-prefix`;
5605
+ var defaultProps20 = {
5606
+ direction: "horizontal"
5607
+ };
5608
+ var InputPrefix = (props) => {
5609
+ const {
5610
+ direction = defaultProps20.direction,
5611
+ ...other
5612
+ } = props;
5613
+ if (!props.children) {
5614
+ return /* @__PURE__ */ jsx66(Fragment10, {});
5615
+ }
5616
+ return /* @__PURE__ */ jsx66(
5617
+ "span",
5618
+ {
5619
+ ...other,
5620
+ className: classNames(
5621
+ className16,
5622
+ props.className,
5623
+ {
5624
+ [`k-input-prefix-${direction}`]: direction
5625
+ }
5626
+ ),
5627
+ children: props.children
5628
+ }
5629
+ );
5630
+ };
5631
+
5632
+ // src/input/input-suffix.tsx
5633
+ import { Fragment as Fragment11, jsx as jsx67 } from "react/jsx-runtime";
5634
+ var className17 = `k-input-suffix`;
5635
+ var defaultProps21 = {
5636
+ direction: "horizontal"
5637
+ };
5638
+ var InputSuffix = (props) => {
5639
+ const {
5640
+ direction = defaultProps21.direction,
5641
+ ...other
5642
+ } = props;
5643
+ if (!props.children) {
5644
+ return /* @__PURE__ */ jsx67(Fragment11, {});
5645
+ }
5646
+ return /* @__PURE__ */ jsx67(
5647
+ "span",
5648
+ {
5649
+ ...other,
5650
+ className: classNames(
5651
+ className17,
5652
+ props.className,
5653
+ {
5654
+ [`k-input-suffix-${direction}`]: direction
5655
+ }
5656
+ ),
5657
+ children: props.children
5658
+ }
5659
+ );
5660
+ };
5661
+
5662
+ // src/input/input-prefix-text.tsx
5663
+ import { jsx as jsx68 } from "react/jsx-runtime";
5664
+
5665
+ // src/input/input-suffix-text.tsx
5666
+ import { jsx as jsx69 } from "react/jsx-runtime";
5667
+
5668
+ // src/input/input-separator.tsx
5669
+ import { jsx as jsx70 } from "react/jsx-runtime";
5670
+ var className18 = `k-input-separator`;
5671
+ var defaultProps22 = {
5672
+ direction: "vertical"
5673
+ };
5674
+ var InputSeparator = (props) => {
5675
+ const {
5676
+ direction = defaultProps22.direction,
5677
+ ...other
5678
+ } = props;
5679
+ return /* @__PURE__ */ jsx70(
5680
+ "span",
5681
+ {
5682
+ ...other,
5683
+ className: classNames(
5684
+ className18,
5685
+ props.className,
5686
+ {
5687
+ [`${className18}-${direction}`]: direction
5688
+ }
5689
+ )
5690
+ }
5691
+ );
5692
+ };
5693
+
5694
+ // src/animation-container/animation-container.spec.tsx
5695
+ import { jsx as jsx71 } from "react/jsx-runtime";
5696
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5697
+ var states25 = [];
5698
+ var options21 = {};
5699
+ var defaultProps23 = {
5700
+ positionMode: "absolute"
5701
+ };
5702
+ var AnimationContainer = (props) => {
5703
+ const {
5704
+ positionMode,
5705
+ animationStyle,
5706
+ offset,
5707
+ ...other
5708
+ } = props;
5709
+ return /* @__PURE__ */ jsx71(
5710
+ "div",
5711
+ {
5712
+ ...other,
5713
+ style: { ...offset, ...props.style },
5714
+ className: classNames(
5715
+ ANIMATION_CONTAINER_CLASSNAME,
5716
+ "k-animation-container-shown",
5717
+ {
5718
+ ["k-animation-container-fixed"]: positionMode === "fixed"
5719
+ }
5720
+ ),
5721
+ children: /* @__PURE__ */ jsx71("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5722
+ }
5723
+ );
5724
+ };
5725
+ AnimationContainer.states = states25;
5726
+ AnimationContainer.options = options21;
5727
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5728
+ AnimationContainer.defaultProps = defaultProps23;
5729
+
5730
+ // src/popup/popup.spec.tsx
5731
+ import { jsx as jsx72 } from "react/jsx-runtime";
5732
+ var POPUP_CLASSNAME = `k-popup`;
5733
+ var states26 = [];
5734
+ var options22 = {};
5735
+ var defaultProps24 = {
5736
+ positionMode: "absolute"
5737
+ };
5738
+ var Popup = (props) => {
5739
+ const {
5740
+ offset,
5741
+ positionMode,
5742
+ ...other
5743
+ } = props;
5744
+ return /* @__PURE__ */ jsx72(
5745
+ AnimationContainer,
5746
+ {
5747
+ positionMode,
5748
+ offset,
5749
+ children: /* @__PURE__ */ jsx72("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5750
+ }
5751
+ );
5752
+ };
5753
+ Popup.states = states26;
5754
+ Popup.options = options22;
5755
+ Popup.className = POPUP_CLASSNAME;
5756
+ Popup.defaultProps = defaultProps24;
5757
+
5758
+ // src/dropdownlist/dropdownlist.spec.tsx
5759
+ import { Fragment as Fragment12, jsx as jsx73, jsxs as jsxs13 } from "react/jsx-runtime";
5760
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5761
+ var states27 = [
5762
+ States.hover,
5763
+ States.focus,
5764
+ States.valid,
5765
+ States.invalid,
5766
+ States.required,
5767
+ States.disabled,
5768
+ States.loading,
5769
+ States.readonly
5770
+ ];
5771
+ var options23 = {
5772
+ size: [Size.small, Size.medium, Size.large],
5773
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5774
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5775
+ };
5776
+ var defaultProps25 = {
5777
+ showValue: true,
5778
+ arrowIconName: "caret-alt-down",
5779
+ size: Size.medium,
5780
+ rounded: Roundness.medium,
5781
+ fillMode: FillMode.solid
5782
+ };
5783
+ var DropdownList = (props) => {
5784
+ const {
5785
+ valueIconName,
5786
+ arrowIconName = defaultProps25.arrowIconName,
5787
+ prefix,
5788
+ suffix,
5789
+ value,
5790
+ placeholder,
5791
+ size,
5792
+ rounded,
5793
+ fillMode,
5794
+ hover,
5795
+ focus,
5796
+ valid,
5797
+ invalid,
5798
+ required,
5799
+ loading,
5800
+ disabled,
5801
+ readonly,
5802
+ showValue = defaultProps25.showValue,
5803
+ popup,
5804
+ opened,
5805
+ ...other
5806
+ } = props;
5807
+ return /* @__PURE__ */ jsxs13(Fragment12, { children: [
5808
+ /* @__PURE__ */ jsxs13(
5809
+ Picker,
5810
+ {
5811
+ ...other,
5812
+ size,
5813
+ rounded,
5814
+ fillMode,
5815
+ hover,
5816
+ focus,
5817
+ valid,
5818
+ invalid,
5819
+ required,
5820
+ loading,
5821
+ disabled,
5822
+ readonly,
5823
+ className: classNames(
5824
+ props.className,
5825
+ DROPDOWNLIST_CLASSNAME,
5826
+ {
5827
+ "k-icon-picker": !showValue && valueIconName
5828
+ }
5829
+ ),
5830
+ children: [
5831
+ /* @__PURE__ */ jsx73(InputPrefix, { children: prefix }),
5832
+ /* @__PURE__ */ jsx73(
5833
+ InputInnerSpan,
5834
+ {
5835
+ placeholder,
5836
+ value,
5837
+ showValue,
5838
+ valueIconName
5839
+ }
5840
+ ),
5841
+ /* @__PURE__ */ jsx73(
5842
+ InputValidationIcon,
5843
+ {
5844
+ valid,
5845
+ invalid,
5846
+ loading,
5847
+ disabled
5848
+ }
5849
+ ),
5850
+ /* @__PURE__ */ jsx73(
5851
+ InputLoadingIcon,
5852
+ {
5853
+ loading,
5854
+ disabled
5855
+ }
5856
+ ),
5857
+ /* @__PURE__ */ jsx73(InputSuffix, { children: suffix }),
5858
+ /* @__PURE__ */ jsx73(
5859
+ Button,
5860
+ {
5861
+ className: "k-input-button",
5862
+ icon: arrowIconName,
5863
+ rounded: null,
5864
+ size: props.size,
5865
+ fillMode: props.fillMode
5866
+ }
5867
+ )
5868
+ ]
5869
+ }
5870
+ ),
5871
+ opened && popup && /* @__PURE__ */ jsx73(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5872
+ ] });
5873
+ };
5874
+ DropdownList.states = states27;
5875
+ DropdownList.options = options23;
5876
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
5877
+ DropdownList.defaultProps = defaultProps25;
5878
+
5879
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
5880
+ import { jsx as jsx74 } from "react/jsx-runtime";
5881
+
5882
+ // src/nodata/nodata.tsx
5883
+ import { jsx as jsx75 } from "react/jsx-runtime";
5884
+ var className19 = `k-nodata`;
5885
+ var NoData = (props) => /* @__PURE__ */ jsx75("span", { className: classNames(className19, props.className), children: props.children });
5886
+
5887
+ // src/list/list.spec.tsx
5888
+ import { jsx as jsx76, jsxs as jsxs14 } from "react/jsx-runtime";
5889
+ var LIST_CLASSNAME = `k-list`;
5890
+ var states28 = [];
5891
+ var options24 = {
5892
+ size: [Size.small, Size.medium, Size.large]
5893
+ };
5894
+ var defaultProps26 = {
5895
+ size: Size.medium
5896
+ };
5897
+ var List = (props) => {
5898
+ const {
5899
+ size = defaultProps26.size,
5900
+ virtualization,
5901
+ children,
5902
+ optionLabel,
5903
+ ...other
5904
+ } = props;
5905
+ let listHeader;
5906
+ let listGroup;
5907
+ let listContent;
5908
+ const listChildren = [];
5909
+ if (children) {
5910
+ children.map((child, index) => {
5911
+ if (child.type === ListGroup) {
5912
+ if (child.props.root === true) {
5913
+ listHeader = child.props.label;
5914
+ child.props.children.map((optChild, index2) => {
5915
+ listChildren.push(
5916
+ /* @__PURE__ */ jsx76(
5917
+ ListItem,
5918
+ {
5919
+ ...optChild.props
5920
+ },
5921
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5922
+ )
5923
+ );
5924
+ });
5925
+ } else {
5926
+ child.props.children.forEach((optChild, index2) => {
5927
+ let groupLabel = "";
5928
+ if (index2 === 0) {
5929
+ groupLabel = child.props.label;
5930
+ }
5931
+ listChildren.push(
5932
+ /* @__PURE__ */ jsx76(
5933
+ ListItem,
5934
+ {
5935
+ className: index2 === 0 ? "k-first" : "",
5936
+ ...optChild.props,
5937
+ groupLabel
5938
+ },
5939
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5940
+ )
5941
+ );
5942
+ });
5943
+ }
5944
+ listGroup = /* @__PURE__ */ jsx76(ListGroup, { label: listHeader, virtualization, children: listChildren });
5945
+ } else if (child.type === ListItem) {
5946
+ listChildren.push(/* @__PURE__ */ jsx76(ListItem, { ...child.props }, `${child.type}-${index}`));
5947
+ listContent = /* @__PURE__ */ jsx76(ListContent, { virtualization, children: listChildren });
5948
+ }
5949
+ });
5950
+ } else {
5951
+ listContent = /* @__PURE__ */ jsx76(NoData, { children: "No data found." });
5952
+ }
5953
+ return /* @__PURE__ */ jsxs14(
5954
+ "div",
5955
+ {
5956
+ ...other,
5957
+ className: classNames(
5958
+ props.className,
5959
+ LIST_CLASSNAME,
5960
+ optionClassNames(LIST_CLASSNAME, {
5961
+ size
5962
+ }),
5963
+ {
5964
+ ["k-virtual-list"]: virtualization
5965
+ }
5966
+ ),
5967
+ children: [
5968
+ optionLabel,
5969
+ listGroup,
5970
+ listContent
5971
+ ]
5972
+ }
5973
+ );
5974
+ };
5975
+ List.states = states28;
5976
+ List.options = options24;
5977
+ List.className = LIST_CLASSNAME;
5978
+ List.defaultProps = defaultProps26;
5979
+
5980
+ // src/list/list-angular.spec.tsx
5981
+ import { jsx as jsx77, jsxs as jsxs15 } from "react/jsx-runtime";
5982
+ var LISTANGULAR_CLASSNAME = `k-list`;
5983
+ var states29 = [];
5984
+ var options25 = {
5985
+ size: [Size.small, Size.medium, Size.large]
5986
+ };
5987
+ var defaultProps27 = {
5988
+ size: Size.medium
5989
+ };
5990
+ var ListAngular = (props) => {
5991
+ const {
5992
+ size = defaultProps27.size,
5993
+ virtualization,
5994
+ children,
5995
+ ...other
5996
+ } = props;
5997
+ let listHeader;
5998
+ let listGroup;
5999
+ let listContent;
6000
+ const listChildren = [];
6001
+ if (children) {
6002
+ children.map((child, index) => {
6003
+ if (child.type === ListGroup) {
6004
+ if (child.props.root === true) {
6005
+ listHeader = child.props.label;
6006
+ child.props.children.map((optChild, index2) => {
6007
+ listChildren.push(
6008
+ /* @__PURE__ */ jsx77(
6009
+ ListItem,
6010
+ {
6011
+ ...optChild.props
6012
+ },
6013
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
6014
+ )
6015
+ );
6016
+ });
6017
+ } else {
6018
+ listChildren.push(
6019
+ /* @__PURE__ */ jsx77(
6020
+ ListGroupItem,
6021
+ {
6022
+ ...child.props,
6023
+ children: child.props.label
6024
+ },
6025
+ `listChild-${index}`
6026
+ )
6027
+ );
6028
+ child.props.children.map((optChild, index2) => {
6029
+ listChildren.push(
6030
+ /* @__PURE__ */ jsx77(
6031
+ ListItem,
6032
+ {
6033
+ ...optChild.props
6034
+ },
6035
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
6036
+ )
6037
+ );
6038
+ });
6039
+ }
6040
+ listGroup = /* @__PURE__ */ jsx77(ListGroup, { label: listHeader, virtualization, children: listChildren });
6041
+ } else if (child.type === ListItem) {
6042
+ listChildren.push(/* @__PURE__ */ jsx77(ListItem, { ...child.props }, `${child.type}-${index}`));
6043
+ listContent = /* @__PURE__ */ jsx77(ListContent, { virtualization, children: listChildren });
6044
+ }
6045
+ });
6046
+ } else {
6047
+ listContent = /* @__PURE__ */ jsx77(NoData, { children: "No data found." });
6048
+ }
6049
+ return /* @__PURE__ */ jsxs15(
6050
+ "div",
6051
+ {
6052
+ ...other,
6053
+ className: classNames(
6054
+ props.className,
6055
+ LISTANGULAR_CLASSNAME,
6056
+ optionClassNames(LISTANGULAR_CLASSNAME, {
6057
+ size
6058
+ }),
6059
+ {
6060
+ ["k-virtual-list"]: virtualization
6061
+ }
6062
+ ),
6063
+ children: [
6064
+ listGroup,
6065
+ listContent
6066
+ ]
6067
+ }
6068
+ );
6069
+ };
6070
+ ListAngular.states = states29;
6071
+ ListAngular.options = options25;
6072
+ ListAngular.className = LISTANGULAR_CLASSNAME;
6073
+ ListAngular.defaultProps = defaultProps27;
6074
+
6075
+ // src/list/list-item.spec.tsx
6076
+ import { jsx as jsx78, jsxs as jsxs16 } from "react/jsx-runtime";
6077
+ var LISTITEM_CLASSNAME = `k-list-item`;
6078
+ var states30 = [
6079
+ States.hover,
6080
+ States.focus,
6081
+ States.selected,
6082
+ States.disabled
6083
+ ];
6084
+ var options26 = {};
6085
+ var defaultProps28 = {};
6086
+ var ListItem = (props) => {
6087
+ const {
6088
+ text,
6089
+ groupLabel,
6090
+ showIcon,
6091
+ iconName,
6092
+ showCheckbox,
6093
+ checked,
6094
+ hover,
6095
+ focus,
6096
+ selected,
6097
+ disabled,
6098
+ ...other
6099
+ } = props;
6100
+ const textOrChildren = text ? text : props.children;
6101
+ return /* @__PURE__ */ jsxs16(
6102
+ "li",
6103
+ {
6104
+ ...other,
6105
+ className: classNames(
6106
+ props.className,
6107
+ LISTITEM_CLASSNAME,
6108
+ stateClassNames(LISTITEM_CLASSNAME, {
6109
+ hover,
6110
+ focus,
6111
+ disabled,
6112
+ selected
6113
+ })
6114
+ ),
6115
+ children: [
6116
+ showCheckbox && /* @__PURE__ */ jsx78(Checkbox, { checked }),
6117
+ showIcon && /* @__PURE__ */ jsx78(Icon, { icon: iconName }),
6118
+ /* @__PURE__ */ jsx78("span", { className: "k-list-item-text", children: textOrChildren }),
6119
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx78("div", { className: "k-list-item-group-label", children: groupLabel })
6120
+ ]
6121
+ }
6122
+ );
6123
+ };
6124
+ ListItem.states = states30;
6125
+ ListItem.options = options26;
6126
+ ListItem.className = LISTITEM_CLASSNAME;
6127
+ ListItem.defaultProps = defaultProps28;
6128
+
6129
+ // src/list/list-content.tsx
6130
+ import { jsx as jsx79, jsxs as jsxs17 } from "react/jsx-runtime";
6131
+ var className20 = `k-list-content`;
6132
+ var ListContent = (props) => {
6133
+ const {
6134
+ virtualization
6135
+ } = props;
6136
+ return /* @__PURE__ */ jsxs17("div", { className: classNames(className20, props.className), children: [
6137
+ /* @__PURE__ */ jsx79("ul", { className: classNames("k-list-ul"), children: props.children }),
6138
+ virtualization && /* @__PURE__ */ jsx79("div", { className: "k-height-container", children: /* @__PURE__ */ jsx79("div", {}) })
6139
+ ] });
6140
+ };
6141
+
6142
+ // src/list/list-header.tsx
6143
+ import { jsx as jsx80 } from "react/jsx-runtime";
6144
+ var className21 = `k-list-group-sticky-header`;
6145
+ var ListHeader = (props) => /* @__PURE__ */ jsx80("div", { className: classNames(className21, props.className), children: /* @__PURE__ */ jsx80("div", { className: "k-list-header-text", children: props.children }) });
6146
+
6147
+ // src/list/list-group.tsx
6148
+ import { Fragment as Fragment13, jsx as jsx81, jsxs as jsxs18 } from "react/jsx-runtime";
6149
+ var ListGroup = (props) => {
6150
+ const {
6151
+ virtualization,
6152
+ label
6153
+ } = props;
6154
+ return /* @__PURE__ */ jsxs18(Fragment13, { children: [
6155
+ label && /* @__PURE__ */ jsx81(ListHeader, { children: label }),
6156
+ props.children && /* @__PURE__ */ jsx81(ListContent, { virtualization, children: props.children })
6157
+ ] });
6158
+ };
6159
+
6160
+ // src/list/list-group-item.tsx
6161
+ import { jsx as jsx82 } from "react/jsx-runtime";
6162
+ var className22 = `k-list-group-item`;
6163
+ var ListGroupItem = (props) => /* @__PURE__ */ jsx82("li", { className: classNames(className22, props.className), children: /* @__PURE__ */ jsx82("span", { className: "k-list-item-text", children: props.children }) });
6164
+
6165
+ // src/list/list-option-label.tsx
6166
+ import { jsx as jsx83 } from "react/jsx-runtime";
6167
+ var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
6168
+ var states31 = [
6169
+ States.hover,
6170
+ States.focus,
6171
+ States.selected,
6172
+ States.disabled
6173
+ ];
6174
+ var options27 = {};
6175
+ var defaultProps29 = {};
6176
+ var ListOptionLabel = (props) => {
6177
+ const {
6178
+ text,
6179
+ hover,
6180
+ focus,
6181
+ selected,
6182
+ disabled,
6183
+ ...other
6184
+ } = props;
6185
+ return /* @__PURE__ */ jsx83(
6186
+ "div",
6187
+ {
6188
+ ...other,
6189
+ className: classNames(
6190
+ LIST_OPTIONLABEL_CLASSNAME,
6191
+ stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
6192
+ hover,
6193
+ focus,
6194
+ selected,
6195
+ disabled
6196
+ })
6197
+ ),
6198
+ children: text
6199
+ }
6200
+ );
6201
+ };
6202
+ ListOptionLabel.states = states31;
6203
+ ListOptionLabel.options = options27;
6204
+ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
6205
+ ListOptionLabel.defaultProps = defaultProps29;
6206
+
6207
+ // src/list/templates/list-normal.tsx
6208
+ import { jsx as jsx84 } from "react/jsx-runtime";
6209
+
6210
+ // src/list/templates/list-virtualization.tsx
6211
+ import { jsx as jsx85 } from "react/jsx-runtime";
6212
+
6213
+ // src/list/templates/list-grouping.tsx
6214
+ import { jsx as jsx86, jsxs as jsxs19 } from "react/jsx-runtime";
6215
+
6216
+ // src/list/templates/list-virualization-grouping.tsx
6217
+ import { jsx as jsx87, jsxs as jsxs20 } from "react/jsx-runtime";
6218
+
6219
+ // src/list/templates/list-virtualization-angular.tsx
6220
+ import { jsx as jsx88 } from "react/jsx-runtime";
6221
+
6222
+ // src/list/templates/list-grouping-angular.tsx
6223
+ import { jsx as jsx89, jsxs as jsxs21 } from "react/jsx-runtime";
6224
+
6225
+ // src/list/templates/list-virualization-grouping-angular.tsx
6226
+ import { jsx as jsx90, jsxs as jsxs22 } from "react/jsx-runtime";
6227
+
6228
+ // src/dropdownlist/templates/dropdownlist-popup.tsx
6229
+ import { jsx as jsx91, jsxs as jsxs23 } from "react/jsx-runtime";
6230
+
6231
+ // src/searchbox/searchbox.spec.tsx
6232
+ import { jsx as jsx92, jsxs as jsxs24 } from "react/jsx-runtime";
6233
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
6234
+ var states32 = [
6235
+ States.hover,
6236
+ States.focus,
6237
+ States.valid,
6238
+ States.invalid,
6239
+ States.required,
6240
+ States.disabled,
6241
+ States.loading
6242
+ ];
6243
+ var options28 = {
6244
+ size: [Size.small, Size.medium, Size.large],
6245
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6246
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6247
+ };
6248
+ var defaultProps30 = {
6249
+ showIcon: true,
6250
+ icon: "search",
6251
+ size: Input.defaultProps.size,
6252
+ rounded: Input.defaultProps.rounded,
6253
+ fillMode: Input.defaultProps.fillMode
6254
+ };
6255
+ var Searchbox = (props) => {
6256
+ const {
6257
+ value,
6258
+ placeholder,
6259
+ size,
6260
+ rounded,
6261
+ fillMode,
6262
+ hover,
6263
+ focus,
6264
+ valid,
6265
+ invalid,
6266
+ required,
6267
+ loading,
6268
+ disabled,
6269
+ showIcon = defaultProps30.showIcon,
6270
+ icon = defaultProps30.icon,
6271
+ ...other
6272
+ } = props;
6273
+ return /* @__PURE__ */ jsxs24(
6274
+ Input,
6275
+ {
6276
+ ...other,
6277
+ size,
6278
+ rounded,
6279
+ fillMode,
6280
+ hover,
6281
+ focus,
6282
+ valid,
6283
+ invalid,
6284
+ required,
6285
+ loading,
6286
+ disabled,
6287
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
6288
+ children: [
6289
+ showIcon && /* @__PURE__ */ jsx92(Icon, { className: "k-input-icon", icon }),
6290
+ /* @__PURE__ */ jsx92(InputInnerInput, { placeholder, value }),
6291
+ /* @__PURE__ */ jsx92(InputLoadingIcon, { ...props }),
6292
+ /* @__PURE__ */ jsx92(InputValidationIcon, { ...props }),
6293
+ /* @__PURE__ */ jsx92(InputClearValue, { ...props })
6294
+ ]
6295
+ }
6296
+ );
6297
+ };
6298
+ Searchbox.states = states32;
6299
+ Searchbox.options = options28;
6300
+ Searchbox.className = SEARCHBOX_CLASSNAME;
6301
+ Searchbox.defaultProps = defaultProps30;
6302
+
6303
+ // src/searchbox/templates/searchbox-normal.tsx
6304
+ import { jsx as jsx93 } from "react/jsx-runtime";
6305
+
6306
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
6307
+ import { Fragment as Fragment14, jsx as jsx94, jsxs as jsxs25 } from "react/jsx-runtime";
6308
+
6309
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
6310
+ import { jsx as jsx95, jsxs as jsxs26 } from "react/jsx-runtime";
6311
+
6312
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6313
+ import { Fragment as Fragment15, jsx as jsx96, jsxs as jsxs27 } from "react/jsx-runtime";
6314
+
6315
+ // src/spinbutton/spinbutton.spec.tsx
6316
+ import { jsx as jsx97, jsxs as jsxs28 } from "react/jsx-runtime";
6317
+ var SPINBUTTON_CLASSNAME = `k-spin-button`;
6318
+ var states33 = [];
6319
+ var options29 = {
6320
+ size: [Size.small, Size.medium, Size.large],
6321
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
6322
+ };
6323
+ var defaultProps31 = {
6324
+ size: Size.medium,
6325
+ fillMode: FillMode.solid
6326
+ };
6327
+ var SpinButton = (props) => {
6328
+ const {
6329
+ size = defaultProps31.size,
6330
+ fillMode = defaultProps31.fillMode,
6331
+ ...other
6332
+ } = props;
6333
+ return /* @__PURE__ */ jsxs28(
6334
+ "span",
6335
+ {
6336
+ ...other,
6337
+ className: classNames(
6338
+ SPINBUTTON_CLASSNAME,
6339
+ props.className
6340
+ ),
6341
+ children: [
6342
+ /* @__PURE__ */ jsx97(
6343
+ Button,
6344
+ {
6345
+ className: "k-spinner-increase",
6346
+ icon: "caret-alt-up",
6347
+ rounded: null,
6348
+ size,
6349
+ fillMode
6350
+ }
6351
+ ),
6352
+ /* @__PURE__ */ jsx97(
6353
+ Button,
6354
+ {
6355
+ className: "k-spinner-decrease",
6356
+ icon: "caret-alt-down",
6357
+ rounded: null,
6358
+ size,
6359
+ fillMode
6360
+ }
6361
+ )
6362
+ ]
6363
+ }
6364
+ );
6365
+ };
6366
+ SpinButton.states = states33;
6367
+ SpinButton.options = options29;
6368
+ SpinButton.className = SPINBUTTON_CLASSNAME;
6369
+ SpinButton.defaultProps = defaultProps31;
6370
+
6371
+ // src/numerictextbox/numerictextbox.spec.tsx
6372
+ import { Fragment as Fragment16, jsx as jsx98, jsxs as jsxs29 } from "react/jsx-runtime";
6373
+ var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
6374
+ var states34 = [
6375
+ States.hover,
6376
+ States.focus,
6377
+ States.valid,
6378
+ States.invalid,
6379
+ States.loading,
6380
+ States.required,
6381
+ States.disabled,
6382
+ States.readonly
6383
+ ];
6384
+ var options30 = {
6385
+ size: [Size.small, Size.medium, Size.large],
6386
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6387
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6388
+ };
6389
+ var defaultProps32 = {
6390
+ showSpinButton: true,
6391
+ showClearButton: true,
6392
+ size: Input.defaultProps.size,
6393
+ rounded: Input.defaultProps.rounded,
6394
+ fillMode: Input.defaultProps.fillMode
6395
+ };
6396
+ var NumericTextbox = (props) => {
6397
+ const {
6398
+ prefix,
6399
+ suffix,
6400
+ value,
6401
+ placeholder,
6402
+ size,
6403
+ rounded,
6404
+ fillMode,
6405
+ hover,
6406
+ focus,
6407
+ valid,
6408
+ invalid,
6409
+ required,
6410
+ loading,
6411
+ disabled,
6412
+ readonly,
6413
+ showClearButton = defaultProps32.showClearButton,
6414
+ showSpinButton = defaultProps32.showSpinButton,
6415
+ ...other
6416
+ } = props;
6417
+ return /* @__PURE__ */ jsxs29(
6418
+ Input,
6419
+ {
6420
+ ...other,
6421
+ size,
6422
+ rounded,
6423
+ fillMode,
6424
+ hover,
6425
+ focus,
6426
+ valid,
6427
+ invalid,
6428
+ required,
6429
+ loading,
6430
+ disabled,
6431
+ readonly,
6432
+ className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
6433
+ children: [
6434
+ prefix && /* @__PURE__ */ jsxs29(Fragment16, { children: [
6435
+ /* @__PURE__ */ jsx98(InputPrefix, { children: prefix }),
6436
+ /* @__PURE__ */ jsx98(InputSeparator, {})
6437
+ ] }),
6438
+ /* @__PURE__ */ jsx98(InputInnerInput, { placeholder, value }),
6439
+ /* @__PURE__ */ jsx98(
6440
+ InputValidationIcon,
6441
+ {
6442
+ valid,
6443
+ invalid,
6444
+ loading,
6445
+ disabled
6446
+ }
6447
+ ),
6448
+ /* @__PURE__ */ jsx98(
6449
+ InputLoadingIcon,
6450
+ {
6451
+ loading,
6452
+ disabled
6453
+ }
6454
+ ),
6455
+ showClearButton && /* @__PURE__ */ jsx98(
6456
+ InputClearValue,
6457
+ {
6458
+ loading,
6459
+ disabled,
6460
+ readonly,
6461
+ value
6462
+ }
6463
+ ),
6464
+ suffix && /* @__PURE__ */ jsxs29(Fragment16, { children: [
6465
+ /* @__PURE__ */ jsx98(InputSeparator, {}),
6466
+ /* @__PURE__ */ jsx98(InputSuffix, { children: suffix })
6467
+ ] }),
6468
+ showSpinButton && /* @__PURE__ */ jsx98(
6469
+ SpinButton,
6470
+ {
6471
+ className: "k-input-spinner",
6472
+ size,
6473
+ fillMode
6474
+ }
6475
+ )
6476
+ ]
6477
+ }
6478
+ );
6479
+ };
6480
+ NumericTextbox.states = states34;
6481
+ NumericTextbox.options = options30;
6482
+ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
6483
+ NumericTextbox.defaultProps = defaultProps32;
6484
+
6485
+ // src/numerictextbox/templates/numerictextbox-normal.tsx
6486
+ import { jsx as jsx99 } from "react/jsx-runtime";
6487
+
6488
+ // src/numerictextbox/templates/numerictextbox-prefix.tsx
6489
+ import { Fragment as Fragment17, jsx as jsx100 } from "react/jsx-runtime";
6490
+
6491
+ // src/numerictextbox/templates/numerictextbox-suffix.tsx
6492
+ import { Fragment as Fragment18, jsx as jsx101 } from "react/jsx-runtime";
6493
+
6494
+ // src/pager/pager.spec.tsx
6495
+ import { jsx as jsx102, jsxs as jsxs30 } from "react/jsx-runtime";
6496
+ var PAGER_CLASSNAME = `k-pager`;
6497
+ var states35 = [
6498
+ States.focus,
6499
+ States.disabled
6500
+ ];
6501
+ var options31 = {
6502
+ size: [Size.small, Size.medium, Size.large]
6503
+ };
6504
+ var defaultProps33 = {
6505
+ size: Size.medium,
6506
+ adaptive: false,
6507
+ itemsPerPage: true,
6508
+ type: "numeric",
6509
+ pageSizes: true,
6510
+ refresh: true,
6511
+ info: true
6512
+ };
6513
+ var Pager = (props) => {
6514
+ const {
6515
+ size = defaultProps33.size,
6516
+ adaptive = defaultProps33.adaptive,
6517
+ itemsPerPage = defaultProps33.itemsPerPage,
6518
+ type = defaultProps33.type,
6519
+ pageSizes = defaultProps33.pageSizes,
6520
+ refresh = defaultProps33.refresh,
6521
+ info = defaultProps33.info,
6522
+ focus,
6523
+ disabled,
6524
+ dir,
6525
+ ...other
6526
+ } = props;
6527
+ return /* @__PURE__ */ jsxs30(
6528
+ "div",
6529
+ {
6530
+ dir,
6531
+ ...other,
6532
+ className: classNames(
6533
+ props.className,
6534
+ PAGER_CLASSNAME,
6535
+ optionClassNames(PAGER_CLASSNAME, {
6536
+ size
6537
+ }),
6538
+ stateClassNames(PAGER_CLASSNAME, {
6539
+ focus,
6540
+ disabled
6541
+ })
6542
+ ),
6543
+ children: [
6544
+ /* @__PURE__ */ jsxs30(
6545
+ "div",
6546
+ {
6547
+ className: classNames(
6548
+ "k-pager-numbers-wrap"
6549
+ ),
6550
+ children: [
6551
+ /* @__PURE__ */ jsx102(
6552
+ Button,
6553
+ {
6554
+ className: classNames(
6555
+ "k-pager-nav",
6556
+ "k-pager-first"
6557
+ ),
6558
+ disabled: true,
6559
+ fillMode: "flat",
6560
+ size,
6561
+ rounded: null,
6562
+ icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
6563
+ }
6564
+ ),
6565
+ /* @__PURE__ */ jsx102(
6566
+ Button,
6567
+ {
6568
+ className: classNames(
6569
+ "k-pager-nav"
6570
+ ),
6571
+ disabled: true,
6572
+ fillMode: "flat",
6573
+ size,
6574
+ rounded: null,
6575
+ icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
6576
+ }
6577
+ ),
6578
+ type === "numeric" && !adaptive && /* @__PURE__ */ jsxs30(
6579
+ "div",
6580
+ {
6581
+ className: classNames(
6582
+ "k-pager-numbers"
6583
+ ),
6584
+ children: [
6585
+ /* @__PURE__ */ jsx102(
6586
+ Button,
6587
+ {
6588
+ selected: true,
6589
+ fillMode: "flat",
6590
+ themeColor: "primary",
6591
+ size,
6592
+ rounded: null,
6593
+ children: "1"
6594
+ }
6595
+ ),
6596
+ /* @__PURE__ */ jsx102(
6597
+ Button,
6598
+ {
6599
+ fillMode: "flat",
6600
+ themeColor: "primary",
6601
+ size,
6602
+ rounded: null,
6603
+ children: "2"
6604
+ }
6605
+ ),
6606
+ /* @__PURE__ */ jsx102(
6607
+ Button,
6608
+ {
6609
+ fillMode: "flat",
6610
+ themeColor: "primary",
6611
+ size,
6612
+ rounded: null,
6613
+ children: "3"
6614
+ }
6615
+ ),
6616
+ /* @__PURE__ */ jsx102(
6617
+ Button,
6618
+ {
6619
+ fillMode: "flat",
6620
+ themeColor: "primary",
6621
+ size,
6622
+ rounded: null,
6623
+ children: "4"
6624
+ }
6625
+ ),
6626
+ /* @__PURE__ */ jsx102(
6627
+ Button,
6628
+ {
6629
+ fillMode: "flat",
6630
+ themeColor: "primary",
6631
+ size,
6632
+ rounded: null,
6633
+ children: "5"
6634
+ }
6635
+ ),
6636
+ /* @__PURE__ */ jsx102(
6637
+ Button,
6638
+ {
6639
+ fillMode: "flat",
6640
+ themeColor: "primary",
6641
+ size,
6642
+ rounded: null,
6643
+ children: "6"
6644
+ }
6645
+ )
6646
+ ]
6647
+ }
6648
+ ),
6649
+ type === "numeric" && /* @__PURE__ */ jsx102(
6650
+ "select",
6651
+ {
6652
+ className: classNames(
6653
+ "k-picker",
6654
+ "k-picker-solid",
6655
+ "k-dropdown-list",
6656
+ "k-dropdown",
6657
+ "k-rounded-md",
6658
+ optionClassNames("k-picker", {
6659
+ size
6660
+ }),
6661
+ {
6662
+ ["k-hidden"]: !adaptive
6663
+ }
6664
+ ),
6665
+ children: /* @__PURE__ */ jsx102("option", { children: "99" })
6666
+ }
6667
+ ),
6668
+ type === "input" && /* @__PURE__ */ jsxs30(
6669
+ "span",
6670
+ {
6671
+ className: classNames(
6672
+ "k-pager-input"
6673
+ ),
6674
+ children: [
6675
+ !adaptive && /* @__PURE__ */ jsx102("span", { children: "Page" }),
6676
+ /* @__PURE__ */ jsx102(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
6677
+ !adaptive && /* @__PURE__ */ jsx102("span", { children: "of 8" })
6678
+ ]
6679
+ }
6680
+ ),
6681
+ /* @__PURE__ */ jsx102(
6682
+ Button,
6683
+ {
6684
+ className: classNames(
6685
+ "k-pager-nav"
6686
+ ),
6687
+ fillMode: "flat",
6688
+ size,
6689
+ rounded: null,
6690
+ icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
6691
+ }
6692
+ ),
6693
+ /* @__PURE__ */ jsx102(
6694
+ Button,
6695
+ {
6696
+ className: classNames(
6697
+ "k-pager-nav",
6698
+ "k-pager-last"
6699
+ ),
6700
+ fillMode: "flat",
6701
+ size,
6702
+ rounded: null,
6703
+ icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
6704
+ }
6705
+ )
6706
+ ]
6707
+ }
6708
+ ),
6709
+ pageSizes && /* @__PURE__ */ jsxs30(
6710
+ "span",
6711
+ {
6712
+ className: classNames(
6713
+ "k-pager-sizes"
6714
+ ),
6715
+ children: [
6716
+ /* @__PURE__ */ jsx102(DropdownList, { value: "99", size }),
6717
+ itemsPerPage && /* @__PURE__ */ jsx102("span", { children: "items per page" })
6718
+ ]
6719
+ }
6720
+ ),
6721
+ refresh && /* @__PURE__ */ jsx102(
6722
+ Button,
6723
+ {
6724
+ className: classNames(
6725
+ "k-pager-refresh"
6726
+ ),
6727
+ fillMode: "flat",
6728
+ size,
6729
+ rounded: null,
6730
+ icon: "arrow-rotate-cw"
6731
+ }
6732
+ ),
6733
+ info && /* @__PURE__ */ jsx102(
6734
+ "span",
6735
+ {
6736
+ className: classNames(
6737
+ "k-pager-info"
6738
+ ),
6739
+ children: "1 - 20 of 91 items"
6740
+ }
6741
+ )
6742
+ ]
6743
+ }
6744
+ );
6745
+ };
6746
+ Pager.states = states35;
6747
+ Pager.options = options31;
6748
+ Pager.className = PAGER_CLASSNAME;
6749
+ Pager.defaultProps = defaultProps33;
6750
+
6751
+ // src/pager/templates/pager-normal.tsx
6752
+ import { jsx as jsx103 } from "react/jsx-runtime";
6753
+
6754
+ // src/pager/templates/pager-input.tsx
6755
+ import { jsx as jsx104 } from "react/jsx-runtime";
6756
+
6757
+ // src/pager/templates/pager-adaptive.tsx
6758
+ import { jsx as jsx105 } from "react/jsx-runtime";
6759
+
6760
+ // src/pager/templates/pager-adaptive-input.tsx
6761
+ import { jsx as jsx106 } from "react/jsx-runtime";
6762
+
6763
+ // src/grid/grid-pager.spec.tsx
6764
+ import { jsx as jsx107 } from "react/jsx-runtime";
6765
+
6766
+ // src/button-group/button-group.spec.tsx
6767
+ import { jsx as jsx108 } from "react/jsx-runtime";
6768
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
6769
+ var states36 = [
6770
+ States.disabled
6771
+ ];
6772
+ var options32 = {
6773
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
6774
+ };
6775
+ var defaultProps34 = {
6776
+ fillMode: FillMode.solid
6777
+ };
6778
+ var ButtonGroup = (props) => {
6779
+ const {
6780
+ fillMode = defaultProps34.fillMode,
6781
+ disabled,
6782
+ stretched,
6783
+ ...other
6784
+ } = props;
6785
+ return /* @__PURE__ */ jsx108(
6786
+ "div",
6787
+ {
6788
+ ...other,
6789
+ className: classNames(
6790
+ props.className,
6791
+ BUTTONGROUP_CLASSNAME,
6792
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
6793
+ fillMode
6794
+ }),
6795
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
6796
+ disabled
6797
+ }),
6798
+ {
6799
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
6800
+ }
6801
+ ),
6802
+ children: props.children
6803
+ }
6804
+ );
6805
+ };
6806
+ ButtonGroup.states = states36;
6807
+ ButtonGroup.options = options32;
6808
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
6809
+ ButtonGroup.defaultProps = defaultProps34;
6810
+
6811
+ // src/button-group/templates/icon-button-group.tsx
6812
+ import { jsx as jsx109, jsxs as jsxs31 } from "react/jsx-runtime";
6813
+
6814
+ // src/button-group/templates/icon-text-button-group.tsx
6815
+ import { jsx as jsx110, jsxs as jsxs32 } from "react/jsx-runtime";
6816
+
6817
+ // src/button-group/templates/text-button-group.tsx
6818
+ import { jsx as jsx111, jsxs as jsxs33 } from "react/jsx-runtime";
6819
+
6820
+ // src/button-group/templates/mixed-button-group.tsx
6821
+ import { jsx as jsx112, jsxs as jsxs34 } from "react/jsx-runtime";
6822
+
6823
+ // src/color-preview/color-preview.tsx
6824
+ import { jsx as jsx113, jsxs as jsxs35 } from "react/jsx-runtime";
6825
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
6826
+ var states37 = [];
6827
+ var options33 = {};
6828
+ var ColorPreview = (props) => {
6829
+ const {
6830
+ color,
6831
+ iconName,
6832
+ ...other
6833
+ } = props;
6834
+ return /* @__PURE__ */ jsxs35(
6835
+ "span",
6836
+ {
6837
+ ...other,
6838
+ className: classNames(
6839
+ props.className,
6840
+ COLORPREVIEW_CLASSNAME,
6841
+ {
6842
+ "k-icon-color-preview": iconName,
6843
+ "k-no-color": !color
6844
+ }
6845
+ ),
6846
+ children: [
6847
+ iconName && /* @__PURE__ */ jsx113(Icon, { icon: iconName, className: "k-color-preview-icon" }),
6848
+ /* @__PURE__ */ jsx113(
6849
+ "span",
6850
+ {
6851
+ className: "k-color-preview-mask",
6852
+ style: { backgroundColor: color }
6853
+ }
6854
+ )
6855
+ ]
6856
+ }
6857
+ );
6858
+ };
6859
+ ColorPreview.states = states37;
6860
+ ColorPreview.options = options33;
6861
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
6862
+
6863
+ // src/colorpicker/colorpicker.spec.tsx
6864
+ import { Fragment as Fragment19, jsx as jsx114, jsxs as jsxs36 } from "react/jsx-runtime";
6865
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
6866
+ var states38 = [
6867
+ States.hover,
6868
+ States.focus,
6869
+ States.valid,
6870
+ States.invalid,
6871
+ States.required,
6872
+ States.disabled
6873
+ ];
6874
+ var options34 = {
6875
+ size: [Size.small, Size.medium, Size.large],
6876
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6877
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6878
+ };
6879
+ var defaultProps35 = {
6880
+ arrowIconName: "caret-alt-down",
6881
+ size: Picker.defaultProps.size,
6882
+ rounded: Picker.defaultProps.rounded,
6883
+ fillMode: Picker.defaultProps.fillMode
6884
+ };
6885
+ var ColorPicker = (props) => {
6886
+ const {
6887
+ prefix,
6888
+ suffix,
6889
+ value,
6890
+ placeholder,
6891
+ size,
6892
+ rounded,
6893
+ fillMode,
6894
+ hover,
6895
+ focus,
6896
+ valid,
6897
+ invalid,
6898
+ required,
6899
+ disabled,
6900
+ valueIconName,
6901
+ arrowIconName = defaultProps35.arrowIconName,
6902
+ popup,
6903
+ opened,
6904
+ ...other
6905
+ } = props;
6906
+ return /* @__PURE__ */ jsxs36(Fragment19, { children: [
6907
+ /* @__PURE__ */ jsxs36(
6908
+ Picker,
6909
+ {
6910
+ ...other,
6911
+ size,
6912
+ rounded,
6913
+ fillMode,
6914
+ hover,
6915
+ focus,
6916
+ valid,
6917
+ invalid,
6918
+ required,
6919
+ disabled,
6920
+ className: classNames(
6921
+ props.className,
6922
+ COLORPICKER_CLASSNAME,
6923
+ "k-icon-picker"
6924
+ ),
6925
+ children: [
6926
+ /* @__PURE__ */ jsx114(InputPrefix, { children: prefix }),
6927
+ /* @__PURE__ */ jsx114(
6928
+ InputInnerSpan,
6929
+ {
6930
+ placeholder,
6931
+ value,
6932
+ showValue: false,
6933
+ valueIcon: /* @__PURE__ */ jsx114(
6934
+ ColorPreview,
6935
+ {
6936
+ className: "k-value-icon",
6937
+ color: value,
6938
+ iconName: valueIconName
6939
+ }
6940
+ ),
6941
+ valueIconName
6942
+ }
6943
+ ),
6944
+ /* @__PURE__ */ jsx114(InputSuffix, { children: suffix }),
6945
+ /* @__PURE__ */ jsx114(
6946
+ Button,
6947
+ {
6948
+ className: "k-input-button",
6949
+ icon: arrowIconName,
6950
+ rounded: null,
6951
+ size,
6952
+ fillMode
6953
+ }
6954
+ )
6955
+ ]
6956
+ }
6957
+ ),
6958
+ opened && popup && /* @__PURE__ */ jsx114(Popup, { className: "k-color-picker-popup", children: popup })
6959
+ ] });
6960
+ };
6961
+ ColorPicker.states = states38;
6962
+ ColorPicker.options = options34;
6963
+ ColorPicker.className = COLORPICKER_CLASSNAME;
6964
+ ColorPicker.defaultProps = defaultProps35;
6965
+
6966
+ // src/colorpicker/templates/colorpicker-normal.tsx
6967
+ import { jsx as jsx115 } from "react/jsx-runtime";
6968
+
6969
+ // src/action-buttons/action-buttons.spec.tsx
6970
+ import { jsx as jsx116 } from "react/jsx-runtime";
6971
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
6972
+ var states39 = [];
6973
+ var options35 = {};
6974
+ var defaultProps36 = {
6975
+ alignment: "start",
6976
+ orientation: "horizontal"
6977
+ };
6978
+ var ActionButtons = (props) => {
6979
+ const {
6980
+ alignment = defaultProps36.alignment,
6981
+ orientation = defaultProps36.orientation,
6982
+ ...other
6983
+ } = props;
6984
+ return /* @__PURE__ */ jsx116(
6985
+ "div",
6986
+ {
6987
+ ...other,
6988
+ className: classNames(
6989
+ ACTIONBUTTONS_CLASSNAME,
6990
+ {
6991
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
6992
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
6993
+ },
6994
+ props.className
6995
+ ),
6996
+ children: props.children
6997
+ }
6998
+ );
6999
+ };
7000
+ ActionButtons.states = states39;
7001
+ ActionButtons.options = options35;
7002
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
7003
+ ActionButtons.defaultProps = defaultProps36;
7004
+ var action_buttons_spec_default = ActionButtons;
7005
+
7006
+ // src/slider/slider.spec.tsx
7007
+ import { jsx as jsx117, jsxs as jsxs37 } from "react/jsx-runtime";
7008
+ var SLIDER_CLASSNAME = "k-slider";
7009
+ var states40 = [
7010
+ States.hover,
7011
+ States.focus,
7012
+ States.active,
7013
+ States.disabled,
7014
+ States.readonly
7015
+ ];
7016
+ var options36 = {};
7017
+ var defaultProps37 = {
7018
+ type: "single",
7019
+ orientation: "horizontal",
7020
+ readonly: false,
7021
+ disabled: false,
7022
+ handlePosition: "end",
7023
+ showButtons: true,
7024
+ showTicks: true
7025
+ };
7026
+ var Slider = (props) => {
7027
+ const {
7028
+ type = defaultProps37.type,
7029
+ orientation = defaultProps37.orientation,
7030
+ readonly = defaultProps37.readonly,
7031
+ disabled = defaultProps37.disabled,
7032
+ handlePosition = defaultProps37.handlePosition,
7033
+ showButtons = defaultProps37.showButtons,
7034
+ showTicks = defaultProps37.showTicks,
7035
+ hover,
7036
+ focus,
7037
+ active,
7038
+ trackStyle,
7039
+ dir
7040
+ } = props;
7041
+ let iconIncrease;
7042
+ let iconDecrease;
7043
+ if (orientation === "horizontal") {
7044
+ iconIncrease = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
7045
+ iconDecrease = dir === "rtl" ? "caret-alt-right" : "caret-alt-left";
7046
+ } else if (orientation === "vertical") {
7047
+ iconIncrease = "caret-alt-up";
7048
+ iconDecrease = "caret-alt-down";
7049
+ }
7050
+ return /* @__PURE__ */ jsxs37("div", { className: classNames(
7051
+ SLIDER_CLASSNAME,
7052
+ props.className,
7053
+ stateClassNames(SLIDER_CLASSNAME, {
7054
+ readonly,
7055
+ disabled
7056
+ }),
7057
+ {
7058
+ [`k-slider-${orientation}`]: orientation,
7059
+ "k-colorgradient-slider": type === "gradient",
7060
+ "k-range-slider": type === "range"
7061
+ }
7062
+ ), dir, children: [
7063
+ showButtons && /* @__PURE__ */ jsx117(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
7064
+ /* @__PURE__ */ jsxs37("div", { className: "k-slider-track-wrap", children: [
7065
+ showTicks && /* @__PURE__ */ jsx117("ul", { className: "k-reset k-slider-items", children: props.children }),
7066
+ /* @__PURE__ */ jsxs37("div", { className: "k-slider-track", style: trackStyle, children: [
7067
+ /* @__PURE__ */ jsx117("div", { className: "k-slider-selection" }),
7068
+ type === "range" && /* @__PURE__ */ jsx117("span", { className: classNames(
7069
+ "k-draghandle",
7070
+ "k-draghandle-start",
7071
+ stateClassNames(SLIDER_CLASSNAME, {
7072
+ hover,
7073
+ focus,
7074
+ active
7075
+ })
7076
+ ) }),
7077
+ /* @__PURE__ */ jsx117("span", { className: classNames(
7078
+ "k-draghandle",
7079
+ `k-draghandle-${handlePosition}`,
7080
+ stateClassNames(SLIDER_CLASSNAME, {
7081
+ hover,
7082
+ focus,
7083
+ active
7084
+ })
7085
+ ) })
7086
+ ] })
7087
+ ] }),
7088
+ showButtons && /* @__PURE__ */ jsx117(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
7089
+ ] });
7090
+ };
7091
+ Slider.states = states40;
7092
+ Slider.options = options36;
7093
+ Slider.className = SLIDER_CLASSNAME;
7094
+ Slider.defaultProps = defaultProps37;
7095
+
7096
+ // src/slider/slider-tick.tsx
7097
+ import { jsx as jsx118 } from "react/jsx-runtime";
7098
+ var SLIDER_TICK_CLASSNAME = "k-tick";
7099
+ var states41 = [];
7100
+ var options37 = {};
7101
+ var defaultProps38 = {
7102
+ label: false
7103
+ };
7104
+ var SliderTick = (props) => {
7105
+ const {
7106
+ style,
7107
+ label = defaultProps38.label,
7108
+ orientation,
7109
+ large,
7110
+ text
7111
+ } = props;
7112
+ return /* @__PURE__ */ jsx118("li", { className: classNames(
7113
+ props.className,
7114
+ SLIDER_TICK_CLASSNAME,
7115
+ {
7116
+ [`k-tick-${orientation}`]: orientation,
7117
+ "k-tick-large": large
7118
+ }
7119
+ ), style, children: label && /* @__PURE__ */ jsx118("span", { className: "k-label", children: text }) });
7120
+ };
7121
+ SliderTick.states = states41;
7122
+ SliderTick.options = options37;
7123
+ SliderTick.className = SLIDER_TICK_CLASSNAME;
7124
+ SliderTick.defaultProps = defaultProps38;
7125
+
7126
+ // src/slider/templates/slider-normal.tsx
7127
+ import { Fragment as Fragment20, jsx as jsx119, jsxs as jsxs38 } from "react/jsx-runtime";
7128
+
7129
+ // src/slider/templates/slider-vertical.tsx
7130
+ import { Fragment as Fragment21, jsx as jsx120, jsxs as jsxs39 } from "react/jsx-runtime";
7131
+
7132
+ // src/slider/templates/slider-range.tsx
7133
+ import { Fragment as Fragment22, jsx as jsx121, jsxs as jsxs40 } from "react/jsx-runtime";
7134
+
7135
+ // src/slider/templates/slider-range-vertical.tsx
7136
+ import { Fragment as Fragment23, jsx as jsx122, jsxs as jsxs41 } from "react/jsx-runtime";
7137
+
7138
+ // src/slider/templates/slider-gradient.tsx
7139
+ import { Fragment as Fragment24, jsx as jsx123, jsxs as jsxs42 } from "react/jsx-runtime";
7140
+
7141
+ // src/slider/templates/slider-gradient-vertical.tsx
7142
+ import { Fragment as Fragment25, jsx as jsx124, jsxs as jsxs43 } from "react/jsx-runtime";
7143
+ var SliderGradientVertical = (props) => /* @__PURE__ */ jsx124(
7144
+ Slider,
7145
+ {
7146
+ type: "gradient",
7147
+ orientation: "vertical",
7148
+ showButtons: false,
7149
+ showTicks: false,
7150
+ children: /* @__PURE__ */ jsxs43(Fragment25, { children: [
7151
+ /* @__PURE__ */ jsx124(SliderTick, { label: true, large: true, text: "0" }),
7152
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7153
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7154
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7155
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7156
+ /* @__PURE__ */ jsx124(SliderTick, { label: true, large: true, text: "5" }),
7157
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7158
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7159
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7160
+ /* @__PURE__ */ jsx124(SliderTick, {}),
7161
+ /* @__PURE__ */ jsx124(SliderTick, { label: true, large: true, text: "10" })
7162
+ ] }),
7163
+ ...props
7164
+ }
7165
+ );
7166
+
7167
+ // src/textbox/textbox.spec.tsx
7168
+ import { Fragment as Fragment26, jsx as jsx125, jsxs as jsxs44 } from "react/jsx-runtime";
7169
+ var TEXTBOX_CLASSNAME = `k-textbox`;
7170
+ var states42 = [
7171
+ States.hover,
7172
+ States.focus,
7173
+ States.valid,
7174
+ States.invalid,
7175
+ States.required,
7176
+ States.disabled,
7177
+ States.loading,
7178
+ States.readonly
7179
+ ];
7180
+ var options38 = {
7181
+ size: [Size.small, Size.medium, Size.large],
7182
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7183
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
7184
+ };
7185
+ var defaultProps39 = {
7186
+ showClearButton: true,
7187
+ size: Input.defaultProps.size,
7188
+ rounded: Input.defaultProps.rounded,
7189
+ fillMode: Input.defaultProps.fillMode
7190
+ };
7191
+ var Textbox = (props) => {
7192
+ const {
7193
+ prefix,
7194
+ suffix,
7195
+ value,
7196
+ placeholder,
7197
+ size,
7198
+ rounded,
7199
+ fillMode,
7200
+ hover,
7201
+ focus,
7202
+ valid,
7203
+ invalid,
7204
+ required,
7205
+ loading,
7206
+ disabled,
7207
+ readonly,
7208
+ showClearButton = defaultProps39.showClearButton,
7209
+ ...other
7210
+ } = props;
7211
+ return /* @__PURE__ */ jsxs44(
7212
+ Input,
7213
+ {
7214
+ ...other,
7215
+ size,
7216
+ rounded,
7217
+ fillMode,
7218
+ hover,
7219
+ focus,
7220
+ valid,
7221
+ invalid,
7222
+ required,
7223
+ loading,
7224
+ disabled,
7225
+ readonly,
7226
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
7227
+ children: [
7228
+ prefix && /* @__PURE__ */ jsxs44(Fragment26, { children: [
7229
+ /* @__PURE__ */ jsx125(InputPrefix, { children: prefix }),
7230
+ /* @__PURE__ */ jsx125(InputSeparator, {})
7231
+ ] }),
7232
+ /* @__PURE__ */ jsx125(InputInnerInput, { placeholder, value }),
7233
+ /* @__PURE__ */ jsx125(
7234
+ InputValidationIcon,
7235
+ {
7236
+ valid,
7237
+ invalid,
7238
+ loading,
7239
+ disabled
7240
+ }
7241
+ ),
7242
+ /* @__PURE__ */ jsx125(
7243
+ InputLoadingIcon,
7244
+ {
7245
+ loading,
7246
+ disabled
7247
+ }
7248
+ ),
7249
+ showClearButton && /* @__PURE__ */ jsx125(
7250
+ InputClearValue,
7251
+ {
7252
+ loading,
7253
+ disabled,
7254
+ readonly,
7255
+ value
7256
+ }
7257
+ ),
7258
+ suffix && /* @__PURE__ */ jsxs44(Fragment26, { children: [
7259
+ /* @__PURE__ */ jsx125(InputSeparator, {}),
7260
+ /* @__PURE__ */ jsx125(InputSuffix, { children: suffix })
7261
+ ] })
7262
+ ]
7263
+ }
7264
+ );
7265
+ };
7266
+ Textbox.states = states42;
7267
+ Textbox.options = options38;
7268
+ Textbox.className = TEXTBOX_CLASSNAME;
7269
+ Textbox.defaultProps = defaultProps39;
7270
+
7271
+ // src/textbox/templates/textbox-normal.tsx
7272
+ import { jsx as jsx126 } from "react/jsx-runtime";
7273
+
7274
+ // src/textbox/templates/textbox-prefix.tsx
7275
+ import { Fragment as Fragment27, jsx as jsx127 } from "react/jsx-runtime";
7276
+
7277
+ // src/textbox/templates/textbox-suffix.tsx
7278
+ import { Fragment as Fragment28, jsx as jsx128 } from "react/jsx-runtime";
7279
+
7280
+ // src/colorgradient/color-input.tsx
7281
+ import { Fragment as Fragment29, jsx as jsx129, jsxs as jsxs45 } from "react/jsx-runtime";
7282
+ var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
7283
+ var states43 = [];
7284
+ var options39 = {};
7285
+ var defaultProps40 = {
7286
+ mode: "rgba"
7287
+ };
7288
+ var ColorInput = (props) => {
7289
+ const {
7290
+ mode = defaultProps40.mode
7291
+ } = props;
7292
+ return /* @__PURE__ */ jsxs45("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
7293
+ /* @__PURE__ */ jsx129("div", { className: "k-vstack", children: /* @__PURE__ */ jsx129(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
7294
+ mode === "rgba" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
7295
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7296
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7297
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "R" })
7298
+ ] }),
7299
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7300
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7301
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "G" })
7302
+ ] }),
7303
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7304
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7305
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "B" })
7306
+ ] }),
7307
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7308
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7309
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "A" })
7310
+ ] })
7311
+ ] }),
7312
+ mode === "rgb" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
7313
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7314
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7315
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "R" })
7316
+ ] }),
7317
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7318
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7319
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "G" })
7320
+ ] }),
7321
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7322
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7323
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "B" })
7324
+ ] })
7325
+ ] }),
7326
+ mode === "hsva" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
7327
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7328
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7329
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "H" })
7330
+ ] }),
7331
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7332
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7333
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "S" })
7334
+ ] }),
7335
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7336
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7337
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "V" })
7338
+ ] }),
7339
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7340
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7341
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "A" })
7342
+ ] })
7343
+ ] }),
7344
+ mode === "hsv" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
7345
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7346
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7347
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "H" })
7348
+ ] }),
7349
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7350
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7351
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "S" })
7352
+ ] }),
7353
+ /* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
7354
+ /* @__PURE__ */ jsx129(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7355
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "V" })
7356
+ ] })
7357
+ ] }),
7358
+ mode === "hex" && /* @__PURE__ */ jsx129(Fragment29, { children: /* @__PURE__ */ jsxs45("div", { className: "k-vstack k-flex-1", children: [
7359
+ /* @__PURE__ */ jsx129(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
7360
+ /* @__PURE__ */ jsx129("label", { className: "k-colorgradient-input-label", children: "HEX" })
7361
+ ] }) })
7362
+ ] });
7363
+ };
7364
+ ColorInput.states = states43;
7365
+ ColorInput.options = options39;
7366
+ ColorInput.className = COLOR_INPUT_CLASSNAME;
7367
+ ColorInput.defaultProps = defaultProps40;
7368
+
7369
+ // src/colorgradient/color-contrast.tsx
7370
+ import { jsx as jsx130, jsxs as jsxs46 } from "react/jsx-runtime";
7371
+ var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
7372
+ var states44 = [];
7373
+ var options40 = {};
7374
+ var defaultProps41 = {};
7375
+ var ColorContrast = () => /* @__PURE__ */ jsxs46("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
7376
+ /* @__PURE__ */ jsxs46("div", { className: "k-contrast-ratio", children: [
7377
+ /* @__PURE__ */ jsx130("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
7378
+ /* @__PURE__ */ jsxs46("span", { className: "k-contrast-validation !k-text-success", children: [
7379
+ /* @__PURE__ */ jsx130(Icon, { icon: "check" }),
7380
+ /* @__PURE__ */ jsx130(Icon, { icon: "check" })
7381
+ ] })
7382
+ ] }),
7383
+ /* @__PURE__ */ jsxs46("div", { children: [
7384
+ /* @__PURE__ */ jsx130("span", { children: "AA: 4.5" }),
7385
+ /* @__PURE__ */ jsxs46("span", { className: "k-contrast-validation !k-text-success", children: [
7386
+ "Pass",
7387
+ /* @__PURE__ */ jsx130(Icon, { icon: "check" })
7388
+ ] })
7389
+ ] }),
7390
+ /* @__PURE__ */ jsxs46("div", { children: [
7391
+ /* @__PURE__ */ jsx130("span", { children: "AAA: 7.0" }),
7392
+ /* @__PURE__ */ jsxs46("span", { className: "k-contrast-validation !k-text-error", children: [
7393
+ "Fail",
7394
+ /* @__PURE__ */ jsx130(Icon, { icon: "x" })
7395
+ ] })
7396
+ ] })
7397
+ ] });
7398
+ ColorContrast.states = states44;
7399
+ ColorContrast.options = options40;
7400
+ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
7401
+ ColorContrast.defaultProps = defaultProps41;
7402
+
7403
+ // src/colorgradient/color-gradient.spec.tsx
7404
+ import { jsx as jsx131, jsxs as jsxs47 } from "react/jsx-runtime";
7405
+ var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
7406
+ var states45 = [
7407
+ States.hover,
7408
+ States.focus,
7409
+ States.readonly,
7410
+ States.disabled
7411
+ ];
7412
+ var options41 = {};
7413
+ var defaultProps42 = {
7414
+ mode: "rgba",
7415
+ readonly: false,
7416
+ disabled: false,
7417
+ contrast: false,
7418
+ gradientStyle: { background: "rgb(255, 0, 0 )" },
7419
+ dragHandleStyle: { top: "50px", left: "73px" },
7420
+ alphaStyle: { background: "linear-gradient(to top, transparent, rgb(255, 0, 0))" }
7421
+ };
7422
+ var ColorGradient = (props) => {
7423
+ const {
7424
+ mode = defaultProps42.mode,
7425
+ readonly = defaultProps42.readonly,
7426
+ disabled = defaultProps42.disabled,
7427
+ dir,
7428
+ contrast = defaultProps42.contrast,
7429
+ hover,
7430
+ focus,
7431
+ hoverHandle,
7432
+ focusHandle,
7433
+ gradientStyle = defaultProps42.gradientStyle,
7434
+ dragHandleStyle = defaultProps42.dragHandleStyle,
7435
+ alphaStyle = defaultProps42.alphaStyle
7436
+ } = props;
7437
+ return /* @__PURE__ */ jsxs47("div", { className: classNames(
7438
+ props.className,
7439
+ COLOR_GRADIENT_CLASSNAME,
7440
+ stateClassNames(COLOR_GRADIENT_CLASSNAME, {
7441
+ hover,
7442
+ focus,
7443
+ readonly,
7444
+ disabled
7445
+ })
7446
+ ), dir, children: [
7447
+ /* @__PURE__ */ jsxs47("div", { className: "k-colorgradient-canvas k-hstack", children: [
7448
+ /* @__PURE__ */ jsx131("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx131("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx131("div", { className: classNames(
7449
+ "k-hsv-draghandle",
7450
+ "k-draghandle",
7451
+ {
7452
+ "k-hover": hoverHandle,
7453
+ "k-focus": focusHandle
7454
+ }
7455
+ ), style: dragHandleStyle }) }) }),
7456
+ /* @__PURE__ */ jsxs47("div", { className: "k-hsv-controls k-hstack", children: [
7457
+ /* @__PURE__ */ jsx131(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
7458
+ mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx131(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
7459
+ ] })
7460
+ ] }),
7461
+ /* @__PURE__ */ jsx131(ColorInput, { mode: props.mode }),
7462
+ contrast && /* @__PURE__ */ jsx131(ColorContrast, {})
7463
+ ] });
7464
+ };
7465
+ ColorGradient.states = states45;
7466
+ ColorGradient.options = options41;
7467
+ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
7468
+ ColorGradient.defaultProps = defaultProps42;
7469
+
7470
+ // src/colorgradient/templates/colorgradient-normal.tsx
7471
+ import { jsx as jsx132 } from "react/jsx-runtime";
7472
+
7473
+ // src/colorgradient/templates/colorgradient-contrast.tsx
7474
+ import { jsx as jsx133 } from "react/jsx-runtime";
7475
+
7476
+ // src/colorpalette/colorpalette-row.tsx
7477
+ import { jsx as jsx134 } from "react/jsx-runtime";
7478
+ var ColorPaletteRow = (props) => /* @__PURE__ */ jsx134("tr", { children: props.children });
7479
+
7480
+ // src/colorpalette/colorpalette-tile.tsx
7481
+ import { jsx as jsx135 } from "react/jsx-runtime";
7482
+ var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
7483
+ var states46 = [
7484
+ States.hover,
7485
+ States.focus,
7486
+ States.selected
7487
+ ];
7488
+ var options42 = {};
7489
+ var ColorPaletteTile = (props) => {
7490
+ const {
7491
+ color,
7492
+ tileSize,
7493
+ hover,
7494
+ focus,
7495
+ selected,
7496
+ ...other
7497
+ } = props;
7498
+ const styles = {
7499
+ "background-color": color,
7500
+ "width": tileSize ? tileSize + "px" : "",
7501
+ "height": tileSize ? tileSize + "px" : ""
7502
+ };
7503
+ return /* @__PURE__ */ jsx135(
7504
+ "td",
7505
+ {
7506
+ ...other,
7507
+ className: classNames(
7508
+ props.className,
7509
+ COLORPALETTETILE_CLASSNAME,
7510
+ stateClassNames(COLORPALETTETILE_CLASSNAME, {
7511
+ hover,
7512
+ focus,
7513
+ selected
7514
+ })
7515
+ ),
7516
+ style: styles
7517
+ }
7518
+ );
7519
+ };
7520
+ ColorPaletteTile.states = states46;
7521
+ ColorPaletteTile.options = options42;
7522
+ ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
7523
+
7524
+ // src/colorpalette/colorpalette.spec.tsx
7525
+ import { jsx as jsx136 } from "react/jsx-runtime";
7526
+ var COLORPALETTE_CLASSNAME = `k-colorpalette`;
7527
+ var states47 = [
7528
+ States.disabled
7529
+ ];
7530
+ var options43 = {};
7531
+ var defaultProps43 = {
7532
+ columns: 10
7533
+ };
7534
+ var ColorPalette = (props) => {
7535
+ const {
7536
+ palette,
7537
+ columns = defaultProps43.columns,
7538
+ tileSize,
7539
+ disabled,
7540
+ ...other
7541
+ } = props;
7542
+ const newChildren = [];
7543
+ if (palette) {
7544
+ const cols = columns || palette.columns;
7545
+ const colors = palette.colors ? palette.colors : palette;
7546
+ if (Array.isArray(colors)) {
7547
+ Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
7548
+ const items = [];
7549
+ colors.slice(i * cols, (i + 1) * cols).map((color) => {
7550
+ items.push(/* @__PURE__ */ jsx136(ColorPaletteTile, { color, tileSize }));
7551
+ });
7552
+ const row = /* @__PURE__ */ jsx136(ColorPaletteRow, { children: items });
7553
+ newChildren.push(row);
7554
+ });
7555
+ }
7556
+ }
7557
+ return /* @__PURE__ */ jsx136(
7558
+ "div",
7559
+ {
7560
+ ...other,
7561
+ className: classNames(
7562
+ props.className,
7563
+ COLORPALETTE_CLASSNAME,
7564
+ stateClassNames(COLORPALETTE_CLASSNAME, {
7565
+ disabled
7566
+ })
7567
+ ),
7568
+ children: /* @__PURE__ */ jsx136("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
7569
+ }
7570
+ );
7571
+ };
7572
+ ColorPalette.states = states47;
7573
+ ColorPalette.options = options43;
7574
+ ColorPalette.className = COLORPALETTE_CLASSNAME;
7575
+ ColorPalette.defaultProps = defaultProps43;
7576
+
7577
+ // src/colorpalette/templates/colorpalette-normal.tsx
7578
+ import { jsx as jsx137 } from "react/jsx-runtime";
7579
+
7580
+ // src/colorpalette/colorpalette-presets.tsx
7581
+ var PALETTEPRESETS = {
7582
+ basic: {
7583
+ colors: ["#000000", "#7f7f7f", "#880015", "#ed1c24", "#ff7f27", "#fff200", "#22b14c", "#00a2e8", "#3f48cc", "#a349a4", "#ffffff", "#c3c3c3", "#b97a57", "#ffaec9", "#ffc90e", "#efe4b0", "#b5e61d", "#99d9ea", "#7092be", "#c8bfe7"],
7584
+ columns: 10
7585
+ },
7586
+ office: {
7587
+ 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"],
7588
+ columns: 10
7589
+ },
7590
+ apex: {
7591
+ 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"],
7592
+ columns: 10
7593
+ },
7594
+ austin: {
7595
+ 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"],
7596
+ columns: 10
7597
+ },
7598
+ clarity: {
7599
+ 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"],
7600
+ columns: 10
7601
+ },
7602
+ slipstream: {
7603
+ 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"],
7604
+ columns: 10
7605
+ },
7606
+ metro: {
7607
+ 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"],
7608
+ columns: 10
7609
+ },
7610
+ flow: {
7611
+ 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"],
7612
+ columns: 10
7613
+ },
7614
+ hardcover: {
7615
+ 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"],
7616
+ columns: 10
7617
+ },
7618
+ trek: {
7619
+ 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"],
7620
+ columns: 10
7621
+ },
7622
+ verve: {
7623
+ 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"],
7624
+ columns: 10
7625
+ },
7626
+ monochrome: {
7627
+ colors: ["#000000", "#1a1a1a", "#333333", "#4d4d4d", "#666666", "#808080", "#999999", "#b3b3b3", "#cccccc", "#e6e6e6", "#f2f2f2", "#ffffff"],
7628
+ columns: 12
7629
+ }
7630
+ };
7631
+
7632
+ // src/coloreditor/color-editor.spec.tsx
7633
+ import { jsx as jsx138, jsxs as jsxs48 } from "react/jsx-runtime";
7634
+ var COLOREDITOR_CLASSNAME = "k-coloreditor";
7635
+ var states48 = [
7636
+ States.focus
7637
+ ];
7638
+ var options44 = {};
7639
+ var defaultProps44 = {
7640
+ view: "gradient",
7641
+ currentColor: "fuchsia",
7642
+ palette: PALETTEPRESETS.office
7643
+ };
7644
+ var ColorEditor = (props) => {
7645
+ const {
7646
+ view = defaultProps44.view,
7647
+ color,
7648
+ currentColor = defaultProps44.currentColor,
7649
+ focus,
7650
+ focusView,
7651
+ dir,
7652
+ group,
7653
+ palette = defaultProps44.palette
7654
+ } = props;
7655
+ return /* @__PURE__ */ jsxs48("div", { className: classNames(
7656
+ props.className,
7657
+ "k-flatcolorpicker",
7658
+ COLOREDITOR_CLASSNAME,
7659
+ stateClassNames(COLOREDITOR_CLASSNAME, { focus })
7660
+ ), dir, children: [
7661
+ /* @__PURE__ */ jsxs48("div", { className: "k-coloreditor-header k-hstack", children: [
7662
+ /* @__PURE__ */ jsx138("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs48(ButtonGroup, { children: [
7663
+ /* @__PURE__ */ jsx138(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
7664
+ /* @__PURE__ */ jsx138(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
7665
+ ] }) }),
7666
+ /* @__PURE__ */ jsx138("div", { className: "k-spacer" }),
7667
+ /* @__PURE__ */ jsxs48("div", { className: "k-coloreditor-header-actions k-hstack", children: [
7668
+ /* @__PURE__ */ jsx138(Button, { fillMode: "flat", icon: "droplet-slash" }),
7669
+ /* @__PURE__ */ jsxs48("div", { className: "k-coloreditor-preview k-vstack", children: [
7670
+ /* @__PURE__ */ jsx138(ColorPreview, { className: "k-coloreditor-preview-color", color }),
7671
+ /* @__PURE__ */ jsx138(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
7672
+ ] })
7673
+ ] })
7674
+ ] }),
7675
+ /* @__PURE__ */ jsx138("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx138(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx138(ColorPalette, { palette }) }),
7676
+ /* @__PURE__ */ jsxs48(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
7677
+ /* @__PURE__ */ jsx138(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
7678
+ /* @__PURE__ */ jsx138(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
7679
+ ] })
7680
+ ] });
7681
+ };
7682
+ ColorEditor.states = states48;
7683
+ ColorEditor.options = options44;
7684
+ ColorEditor.className = COLOREDITOR_CLASSNAME;
7685
+ ColorEditor.defaultProps = defaultProps44;
7686
+
7687
+ // src/coloreditor/templates/coloreditor-normal.tsx
7688
+ import { jsx as jsx139 } from "react/jsx-runtime";
7689
+
7690
+ // src/coloreditor/templates/coloreditor-palette.tsx
7691
+ import { jsx as jsx140 } from "react/jsx-runtime";
7692
+
7693
+ // src/coloreditor/templates/coloreditor-group.tsx
7694
+ import { jsx as jsx141 } from "react/jsx-runtime";
7695
+
7696
+ // src/coloreditor/templates/coloreditor-palette-group.tsx
7697
+ import { jsx as jsx142 } from "react/jsx-runtime";
7698
+
7699
+ // src/colorpicker/templates/colorpicker-popup-gradient.tsx
7700
+ import { jsx as jsx143 } from "react/jsx-runtime";
7701
+
7702
+ // src/colorpicker/templates/colorpicker-popup-palette.tsx
7703
+ import { jsx as jsx144 } from "react/jsx-runtime";
7704
+
7705
+ // src/action-sheet/action-sheet.spec.tsx
7706
+ import { Fragment as Fragment30, jsx as jsx145, jsxs as jsxs49 } from "react/jsx-runtime";
7707
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
7708
+ var states49 = [];
7709
+ var options45 = {};
7710
+ var defaultProps45 = {
7711
+ side: "bottom",
7712
+ fullscreen: false,
7713
+ adaptive: false,
7714
+ overlay: true
7715
+ };
7716
+ var ActionSheet = (props) => {
7717
+ const {
7718
+ children,
7719
+ title,
7720
+ header,
7721
+ footer,
7722
+ actions,
7723
+ side = defaultProps45.side,
7724
+ fullscreen = defaultProps45.fullscreen,
7725
+ adaptive = defaultProps45.adaptive,
7726
+ overlay = defaultProps45.overlay,
7727
+ ...other
7728
+ } = props;
7729
+ const _ActionSheetHeader = title ? /* @__PURE__ */ jsx145(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
7730
+ const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx145(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx145(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
7731
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
7732
+ switch (child.type) {
7733
+ case ActionSheetHeader:
7734
+ case ActionSheetFooter:
7735
+ return false;
7736
+ default:
7737
+ return true;
7738
+ }
7739
+ return true;
7740
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx145(Fragment30, {});
7741
+ return /* @__PURE__ */ jsxs49("div", { className: "k-actionsheet-container", children: [
7742
+ overlay && /* @__PURE__ */ jsx145("div", { className: "k-overlay" }),
7743
+ /* @__PURE__ */ jsx145(
7744
+ AnimationContainer,
7745
+ {
7746
+ animationStyle: {
7747
+ [`${fullscreen === true ? "top" : side}`]: 0,
7748
+ [`${fullscreen === true ? "width" : null}`]: "100%",
7749
+ [`${fullscreen === true ? "height" : null}`]: "100%",
7750
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
7751
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
7752
+ },
7753
+ children: /* @__PURE__ */ jsx145(
7754
+ "div",
7755
+ {
7756
+ ...other,
7757
+ className: classNames(
7758
+ props.className,
7759
+ ACTIONSHEET_CLASSNAME,
7760
+ {
7761
+ [`k-actionsheet-${side}`]: fullscreen === false,
7762
+ "k-actionsheet-fullscreen": fullscreen === true,
7763
+ "k-adaptive-actionsheet": adaptive
7764
+ }
7765
+ ),
7766
+ children: /* @__PURE__ */ jsxs49(Fragment30, { children: [
7767
+ _ActionSheetHeader,
7768
+ /* @__PURE__ */ jsx145("div", { className: classNames(
7769
+ "k-actionsheet-content",
7770
+ {
7771
+ "!k-overflow-hidden": adaptive
7772
+ }
7773
+ ), children: _ActionSheetContent }),
7774
+ _ActionSheetFooter
7775
+ ] })
7776
+ }
7777
+ )
7778
+ }
7779
+ )
7780
+ ] });
7781
+ };
7782
+ ActionSheet.states = states49;
7783
+ ActionSheet.options = options45;
7784
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
7785
+ ActionSheet.defaultProps = defaultProps45;
7786
+
7787
+ // src/action-sheet/actionsheet-header.tsx
7788
+ import { Fragment as Fragment31, jsx as jsx146, jsxs as jsxs50 } from "react/jsx-runtime";
7789
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
7790
+ var ActionSheetHeader = (props) => {
7791
+ const {
7792
+ title,
7793
+ subTitle,
7794
+ actions,
7795
+ filter,
7796
+ ...other
7797
+ } = props;
7798
+ return /* @__PURE__ */ jsx146(
7799
+ "div",
7800
+ {
7801
+ ...other,
7802
+ className: classNames(
7803
+ props.className,
7804
+ ACTIONSHEETHEADER_CLASSNAME
7805
+ ),
7806
+ children: /* @__PURE__ */ jsxs50(Fragment31, { children: [
7807
+ /* @__PURE__ */ jsxs50("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
7808
+ !props.children && (title || subTitle) && /* @__PURE__ */ jsx146(Fragment31, { children: /* @__PURE__ */ jsxs50("div", { className: "k-actionsheet-title", children: [
7809
+ title !== "" && /* @__PURE__ */ jsx146("div", { className: "k-text-center", children: title }),
7810
+ subTitle !== "" && /* @__PURE__ */ jsx146("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
7811
+ ] }) }),
7812
+ props.children && /* @__PURE__ */ jsx146("div", { className: "k-actionsheet-title", children: props.children }),
7813
+ actions && /* @__PURE__ */ jsx146(Fragment31, { children: /* @__PURE__ */ jsx146("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx146(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
7814
+ ] }),
7815
+ filter && /* @__PURE__ */ jsx146(Fragment31, { children: /* @__PURE__ */ jsx146("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx146(Searchbox, { placeholder: "Filter", size: "large" }) }) })
7816
+ ] })
7817
+ }
7818
+ );
7819
+ };
7820
+
7821
+ // src/action-sheet/actionsheet-footer.tsx
7822
+ import { Fragment as Fragment32, jsx as jsx147, jsxs as jsxs51 } from "react/jsx-runtime";
7823
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
7824
+ var ActionSheetFooter = (props) => {
7825
+ const {
7826
+ actions,
7827
+ ...other
7828
+ } = props;
7829
+ return /* @__PURE__ */ jsx147(
7830
+ action_buttons_spec_default,
7831
+ {
7832
+ ...other,
7833
+ className: classNames(
7834
+ props.className,
7835
+ ACTIONSHEETFOOTER_CLASSNAME
7836
+ ),
7837
+ alignment: "stretched",
7838
+ children: /* @__PURE__ */ jsxs51(Fragment32, { children: [
7839
+ actions && actions.map((action, index) => {
7840
+ if (action === "|") {
7841
+ return /* @__PURE__ */ jsx147("span", { className: "k-separator" }, index);
7842
+ }
7843
+ if (action === " ") {
7844
+ return /* @__PURE__ */ jsx147("span", { className: "k-spacer" }, index);
7845
+ }
7846
+ const importantFlag = action.startsWith("!");
7847
+ const actionName = importantFlag ? action.substring(1) : action;
7848
+ return /* @__PURE__ */ jsx147(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
7849
+ }),
7850
+ !actions && props.children
7851
+ ] })
7852
+ }
7853
+ );
7854
+ };
7855
+
7856
+ // src/action-sheet/actionsheet-items.tsx
7857
+ import { jsx as jsx148 } from "react/jsx-runtime";
7858
+ var ActionSheetItems = (props) => {
7859
+ const {
7860
+ ...other
7861
+ } = props;
7862
+ return /* @__PURE__ */ jsx148(
7863
+ "div",
7864
+ {
7865
+ ...other,
7866
+ className: classNames(
7867
+ props.className,
7868
+ "k-list-ul"
7869
+ ),
7870
+ children: props.children
7871
+ }
7872
+ );
7873
+ };
7874
+
7875
+ // src/action-sheet/actionsheet-item.tsx
7876
+ import { Fragment as Fragment33, jsx as jsx149, jsxs as jsxs52 } from "react/jsx-runtime";
7877
+ var states50 = [
7878
+ States.hover,
7879
+ States.focus,
7880
+ States.selected,
7881
+ States.disabled
7882
+ ];
7883
+
7884
+ // src/combobox/combobox.spec.tsx
7885
+ import { Fragment as Fragment34, jsx as jsx150, jsxs as jsxs53 } from "react/jsx-runtime";
7886
+ var COMBOBOX_CLASSNAME = `k-combobox`;
7887
+ var states51 = [
7888
+ States.hover,
7889
+ States.focus,
7890
+ States.valid,
7891
+ States.invalid,
7892
+ States.loading,
7893
+ States.required,
7894
+ States.disabled,
7895
+ States.readonly
7896
+ ];
7897
+ var defaultProps46 = {
7898
+ size: Input.defaultProps.size,
7899
+ rounded: Input.defaultProps.rounded,
7900
+ fillMode: Input.defaultProps.fillMode
7901
+ };
7902
+ var options46 = {
7903
+ size: [Size.small, Size.medium, Size.large],
7904
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7905
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
7906
+ };
7907
+ var Combobox = (props) => {
7908
+ const {
7909
+ prefix,
7910
+ suffix,
7911
+ value,
7912
+ placeholder,
7913
+ size,
7914
+ rounded,
7915
+ fillMode,
7916
+ hover,
7917
+ focus,
7918
+ valid,
7919
+ invalid,
7920
+ required,
7921
+ loading,
7922
+ disabled,
7923
+ popup,
7924
+ opened,
7925
+ readonly,
7926
+ adaptive,
7927
+ adaptiveSettings,
7928
+ ...other
7929
+ } = props;
7930
+ return /* @__PURE__ */ jsxs53(Fragment34, { children: [
7931
+ /* @__PURE__ */ jsxs53(
7932
+ Input,
7933
+ {
7934
+ ...other,
7935
+ size,
7936
+ rounded,
7937
+ fillMode,
7938
+ hover,
7939
+ focus,
7940
+ valid,
7941
+ invalid,
7942
+ required,
7943
+ loading,
7944
+ disabled,
7945
+ readonly,
7946
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
7947
+ children: [
7948
+ prefix && /* @__PURE__ */ jsxs53(Fragment34, { children: [
7949
+ /* @__PURE__ */ jsx150(InputPrefix, { children: prefix }),
7950
+ /* @__PURE__ */ jsx150(InputSeparator, {})
7951
+ ] }),
7952
+ /* @__PURE__ */ jsx150(InputInnerInput, { placeholder, value }),
7953
+ /* @__PURE__ */ jsx150(
7954
+ InputValidationIcon,
7955
+ {
7956
+ valid,
7957
+ invalid,
7958
+ loading,
7959
+ disabled
7960
+ }
7961
+ ),
7962
+ /* @__PURE__ */ jsx150(
7963
+ InputLoadingIcon,
7964
+ {
7965
+ loading,
7966
+ disabled
7967
+ }
7968
+ ),
7969
+ /* @__PURE__ */ jsx150(
7970
+ InputClearValue,
7971
+ {
7972
+ loading,
7973
+ disabled,
7974
+ readonly,
7975
+ value
7976
+ }
7977
+ ),
7978
+ suffix && /* @__PURE__ */ jsxs53(Fragment34, { children: [
7979
+ /* @__PURE__ */ jsx150(InputSeparator, {}),
7980
+ /* @__PURE__ */ jsx150(InputSuffix, { children: suffix })
7981
+ ] }),
7982
+ /* @__PURE__ */ jsx150(
7983
+ Button,
7984
+ {
7985
+ className: "k-input-button",
7986
+ icon: "caret-alt-down",
7987
+ rounded: null,
7988
+ size,
7989
+ fillMode
7990
+ }
7991
+ )
7992
+ ]
7993
+ }
7994
+ ),
7995
+ opened && popup && /* @__PURE__ */ jsx150(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
7996
+ adaptive && /* @__PURE__ */ jsxs53(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
7997
+ /* @__PURE__ */ jsx150(
7998
+ ActionSheetHeader,
7999
+ {
8000
+ actions: ["x"],
8001
+ filter: true,
8002
+ title: "Select Item"
8003
+ }
8004
+ ),
8005
+ /* @__PURE__ */ jsx150("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs53(List, { size: "large", children: [
8006
+ /* @__PURE__ */ jsx150(ListItem, { text: "List item" }),
8007
+ /* @__PURE__ */ jsx150(ListItem, { text: "List item" }),
8008
+ /* @__PURE__ */ jsx150(ListItem, { text: "List item" })
8009
+ ] }) })
8010
+ ] })
8011
+ ] });
8012
+ };
8013
+ Combobox.states = states51;
8014
+ Combobox.options = options46;
8015
+ Combobox.className = COMBOBOX_CLASSNAME;
8016
+ Combobox.defaultProps = defaultProps46;
8017
+
8018
+ // src/combobox/templates/combobox-normal.tsx
8019
+ import { jsx as jsx151 } from "react/jsx-runtime";
8020
+
8021
+ // src/combobox/templates/combobox-popup.tsx
8022
+ import { jsx as jsx152, jsxs as jsxs54 } from "react/jsx-runtime";
8023
+
8024
+ // src/combobox/templates/combobox-grouping.tsx
8025
+ import { jsx as jsx153, jsxs as jsxs55 } from "react/jsx-runtime";
8026
+
8027
+ // src/combobox/templates/combobox-adaptive.tsx
8028
+ import { jsx as jsx154 } from "react/jsx-runtime";
8029
+
8030
+ // src/combobox/templates/combobox-prefix.tsx
8031
+ import { Fragment as Fragment35, jsx as jsx155 } from "react/jsx-runtime";
8032
+
8033
+ // src/combobox/templates/combobox-suffix.tsx
8034
+ import { Fragment as Fragment36, jsx as jsx156 } from "react/jsx-runtime";
8035
+
8036
+ // src/menu-button/menu-button.spec.tsx
8037
+ import { Fragment as Fragment37, jsx as jsx157, jsxs as jsxs56 } from "react/jsx-runtime";
8038
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
8039
+ var states52 = [
8040
+ States.hover,
8041
+ States.focus,
8042
+ States.active,
8043
+ States.selected,
8044
+ States.disabled
8045
+ ];
8046
+ var options47 = {
8047
+ size: [Size.small, Size.medium, Size.large],
8048
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
8049
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
8050
+ themeColor: [
8051
+ ThemeColor.base,
8052
+ ThemeColor.primary,
8053
+ ThemeColor.secondary,
8054
+ ThemeColor.tertiary,
8055
+ ThemeColor.success,
8056
+ ThemeColor.warning,
8057
+ ThemeColor.error,
8058
+ ThemeColor.info,
8059
+ ThemeColor.light,
8060
+ ThemeColor.dark,
8061
+ ThemeColor.inverse
8062
+ ]
8063
+ };
8064
+ var defaultProps47 = {
8065
+ size: Size.medium,
8066
+ rounded: Roundness.medium,
8067
+ fillMode: FillMode.solid,
8068
+ themeColor: ThemeColor.base,
8069
+ showArrow: true,
8070
+ arrowIconName: "caret-alt-down"
8071
+ };
8072
+ var MenuButton = (props) => {
8073
+ const {
8074
+ size = defaultProps47.size,
8075
+ rounded = defaultProps47.rounded,
8076
+ fillMode = defaultProps47.fillMode,
8077
+ themeColor = defaultProps47.themeColor,
8078
+ hover,
8079
+ focus,
8080
+ active,
8081
+ selected,
8082
+ disabled,
8083
+ icon,
8084
+ text,
8085
+ showArrow = defaultProps47.showArrow,
8086
+ arrowIconName = defaultProps47.arrowIconName,
8087
+ popup,
8088
+ opened,
8089
+ ...other
8090
+ } = props;
8091
+ return /* @__PURE__ */ jsxs56(Fragment37, { children: [
8092
+ /* @__PURE__ */ jsx157(
8093
+ Button,
8094
+ {
8095
+ ...other,
8096
+ className: classNames(
8097
+ props.className,
8098
+ MENUBUTTON_CLASSNAME
8099
+ ),
8100
+ text,
8101
+ size,
8102
+ rounded,
8103
+ fillMode,
8104
+ themeColor,
8105
+ hover,
8106
+ focus,
8107
+ active,
8108
+ selected,
8109
+ disabled,
8110
+ icon,
8111
+ showArrow,
8112
+ arrowIconName
8113
+ }
8114
+ ),
8115
+ opened && popup && /* @__PURE__ */ jsx157(Popup, { className: "k-menu-popup", children: popup })
8116
+ ] });
8117
+ };
8118
+ MenuButton.states = states52;
8119
+ MenuButton.options = options47;
8120
+ MenuButton.className = MENUBUTTON_CLASSNAME;
8121
+ MenuButton.defaultProps = defaultProps47;
8122
+
8123
+ // src/menu-button/templates/icon-menu-button.tsx
8124
+ import { jsx as jsx158 } from "react/jsx-runtime";
8125
+
8126
+ // src/menu-button/templates/icon-text-menu-button.tsx
8127
+ import { jsx as jsx159 } from "react/jsx-runtime";
8128
+
8129
+ // src/menu-button/templates/text-menu-button.tsx
8130
+ import { jsx as jsx160 } from "react/jsx-runtime";
8131
+
8132
+ // src/menu/menu-item.spec.tsx
8133
+ import { Fragment as Fragment38, jsx as jsx161, jsxs as jsxs57 } from "react/jsx-runtime";
8134
+ var MENUITEM_CLASSNAME = `k-menu-item`;
8135
+ var states53 = [
8136
+ States.hover,
8137
+ States.focus,
8138
+ States.active,
8139
+ States.selected,
8140
+ States.disabled
8141
+ ];
8142
+ var options48 = {};
8143
+ var defaultProps48 = {
8144
+ dir: "ltr"
8145
+ };
8146
+ var MenuItem = (props) => {
8147
+ const {
8148
+ hover,
8149
+ focus,
8150
+ active,
8151
+ selected,
8152
+ disabled,
8153
+ icon,
8154
+ text,
8155
+ showArrow,
8156
+ arrowIconName,
8157
+ dir = defaultProps48.dir,
8158
+ children,
8159
+ ...other
8160
+ } = props;
8161
+ const contentTemplate = /* @__PURE__ */ jsx161(Fragment38, {});
8162
+ if (children) {
8163
+ children.forEach((child) => {
8164
+ const component = child.type;
8165
+ if (component === "MenuItemContent") {
8166
+ contentTemplate.props.children.push(child);
8167
+ return;
8168
+ }
8169
+ });
8170
+ }
8171
+ let expandArrowName = arrowIconName;
8172
+ if (!expandArrowName) {
8173
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
8174
+ }
8175
+ return /* @__PURE__ */ jsxs57(
8176
+ "li",
8177
+ {
8178
+ ...other,
8179
+ className: classNames(
8180
+ props.className,
8181
+ MENUITEM_CLASSNAME,
8182
+ //TODO
8183
+ "k-item",
8184
+ stateClassNames(MENUITEM_CLASSNAME, {
8185
+ focus,
8186
+ disabled
8187
+ })
8188
+ ),
8189
+ children: [
8190
+ /* @__PURE__ */ jsxs57(
8191
+ "span",
8192
+ {
8193
+ className: classNames(
8194
+ "k-link k-menu-link",
8195
+ stateClassNames("k-menu-link", {
8196
+ hover,
8197
+ active,
8198
+ selected,
8199
+ disabled
8200
+ })
8201
+ ),
8202
+ children: [
8203
+ icon && /* @__PURE__ */ jsx161(Icon, { className: "k-menu-link-icon", icon }),
8204
+ /* @__PURE__ */ jsx161("span", { className: "k-menu-link-text", children: text }),
8205
+ showArrow && /* @__PURE__ */ jsx161("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx161(Icon, { icon: expandArrowName }) })
8206
+ ]
8207
+ }
8208
+ ),
8209
+ contentTemplate
8210
+ ]
8211
+ }
8212
+ );
8213
+ };
8214
+ MenuItem.states = states53;
8215
+ MenuItem.options = options48;
8216
+ MenuItem.className = MENUITEM_CLASSNAME;
8217
+ MenuItem.defaultProps = defaultProps48;
8218
+ var menu_item_spec_default = MenuItem;
8219
+
8220
+ // src/menu/menu-separator.spec.tsx
8221
+ import { jsx as jsx162 } from "react/jsx-runtime";
8222
+ var SEPARATOR_CLASSNAME = `k-separator`;
8223
+ var defaultProps49 = {
8224
+ orientation: "horizontal"
8225
+ };
8226
+ var MenuSeparator = (props) => {
8227
+ const {
8228
+ orientation = defaultProps49.orientation,
8229
+ ...other
8230
+ } = props;
8231
+ return /* @__PURE__ */ jsx162(
8232
+ "li",
8233
+ {
8234
+ ...other,
8235
+ className: classNames(
8236
+ props.className,
8237
+ "k-item",
8238
+ SEPARATOR_CLASSNAME,
8239
+ {
8240
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
8241
+ }
8242
+ )
8243
+ }
8244
+ );
8245
+ };
8246
+ var menu_separator_spec_default = MenuSeparator;
8247
+
8248
+ // src/menu/menu-item-content.tsx
8249
+ import { Fragment as Fragment39, jsx as jsx163 } from "react/jsx-runtime";
8250
+
8251
+ // src/menu/menu-list.spec.tsx
8252
+ import { jsx as jsx164 } from "react/jsx-runtime";
8253
+ import { createElement } from "react";
8254
+ var MENULIST_CLASSNAME = `k-menu-group`;
8255
+ var states54 = [];
8256
+ var options49 = {
8257
+ size: [Size.small, Size.medium, Size.large]
8258
+ };
8259
+ var defaultProps50 = {
8260
+ size: Size.medium,
8261
+ dir: "ltr"
8262
+ };
8263
+ var MenuList = (props) => {
8264
+ const {
8265
+ children,
8266
+ size = defaultProps50.size,
8267
+ dir = defaultProps50.dir,
8268
+ ...other
8269
+ } = props;
8270
+ const listChildren = [];
8271
+ if (children) {
8272
+ if (Array.isArray(children)) {
8273
+ children.map((child, index) => {
8274
+ if (child.type === menu_item_spec_default) {
8275
+ listChildren.push(
8276
+ /* @__PURE__ */ createElement(menu_item_spec_default, { ...child.props, dir, key: index })
8277
+ );
8278
+ } else if (child.type === menu_separator_spec_default) {
8279
+ listChildren.push(
8280
+ /* @__PURE__ */ jsx164(menu_separator_spec_default, {})
8281
+ );
8282
+ } else {
8283
+ listChildren.push(child);
8284
+ }
8285
+ });
8286
+ }
8287
+ }
8288
+ return /* @__PURE__ */ jsx164(
8289
+ "ul",
8290
+ {
8291
+ ...other,
8292
+ className: classNames(
8293
+ props.className,
8294
+ MENULIST_CLASSNAME,
8295
+ optionClassNames(MENULIST_CLASSNAME, {
8296
+ size
8297
+ })
8298
+ ),
8299
+ children: listChildren
8300
+ }
8301
+ );
8302
+ };
8303
+ MenuList.states = states54;
8304
+ MenuList.options = options49;
8305
+ MenuList.className = MENULIST_CLASSNAME;
8306
+ MenuList.defaultProps = defaultProps50;
8307
+
8308
+ // src/menu-button/templates/menu-button-popup.tsx
8309
+ import { jsx as jsx165, jsxs as jsxs58 } from "react/jsx-runtime";
8310
+
8311
+ // src/split-button/split-button.spec.tsx
8312
+ import { Fragment as Fragment40, jsx as jsx166, jsxs as jsxs59 } from "react/jsx-runtime";
8313
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
8314
+ var states55 = [
8315
+ States.hover,
8316
+ States.focus,
8317
+ States.active,
8318
+ States.selected,
8319
+ States.disabled
8320
+ ];
8321
+ var options50 = {
8322
+ size: [Size.small, Size.medium, Size.large],
8323
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
8324
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
8325
+ themeColor: [
8326
+ ThemeColor.base,
8327
+ ThemeColor.primary,
8328
+ ThemeColor.secondary,
8329
+ ThemeColor.tertiary,
8330
+ ThemeColor.success,
8331
+ ThemeColor.warning,
8332
+ ThemeColor.error,
8333
+ ThemeColor.info,
8334
+ ThemeColor.light,
8335
+ ThemeColor.dark,
8336
+ ThemeColor.inverse
8337
+ ]
8338
+ };
8339
+ var defaultProps51 = {
8340
+ size: Size.medium,
8341
+ rounded: Roundness.medium,
8342
+ fillMode: FillMode.solid,
8343
+ themeColor: ThemeColor.base,
8344
+ arrowIconName: "caret-alt-down"
8345
+ };
8346
+ var SplitButton = (props) => {
8347
+ const {
8348
+ size = defaultProps51.size,
8349
+ rounded = defaultProps51.rounded,
8350
+ fillMode = defaultProps51.fillMode,
8351
+ themeColor = defaultProps51.themeColor,
8352
+ hover,
8353
+ focus,
8354
+ active,
8355
+ selected,
8356
+ disabled,
8357
+ icon,
8358
+ text,
8359
+ arrowIconName = defaultProps51.arrowIconName,
8360
+ popup,
8361
+ opened,
8362
+ ...other
8363
+ } = props;
8364
+ return /* @__PURE__ */ jsxs59(Fragment40, { children: [
8365
+ /* @__PURE__ */ jsxs59(
8366
+ "div",
8367
+ {
8368
+ ...other,
8369
+ className: classNames(
8370
+ props.className,
8371
+ SPLITBUTTON_CLASSNAME,
8372
+ "k-button-group",
8373
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
8374
+ rounded
8375
+ })
8376
+ ),
8377
+ children: [
8378
+ /* @__PURE__ */ jsx166(
8379
+ Button,
8380
+ {
8381
+ text,
8382
+ icon,
8383
+ size,
8384
+ rounded,
8385
+ fillMode,
8386
+ themeColor,
8387
+ hover,
8388
+ focus,
8389
+ active,
8390
+ selected,
8391
+ disabled,
8392
+ children: props.children
8393
+ }
8394
+ ),
8395
+ /* @__PURE__ */ jsx166(
8396
+ Button,
8397
+ {
8398
+ className: "k-split-button-arrow",
8399
+ icon: arrowIconName,
8400
+ size,
8401
+ rounded,
8402
+ fillMode,
8403
+ disabled
8404
+ }
8405
+ )
8406
+ ]
8407
+ }
8408
+ ),
8409
+ opened && popup && /* @__PURE__ */ jsx166(Popup, { className: "k-menu-popup", children: popup })
8410
+ ] });
8411
+ };
8412
+ SplitButton.states = states55;
8413
+ SplitButton.options = options50;
8414
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
8415
+ SplitButton.defaultProps = defaultProps51;
8416
+ var split_button_spec_default = SplitButton;
8417
+
8418
+ // src/toolbar/toolbar.spec.tsx
8419
+ import { jsx as jsx167 } from "react/jsx-runtime";
8420
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
8421
+ var states56 = [
8422
+ States.focus
8423
+ ];
8424
+ var options51 = {
8425
+ size: [Size.small, Size.medium, Size.large]
8426
+ };
8427
+ var defaultProps52 = {
8428
+ size: Size.medium
8429
+ };
8430
+ var Toolbar = (props) => {
8431
+ const {
8432
+ size = defaultProps52.size,
8433
+ focus,
8434
+ resizable,
8435
+ ...other
8436
+ } = props;
8437
+ const toolbarChildren = [];
8438
+ const addUniqueToolClass = (child, index) => {
8439
+ const tempToolbarChildren = [];
8440
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8441
+ tempToolbarChildren.push(
8442
+ /* @__PURE__ */ jsx167(
8443
+ Button,
8444
+ {
8445
+ ...child.props,
8446
+ className: `${child.props.className ? child.props.className : ""}`
8447
+ },
8448
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8449
+ )
8450
+ );
8451
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8452
+ tempToolbarChildren.push(
8453
+ /* @__PURE__ */ jsx167(
8454
+ Button,
8455
+ {
8456
+ ...child.props,
8457
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8458
+ },
8459
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8460
+ )
8461
+ );
8462
+ } else if (child.type === Button) {
8463
+ tempToolbarChildren.push(
8464
+ /* @__PURE__ */ jsx167(
8465
+ Button,
8466
+ {
8467
+ ...child.props,
8468
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8469
+ },
8470
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8471
+ )
8472
+ );
8473
+ } else if (child.type === MenuButton) {
8474
+ tempToolbarChildren.push(
8475
+ /* @__PURE__ */ jsx167(
8476
+ MenuButton,
8477
+ {
8478
+ ...child.props,
8479
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8480
+ },
8481
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8482
+ )
8483
+ );
8484
+ } else if (child.type === split_button_spec_default) {
8485
+ tempToolbarChildren.push(
8486
+ /* @__PURE__ */ jsx167(
8487
+ split_button_spec_default,
8488
+ {
8489
+ ...child.props,
8490
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8491
+ },
8492
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8493
+ )
8494
+ );
8495
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8496
+ const buttonGroupItems = [];
8497
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8498
+ childrenArray.forEach((button, bindex) => {
8499
+ buttonGroupItems.push(
8500
+ /* @__PURE__ */ jsx167(
8501
+ Button,
8502
+ {
8503
+ ...button.props,
8504
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8505
+ },
8506
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8507
+ )
8508
+ );
8509
+ });
8510
+ tempToolbarChildren.push(
8511
+ /* @__PURE__ */ jsx167(
8512
+ ButtonGroup,
8513
+ {
8514
+ ...child.props,
8515
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8516
+ children: buttonGroupItems
8517
+ },
8518
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8519
+ )
8520
+ );
8521
+ } else if (child.type === Combobox) {
8522
+ tempToolbarChildren.push(
8523
+ /* @__PURE__ */ jsx167(
8524
+ Combobox,
8525
+ {
8526
+ ...child.props,
8527
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8528
+ },
8529
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8530
+ )
8531
+ );
8532
+ } else if (child.type === DropdownList) {
8533
+ tempToolbarChildren.push(
8534
+ /* @__PURE__ */ jsx167(
8535
+ DropdownList,
8536
+ {
8537
+ ...child.props,
8538
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8539
+ },
8540
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8541
+ )
8542
+ );
8543
+ } else if (child.type === ColorPicker) {
8544
+ tempToolbarChildren.push(
8545
+ /* @__PURE__ */ jsx167(
8546
+ ColorPicker,
8547
+ {
8548
+ ...child.props,
8549
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8550
+ },
8551
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8552
+ )
8553
+ );
8554
+ } else {
8555
+ tempToolbarChildren.push(child);
8556
+ }
8557
+ tempToolbarChildren.forEach((item) => {
8558
+ toolbarChildren.push(item);
8559
+ });
8560
+ };
8561
+ if (props.children) {
8562
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8563
+ childrenArray.forEach((child, index) => {
8564
+ addUniqueToolClass(child, index);
8565
+ });
8566
+ }
8567
+ return /* @__PURE__ */ jsx167(
8568
+ "div",
8569
+ {
8570
+ ...other,
8571
+ className: classNames(
8572
+ props.className,
8573
+ TOOLBAR_CLASSNAME,
8574
+ optionClassNames(TOOLBAR_CLASSNAME, {
8575
+ size
8576
+ }),
8577
+ stateClassNames(TOOLBAR_CLASSNAME, {
8578
+ focus
8579
+ }),
8580
+ {
8581
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
8582
+ }
8583
+ ),
8584
+ children: toolbarChildren
8585
+ }
8586
+ );
8587
+ };
8588
+ Toolbar.states = states56;
8589
+ Toolbar.options = options51;
8590
+ Toolbar.className = TOOLBAR_CLASSNAME;
8591
+ Toolbar.defaultProps = defaultProps52;
8592
+
8593
+ // src/toolbar/toolbar-angular.spec.tsx
8594
+ import { jsx as jsx168 } from "react/jsx-runtime";
8595
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
8596
+ var states57 = [
8597
+ States.focus
8598
+ ];
8599
+ var options52 = {
8600
+ size: [Size.small, Size.medium, Size.large]
8601
+ };
8602
+ var defaultProps53 = {
8603
+ size: Size.medium
8604
+ };
8605
+ var ToolbarAngular = (props) => {
8606
+ const {
8607
+ size = defaultProps53.size,
8608
+ focus,
8609
+ resizable,
8610
+ ...other
8611
+ } = props;
8612
+ const toolbarChildren = [];
8613
+ const addUniqueToolClass = (child, index) => {
8614
+ const tempToolbarChildren = [];
8615
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8616
+ tempToolbarChildren.push(
8617
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8618
+ Button,
8619
+ {
8620
+ ...child.props,
8621
+ className: `${child.props.className ? child.props.className : ""}`
8622
+ },
8623
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8624
+ ) })
8625
+ );
8626
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8627
+ tempToolbarChildren.push(
8628
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8629
+ Button,
8630
+ {
8631
+ ...child.props,
8632
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8633
+ },
8634
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8635
+ ) })
8636
+ );
8637
+ } else if (child.type === Button) {
8638
+ tempToolbarChildren.push(
8639
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8640
+ Button,
8641
+ {
8642
+ ...child.props,
8643
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8644
+ },
8645
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8646
+ ) })
8647
+ );
8648
+ } else if (child.type === MenuButton) {
8649
+ tempToolbarChildren.push(
8650
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8651
+ MenuButton,
8652
+ {
8653
+ ...child.props,
8654
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8655
+ },
8656
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8657
+ ) })
8658
+ );
8659
+ } else if (child.type === split_button_spec_default) {
8660
+ tempToolbarChildren.push(
8661
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8662
+ split_button_spec_default,
8663
+ {
8664
+ ...child.props,
8665
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8666
+ },
8667
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8668
+ ) })
8669
+ );
8670
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8671
+ const buttonGroupItems = [];
8672
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8673
+ childrenArray.forEach((button, bindex) => {
8674
+ buttonGroupItems.push(
8675
+ /* @__PURE__ */ jsx168(
8676
+ Button,
8677
+ {
8678
+ ...button.props,
8679
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8680
+ },
8681
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8682
+ )
8683
+ );
8684
+ });
8685
+ tempToolbarChildren.push(
8686
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8687
+ ButtonGroup,
8688
+ {
8689
+ ...child.props,
8690
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8691
+ children: buttonGroupItems
8692
+ },
8693
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8694
+ ) })
8695
+ );
8696
+ } else if (child.type === Combobox) {
8697
+ tempToolbarChildren.push(
8698
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8699
+ Combobox,
8700
+ {
8701
+ ...child.props,
8702
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8703
+ },
8704
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8705
+ ) })
8706
+ );
8707
+ } else if (child.type === DropdownList) {
8708
+ tempToolbarChildren.push(
8709
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8710
+ DropdownList,
8711
+ {
8712
+ ...child.props,
8713
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8714
+ },
8715
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8716
+ ) })
8717
+ );
8718
+ } else if (child.type === ColorPicker) {
8719
+ tempToolbarChildren.push(
8720
+ /* @__PURE__ */ jsx168("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx168(
8721
+ ColorPicker,
8722
+ {
8723
+ ...child.props,
8724
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8725
+ },
8726
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8727
+ ) })
8728
+ );
8729
+ } else {
8730
+ tempToolbarChildren.push(child);
8731
+ }
8732
+ tempToolbarChildren.forEach((item) => {
8733
+ toolbarChildren.push(item);
8734
+ });
8735
+ };
8736
+ if (props.children) {
8737
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8738
+ childrenArray.forEach((child, index) => {
8739
+ addUniqueToolClass(child, index);
8740
+ });
8741
+ }
8742
+ return /* @__PURE__ */ jsx168(
8743
+ "div",
8744
+ {
8745
+ ...other,
8746
+ className: classNames(
8747
+ props.className,
8748
+ TOOLBARANGULAR_CLASSNAME,
8749
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
8750
+ size
8751
+ }),
8752
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
8753
+ focus
8754
+ }),
8755
+ {
8756
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
8757
+ }
8758
+ ),
8759
+ children: toolbarChildren
8760
+ }
8761
+ );
8762
+ };
8763
+ ToolbarAngular.states = states57;
8764
+ ToolbarAngular.options = options52;
8765
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
8766
+ ToolbarAngular.defaultProps = defaultProps53;
8767
+
8768
+ // src/toolbar/toolbar-separator.tsx
8769
+ import { jsx as jsx169 } from "react/jsx-runtime";
8770
+
8771
+ // src/toolbar/toolbar-item.spec.tsx
8772
+ import { jsx as jsx170 } from "react/jsx-runtime";
8773
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
8774
+ var states58 = [
8775
+ States.focus
8776
+ ];
8777
+ var options53 = {};
8778
+ var defaultProps54 = {};
8779
+ var ToolbarItem = (props) => {
8780
+ const {
8781
+ focus,
8782
+ ...other
8783
+ } = props;
8784
+ return /* @__PURE__ */ jsx170(
8785
+ "div",
8786
+ {
8787
+ ...other,
8788
+ className: classNames(
8789
+ props.className,
8790
+ TOOLBARITEM_CLASSNAME,
8791
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
8792
+ focus
8793
+ })
8794
+ ),
8795
+ children: props.children
8796
+ }
8797
+ );
8798
+ };
8799
+ ToolbarItem.states = states58;
8800
+ ToolbarItem.options = options53;
8801
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
8802
+ ToolbarItem.defaultProps = defaultProps54;
8803
+
8804
+ // src/toolbar/toolbar-popup.spec.tsx
8805
+ import { jsx as jsx171 } from "react/jsx-runtime";
8806
+ var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
8807
+ var states59 = [];
8808
+ var options54 = {};
8809
+ var defaultProps55 = {};
8810
+ var ToolbarPopup = (props) => {
8811
+ const { ...other } = props;
8812
+ return /* @__PURE__ */ jsx171(
8813
+ Popup,
8814
+ {
8815
+ ...other,
8816
+ className: classNames(
8817
+ props.className,
8818
+ TOOLBARPOPUP_CLASSNAME
8819
+ ),
8820
+ children: props.children
8821
+ }
8822
+ );
8823
+ };
8824
+ ToolbarPopup.states = states59;
8825
+ ToolbarPopup.options = options54;
8826
+ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
8827
+ ToolbarPopup.defaultProps = defaultProps55;
8828
+
8829
+ // src/split-button/templates/icon-split-button.tsx
8830
+ import { jsx as jsx172 } from "react/jsx-runtime";
8831
+
8832
+ // src/split-button/templates/icon-text-split-button.tsx
8833
+ import { jsx as jsx173 } from "react/jsx-runtime";
8834
+
8835
+ // src/split-button/templates/text-split-button.tsx
8836
+ import { jsx as jsx174 } from "react/jsx-runtime";
8837
+
8838
+ // src/split-button/templates/split-button-popup.tsx
8839
+ import { jsx as jsx175, jsxs as jsxs60 } from "react/jsx-runtime";
8840
+
8841
+ // src/toolbar/templates/toolbar-normal.tsx
8842
+ import { Fragment as Fragment41, jsx as jsx176, jsxs as jsxs61 } from "react/jsx-runtime";
8843
+
8844
+ // src/toolbar/templates/toolbar-resizable.tsx
8845
+ import { jsx as jsx177 } from "react/jsx-runtime";
8846
+
8847
+ // src/toolbar/templates/toolbar-angular-normal.tsx
8848
+ import { jsx as jsx178 } from "react/jsx-runtime";
8849
+
8850
+ // src/toolbar/templates/toolbar-angular-resizable.tsx
8851
+ import { jsx as jsx179 } from "react/jsx-runtime";
8852
+
8853
+ // src/grid/grid-toolbar.spec.tsx
8854
+ import { jsx as jsx180 } from "react/jsx-runtime";
8855
+
4826
8856
  // src/grid/tests/grid-grouping-detail-template.tsx
4827
- import { Fragment as Fragment7, jsx as jsx25, jsxs as jsxs5 } from "react/jsx-runtime";
4828
- var grid_grouping_detail_template_default = () => /* @__PURE__ */ jsx25(Fragment7, { children: /* @__PURE__ */ jsxs5("div", { id: "test-area", className: "k-d-grid", children: [
4829
- /* @__PURE__ */ jsx25("span", { children: "Base" }),
4830
- /* @__PURE__ */ jsxs5("div", { dir: "ltr", className: "k-grid k-grid-md", children: [
4831
- /* @__PURE__ */ jsx25("div", { className: "k-grouping-header", children: /* @__PURE__ */ jsx25("div", { className: "k-grouping-drop-container", children: "Drag a column header and drop it here to group by that column" }) }),
4832
- /* @__PURE__ */ jsxs5("div", { className: "k-grid-aria-root", role: "grid", children: [
4833
- /* @__PURE__ */ jsx25("div", { className: "k-grid-header", children: /* @__PURE__ */ jsx25("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-header-table", children: [
4834
- /* @__PURE__ */ jsxs5("colgroup", { children: [
4835
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
4836
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
4837
- /* @__PURE__ */ jsx25("col", {}),
4838
- /* @__PURE__ */ jsx25("col", {}),
4839
- /* @__PURE__ */ jsx25("col", {})
8857
+ import { Fragment as Fragment42, jsx as jsx181, jsxs as jsxs62 } from "react/jsx-runtime";
8858
+ var grid_grouping_detail_template_default = () => /* @__PURE__ */ jsx181(Fragment42, { children: /* @__PURE__ */ jsxs62("div", { id: "test-area", className: "k-d-grid", children: [
8859
+ /* @__PURE__ */ jsx181("span", { children: "Base" }),
8860
+ /* @__PURE__ */ jsxs62(Grid, { _renderAriaRoot: true, dir: "ltr", groupingHeader: /* @__PURE__ */ jsx181(GridGroupingHeader, { dropHint: "Drag a column header and drop it here to group by that column" }), children: [
8861
+ /* @__PURE__ */ jsx181(GridHeader, { children: /* @__PURE__ */ jsx181("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs62(GridHeaderTable, { children: [
8862
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
8863
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
8864
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
8865
+ /* @__PURE__ */ jsx181("col", {}),
8866
+ /* @__PURE__ */ jsx181("col", {}),
8867
+ /* @__PURE__ */ jsx181("col", {})
8868
+ ] }),
8869
+ /* @__PURE__ */ jsx181(TableThead, { children: /* @__PURE__ */ jsxs62(TableRow, { children: [
8870
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-hierarchy-cell" }),
8871
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, { id: "k-grid0-select-all" }) }),
8872
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "ID" }),
8873
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "Name" }),
8874
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
8875
+ ] }) })
8876
+ ] }) }) }),
8877
+ /* @__PURE__ */ jsx181(GridContainer, { children: /* @__PURE__ */ jsxs62(GridContent, { className: "k-virtual-content", children: [
8878
+ /* @__PURE__ */ jsx181("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs62(GridTable, { children: [
8879
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
8880
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
8881
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
8882
+ /* @__PURE__ */ jsx181("col", {}),
8883
+ /* @__PURE__ */ jsx181("col", {}),
8884
+ /* @__PURE__ */ jsx181("col", {})
4840
8885
  ] }),
4841
- /* @__PURE__ */ jsx25("thead", { className: "k-table-thead", children: /* @__PURE__ */ jsxs5("tr", { className: "k-table-row", children: [
4842
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-hierarchy-cell k-header" }),
4843
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, { id: "k-grid0-select-all" }) }),
4844
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "ID" }) }) }) }),
4845
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Name" }) }) }) }),
4846
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Command" }) }) }) })
4847
- ] }) })
4848
- ] }) }) }),
4849
- /* @__PURE__ */ jsx25("div", { className: "k-grid-container", children: /* @__PURE__ */ jsxs5("div", { className: "k-grid-content k-virtual-content", children: [
4850
- /* @__PURE__ */ jsx25("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-table", children: [
4851
- /* @__PURE__ */ jsxs5("colgroup", { children: [
4852
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
4853
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
4854
- /* @__PURE__ */ jsx25("col", {}),
4855
- /* @__PURE__ */ jsx25("col", {}),
4856
- /* @__PURE__ */ jsx25("col", {})
8886
+ /* @__PURE__ */ jsxs62(TableTbody, { children: [
8887
+ /* @__PURE__ */ jsxs62(TableRow, { className: "k-master-row", role: "row", children: [
8888
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "plus" }) }),
8889
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, { id: "k-grid0-checkbox0" }) }),
8890
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "1" }),
8891
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
8892
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
4857
8893
  ] }),
4858
- /* @__PURE__ */ jsxs5("tbody", { className: "k-table-tbody", children: [
4859
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-master-row", role: "row", children: [
4860
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "plus" }) }),
4861
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, { id: "k-grid0-checkbox0" }) }),
4862
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "1" }),
4863
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
4864
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
4865
- ] }),
4866
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-table-alt-row k-alt k-master-row", role: "row", children: [
4867
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "plus" }) }),
4868
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, { id: "k-grid0-checkbox1" }) }),
4869
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "2" }),
4870
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
4871
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
4872
- ] })
8894
+ /* @__PURE__ */ jsxs62(TableRow, { alt: true, className: "k-master-row k-alt", role: "row", children: [
8895
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "plus" }) }),
8896
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, { id: "k-grid0-checkbox0" }) }),
8897
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "2" }),
8898
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
8899
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
4873
8900
  ] })
4874
- ] }) }),
4875
- /* @__PURE__ */ jsx25("div", { className: "k-height-container", children: /* @__PURE__ */ jsx25("div", {}) })
4876
- ] }) })
4877
- ] })
8901
+ ] })
8902
+ ] }) }),
8903
+ /* @__PURE__ */ jsx181("div", { className: "k-height-container", children: /* @__PURE__ */ jsx181("div", {}) })
8904
+ ] }) })
4878
8905
  ] }),
4879
- /* @__PURE__ */ jsx25("span", { children: "Single Group" }),
4880
- /* @__PURE__ */ jsxs5("div", { dir: "ltr", className: "k-grid k-grid-md", children: [
4881
- /* @__PURE__ */ jsxs5("div", { className: "k-grouping-header", children: [
4882
- /* @__PURE__ */ jsx25(ChipList, { children: /* @__PURE__ */ jsx25(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx25(ChipAction, { type: "remove" }), children: "ID" }) }),
4883
- /* @__PURE__ */ jsx25("div", { className: "k-grouping-drop-container" })
4884
- ] }),
4885
- /* @__PURE__ */ jsxs5("div", { className: "k-grid-aria-root", role: "grid", children: [
4886
- /* @__PURE__ */ jsx25("div", { className: "k-grid-header", children: /* @__PURE__ */ jsx25("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-header-table", children: [
4887
- /* @__PURE__ */ jsxs5("colgroup", { children: [
4888
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
4889
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
4890
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
4891
- /* @__PURE__ */ jsx25("col", {}),
4892
- /* @__PURE__ */ jsx25("col", {}),
4893
- /* @__PURE__ */ jsx25("col", {})
8906
+ /* @__PURE__ */ jsx181("span", { children: "Single Group" }),
8907
+ /* @__PURE__ */ jsxs62(Grid, { _renderAriaRoot: true, dir: "ltr", groupingHeader: /* @__PURE__ */ jsx181(GridGroupingHeader, { children: /* @__PURE__ */ jsx181(ChipList, { children: /* @__PURE__ */ jsx181(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx181(ChipAction, { type: "remove" }), children: "ID" }) }) }), children: [
8908
+ /* @__PURE__ */ jsx181(GridHeader, { children: /* @__PURE__ */ jsx181("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs62(GridHeaderTable, { children: [
8909
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
8910
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
8911
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
8912
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
8913
+ /* @__PURE__ */ jsx181("col", {}),
8914
+ /* @__PURE__ */ jsx181("col", {}),
8915
+ /* @__PURE__ */ jsx181("col", {})
8916
+ ] }),
8917
+ /* @__PURE__ */ jsx181(TableThead, { children: /* @__PURE__ */ jsxs62(TableRow, { children: [
8918
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-group-cell" }),
8919
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-hierarchy-cell" }),
8920
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
8921
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "ID" }),
8922
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "Name" }),
8923
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
8924
+ ] }) })
8925
+ ] }) }) }),
8926
+ /* @__PURE__ */ jsx181(GridContainer, { children: /* @__PURE__ */ jsxs62(GridContent, { className: "k-virtual-content", children: [
8927
+ /* @__PURE__ */ jsx181("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs62(GridTable, { children: [
8928
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
8929
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
8930
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
8931
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
8932
+ /* @__PURE__ */ jsx181("col", {}),
8933
+ /* @__PURE__ */ jsx181("col", {}),
8934
+ /* @__PURE__ */ jsx181("col", {})
4894
8935
  ] }),
4895
- /* @__PURE__ */ jsx25("thead", { className: "k-table-thead", children: /* @__PURE__ */ jsxs5("tr", { className: "k-table-row", children: [
4896
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-group-cell k-header" }),
4897
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-hierarchy-cell k-header" }),
4898
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
4899
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "ID" }) }) }) }),
4900
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Name" }) }) }) }),
4901
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Command" }) }) }) })
4902
- ] }) })
4903
- ] }) }) }),
4904
- /* @__PURE__ */ jsx25("div", { className: "k-grid-container", children: /* @__PURE__ */ jsxs5("div", { className: "k-grid-content k-virtual-content", children: [
4905
- /* @__PURE__ */ jsx25("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-table", children: [
4906
- /* @__PURE__ */ jsxs5("colgroup", { children: [
4907
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
4908
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
4909
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
4910
- /* @__PURE__ */ jsx25("col", {}),
4911
- /* @__PURE__ */ jsx25("col", {}),
4912
- /* @__PURE__ */ jsx25("col", {})
8936
+ /* @__PURE__ */ jsxs62(TableTbody, { children: [
8937
+ /* @__PURE__ */ jsx181(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx181(TableTd, { colspan: 6, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
8938
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
8939
+ "ID: 1"
8940
+ ] }) }) }),
8941
+ /* @__PURE__ */ jsxs62(TableRow, { className: "k-master-row", role: "row", children: [
8942
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
8943
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "plus" }) }),
8944
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
8945
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "1" }),
8946
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
8947
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
4913
8948
  ] }),
4914
- /* @__PURE__ */ jsxs5("tbody", { className: "k-table-tbody", children: [
4915
- /* @__PURE__ */ jsx25("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 6, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
4916
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
4917
- " ID: 1 "
4918
- ] }) }) }),
4919
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-master-row", role: "row", children: [
4920
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
4921
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "plus" }) }),
4922
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
4923
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "1" }),
4924
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
4925
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
4926
- ] }),
4927
- /* @__PURE__ */ jsx25("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 6, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
4928
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
4929
- " ID: 2 "
4930
- ] }) }) }),
4931
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-table-alt-row k-alt k-master-row", role: "row", children: [
4932
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
4933
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "plus" }) }),
4934
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
4935
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "2" }),
4936
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
4937
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
4938
- ] })
8949
+ /* @__PURE__ */ jsx181(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx181(TableTd, { colspan: 6, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
8950
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
8951
+ "ID: 2"
8952
+ ] }) }) }),
8953
+ /* @__PURE__ */ jsxs62(TableRow, { alt: true, className: "k-master-row k-alt", role: "row", children: [
8954
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
8955
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "plus" }) }),
8956
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
8957
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "2" }),
8958
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
8959
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
4939
8960
  ] })
4940
- ] }) }),
4941
- /* @__PURE__ */ jsx25("div", { className: "k-height-container", children: /* @__PURE__ */ jsx25("div", {}) })
4942
- ] }) })
4943
- ] })
8961
+ ] })
8962
+ ] }) }),
8963
+ /* @__PURE__ */ jsx181("div", { className: "k-height-container", children: /* @__PURE__ */ jsx181("div", {}) })
8964
+ ] }) })
4944
8965
  ] }),
4945
- /* @__PURE__ */ jsx25("span", { children: "Two Groups" }),
4946
- /* @__PURE__ */ jsxs5("div", { dir: "ltr", className: "k-grid k-grid-md", children: [
4947
- /* @__PURE__ */ jsxs5("div", { className: "k-grouping-header", children: [
4948
- /* @__PURE__ */ jsxs5(ChipList, { children: [
4949
- /* @__PURE__ */ jsx25(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx25(ChipAction, { type: "remove" }), children: "ID" }),
4950
- /* @__PURE__ */ jsx25(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx25(ChipAction, { type: "remove" }), children: "Name" })
8966
+ /* @__PURE__ */ jsx181("span", { children: "Two Groups" }),
8967
+ /* @__PURE__ */ jsxs62(Grid, { _renderAriaRoot: true, dir: "ltr", groupingHeader: /* @__PURE__ */ jsx181(GridGroupingHeader, { children: /* @__PURE__ */ jsxs62(ChipList, { children: [
8968
+ /* @__PURE__ */ jsx181(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx181(ChipAction, { type: "remove" }), children: "ID" }),
8969
+ /* @__PURE__ */ jsx181(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx181(ChipAction, { type: "remove" }), children: "Name" })
8970
+ ] }) }), children: [
8971
+ /* @__PURE__ */ jsx181(GridHeader, { children: /* @__PURE__ */ jsx181("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs62(GridHeaderTable, { children: [
8972
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
8973
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
8974
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
8975
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
8976
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
8977
+ /* @__PURE__ */ jsx181("col", {}),
8978
+ /* @__PURE__ */ jsx181("col", {}),
8979
+ /* @__PURE__ */ jsx181("col", {})
4951
8980
  ] }),
4952
- /* @__PURE__ */ jsx25("div", { className: "k-grouping-drop-container" })
4953
- ] }),
4954
- /* @__PURE__ */ jsxs5("div", { className: "k-grid-aria-root", role: "grid", children: [
4955
- /* @__PURE__ */ jsx25("div", { className: "k-grid-header", children: /* @__PURE__ */ jsx25("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-header-table", children: [
4956
- /* @__PURE__ */ jsxs5("colgroup", { children: [
4957
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
4958
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
4959
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
4960
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
4961
- /* @__PURE__ */ jsx25("col", {}),
4962
- /* @__PURE__ */ jsx25("col", {}),
4963
- /* @__PURE__ */ jsx25("col", {})
8981
+ /* @__PURE__ */ jsx181(TableThead, { children: /* @__PURE__ */ jsxs62(TableRow, { children: [
8982
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-group-cell" }),
8983
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-group-cell" }),
8984
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-hierarchy-cell" }),
8985
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
8986
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "ID" }),
8987
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "Name" }),
8988
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
8989
+ ] }) })
8990
+ ] }) }) }),
8991
+ /* @__PURE__ */ jsx181(GridContainer, { children: /* @__PURE__ */ jsxs62(GridContent, { className: "k-virtual-content", children: [
8992
+ /* @__PURE__ */ jsx181("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs62(GridTable, { children: [
8993
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
8994
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
8995
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
8996
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
8997
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
8998
+ /* @__PURE__ */ jsx181("col", {}),
8999
+ /* @__PURE__ */ jsx181("col", {}),
9000
+ /* @__PURE__ */ jsx181("col", {})
4964
9001
  ] }),
4965
- /* @__PURE__ */ jsx25("thead", { className: "k-table-thead", children: /* @__PURE__ */ jsxs5("tr", { className: "k-table-row", children: [
4966
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-group-cell k-header" }),
4967
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-group-cell k-header" }),
4968
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-hierarchy-cell k-header" }),
4969
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
4970
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "ID" }) }) }) }),
4971
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Name" }) }) }) }),
4972
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Command" }) }) }) })
4973
- ] }) })
4974
- ] }) }) }),
4975
- /* @__PURE__ */ jsx25("div", { className: "k-grid-container", children: /* @__PURE__ */ jsxs5("div", { className: "k-grid-content k-virtual-content", children: [
4976
- /* @__PURE__ */ jsx25("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-table", children: [
4977
- /* @__PURE__ */ jsxs5("colgroup", { children: [
4978
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
4979
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
4980
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
4981
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
4982
- /* @__PURE__ */ jsx25("col", {}),
4983
- /* @__PURE__ */ jsx25("col", {}),
4984
- /* @__PURE__ */ jsx25("col", {})
9002
+ /* @__PURE__ */ jsxs62(TableTbody, { children: [
9003
+ /* @__PURE__ */ jsx181(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx181(TableTd, { colspan: 7, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9004
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9005
+ "ID: 1"
9006
+ ] }) }) }),
9007
+ /* @__PURE__ */ jsxs62(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: [
9008
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9009
+ /* @__PURE__ */ jsx181(TableTd, { colspan: 6, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9010
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9011
+ "Name: Product1"
9012
+ ] }) })
4985
9013
  ] }),
4986
- /* @__PURE__ */ jsxs5("tbody", { className: "k-table-tbody", children: [
4987
- /* @__PURE__ */ jsx25("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 7, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
4988
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
4989
- " ID: 1 "
4990
- ] }) }) }),
4991
- /* @__PURE__ */ jsxs5("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: [
4992
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
4993
- /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 6, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
4994
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
4995
- " Name: Product1 "
4996
- ] }) })
4997
- ] }),
4998
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-master-row", role: "row", children: [
4999
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5000
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5001
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "plus" }) }),
5002
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
5003
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "1" }),
5004
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
5005
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
5006
- ] }),
5007
- /* @__PURE__ */ jsx25("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 7, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
5008
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
5009
- " ID: 2 "
5010
- ] }) }) }),
5011
- /* @__PURE__ */ jsxs5("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: [
5012
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5013
- /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 6, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
5014
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
5015
- " Name: Product2 "
5016
- ] }) })
5017
- ] }),
5018
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-table-alt-row k-alt k-master-row", role: "row", children: [
5019
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5020
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5021
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "plus" }) }),
5022
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
5023
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "2" }),
5024
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
5025
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
5026
- ] })
9014
+ /* @__PURE__ */ jsxs62(TableRow, { className: "k-master-row", role: "row", children: [
9015
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9016
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9017
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "plus" }) }),
9018
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
9019
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "1" }),
9020
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
9021
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
9022
+ ] }),
9023
+ /* @__PURE__ */ jsx181(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx181(TableTd, { colspan: 7, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9024
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9025
+ "ID: 2"
9026
+ ] }) }) }),
9027
+ /* @__PURE__ */ jsxs62(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: [
9028
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9029
+ /* @__PURE__ */ jsx181(TableTd, { colspan: 6, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9030
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9031
+ "Name: Product2"
9032
+ ] }) })
9033
+ ] }),
9034
+ /* @__PURE__ */ jsxs62(TableRow, { alt: true, className: "k-master-row k-alt", role: "row", children: [
9035
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9036
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9037
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "plus" }) }),
9038
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
9039
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "2" }),
9040
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
9041
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
5027
9042
  ] })
5028
- ] }) }),
5029
- /* @__PURE__ */ jsx25("div", { className: "k-height-container", children: /* @__PURE__ */ jsx25("div", {}) })
5030
- ] }) })
5031
- ] })
9043
+ ] })
9044
+ ] }) }),
9045
+ /* @__PURE__ */ jsx181("div", { className: "k-height-container", children: /* @__PURE__ */ jsx181("div", {}) })
9046
+ ] }) })
5032
9047
  ] }),
5033
- /* @__PURE__ */ jsx25("span", { children: "Expanded Template" }),
5034
- /* @__PURE__ */ jsxs5("div", { dir: "ltr", className: "k-grid k-grid-md", children: [
5035
- /* @__PURE__ */ jsxs5("div", { className: "k-grouping-header", children: [
5036
- /* @__PURE__ */ jsxs5(ChipList, { children: [
5037
- /* @__PURE__ */ jsx25(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx25(ChipAction, { type: "remove" }), children: "ID" }),
5038
- /* @__PURE__ */ jsx25(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx25(ChipAction, { type: "remove" }), children: "Name" })
9048
+ /* @__PURE__ */ jsx181("span", { children: "Expanded Template" }),
9049
+ /* @__PURE__ */ jsxs62(Grid, { _renderAriaRoot: true, dir: "ltr", groupingHeader: /* @__PURE__ */ jsx181(GridGroupingHeader, { children: /* @__PURE__ */ jsxs62(ChipList, { children: [
9050
+ /* @__PURE__ */ jsx181(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx181(ChipAction, { type: "remove" }), children: "ID" }),
9051
+ /* @__PURE__ */ jsx181(Chip, { icon: "sort-asc-small", actions: /* @__PURE__ */ jsx181(ChipAction, { type: "remove" }), children: "Name" })
9052
+ ] }) }), children: [
9053
+ /* @__PURE__ */ jsx181(GridHeader, { children: /* @__PURE__ */ jsx181("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs62(GridHeaderTable, { children: [
9054
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
9055
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
9056
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
9057
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
9058
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
9059
+ /* @__PURE__ */ jsx181("col", {}),
9060
+ /* @__PURE__ */ jsx181("col", {}),
9061
+ /* @__PURE__ */ jsx181("col", {})
5039
9062
  ] }),
5040
- /* @__PURE__ */ jsx25("div", { className: "k-grouping-drop-container" })
5041
- ] }),
5042
- /* @__PURE__ */ jsxs5("div", { className: "k-grid-aria-root", role: "grid", children: [
5043
- /* @__PURE__ */ jsx25("div", { className: "k-grid-header", children: /* @__PURE__ */ jsx25("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-header-table", children: [
5044
- /* @__PURE__ */ jsxs5("colgroup", { children: [
5045
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
5046
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
5047
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
5048
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
5049
- /* @__PURE__ */ jsx25("col", {}),
5050
- /* @__PURE__ */ jsx25("col", {}),
5051
- /* @__PURE__ */ jsx25("col", {})
9063
+ /* @__PURE__ */ jsx181(TableThead, { children: /* @__PURE__ */ jsxs62(TableRow, { children: [
9064
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-group-cell" }),
9065
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-group-cell" }),
9066
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-hierarchy-cell" }),
9067
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
9068
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "ID" }),
9069
+ /* @__PURE__ */ jsx181(GridHeaderCell, { className: "k-grid-draggable-header", rowspan: 1, colspan: 1, columnTitle: "Name" }),
9070
+ /* @__PURE__ */ jsx181(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
9071
+ ] }) })
9072
+ ] }) }) }),
9073
+ /* @__PURE__ */ jsx181(GridContainer, { children: /* @__PURE__ */ jsxs62(GridContent, { className: "k-virtual-content", children: [
9074
+ /* @__PURE__ */ jsx181("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs62(GridTable, { children: [
9075
+ /* @__PURE__ */ jsxs62("colgroup", { children: [
9076
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
9077
+ /* @__PURE__ */ jsx181("col", { className: "k-group-col" }),
9078
+ /* @__PURE__ */ jsx181("col", { className: "k-hierarchy-col" }),
9079
+ /* @__PURE__ */ jsx181("col", { style: { width: "50px" } }),
9080
+ /* @__PURE__ */ jsx181("col", {}),
9081
+ /* @__PURE__ */ jsx181("col", {}),
9082
+ /* @__PURE__ */ jsx181("col", {})
5052
9083
  ] }),
5053
- /* @__PURE__ */ jsx25("thead", { className: "k-table-thead", children: /* @__PURE__ */ jsxs5("tr", { className: "k-table-row", children: [
5054
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-group-cell k-header" }),
5055
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-group-cell k-header" }),
5056
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-hierarchy-cell k-header" }),
5057
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
5058
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "ID" }) }) }) }),
5059
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header k-grid-draggable-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Name" }) }) }) }),
5060
- /* @__PURE__ */ jsx25("th", { className: "k-table-th k-header", rowSpan: 1, colSpan: 1, children: /* @__PURE__ */ jsx25("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsx25("span", { className: "k-link", children: /* @__PURE__ */ jsx25("span", { className: "k-column-title", children: "Command" }) }) }) })
5061
- ] }) })
5062
- ] }) }) }),
5063
- /* @__PURE__ */ jsx25("div", { className: "k-grid-container", children: /* @__PURE__ */ jsxs5("div", { className: "k-grid-content k-virtual-content", children: [
5064
- /* @__PURE__ */ jsx25("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs5("table", { className: "k-table k-table-md k-grid-table", children: [
5065
- /* @__PURE__ */ jsxs5("colgroup", { children: [
5066
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
5067
- /* @__PURE__ */ jsx25("col", { className: "k-group-col" }),
5068
- /* @__PURE__ */ jsx25("col", { className: "k-hierarchy-col" }),
5069
- /* @__PURE__ */ jsx25("col", { style: { width: "50px" } }),
5070
- /* @__PURE__ */ jsx25("col", {}),
5071
- /* @__PURE__ */ jsx25("col", {}),
5072
- /* @__PURE__ */ jsx25("col", {})
9084
+ /* @__PURE__ */ jsxs62(TableTbody, { children: [
9085
+ /* @__PURE__ */ jsx181(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx181(TableTd, { colspan: 7, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9086
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9087
+ "ID: 1"
9088
+ ] }) }) }),
9089
+ /* @__PURE__ */ jsxs62(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: [
9090
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9091
+ /* @__PURE__ */ jsx181(TableTd, { colspan: 6, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9092
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9093
+ "Name: Product1"
9094
+ ] }) })
5073
9095
  ] }),
5074
- /* @__PURE__ */ jsxs5("tbody", { className: "k-table-tbody", children: [
5075
- /* @__PURE__ */ jsx25("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 7, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
5076
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
5077
- " ID: 1 "
5078
- ] }) }) }),
5079
- /* @__PURE__ */ jsxs5("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: [
5080
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5081
- /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 6, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
5082
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
5083
- " Name: Product1 "
5084
- ] }) })
5085
- ] }),
5086
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-master-row k-expanded", role: "row", children: [
5087
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5088
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5089
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "minus" }) }),
5090
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
5091
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "1" }),
5092
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
5093
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
5094
- ] }),
5095
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-detail-row", role: "row", children: [
5096
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5097
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5098
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell" }),
5099
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-detail-cell", colSpan: 4, children: " Template Text " })
5100
- ] }),
5101
- /* @__PURE__ */ jsx25("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 7, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
5102
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
5103
- " ID: 2 "
5104
- ] }) }) }),
5105
- /* @__PURE__ */ jsxs5("tr", { role: "row", className: "k-table-row k-table-group-row k-grouping-row", children: [
5106
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5107
- /* @__PURE__ */ jsx25("td", { className: "k-table-td", colSpan: 6, children: /* @__PURE__ */ jsxs5("p", { className: "k-reset", children: [
5108
- /* @__PURE__ */ jsx25(Icon, { icon: "caret-alt-down" }),
5109
- " Name: Product2 "
5110
- ] }) })
5111
- ] }),
5112
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-table-alt-row k-alt k-master-row k-expanded", role: "row", children: [
5113
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5114
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5115
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell", children: /* @__PURE__ */ jsx25(Icon, { icon: "minus" }) }),
5116
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx25(Checkbox, {}) }),
5117
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "2" }),
5118
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
5119
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: /* @__PURE__ */ jsx25(Button, { icon: "trash", children: "Delete" }) })
5120
- ] }),
5121
- /* @__PURE__ */ jsxs5("tr", { className: "k-table-row k-table-alt-row k-detail-row k-alt", role: "row", children: [
5122
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5123
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-table-group-td k-group-cell" }),
5124
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-hierarchy-cell" }),
5125
- /* @__PURE__ */ jsx25("td", { className: "k-table-td k-detail-cell", colSpan: 4, children: " Template Text " })
5126
- ] })
9096
+ /* @__PURE__ */ jsxs62(TableRow, { className: "k-master-row k-expanded", role: "row", children: [
9097
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9098
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9099
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "minus" }) }),
9100
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
9101
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "1" }),
9102
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
9103
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
9104
+ ] }),
9105
+ /* @__PURE__ */ jsxs62(TableRow, { className: "k-detail-row", role: "row", children: [
9106
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9107
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9108
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell" }),
9109
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-detail-cell", colspan: 4, children: " Template Text " })
9110
+ ] }),
9111
+ /* @__PURE__ */ jsx181(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: /* @__PURE__ */ jsx181(TableTd, { colspan: 7, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9112
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9113
+ "ID: 2"
9114
+ ] }) }) }),
9115
+ /* @__PURE__ */ jsxs62(TableRow, { role: "row", className: "k-table-group-row k-grouping-row", children: [
9116
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9117
+ /* @__PURE__ */ jsx181(TableTd, { colspan: 6, children: /* @__PURE__ */ jsxs62("p", { className: "k-reset", children: [
9118
+ /* @__PURE__ */ jsx181(Icon, { icon: "caret-alt-down" }),
9119
+ "Name: Product2"
9120
+ ] }) })
9121
+ ] }),
9122
+ /* @__PURE__ */ jsxs62(TableRow, { alt: true, className: "k-master-row k-alt k-expanded", role: "row", children: [
9123
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9124
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9125
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell", children: /* @__PURE__ */ jsx181(Icon, { icon: "minus" }) }),
9126
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx181(Checkbox, {}) }),
9127
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "2" }),
9128
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
9129
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: /* @__PURE__ */ jsx181(Button, { icon: "trash", children: "Delete" }) })
9130
+ ] }),
9131
+ /* @__PURE__ */ jsxs62(TableRow, { alt: true, className: "k-detail-row k-alt", role: "row", children: [
9132
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9133
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-table-group-td k-group-cell" }),
9134
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-hierarchy-cell" }),
9135
+ /* @__PURE__ */ jsx181(TableTd, { className: "k-detail-cell", colspan: 4, children: " Template Text " })
5127
9136
  ] })
5128
- ] }) }),
5129
- /* @__PURE__ */ jsx25("div", { className: "k-height-container", children: /* @__PURE__ */ jsx25("div", {}) })
5130
- ] }) })
5131
- ] })
9137
+ ] })
9138
+ ] }) }),
9139
+ /* @__PURE__ */ jsx181("div", { className: "k-height-container", children: /* @__PURE__ */ jsx181("div", {}) })
9140
+ ] }) })
5132
9141
  ] })
5133
9142
  ] }) });
5134
9143
  export {