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