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