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