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