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