@progress/kendo-themes-html 7.1.1-dev.0 → 7.2.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/cjs/action-sheet/tests/action-sheet-data-table.js +2 -0
  2. package/dist/cjs/autocomplete/tests/autocomplete-prefix-suffix.js +863 -778
  3. package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +863 -778
  4. package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +2 -0
  5. package/dist/cjs/dropdowngrid/templates/dropdowngrid-adaptive.js +2 -0
  6. package/dist/cjs/dropdowngrid/templates/dropdowngrid-normal.js +2 -0
  7. package/dist/cjs/dropdowngrid/templates/dropdowngrid-popup.js +2 -0
  8. package/dist/cjs/dropdowngrid/templates/dropdowngrid-prefix.js +2 -0
  9. package/dist/cjs/dropdowngrid/templates/dropdowngrid-suffix.js +2 -0
  10. package/dist/cjs/dropdowngrid/tests/dropdowngrid-adaptive.js +2 -0
  11. package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +2 -0
  12. package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +2 -0
  13. package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +2 -0
  14. package/dist/cjs/dropdowngrid/tests/dropdowngrid-prefix-suffix.js +2 -0
  15. package/dist/cjs/dropdowngrid/tests/dropdowngrid-size-rounded.js +2 -0
  16. package/dist/cjs/dropdowngrid/tests/dropdowngrid-solid.js +2 -0
  17. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +2 -0
  18. package/dist/cjs/filemanager/templates/filemanager-grid.js +2 -0
  19. package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +763 -678
  20. package/dist/cjs/filemanager/tests/filemanager-gridview.js +2 -0
  21. package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +717 -632
  22. package/dist/cjs/form/tests/form-field-dropdowns.js +862 -777
  23. package/dist/cjs/grid/grid-container.spec.js +46 -0
  24. package/dist/cjs/grid/grid-content.spec.js +46 -0
  25. package/dist/cjs/grid/grid-footer-table.spec.js +283 -0
  26. package/dist/cjs/grid/grid-footer.spec.js +46 -0
  27. package/dist/cjs/grid/grid-grouping-header.spec.js +57 -0
  28. package/dist/cjs/grid/grid-header-cell.spec.js +4446 -0
  29. package/dist/cjs/grid/grid-header-table.spec.js +283 -0
  30. package/dist/cjs/grid/grid-header.spec.js +46 -0
  31. package/dist/cjs/grid/grid-pager.spec.js +6058 -0
  32. package/dist/cjs/grid/grid-table.spec.js +283 -0
  33. package/dist/cjs/grid/grid-toolbar.spec.js +7876 -0
  34. package/dist/cjs/grid/grid.spec.js +120 -0
  35. package/dist/cjs/grid/tests/grid-adaptive-pager.js +2740 -380
  36. package/dist/cjs/grid/tests/grid-adaptive-search.js +1745 -1203
  37. package/dist/cjs/grid/tests/grid-angular.js +3787 -1267
  38. package/dist/cjs/grid/tests/grid-column-menu-angular.js +4095 -115
  39. package/dist/cjs/grid/tests/grid-column-menu-blazor.js +4095 -116
  40. package/dist/cjs/grid/tests/grid-column-reordering-actions.js +1484 -1280
  41. package/dist/cjs/grid/tests/grid-column-reordering.js +1489 -1285
  42. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +2119 -1915
  43. package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1107 -869
  44. package/dist/cjs/grid/tests/grid-editing-inline-angular.js +1972 -1218
  45. package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +1959 -1201
  46. package/dist/cjs/grid/tests/grid-editing.js +1391 -635
  47. package/dist/cjs/grid/tests/grid-filter-menu-angular.js +4092 -100
  48. package/dist/cjs/grid/tests/grid-filter-menu-blazor.js +4089 -101
  49. package/dist/cjs/grid/tests/grid-filter-row-angular.js +1327 -576
  50. package/dist/cjs/grid/tests/grid-filter-row-blazor.js +1313 -554
  51. package/dist/cjs/grid/tests/grid-filter-row.js +1496 -59
  52. package/dist/cjs/grid/tests/grid-grouping-actions.js +1450 -1246
  53. package/dist/cjs/grid/tests/grid-grouping-blazor.js +4162 -141
  54. package/dist/cjs/grid/tests/grid-grouping-detail-template.js +4297 -288
  55. package/dist/cjs/grid/tests/grid-grouping.js +2725 -1934
  56. package/dist/cjs/grid/tests/grid-hierarchy.js +4333 -43
  57. package/dist/cjs/grid/tests/grid-locked-columns-rtl.js +4365 -207
  58. package/dist/cjs/grid/tests/grid-locked-columns.js +4563 -424
  59. package/dist/cjs/grid/tests/grid-long-titles.js +4315 -124
  60. package/dist/cjs/grid/tests/grid-multicolumn-headers.js +4407 -135
  61. package/dist/cjs/grid/tests/grid-no-records.js +8627 -48
  62. package/dist/cjs/grid/tests/grid-pager.js +3120 -550
  63. package/dist/cjs/grid/tests/grid-react-basic.js +8500 -128
  64. package/dist/cjs/grid/tests/grid-react.js +4516 -190
  65. package/dist/cjs/grid/tests/grid-row-reordering.js +1711 -1499
  66. package/dist/cjs/grid/tests/grid-rows-resizing.js +2066 -1308
  67. package/dist/cjs/grid/tests/grid-rows-states.js +8369 -105
  68. package/dist/cjs/grid/tests/grid-rtl-angular.js +3987 -1430
  69. package/dist/cjs/grid/tests/grid-rtl.js +4028 -1469
  70. package/dist/cjs/grid/tests/grid-selection-aggregates.js +3318 -742
  71. package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +2038 -1537
  72. package/dist/cjs/grid/tests/grid-size-sm.js +1447 -946
  73. package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +4118 -1505
  74. package/dist/cjs/grid/tests/grid-sticky-columns.js +4445 -177
  75. package/dist/cjs/grid/tests/grid-sticky-multicolumn-headers.js +8571 -53
  76. package/dist/cjs/grid/tests/grid-toolbar.js +1896 -1349
  77. package/dist/cjs/grid/tests/grid-virtualization.js +8968 -450
  78. package/dist/cjs/grid/tests/grid.js +4055 -1496
  79. package/dist/cjs/index.js +2442 -2148
  80. package/dist/cjs/multiselect/templates/multiselect-prefix.js +838 -753
  81. package/dist/cjs/multiselect/templates/multiselect-suffix.js +838 -753
  82. package/dist/cjs/multiselect/tests/multiselect-adaptive.js +844 -759
  83. package/dist/cjs/multiselect/tests/multiselect-flat.js +868 -783
  84. package/dist/cjs/multiselect/tests/multiselect-grouping.js +844 -759
  85. package/dist/cjs/multiselect/tests/multiselect-opened.js +846 -761
  86. package/dist/cjs/multiselect/tests/multiselect-outline.js +868 -783
  87. package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +875 -790
  88. package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +847 -762
  89. package/dist/cjs/multiselect/tests/multiselect-solid.js +868 -783
  90. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +877 -792
  91. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +891 -806
  92. package/dist/cjs/table/table-th.js +2 -0
  93. package/dist/cjs/table/templates/data-table-normal.js +2 -0
  94. package/dist/cjs/table/templates/table-list-virtualization.js +2 -0
  95. package/dist/cjs/table/templates/table-list.js +2 -0
  96. package/dist/cjs/table/templates/table-native.js +2 -0
  97. package/dist/cjs/table/tests/table-data-sizes.js +2 -0
  98. package/dist/cjs/table/tests/table-list-jquery.js +2 -0
  99. package/dist/cjs/table/tests/table-list-sizes.js +2 -0
  100. package/dist/cjs/table/tests/table-list-virtual.js +2 -0
  101. package/dist/cjs/table/tests/table-native-sizes.js +2 -0
  102. package/dist/cjs/table/tests/table-native-states.js +2 -0
  103. package/dist/esm/action-sheet/tests/action-sheet-data-table.js +2 -0
  104. package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +863 -778
  105. package/dist/esm/combobox/tests/combobox-prefix-suffix.js +863 -778
  106. package/dist/esm/dropdowngrid/dropdowngrid.spec.js +2 -0
  107. package/dist/esm/dropdowngrid/templates/dropdowngrid-adaptive.js +2 -0
  108. package/dist/esm/dropdowngrid/templates/dropdowngrid-normal.js +2 -0
  109. package/dist/esm/dropdowngrid/templates/dropdowngrid-popup.js +2 -0
  110. package/dist/esm/dropdowngrid/templates/dropdowngrid-prefix.js +2 -0
  111. package/dist/esm/dropdowngrid/templates/dropdowngrid-suffix.js +2 -0
  112. package/dist/esm/dropdowngrid/tests/dropdowngrid-adaptive.js +2 -0
  113. package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +2 -0
  114. package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +2 -0
  115. package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +2 -0
  116. package/dist/esm/dropdowngrid/tests/dropdowngrid-prefix-suffix.js +2 -0
  117. package/dist/esm/dropdowngrid/tests/dropdowngrid-size-rounded.js +2 -0
  118. package/dist/esm/dropdowngrid/tests/dropdowngrid-solid.js +2 -0
  119. package/dist/esm/filemanager/templates/filemanager-grid-preview.js +2 -0
  120. package/dist/esm/filemanager/templates/filemanager-grid.js +2 -0
  121. package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +763 -678
  122. package/dist/esm/filemanager/tests/filemanager-gridview.js +2 -0
  123. package/dist/esm/filemanager/tests/filemanager-listview-preview.js +717 -632
  124. package/dist/esm/form/tests/form-field-dropdowns.js +862 -777
  125. package/dist/esm/grid/grid-container.spec.js +24 -0
  126. package/dist/esm/grid/grid-content.spec.js +24 -0
  127. package/dist/esm/grid/grid-footer-table.spec.js +261 -0
  128. package/dist/esm/grid/grid-footer.spec.js +24 -0
  129. package/dist/esm/grid/grid-grouping-header.spec.js +35 -0
  130. package/dist/esm/grid/grid-header-cell.spec.js +4430 -0
  131. package/dist/esm/grid/grid-header-table.spec.js +261 -0
  132. package/dist/esm/grid/grid-header.spec.js +24 -0
  133. package/dist/esm/grid/grid-pager.spec.js +6042 -0
  134. package/dist/esm/grid/grid-table.spec.js +261 -0
  135. package/dist/esm/grid/grid-toolbar.spec.js +7860 -0
  136. package/dist/esm/grid/grid.spec.js +98 -0
  137. package/dist/esm/grid/tests/grid-adaptive-pager.js +2740 -380
  138. package/dist/esm/grid/tests/grid-adaptive-search.js +1865 -1323
  139. package/dist/esm/grid/tests/grid-angular.js +3831 -1311
  140. package/dist/esm/grid/tests/grid-column-menu-angular.js +4095 -115
  141. package/dist/esm/grid/tests/grid-column-menu-blazor.js +4095 -116
  142. package/dist/esm/grid/tests/grid-column-reordering-actions.js +2314 -2110
  143. package/dist/esm/grid/tests/grid-column-reordering.js +2320 -2116
  144. package/dist/esm/grid/tests/grid-column-resizing-actions.js +2863 -2659
  145. package/dist/esm/grid/tests/grid-editing-custom-editor.js +1107 -869
  146. package/dist/esm/grid/tests/grid-editing-inline-angular.js +1905 -1151
  147. package/dist/esm/grid/tests/grid-editing-inline-blazor.js +1914 -1156
  148. package/dist/esm/grid/tests/grid-editing.js +1391 -635
  149. package/dist/esm/grid/tests/grid-filter-menu-angular.js +4092 -100
  150. package/dist/esm/grid/tests/grid-filter-menu-blazor.js +4089 -101
  151. package/dist/esm/grid/tests/grid-filter-row-angular.js +1327 -576
  152. package/dist/esm/grid/tests/grid-filter-row-blazor.js +1313 -554
  153. package/dist/esm/grid/tests/grid-filter-row.js +1496 -59
  154. package/dist/esm/grid/tests/grid-grouping-actions.js +2280 -2076
  155. package/dist/esm/grid/tests/grid-grouping-blazor.js +4162 -141
  156. package/dist/esm/grid/tests/grid-grouping-detail-template.js +4297 -288
  157. package/dist/esm/grid/tests/grid-grouping.js +2679 -1888
  158. package/dist/esm/grid/tests/grid-hierarchy.js +4333 -43
  159. package/dist/esm/grid/tests/grid-locked-columns-rtl.js +4366 -208
  160. package/dist/esm/grid/tests/grid-locked-columns.js +4564 -425
  161. package/dist/esm/grid/tests/grid-long-titles.js +4316 -125
  162. package/dist/esm/grid/tests/grid-multicolumn-headers.js +4407 -135
  163. package/dist/esm/grid/tests/grid-no-records.js +8632 -49
  164. package/dist/esm/grid/tests/grid-pager.js +3139 -569
  165. package/dist/esm/grid/tests/grid-react-basic.js +8506 -128
  166. package/dist/esm/grid/tests/grid-react.js +4516 -190
  167. package/dist/esm/grid/tests/grid-row-reordering.js +1385 -1173
  168. package/dist/esm/grid/tests/grid-rows-resizing.js +2145 -1387
  169. package/dist/esm/grid/tests/grid-rows-states.js +8375 -105
  170. package/dist/esm/grid/tests/grid-rtl-angular.js +3974 -1417
  171. package/dist/esm/grid/tests/grid-rtl.js +4022 -1463
  172. package/dist/esm/grid/tests/grid-selection-aggregates.js +3143 -567
  173. package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +2100 -1599
  174. package/dist/esm/grid/tests/grid-size-sm.js +1513 -1012
  175. package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +4113 -1500
  176. package/dist/esm/grid/tests/grid-sticky-columns.js +4445 -177
  177. package/dist/esm/grid/tests/grid-sticky-multicolumn-headers.js +8576 -54
  178. package/dist/esm/grid/tests/grid-toolbar.js +1906 -1359
  179. package/dist/esm/grid/tests/grid-virtualization.js +8975 -451
  180. package/dist/esm/grid/tests/grid.js +4052 -1493
  181. package/dist/esm/index.js +2442 -2148
  182. package/dist/esm/multiselect/templates/multiselect-prefix.js +838 -753
  183. package/dist/esm/multiselect/templates/multiselect-suffix.js +838 -753
  184. package/dist/esm/multiselect/tests/multiselect-adaptive.js +844 -759
  185. package/dist/esm/multiselect/tests/multiselect-flat.js +868 -783
  186. package/dist/esm/multiselect/tests/multiselect-grouping.js +844 -759
  187. package/dist/esm/multiselect/tests/multiselect-opened.js +846 -761
  188. package/dist/esm/multiselect/tests/multiselect-outline.js +868 -783
  189. package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +875 -790
  190. package/dist/esm/multiselect/tests/multiselect-size-rounded.js +847 -762
  191. package/dist/esm/multiselect/tests/multiselect-solid.js +868 -783
  192. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +877 -792
  193. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +891 -806
  194. package/dist/esm/table/table-th.js +2 -0
  195. package/dist/esm/table/templates/data-table-normal.js +2 -0
  196. package/dist/esm/table/templates/table-list-virtualization.js +2 -0
  197. package/dist/esm/table/templates/table-list.js +2 -0
  198. package/dist/esm/table/templates/table-native.js +2 -0
  199. package/dist/esm/table/tests/table-data-sizes.js +2 -0
  200. package/dist/esm/table/tests/table-list-jquery.js +2 -0
  201. package/dist/esm/table/tests/table-list-sizes.js +2 -0
  202. package/dist/esm/table/tests/table-list-virtual.js +2 -0
  203. package/dist/esm/table/tests/table-native-sizes.js +2 -0
  204. package/dist/esm/table/tests/table-native-states.js +2 -0
  205. package/dist/types/grid/grid-container.spec.d.ts +1 -0
  206. package/dist/types/grid/grid-content.spec.d.ts +1 -0
  207. package/dist/types/grid/grid-footer-table.spec.d.ts +3 -0
  208. package/dist/types/grid/grid-footer.spec.d.ts +1 -0
  209. package/dist/types/grid/grid-grouping-header.spec.d.ts +5 -0
  210. package/dist/types/grid/grid-header-cell.spec.d.ts +17 -0
  211. package/dist/types/grid/grid-header-table.spec.d.ts +3 -0
  212. package/dist/types/grid/grid-header.spec.d.ts +1 -0
  213. package/dist/types/grid/grid-pager.spec.d.ts +2 -0
  214. package/dist/types/grid/grid-table.spec.d.ts +3 -0
  215. package/dist/types/grid/grid-toolbar.spec.d.ts +2 -0
  216. package/dist/types/grid/grid.spec.d.ts +28 -0
  217. package/dist/types/grid/index.d.ts +12 -0
  218. package/dist/types/index.d.ts +1 -0
  219. package/dist/types/table/table-th.d.ts +1 -0
  220. package/package.json +2 -2
  221. package/src/grid/grid-container.spec.tsx +17 -0
  222. package/src/grid/grid-content.spec.tsx +16 -0
  223. package/src/grid/grid-footer-table.spec.tsx +20 -0
  224. package/src/grid/grid-footer.spec.tsx +17 -0
  225. package/src/grid/grid-grouping-header.spec.tsx +33 -0
  226. package/src/grid/grid-header-cell.spec.tsx +104 -0
  227. package/src/grid/grid-header-table.spec.tsx +20 -0
  228. package/src/grid/grid-header.spec.tsx +19 -0
  229. package/src/grid/grid-pager.spec.tsx +19 -0
  230. package/src/grid/grid-table.spec.tsx +20 -0
  231. package/src/grid/grid-toolbar.spec.tsx +19 -0
  232. package/src/grid/grid.spec.tsx +67 -0
  233. package/src/grid/index.ts +12 -0
  234. package/src/grid/tests/grid-adaptive-pager.tsx +9 -7
  235. package/src/grid/tests/grid-adaptive-search.tsx +11 -9
  236. package/src/grid/tests/grid-angular.tsx +154 -237
  237. package/src/grid/tests/grid-column-menu-angular.tsx +150 -181
  238. package/src/grid/tests/grid-column-menu-blazor.tsx +121 -189
  239. package/src/grid/tests/grid-column-reordering-actions.tsx +60 -97
  240. package/src/grid/tests/grid-column-reordering.tsx +60 -99
  241. package/src/grid/tests/grid-column-resizing-actions.tsx +60 -97
  242. package/src/grid/tests/grid-editing-custom-editor.tsx +168 -201
  243. package/src/grid/tests/grid-editing-inline-angular.tsx +132 -140
  244. package/src/grid/tests/grid-editing-inline-blazor.tsx +97 -118
  245. package/src/grid/tests/grid-editing.tsx +133 -163
  246. package/src/grid/tests/grid-filter-menu-angular.tsx +171 -174
  247. package/src/grid/tests/grid-filter-menu-blazor.tsx +114 -171
  248. package/src/grid/tests/grid-filter-row-angular.tsx +171 -182
  249. package/src/grid/tests/grid-filter-row-blazor.tsx +116 -153
  250. package/src/grid/tests/grid-filter-row.tsx +110 -109
  251. package/src/grid/tests/grid-grouping-actions.tsx +60 -98
  252. package/src/grid/tests/grid-grouping-blazor.tsx +162 -241
  253. package/src/grid/tests/grid-grouping-detail-template.tsx +383 -375
  254. package/src/grid/tests/grid-grouping.tsx +195 -293
  255. package/src/grid/tests/grid-hierarchy.tsx +82 -93
  256. package/src/grid/tests/grid-locked-columns-rtl.tsx +224 -312
  257. package/src/grid/tests/grid-locked-columns.tsx +414 -572
  258. package/src/grid/tests/grid-long-titles.tsx +122 -210
  259. package/src/grid/tests/grid-multicolumn-headers.tsx +114 -208
  260. package/src/grid/tests/grid-no-records.tsx +60 -82
  261. package/src/grid/tests/grid-pager.tsx +144 -197
  262. package/src/grid/tests/grid-react-basic.tsx +138 -172
  263. package/src/grid/tests/grid-react.tsx +224 -235
  264. package/src/grid/tests/grid-row-reordering.tsx +69 -104
  265. package/src/grid/tests/grid-rows-resizing.tsx +130 -159
  266. package/src/grid/tests/grid-rows-states.tsx +106 -104
  267. package/src/grid/tests/grid-rtl-angular.tsx +114 -168
  268. package/src/grid/tests/grid-rtl.tsx +104 -149
  269. package/src/grid/tests/grid-selection-aggregates.tsx +96 -115
  270. package/src/grid/tests/grid-size-sm-comp-sm.tsx +239 -323
  271. package/src/grid/tests/grid-size-sm.tsx +239 -326
  272. package/src/grid/tests/grid-sticky-columns-rtl.tsx +112 -140
  273. package/src/grid/tests/grid-sticky-columns.tsx +208 -312
  274. package/src/grid/tests/grid-sticky-multicolumn-headers.tsx +52 -159
  275. package/src/grid/tests/grid-toolbar.tsx +43 -43
  276. package/src/grid/tests/grid-virtualization.tsx +614 -758
  277. package/src/grid/tests/grid.tsx +141 -196
  278. package/src/index.ts +1 -1
  279. package/src/table/table-th.tsx +3 -0
@@ -59,6 +59,22 @@ var optionClassNames = (componentClassName, props) => {
59
59
  }
60
60
  );
61
61
  };
62
+ var stateClassNames = (_componentClassName, props) => {
63
+ return classNames({
64
+ "k-valid": props.valid,
65
+ "k-invalid": props.invalid,
66
+ "k-hover": props.hover,
67
+ "k-focus": props.focus,
68
+ "k-checked": props.checked,
69
+ "k-active": props.active,
70
+ "k-selected": props.selected,
71
+ "k-disabled": props.disabled,
72
+ "k-indeterminate": props.indeterminate && !props.checked,
73
+ "k-loading": props.loading,
74
+ "k-empty": props.empty,
75
+ "k-readonly": props.readonly
76
+ });
77
+ };
62
78
 
63
79
  // src/misc/theme.ts
64
80
  var Size = {
@@ -70,6 +86,19 @@ var Size = {
70
86
  "xxlarge": "xxlarge",
71
87
  "xxxlarge": "xxxlarge"
72
88
  };
89
+ var Roundness = {
90
+ "small": "small",
91
+ "medium": "medium",
92
+ "large": "large",
93
+ "full": "full"
94
+ };
95
+ var FillMode = {
96
+ "solid": "solid",
97
+ "flat": "flat",
98
+ "outline": "outline",
99
+ "clear": "clear",
100
+ "link": "link"
101
+ };
73
102
  var ThemeColor = {
74
103
  "inherit": "inherit",
75
104
  "base": "base",
@@ -84,6 +113,22 @@ var ThemeColor = {
84
113
  "light": "light",
85
114
  "inverse": "inverse"
86
115
  };
116
+ var States = {
117
+ "open": "open",
118
+ "hover": "hover",
119
+ "focus": "focus",
120
+ "active": "active",
121
+ "selected": "selected",
122
+ "disabled": "disabled",
123
+ "valid": "valid",
124
+ "invalid": "invalid",
125
+ "loading": "loading",
126
+ "required": "required",
127
+ "empty": "empty",
128
+ "indeterminate": "indeterminate",
129
+ "checked": "checked",
130
+ "readonly": "readonly"
131
+ };
87
132
 
88
133
  // src/icon/font-icon.spec.tsx
89
134
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -4318,220 +4363,4501 @@ Icon.states = states3;
4318
4363
  Icon.options = options3;
4319
4364
  Icon.defaultProps = defaultProps3;
4320
4365
 
4321
- // src/grid/tests/grid-react.tsx
4366
+ // src/grid/grid.spec.tsx
4322
4367
  var import_jsx_runtime4 = require("react/jsx-runtime");
4323
- var grid_react_default = () => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: [
4324
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: "Interaction States" }),
4325
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "k-grid k-grid-md", style: { height: "500px" }, children: [
4326
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("table", { className: "k-table k-table-md k-grid-header-table", style: { width: "1180px" }, children: [
4327
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("colgroup", { children: [
4328
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "60px" }),
4329
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "90px" }),
4330
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "300px" }),
4331
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4332
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4333
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4334
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4335
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "250px" })
4368
+ var GRID_CLASSNAME = "k-grid";
4369
+ var states4 = [];
4370
+ var options4 = {
4371
+ size: [Size.small, Size.medium, Size.large]
4372
+ };
4373
+ var defaultProps4 = {
4374
+ size: Size.medium,
4375
+ pagerPosition: "bottom"
4376
+ };
4377
+ var Grid = (props) => {
4378
+ const {
4379
+ size = defaultProps4.size,
4380
+ toolbar,
4381
+ pager,
4382
+ pagerPosition,
4383
+ groupingHeader,
4384
+ _renderAriaRoot,
4385
+ ...other
4386
+ } = props;
4387
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
4388
+ "div",
4389
+ {
4390
+ ...other,
4391
+ className: classNames(
4392
+ props.className,
4393
+ GRID_CLASSNAME,
4394
+ optionClassNames(GRID_CLASSNAME, { size })
4395
+ ),
4396
+ children: [
4397
+ toolbar,
4398
+ pagerPosition === "top" && pager,
4399
+ groupingHeader,
4400
+ props.children && _renderAriaRoot ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
4401
+ pagerPosition === "bottom" && pager
4402
+ ]
4403
+ }
4404
+ );
4405
+ };
4406
+ Grid.states = states4;
4407
+ Grid.options = options4;
4408
+ Grid.className = GRID_CLASSNAME;
4409
+ Grid.defaultProps = defaultProps4;
4410
+
4411
+ // src/grid/grid-header.spec.tsx
4412
+ var import_jsx_runtime5 = require("react/jsx-runtime");
4413
+ var className = `k-grid-header`;
4414
+ var GridHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
4415
+ "div",
4416
+ {
4417
+ ...props,
4418
+ className: classNames(
4419
+ props.className,
4420
+ className
4421
+ ),
4422
+ children: props.children
4423
+ }
4424
+ );
4425
+
4426
+ // src/grid/grid-grouping-header.spec.tsx
4427
+ var import_jsx_runtime6 = require("react/jsx-runtime");
4428
+
4429
+ // src/table/data-table.spec.tsx
4430
+ var import_jsx_runtime7 = require("react/jsx-runtime");
4431
+ var DATATABLE_CLASSNAME = `k-data-table`;
4432
+ var states5 = [];
4433
+ var options5 = {
4434
+ size: [Size.small, Size.medium, Size.large]
4435
+ };
4436
+ var defaultProps5 = {
4437
+ size: Size.medium
4438
+ };
4439
+ var DataTable = (props) => {
4440
+ const {
4441
+ size = defaultProps5.size,
4442
+ ...other
4443
+ } = props;
4444
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
4445
+ "div",
4446
+ {
4447
+ ...other,
4448
+ className: classNames(
4449
+ props.className,
4450
+ DATATABLE_CLASSNAME,
4451
+ optionClassNames("k-table", {
4452
+ size
4453
+ })
4454
+ ),
4455
+ children: props.children
4456
+ }
4457
+ );
4458
+ };
4459
+ DataTable.states = states5;
4460
+ DataTable.options = options5;
4461
+ DataTable.className = DATATABLE_CLASSNAME;
4462
+ DataTable.defaultProps = defaultProps5;
4463
+
4464
+ // src/table/table-header.tsx
4465
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4466
+
4467
+ // src/table/table-body.tsx
4468
+ var import_jsx_runtime9 = require("react/jsx-runtime");
4469
+
4470
+ // src/table/table-footer.tsx
4471
+ var import_jsx_runtime10 = require("react/jsx-runtime");
4472
+
4473
+ // src/table/table.spec.tsx
4474
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4475
+ var TABLE_CLASSNAME = `k-table`;
4476
+ var states6 = [];
4477
+ var options6 = {
4478
+ size: [Size.small, Size.medium, Size.large]
4479
+ };
4480
+ var defaultProps6 = {};
4481
+ var Table = (props) => {
4482
+ const {
4483
+ size,
4484
+ ...other
4485
+ } = props;
4486
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4487
+ "table",
4488
+ {
4489
+ ...other,
4490
+ className: classNames(
4491
+ props.className,
4492
+ TABLE_CLASSNAME,
4493
+ optionClassNames(TABLE_CLASSNAME, {
4494
+ size
4495
+ })
4496
+ ),
4497
+ children: props.children
4498
+ }
4499
+ );
4500
+ };
4501
+ Table.states = states6;
4502
+ Table.options = options6;
4503
+ Table.className = TABLE_CLASSNAME;
4504
+ Table.defaultProps = defaultProps6;
4505
+
4506
+ // src/table/table-list.spec.tsx
4507
+ var import_jsx_runtime12 = require("react/jsx-runtime");
4508
+ var TABLELIST_CLASSNAME = `k-table-list`;
4509
+ var states7 = [];
4510
+ var options7 = {
4511
+ size: [Size.small, Size.medium, Size.large]
4512
+ };
4513
+ var defaultProps7 = {};
4514
+ var TableList = (props) => {
4515
+ const {
4516
+ size,
4517
+ virtualization,
4518
+ ...other
4519
+ } = props;
4520
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4521
+ "ul",
4522
+ {
4523
+ ...other,
4524
+ className: classNames(
4525
+ props.className,
4526
+ "k-table",
4527
+ TABLELIST_CLASSNAME,
4528
+ optionClassNames(TABLELIST_CLASSNAME, {
4529
+ size
4530
+ }),
4531
+ {
4532
+ "k-virtual-table": virtualization
4533
+ }
4534
+ ),
4535
+ children: props.children
4536
+ }
4537
+ );
4538
+ };
4539
+ TableList.states = states7;
4540
+ TableList.options = options7;
4541
+ TableList.className = TABLELIST_CLASSNAME;
4542
+ TableList.defaultProps = defaultProps7;
4543
+
4544
+ // src/table/table-thead.tsx
4545
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4546
+ var className2 = `k-table-thead`;
4547
+ var TableThead = (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4548
+ "thead",
4549
+ {
4550
+ className: classNames(
4551
+ props.className,
4552
+ className2
4553
+ ),
4554
+ children: props.children
4555
+ }
4556
+ );
4557
+
4558
+ // src/table/table-tbody.tsx
4559
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4560
+ var className3 = `k-table-tbody`;
4561
+ var TableTbody = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
4562
+ "tbody",
4563
+ {
4564
+ className: classNames(
4565
+ props.className,
4566
+ className3
4567
+ ),
4568
+ children: props.children
4569
+ }
4570
+ );
4571
+
4572
+ // src/table/table-tfoot.tsx
4573
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4574
+ var className4 = `k-table-tfoot`;
4575
+ var TableTfoot = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4576
+ "tfoot",
4577
+ {
4578
+ className: classNames(
4579
+ props.className,
4580
+ className4
4581
+ ),
4582
+ children: props.children
4583
+ }
4584
+ );
4585
+
4586
+ // src/table/table-row.tsx
4587
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4588
+ var TABLEROW_CLASSNAME = `k-table-row`;
4589
+ var states8 = [
4590
+ States.hover,
4591
+ States.focus,
4592
+ States.selected,
4593
+ States.disabled
4594
+ ];
4595
+ var TableRow = (props) => {
4596
+ const {
4597
+ hover,
4598
+ focus,
4599
+ selected,
4600
+ disabled,
4601
+ alt,
4602
+ ...other
4603
+ } = props;
4604
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4605
+ "tr",
4606
+ {
4607
+ ...other,
4608
+ className: classNames(
4609
+ props.className,
4610
+ TABLEROW_CLASSNAME,
4611
+ {
4612
+ ["k-table-alt-row"]: alt
4613
+ },
4614
+ stateClassNames(TABLEROW_CLASSNAME, {
4615
+ hover,
4616
+ focus,
4617
+ disabled,
4618
+ selected
4619
+ })
4620
+ ),
4621
+ children: props.children
4622
+ }
4623
+ );
4624
+ };
4625
+
4626
+ // src/table/table-list-row.tsx
4627
+ var import_jsx_runtime17 = require("react/jsx-runtime");
4628
+ var states9 = [
4629
+ States.hover,
4630
+ States.focus,
4631
+ States.selected,
4632
+ States.disabled
4633
+ ];
4634
+
4635
+ // src/table/table-th.tsx
4636
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4637
+ var className5 = `k-table-th`;
4638
+ var TableTh = (props) => {
4639
+ const {
4640
+ text,
4641
+ colspan,
4642
+ rowspan,
4643
+ ...other
4644
+ } = props;
4645
+ const textOrChildren = text ? text : props.children;
4646
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4647
+ "th",
4648
+ {
4649
+ colSpan: colspan,
4650
+ rowSpan: rowspan,
4651
+ ...other,
4652
+ className: classNames(
4653
+ props.className,
4654
+ className5
4655
+ ),
4656
+ children: textOrChildren
4657
+ }
4658
+ );
4659
+ };
4660
+
4661
+ // src/table/table-list-th.tsx
4662
+ var import_jsx_runtime19 = require("react/jsx-runtime");
4663
+
4664
+ // src/table/table-td.tsx
4665
+ var import_jsx_runtime20 = require("react/jsx-runtime");
4666
+ var className6 = `k-table-td`;
4667
+ var TableTd = (props) => {
4668
+ const {
4669
+ text,
4670
+ colspan,
4671
+ ...other
4672
+ } = props;
4673
+ const textOrChildren = text ? text : props.children;
4674
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4675
+ "td",
4676
+ {
4677
+ colSpan: colspan,
4678
+ ...other,
4679
+ className: classNames(
4680
+ props.className,
4681
+ className6
4682
+ ),
4683
+ children: textOrChildren
4684
+ }
4685
+ );
4686
+ };
4687
+
4688
+ // src/table/table-list-td.tsx
4689
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4690
+
4691
+ // src/table/table-group-header.tsx
4692
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4693
+
4694
+ // src/table/table-group-sticky-header.tsx
4695
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4696
+
4697
+ // src/table/table-group-row.tsx
4698
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4699
+
4700
+ // src/table/table-list-group-row.tsx
4701
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4702
+
4703
+ // src/table/templates/table-list.tsx
4704
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4705
+
4706
+ // src/table/templates/table-list-virtualization.tsx
4707
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4708
+
4709
+ // src/table/templates/data-table-normal.tsx
4710
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4711
+
4712
+ // src/table/templates/table-native.tsx
4713
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4714
+
4715
+ // src/grid/grid-header-table.spec.tsx
4716
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4717
+ var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
4718
+ var GridHeaderTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4719
+ Table,
4720
+ {
4721
+ size: "medium",
4722
+ ...props,
4723
+ className: classNames(
4724
+ props.className,
4725
+ GRIDHEADERTABLE_CLASSNAME
4726
+ ),
4727
+ children: props.children
4728
+ }
4729
+ );
4730
+
4731
+ // src/grid/grid-header-cell.spec.tsx
4732
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4733
+ var className7 = `k-header`;
4734
+ var states10 = [
4735
+ States.hover,
4736
+ States.focus,
4737
+ States.active
4738
+ ];
4739
+ var defaultProps8 = {
4740
+ sortIcon: "sort-asc-small"
4741
+ };
4742
+ var GridHeaderCell = (props) => {
4743
+ const {
4744
+ menu,
4745
+ sortable,
4746
+ sticky,
4747
+ resizable,
4748
+ columnTitle,
4749
+ hover,
4750
+ focus,
4751
+ active,
4752
+ sortIcon = defaultProps8.sortIcon,
4753
+ sortOrder,
4754
+ ...others
4755
+ } = props;
4756
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
4757
+ TableTh,
4758
+ {
4759
+ ...others,
4760
+ className: classNames(
4761
+ props.className,
4762
+ className7,
4763
+ {
4764
+ [`k-filterable`]: menu === "filter",
4765
+ [`k-sorted`]: sortable,
4766
+ [`k-grid-header-sticky`]: sticky,
4767
+ [`k-touch-action-none`]: resizable
4768
+ },
4769
+ stateClassNames(className7, {
4770
+ hover,
4771
+ focus,
4772
+ active
4773
+ })
4774
+ ),
4775
+ children: [
4776
+ columnTitle && /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { className: "k-cell-inner", children: [
4777
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { className: "k-link", children: [
4778
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "k-column-title", children: columnTitle }),
4779
+ sortable && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: sortIcon }) }),
4780
+ sortOrder && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "k-sort-order", children: sortOrder })
4781
+ ] }),
4782
+ menu && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("a", { href: "#", className: classNames(
4783
+ "k-grid-header-menu",
4784
+ {
4785
+ [`k-active`]: active,
4786
+ [`k-grid-filter-menu`]: menu === "filter",
4787
+ [`k-grid-column-menu`]: menu === "column"
4788
+ }
4789
+ ), children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: menu === "filter" ? "filter" : "more-vertical" }) })
4790
+ ] }),
4791
+ props.children,
4792
+ resizable && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "k-column-resizer k-touch-action-none" })
4793
+ ]
4794
+ }
4795
+ );
4796
+ };
4797
+
4798
+ // src/grid/grid-container.spec.tsx
4799
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4800
+ var className8 = `k-grid-container`;
4801
+ var GridContainer = (props) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4802
+ "div",
4803
+ {
4804
+ ...props,
4805
+ className: classNames(
4806
+ props.className,
4807
+ className8
4808
+ ),
4809
+ children: props.children
4810
+ }
4811
+ );
4812
+
4813
+ // src/grid/grid-content.spec.tsx
4814
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4815
+ var className9 = `k-grid-content`;
4816
+ var GridContent = (props) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4817
+ "div",
4818
+ {
4819
+ ...props,
4820
+ className: classNames(
4821
+ props.className,
4822
+ className9
4823
+ ),
4824
+ children: props.children
4825
+ }
4826
+ );
4827
+
4828
+ // src/grid/grid-table.spec.tsx
4829
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4830
+ var GRIDTABLE_CLASSNAME = `k-grid-table`;
4831
+ var GridTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4832
+ Table,
4833
+ {
4834
+ size: "medium",
4835
+ ...props,
4836
+ className: classNames(
4837
+ props.className,
4838
+ GRIDTABLE_CLASSNAME
4839
+ ),
4840
+ children: props.children
4841
+ }
4842
+ );
4843
+
4844
+ // src/grid/grid-footer.spec.tsx
4845
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4846
+ var className10 = `k-grid-footer`;
4847
+ var GridFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4848
+ "div",
4849
+ {
4850
+ ...props,
4851
+ className: classNames(
4852
+ props.className,
4853
+ className10
4854
+ ),
4855
+ children: props.children
4856
+ }
4857
+ );
4858
+
4859
+ // src/grid/grid-footer-table.spec.tsx
4860
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4861
+ var GRIDFOOTERTABLE_CLASSNAME = `k-grid-footer-table`;
4862
+ var GridFooterTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4863
+ Table,
4864
+ {
4865
+ size: "medium",
4866
+ ...props,
4867
+ className: classNames(
4868
+ props.className,
4869
+ GRIDFOOTERTABLE_CLASSNAME
4870
+ ),
4871
+ children: props.children
4872
+ }
4873
+ );
4874
+
4875
+ // src/button/button.spec.tsx
4876
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4877
+ var BUTTON_CLASSNAME = `k-button`;
4878
+ var states11 = [
4879
+ States.hover,
4880
+ States.focus,
4881
+ States.active,
4882
+ States.selected,
4883
+ States.disabled
4884
+ ];
4885
+ var options8 = {
4886
+ size: [Size.small, Size.medium, Size.large],
4887
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4888
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4889
+ themeColor: [
4890
+ ThemeColor.base,
4891
+ ThemeColor.primary,
4892
+ ThemeColor.secondary,
4893
+ ThemeColor.tertiary,
4894
+ ThemeColor.success,
4895
+ ThemeColor.warning,
4896
+ ThemeColor.error,
4897
+ ThemeColor.info,
4898
+ ThemeColor.light,
4899
+ ThemeColor.dark,
4900
+ ThemeColor.inverse
4901
+ ]
4902
+ };
4903
+ var defaultProps9 = {
4904
+ size: Size.medium,
4905
+ rounded: Roundness.medium,
4906
+ fillMode: FillMode.solid,
4907
+ themeColor: ThemeColor.base,
4908
+ showArrow: false,
4909
+ arrowIconName: "caret-alt-down"
4910
+ };
4911
+ var Button = (props) => {
4912
+ const {
4913
+ size = defaultProps9.size,
4914
+ rounded = defaultProps9.rounded,
4915
+ fillMode = defaultProps9.fillMode,
4916
+ themeColor = defaultProps9.themeColor,
4917
+ hover,
4918
+ focus,
4919
+ active,
4920
+ selected,
4921
+ disabled,
4922
+ icon,
4923
+ text,
4924
+ iconClassName,
4925
+ showArrow = defaultProps9.showArrow,
4926
+ arrowIconName = defaultProps9.arrowIconName,
4927
+ ...other
4928
+ } = props;
4929
+ const hasIcon = icon !== void 0;
4930
+ const hasChildren = props.children !== void 0;
4931
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
4932
+ "button",
4933
+ {
4934
+ ...other,
4935
+ className: classNames(
4936
+ props.className,
4937
+ BUTTON_CLASSNAME,
4938
+ optionClassNames(BUTTON_CLASSNAME, {
4939
+ size,
4940
+ rounded,
4941
+ fillMode,
4942
+ themeColor
4943
+ }),
4944
+ stateClassNames(BUTTON_CLASSNAME, {
4945
+ hover,
4946
+ focus,
4947
+ active,
4948
+ disabled,
4949
+ selected
4950
+ }),
4951
+ {
4952
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
4953
+ }
4954
+ ),
4955
+ children: [
4956
+ icon && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4957
+ Icon,
4958
+ {
4959
+ className: classNames(iconClassName, "k-button-icon"),
4960
+ icon
4961
+ }
4962
+ ),
4963
+ text ? /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
4964
+ text && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-button-text", children: text }),
4965
+ props.children
4966
+ ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-button-text", children: props.children }),
4967
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { icon: arrowIconName }) })
4968
+ ]
4969
+ }
4970
+ );
4971
+ };
4972
+ Button.states = states11;
4973
+ Button.options = options8;
4974
+ Button.className = BUTTON_CLASSNAME;
4975
+ Button.defaultProps = defaultProps9;
4976
+
4977
+ // src/button/templates/icon-button.tsx
4978
+ var import_jsx_runtime38 = require("react/jsx-runtime");
4979
+
4980
+ // src/button/templates/icon-text-button.tsx
4981
+ var import_jsx_runtime39 = require("react/jsx-runtime");
4982
+
4983
+ // src/button/templates/text-button.tsx
4984
+ var import_jsx_runtime40 = require("react/jsx-runtime");
4985
+
4986
+ // src/input/input.spec.tsx
4987
+ var import_jsx_runtime41 = require("react/jsx-runtime");
4988
+ var INPUT_CLASSNAME = `k-input`;
4989
+ var states12 = [
4990
+ States.hover,
4991
+ States.focus,
4992
+ States.valid,
4993
+ States.invalid,
4994
+ States.required,
4995
+ States.disabled,
4996
+ States.loading,
4997
+ States.readonly
4998
+ ];
4999
+ var options9 = {
5000
+ size: [Size.small, Size.medium, Size.large],
5001
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5002
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5003
+ };
5004
+ var defaultProps10 = {
5005
+ size: Size.medium,
5006
+ rounded: Size.medium,
5007
+ fillMode: FillMode.solid
5008
+ };
5009
+ var Input = (props) => {
5010
+ const {
5011
+ hover,
5012
+ focus,
5013
+ disabled,
5014
+ invalid,
5015
+ valid,
5016
+ loading,
5017
+ readonly,
5018
+ size = defaultProps10.size,
5019
+ rounded = defaultProps10.rounded,
5020
+ fillMode = defaultProps10.fillMode,
5021
+ ...other
5022
+ } = props;
5023
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5024
+ "span",
5025
+ {
5026
+ ...other,
5027
+ className: classNames(
5028
+ props.className,
5029
+ INPUT_CLASSNAME,
5030
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
5031
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
5032
+ )
5033
+ }
5034
+ );
5035
+ };
5036
+ Input.states = states12;
5037
+ Input.options = options9;
5038
+ Input.className = INPUT_CLASSNAME;
5039
+ Input.defaultProps = defaultProps10;
5040
+
5041
+ // src/input/picker.spec.tsx
5042
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5043
+ var PICKER_CLASSNAME = `k-picker`;
5044
+ var pickerStates = [
5045
+ States.hover,
5046
+ States.focus,
5047
+ States.valid,
5048
+ States.invalid,
5049
+ States.required,
5050
+ States.disabled,
5051
+ States.loading,
5052
+ States.readonly
5053
+ ];
5054
+ var pickerOptions = {
5055
+ size: [Size.small, Size.medium, Size.large],
5056
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5057
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5058
+ };
5059
+ var defaultProps11 = {
5060
+ size: Size.medium,
5061
+ rounded: Roundness.medium,
5062
+ fillMode: FillMode.solid
5063
+ };
5064
+ var Picker = (props) => {
5065
+ const {
5066
+ hover,
5067
+ focus,
5068
+ disabled,
5069
+ invalid,
5070
+ valid,
5071
+ loading,
5072
+ readonly,
5073
+ size = defaultProps11.size,
5074
+ rounded = defaultProps11.rounded,
5075
+ fillMode = defaultProps11.fillMode,
5076
+ ...other
5077
+ } = props;
5078
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5079
+ "span",
5080
+ {
5081
+ ...other,
5082
+ className: classNames(
5083
+ props.className,
5084
+ PICKER_CLASSNAME,
5085
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
5086
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
5087
+ ),
5088
+ children: props.children
5089
+ }
5090
+ );
5091
+ };
5092
+ Picker.states = pickerStates;
5093
+ Picker.options = pickerOptions;
5094
+ Picker.className = PICKER_CLASSNAME;
5095
+ Picker.defaultProps = defaultProps11;
5096
+
5097
+ // src/input/input-clear-value.tsx
5098
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5099
+ var className11 = `k-clear-value`;
5100
+ var states13 = [
5101
+ States.disabled,
5102
+ States.loading,
5103
+ States.readonly
5104
+ ];
5105
+ var options10 = {};
5106
+ var InputClearValue = (props) => {
5107
+ const {
5108
+ disabled,
5109
+ loading,
5110
+ readonly,
5111
+ value
5112
+ } = props;
5113
+ if (disabled || readonly || loading || !value) {
5114
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, {});
5115
+ }
5116
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: classNames(props.className, className11), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: "x" }) });
5117
+ };
5118
+ InputClearValue.states = states13;
5119
+ InputClearValue.options = options10;
5120
+ InputClearValue.className = className11;
5121
+
5122
+ // src/input/input-inner-input.tsx
5123
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5124
+ var className12 = `k-input-inner`;
5125
+ var states14 = [];
5126
+ var options11 = {};
5127
+ var defaultProps12 = {
5128
+ type: "text",
5129
+ autocomplete: "off",
5130
+ value: "",
5131
+ placeholder: ""
5132
+ };
5133
+ var InputInnerInput = (props) => {
5134
+ const {
5135
+ value = defaultProps12.value,
5136
+ type = defaultProps12.type,
5137
+ placeholder = defaultProps12.placeholder,
5138
+ autocomplete = defaultProps12.autocomplete,
5139
+ ...other
5140
+ } = props;
5141
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5142
+ "input",
5143
+ {
5144
+ ...other,
5145
+ type,
5146
+ className: classNames(props.className, className12, optionClassNames(className12, props)),
5147
+ placeholder,
5148
+ autoComplete: autocomplete,
5149
+ defaultValue: value
5150
+ }
5151
+ );
5152
+ };
5153
+ InputInnerInput.states = states14;
5154
+ InputInnerInput.options = options11;
5155
+ InputInnerInput.className = className12;
5156
+
5157
+ // src/input/input-inner-span.tsx
5158
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5159
+ var className13 = `k-input-inner`;
5160
+ var states15 = [];
5161
+ var options12 = {};
5162
+ var InputInnerSpan = (props) => {
5163
+ const {
5164
+ value,
5165
+ placeholder,
5166
+ showValue,
5167
+ valueIcon,
5168
+ valueIconName,
5169
+ ...other
5170
+ } = props;
5171
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
5172
+ "span",
5173
+ {
5174
+ ...other,
5175
+ className: classNames(props.className, className13, optionClassNames(className13, props)),
5176
+ children: [
5177
+ valueIcon,
5178
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
5179
+ showValue && !value && placeholder,
5180
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "k-input-value-text", children: value })
5181
+ ]
5182
+ }
5183
+ );
5184
+ };
5185
+ InputInnerSpan.states = states15;
5186
+ InputInnerSpan.options = options12;
5187
+ InputInnerSpan.className = className13;
5188
+
5189
+ // src/input/input-inner-textarea.tsx
5190
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5191
+ var defaultProps13 = {
5192
+ value: "",
5193
+ placeholder: ""
5194
+ };
5195
+ var className14 = `k-input-inner`;
5196
+ var states16 = [];
5197
+ var options13 = {};
5198
+ var InputInnerTextarea = (props) => {
5199
+ const {
5200
+ value = defaultProps13.value,
5201
+ placeholder = defaultProps13.placeholder,
5202
+ rows,
5203
+ ...other
5204
+ } = props;
5205
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5206
+ "textarea",
5207
+ {
5208
+ ...other,
5209
+ className: classNames(props.className, className14, optionClassNames(className14, props)),
5210
+ placeholder,
5211
+ rows,
5212
+ children: value
5213
+ }
5214
+ );
5215
+ };
5216
+ InputInnerTextarea.states = states16;
5217
+ InputInnerTextarea.options = options13;
5218
+ InputInnerTextarea.className = className14;
5219
+
5220
+ // src/input/input-loading-icon.tsx
5221
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5222
+ var className15 = `k-input-loading-icon`;
5223
+ var states17 = [
5224
+ States.disabled,
5225
+ States.loading
5226
+ ];
5227
+ var InputLoadingIcon = (props) => {
5228
+ const {
5229
+ disabled,
5230
+ loading
5231
+ } = props;
5232
+ if (disabled || !loading) {
5233
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, {});
5234
+ }
5235
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: classNames(props.className, className15, "k-icon k-i-loading") });
5236
+ };
5237
+
5238
+ // src/input/input-validation-icon.tsx
5239
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5240
+ var className16 = `k-input-validation-icon`;
5241
+ var states18 = [
5242
+ States.valid,
5243
+ States.invalid,
5244
+ States.disabled,
5245
+ States.loading
5246
+ ];
5247
+ var options14 = {};
5248
+ var InputValidationIcon = (props) => {
5249
+ const {
5250
+ valid,
5251
+ invalid,
5252
+ disabled,
5253
+ loading
5254
+ } = props;
5255
+ const iconName = invalid ? "warning-circle" : "check-circle";
5256
+ const renderValidationIcon = Boolean(valid || invalid);
5257
+ if (disabled || loading || !renderValidationIcon) {
5258
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {});
5259
+ }
5260
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { className: classNames(className16), icon: iconName });
5261
+ };
5262
+ InputValidationIcon.states = states18;
5263
+ InputValidationIcon.options = options14;
5264
+ InputValidationIcon.className = className16;
5265
+
5266
+ // src/input/input-prefix.tsx
5267
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5268
+ var className17 = `k-input-prefix`;
5269
+ var defaultProps14 = {
5270
+ direction: "horizontal"
5271
+ };
5272
+ var InputPrefix = (props) => {
5273
+ const {
5274
+ direction = defaultProps14.direction,
5275
+ ...other
5276
+ } = props;
5277
+ if (!props.children) {
5278
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, {});
5279
+ }
5280
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5281
+ "span",
5282
+ {
5283
+ ...other,
5284
+ className: classNames(
5285
+ className17,
5286
+ props.className,
5287
+ {
5288
+ [`k-input-prefix-${direction}`]: direction
5289
+ }
5290
+ ),
5291
+ children: props.children
5292
+ }
5293
+ );
5294
+ };
5295
+
5296
+ // src/input/input-suffix.tsx
5297
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5298
+ var className18 = `k-input-suffix`;
5299
+ var defaultProps15 = {
5300
+ direction: "horizontal"
5301
+ };
5302
+ var InputSuffix = (props) => {
5303
+ const {
5304
+ direction = defaultProps15.direction,
5305
+ ...other
5306
+ } = props;
5307
+ if (!props.children) {
5308
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, {});
5309
+ }
5310
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5311
+ "span",
5312
+ {
5313
+ ...other,
5314
+ className: classNames(
5315
+ className18,
5316
+ props.className,
5317
+ {
5318
+ [`k-input-suffix-${direction}`]: direction
5319
+ }
5320
+ ),
5321
+ children: props.children
5322
+ }
5323
+ );
5324
+ };
5325
+
5326
+ // src/input/input-prefix-text.tsx
5327
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5328
+
5329
+ // src/input/input-suffix-text.tsx
5330
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5331
+
5332
+ // src/input/input-separator.tsx
5333
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5334
+ var className19 = `k-input-separator`;
5335
+ var defaultProps16 = {
5336
+ direction: "vertical"
5337
+ };
5338
+ var InputSeparator = (props) => {
5339
+ const {
5340
+ direction = defaultProps16.direction,
5341
+ ...other
5342
+ } = props;
5343
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5344
+ "span",
5345
+ {
5346
+ ...other,
5347
+ className: classNames(
5348
+ className19,
5349
+ props.className,
5350
+ {
5351
+ [`${className19}-${direction}`]: direction
5352
+ }
5353
+ )
5354
+ }
5355
+ );
5356
+ };
5357
+
5358
+ // src/animation-container/animation-container.spec.tsx
5359
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5360
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5361
+ var states19 = [];
5362
+ var options15 = {};
5363
+ var defaultProps17 = {
5364
+ positionMode: "absolute"
5365
+ };
5366
+ var AnimationContainer = (props) => {
5367
+ const {
5368
+ positionMode,
5369
+ animationStyle,
5370
+ offset,
5371
+ ...other
5372
+ } = props;
5373
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5374
+ "div",
5375
+ {
5376
+ ...other,
5377
+ style: { ...offset, ...props.style },
5378
+ className: classNames(
5379
+ ANIMATION_CONTAINER_CLASSNAME,
5380
+ "k-animation-container-shown",
5381
+ {
5382
+ ["k-animation-container-fixed"]: positionMode === "fixed"
5383
+ }
5384
+ ),
5385
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5386
+ }
5387
+ );
5388
+ };
5389
+ AnimationContainer.states = states19;
5390
+ AnimationContainer.options = options15;
5391
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5392
+ AnimationContainer.defaultProps = defaultProps17;
5393
+
5394
+ // src/popup/popup.spec.tsx
5395
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5396
+ var POPUP_CLASSNAME = `k-popup`;
5397
+ var states20 = [];
5398
+ var options16 = {};
5399
+ var defaultProps18 = {
5400
+ positionMode: "absolute"
5401
+ };
5402
+ var Popup = (props) => {
5403
+ const {
5404
+ offset,
5405
+ positionMode,
5406
+ ...other
5407
+ } = props;
5408
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5409
+ AnimationContainer,
5410
+ {
5411
+ positionMode,
5412
+ offset,
5413
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5414
+ }
5415
+ );
5416
+ };
5417
+ Popup.states = states20;
5418
+ Popup.options = options16;
5419
+ Popup.className = POPUP_CLASSNAME;
5420
+ Popup.defaultProps = defaultProps18;
5421
+
5422
+ // src/dropdownlist/dropdownlist.spec.tsx
5423
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5424
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5425
+ var states21 = [
5426
+ States.hover,
5427
+ States.focus,
5428
+ States.valid,
5429
+ States.invalid,
5430
+ States.required,
5431
+ States.disabled,
5432
+ States.loading,
5433
+ States.readonly
5434
+ ];
5435
+ var options17 = {
5436
+ size: [Size.small, Size.medium, Size.large],
5437
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5438
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5439
+ };
5440
+ var defaultProps19 = {
5441
+ showValue: true,
5442
+ arrowIconName: "caret-alt-down",
5443
+ size: Size.medium,
5444
+ rounded: Roundness.medium,
5445
+ fillMode: FillMode.solid
5446
+ };
5447
+ var DropdownList = (props) => {
5448
+ const {
5449
+ valueIconName,
5450
+ arrowIconName = defaultProps19.arrowIconName,
5451
+ prefix,
5452
+ suffix,
5453
+ value,
5454
+ placeholder,
5455
+ size,
5456
+ rounded,
5457
+ fillMode,
5458
+ hover,
5459
+ focus,
5460
+ valid,
5461
+ invalid,
5462
+ required,
5463
+ loading,
5464
+ disabled,
5465
+ readonly,
5466
+ showValue = defaultProps19.showValue,
5467
+ popup,
5468
+ opened,
5469
+ ...other
5470
+ } = props;
5471
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
5472
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5473
+ Picker,
5474
+ {
5475
+ ...other,
5476
+ size,
5477
+ rounded,
5478
+ fillMode,
5479
+ hover,
5480
+ focus,
5481
+ valid,
5482
+ invalid,
5483
+ required,
5484
+ loading,
5485
+ disabled,
5486
+ readonly,
5487
+ className: classNames(
5488
+ props.className,
5489
+ DROPDOWNLIST_CLASSNAME,
5490
+ {
5491
+ "k-icon-picker": !showValue && valueIconName
5492
+ }
5493
+ ),
5494
+ children: [
5495
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputPrefix, { children: prefix }),
5496
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5497
+ InputInnerSpan,
5498
+ {
5499
+ placeholder,
5500
+ value,
5501
+ showValue,
5502
+ valueIconName
5503
+ }
5504
+ ),
5505
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5506
+ InputValidationIcon,
5507
+ {
5508
+ valid,
5509
+ invalid,
5510
+ loading,
5511
+ disabled
5512
+ }
5513
+ ),
5514
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5515
+ InputLoadingIcon,
5516
+ {
5517
+ loading,
5518
+ disabled
5519
+ }
5520
+ ),
5521
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputSuffix, { children: suffix }),
5522
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5523
+ Button,
5524
+ {
5525
+ className: "k-input-button",
5526
+ icon: arrowIconName,
5527
+ rounded: null,
5528
+ size: props.size,
5529
+ fillMode: props.fillMode
5530
+ }
5531
+ )
5532
+ ]
5533
+ }
5534
+ ),
5535
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5536
+ ] });
5537
+ };
5538
+ DropdownList.states = states21;
5539
+ DropdownList.options = options17;
5540
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
5541
+ DropdownList.defaultProps = defaultProps19;
5542
+
5543
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
5544
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5545
+
5546
+ // src/nodata/nodata.tsx
5547
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5548
+ var className20 = `k-nodata`;
5549
+ var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: classNames(className20, props.className), children: props.children });
5550
+
5551
+ // src/list/list.spec.tsx
5552
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5553
+ var LIST_CLASSNAME = `k-list`;
5554
+ var states22 = [];
5555
+ var options18 = {
5556
+ size: [Size.small, Size.medium, Size.large]
5557
+ };
5558
+ var defaultProps20 = {
5559
+ size: Size.medium
5560
+ };
5561
+ var List = (props) => {
5562
+ const {
5563
+ size = defaultProps20.size,
5564
+ virtualization,
5565
+ children,
5566
+ optionLabel,
5567
+ ...other
5568
+ } = props;
5569
+ let listHeader;
5570
+ let listGroup;
5571
+ let listContent;
5572
+ const listChildren = [];
5573
+ if (children) {
5574
+ children.map((child, index) => {
5575
+ if (child.type === ListGroup) {
5576
+ if (child.props.root === true) {
5577
+ listHeader = child.props.label;
5578
+ child.props.children.map((optChild, index2) => {
5579
+ listChildren.push(
5580
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5581
+ ListItem,
5582
+ {
5583
+ ...optChild.props
5584
+ },
5585
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5586
+ )
5587
+ );
5588
+ });
5589
+ } else {
5590
+ child.props.children.forEach((optChild, index2) => {
5591
+ let groupLabel = "";
5592
+ if (index2 === 0) {
5593
+ groupLabel = child.props.label;
5594
+ }
5595
+ listChildren.push(
5596
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5597
+ ListItem,
5598
+ {
5599
+ className: index2 === 0 ? "k-first" : "",
5600
+ ...optChild.props,
5601
+ groupLabel
5602
+ },
5603
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5604
+ )
5605
+ );
5606
+ });
5607
+ }
5608
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5609
+ } else if (child.type === ListItem) {
5610
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5611
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ListContent, { virtualization, children: listChildren });
5612
+ }
5613
+ });
5614
+ } else {
5615
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(NoData, { children: "No data found." });
5616
+ }
5617
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5618
+ "div",
5619
+ {
5620
+ ...other,
5621
+ className: classNames(
5622
+ props.className,
5623
+ LIST_CLASSNAME,
5624
+ optionClassNames(LIST_CLASSNAME, {
5625
+ size
5626
+ }),
5627
+ {
5628
+ ["k-virtual-list"]: virtualization
5629
+ }
5630
+ ),
5631
+ children: [
5632
+ optionLabel,
5633
+ listGroup,
5634
+ listContent
5635
+ ]
5636
+ }
5637
+ );
5638
+ };
5639
+ List.states = states22;
5640
+ List.options = options18;
5641
+ List.className = LIST_CLASSNAME;
5642
+ List.defaultProps = defaultProps20;
5643
+
5644
+ // src/list/list-angular.spec.tsx
5645
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5646
+ var LISTANGULAR_CLASSNAME = `k-list`;
5647
+ var states23 = [];
5648
+ var options19 = {
5649
+ size: [Size.small, Size.medium, Size.large]
5650
+ };
5651
+ var defaultProps21 = {
5652
+ size: Size.medium
5653
+ };
5654
+ var ListAngular = (props) => {
5655
+ const {
5656
+ size = defaultProps21.size,
5657
+ virtualization,
5658
+ children,
5659
+ ...other
5660
+ } = props;
5661
+ let listHeader;
5662
+ let listGroup;
5663
+ let listContent;
5664
+ const listChildren = [];
5665
+ if (children) {
5666
+ children.map((child, index) => {
5667
+ if (child.type === ListGroup) {
5668
+ if (child.props.root === true) {
5669
+ listHeader = child.props.label;
5670
+ child.props.children.map((optChild, index2) => {
5671
+ listChildren.push(
5672
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5673
+ ListItem,
5674
+ {
5675
+ ...optChild.props
5676
+ },
5677
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5678
+ )
5679
+ );
5680
+ });
5681
+ } else {
5682
+ listChildren.push(
5683
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5684
+ ListGroupItem,
5685
+ {
5686
+ ...child.props,
5687
+ children: child.props.label
5688
+ },
5689
+ `listChild-${index}`
5690
+ )
5691
+ );
5692
+ child.props.children.map((optChild, index2) => {
5693
+ listChildren.push(
5694
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5695
+ ListItem,
5696
+ {
5697
+ ...optChild.props
5698
+ },
5699
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5700
+ )
5701
+ );
5702
+ });
5703
+ }
5704
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5705
+ } else if (child.type === ListItem) {
5706
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5707
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListContent, { virtualization, children: listChildren });
5708
+ }
5709
+ });
5710
+ } else {
5711
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(NoData, { children: "No data found." });
5712
+ }
5713
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5714
+ "div",
5715
+ {
5716
+ ...other,
5717
+ className: classNames(
5718
+ props.className,
5719
+ LISTANGULAR_CLASSNAME,
5720
+ optionClassNames(LISTANGULAR_CLASSNAME, {
5721
+ size
5722
+ }),
5723
+ {
5724
+ ["k-virtual-list"]: virtualization
5725
+ }
5726
+ ),
5727
+ children: [
5728
+ listGroup,
5729
+ listContent
5730
+ ]
5731
+ }
5732
+ );
5733
+ };
5734
+ ListAngular.states = states23;
5735
+ ListAngular.options = options19;
5736
+ ListAngular.className = LISTANGULAR_CLASSNAME;
5737
+ ListAngular.defaultProps = defaultProps21;
5738
+
5739
+ // src/checkbox/checkbox.spec.tsx
5740
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5741
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
5742
+ var states24 = [
5743
+ States.hover,
5744
+ States.focus,
5745
+ States.valid,
5746
+ States.invalid,
5747
+ States.required,
5748
+ States.disabled,
5749
+ States.checked,
5750
+ States.indeterminate
5751
+ ];
5752
+ var options20 = {
5753
+ size: [Size.small, Size.medium, Size.large],
5754
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5755
+ };
5756
+ var defaultProps22 = {
5757
+ size: Size.medium,
5758
+ rounded: Roundness.medium
5759
+ };
5760
+ var Checkbox = (props) => {
5761
+ const {
5762
+ id,
5763
+ checked,
5764
+ indeterminate,
5765
+ hover,
5766
+ focus,
5767
+ disabled,
5768
+ invalid,
5769
+ valid,
5770
+ required,
5771
+ size = defaultProps22.size,
5772
+ rounded = defaultProps22.rounded,
5773
+ ...other
5774
+ } = props;
5775
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5776
+ "input",
5777
+ {
5778
+ ...other,
5779
+ id,
5780
+ type: "checkbox",
5781
+ checked,
5782
+ required,
5783
+ className: classNames(
5784
+ props.className,
5785
+ CHECKBOX_CLASSNAME,
5786
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
5787
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
5788
+ )
5789
+ }
5790
+ ) });
5791
+ };
5792
+ Checkbox.states = states24;
5793
+ Checkbox.options = options20;
5794
+ Checkbox.className = CHECKBOX_CLASSNAME;
5795
+ Checkbox.defaultProps = defaultProps22;
5796
+
5797
+ // src/checkbox/checkbox-group.spec.tsx
5798
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5799
+ var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
5800
+ var states25 = [];
5801
+ var options21 = {};
5802
+ var defaultProps23 = {
5803
+ layout: "vertical"
5804
+ };
5805
+ var CheckboxGroup = (props) => {
5806
+ const {
5807
+ layout = defaultProps23.layout,
5808
+ ...other
5809
+ } = props;
5810
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5811
+ "ul",
5812
+ {
5813
+ ...other,
5814
+ className: classNames(
5815
+ props.className,
5816
+ CHECKBOXGROUP_CLASSNAME,
5817
+ {
5818
+ [`k-list-${layout}`]: layout
5819
+ }
5820
+ ),
5821
+ children: props.children
5822
+ }
5823
+ );
5824
+ };
5825
+ CheckboxGroup.states = states25;
5826
+ CheckboxGroup.options = options21;
5827
+ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
5828
+ CheckboxGroup.defaultProps = defaultProps23;
5829
+
5830
+ // src/checkbox/checkbox-item.spec.tsx
5831
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5832
+ var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
5833
+ var states26 = [];
5834
+ var options22 = {};
5835
+ var defaultProps24 = {};
5836
+ var CheckboxItem = (props) => {
5837
+ const {
5838
+ ...other
5839
+ } = props;
5840
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5841
+ "li",
5842
+ {
5843
+ ...other,
5844
+ className: classNames(
5845
+ props.className,
5846
+ CHECKBOXITEM_CLASSNAME
5847
+ ),
5848
+ children: props.children
5849
+ }
5850
+ );
5851
+ };
5852
+ CheckboxItem.states = states26;
5853
+ CheckboxItem.options = options22;
5854
+ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
5855
+ CheckboxItem.defaultProps = defaultProps24;
5856
+
5857
+ // src/checkbox/templates/checkbox-with-label-after.tsx
5858
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5859
+
5860
+ // src/checkbox/templates/checkbox-with-label-before.tsx
5861
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5862
+
5863
+ // src/checkbox/templates/checkbox-normal.tsx
5864
+ var import_jsx_runtime66 = require("react/jsx-runtime");
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 styles = {
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: styles
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-react.tsx
8648
+ var import_jsx_runtime170 = require("react/jsx-runtime");
8649
+ var grid_react_default = () => /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(import_jsx_runtime170.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: [
8650
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("span", { children: "Interaction States" }),
8651
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(Grid, { style: { height: "500px" }, _renderAriaRoot: true, children: [
8652
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridHeaderTable, { style: { width: "1180px" }, children: [
8653
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8654
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "60px" }),
8655
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "90px" }),
8656
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "300px" }),
8657
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8658
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8659
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8660
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8661
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "250px" })
4336
8662
  ] }),
4337
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("thead", { className: "k-table-thead", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row", children: [
4338
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header k-grid-header-sticky", style: { left: "0px", right: "240px" } }),
4339
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "ID" }) }) }) }),
4340
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "Name" }) }) }) }),
4341
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header k-grid-header-sticky", style: { left: "60px", right: "120px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "Price" }) }) }) }),
4342
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header k-grid-header-sticky", style: { left: "180px", right: "0px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "In stock" }) }) }) }),
4343
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "On order" }) }) }) }),
4344
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "Discontinued" }) }) }) }),
4345
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-link", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-column-title", children: "Additional details" }) }) }) })
8663
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8664
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { sticky: true, style: { left: "0px", right: "240px" } }),
8665
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { columnTitle: "ID" }),
8666
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { columnTitle: "Name" }),
8667
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { sticky: true, columnTitle: "Price", style: { left: "60px", right: "120px" } }),
8668
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { sticky: true, columnTitle: "In stock", style: { left: "180px", right: "0px" } }),
8669
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { columnTitle: "On order" }),
8670
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { columnTitle: "Discontinued" }),
8671
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridHeaderCell, { columnTitle: "Additional details" })
4346
8672
  ] }) })
4347
8673
  ] }) }) }),
4348
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-container", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "k-grid-content k-virtual-content", children: [
4349
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("table", { className: "k-table k-table-md k-grid-table", style: { width: "1180px" }, children: [
4350
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("colgroup", { children: [
4351
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "60px" }),
4352
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "90px" }),
4353
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "300px" }),
4354
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4355
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4356
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4357
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4358
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "250px" })
8674
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridContent, { className: "k-virtual-content", children: [
8675
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { style: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridTable, { style: { width: "1180px" }, children: [
8676
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8677
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "60px" }),
8678
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "90px" }),
8679
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "300px" }),
8680
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8681
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8682
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8683
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8684
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "250px" })
4359
8685
  ] }),
4360
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tbody", { className: "k-table-tbody", children: [
4361
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4362
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4363
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "1" }),
4364
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Normal" }),
4365
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$18.00" }),
4366
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "39" }),
4367
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4368
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4369
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "10 boxes x 20 bags" })
8686
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableTbody, { children: [
8687
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row", children: [
8688
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8689
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "1" }),
8690
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Normal" }),
8691
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$18.00" }),
8692
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "39" }),
8693
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8694
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8695
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "10 boxes x 20 bags" })
4370
8696
  ] }),
4371
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt", children: [
4372
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4373
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-selected", children: "2" }),
4374
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Drag Selection Alt" }),
4375
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$19.00" }),
4376
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "17" }),
4377
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "40" }),
4378
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4379
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "24 - 12 oz bottles" })
8697
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-alt", alt: true, children: [
8698
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8699
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-selected", children: "2" }),
8700
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Drag Selection Alt" }),
8701
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$19.00" }),
8702
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "17" }),
8703
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "40" }),
8704
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8705
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "24 - 12 oz bottles" })
4380
8706
  ] }),
4381
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4382
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4383
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-selected", children: "3" }),
4384
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Drag Selection" }),
4385
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$10.00" }),
4386
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "13" }),
4387
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "70" }),
4388
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4389
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "12 - 550 ml bottles" })
8707
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row", children: [
8708
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8709
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-selected", children: "3" }),
8710
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Drag Selection" }),
8711
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$10.00" }),
8712
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "13" }),
8713
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "70" }),
8714
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8715
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "12 - 550 ml bottles" })
4390
8716
  ] }),
4391
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt k-selected", children: [
4392
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4393
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "4" }),
4394
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Row Selection Alt" }),
4395
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$22.00" }),
4396
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "53" }),
4397
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4398
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4399
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "48 - 6 oz jars" })
8717
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-selected k-alt", alt: true, children: [
8718
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8719
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "4" }),
8720
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Row Selection Alt" }),
8721
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$22.00" }),
8722
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "53" }),
8723
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8724
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8725
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "48 - 6 oz jars" })
4400
8726
  ] }),
4401
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row k-selected", children: [
4402
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4403
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "5" }),
4404
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Row Selection" }),
4405
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$21.35" }),
4406
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "0" }),
4407
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4408
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "true" }),
4409
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "36 boxes" })
8727
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-selected", children: [
8728
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8729
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "5" }),
8730
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Row Selection" }),
8731
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$21.35" }),
8732
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "0" }),
8733
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8734
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "true" }),
8735
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "36 boxes" })
4410
8736
  ] }),
4411
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt k-hover", children: [
4412
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4413
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-selected", children: "6" }),
4414
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Drag Selection Alt Hover" }),
4415
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$25.00" }),
4416
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "120" }),
4417
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4418
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4419
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "12 - 8 oz jars" })
8737
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-hover k-alt", alt: true, children: [
8738
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8739
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-selected", children: "6" }),
8740
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Drag Selection Alt Hover" }),
8741
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$25.00" }),
8742
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "120" }),
8743
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8744
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8745
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "12 - 8 oz jars" })
4420
8746
  ] }),
4421
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row k-hover", children: [
4422
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4423
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-selected", children: "7" }),
4424
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Drag Selection Hover" }),
4425
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$30.00" }),
4426
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "15" }),
4427
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4428
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4429
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "12 - 1 lb pkgs." })
8747
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-hover", children: [
8748
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-selected", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8749
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-selected", children: "7" }),
8750
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Drag Selection Hover" }),
8751
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$30.00" }),
8752
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "15" }),
8753
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8754
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8755
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "12 - 1 lb pkgs" })
4430
8756
  ] }),
4431
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt k-hover", children: [
4432
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4433
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "8" }),
4434
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Hover" }),
4435
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$40.00" }),
4436
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "6" }),
4437
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4438
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4439
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "12 - 12 oz jars" })
8757
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-hover k-alt", alt: true, children: [
8758
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8759
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "8" }),
8760
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Hover" }),
8761
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$40.00" }),
8762
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "6" }),
8763
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8764
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8765
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "12 - 12 oz jars" })
4440
8766
  ] }),
4441
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4442
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky k-focus", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4443
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "9" }),
4444
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Focus sticky cell" }),
4445
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$97.00" }),
4446
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "29" }),
4447
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4448
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "true" }),
4449
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "18 - 500 g pkgs." })
8767
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row", children: [
8768
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky k-focus", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8769
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "9" }),
8770
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Focus sticky cell" }),
8771
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$97.00" }),
8772
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "29" }),
8773
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8774
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "true" }),
8775
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "18 - 500 g pkgs." })
4450
8776
  ] }),
4451
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt", children: [
4452
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4453
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-focus", children: "10" }),
4454
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Focus normal cell" }),
4455
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$31.00" }),
4456
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "31" }),
4457
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4458
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4459
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "12 - 200 ml jars" })
8777
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-alt", alt: true, children: [
8778
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8779
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-focus", children: "10" }),
8780
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Focus normal cell" }),
8781
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$31.00" }),
8782
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "31" }),
8783
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8784
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8785
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "12 - 200 ml jars" })
4460
8786
  ] }),
4461
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4462
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4463
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "11" }),
4464
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Queso Cabrales" }),
4465
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$21.00" }),
4466
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "22" }),
4467
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "30" }),
4468
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4469
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "1 kg pkg." })
8787
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row", children: [
8788
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8789
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "11" }),
8790
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Queso Cabrales" }),
8791
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$21.00" }),
8792
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "22" }),
8793
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "30" }),
8794
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8795
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "1 kg pkg." })
4470
8796
  ] }),
4471
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt", children: [
4472
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4473
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "12" }),
4474
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Queso Manchego La Pastora" }),
4475
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$38.00" }),
4476
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "86" }),
4477
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4478
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4479
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "10 - 500 g pkgs." })
8797
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-alt", alt: true, children: [
8798
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8799
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "12" }),
8800
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Queso Manchego La Pastora" }),
8801
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$38.00" }),
8802
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "86" }),
8803
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8804
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8805
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "10 - 500 g pkgs." })
4480
8806
  ] }),
4481
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4482
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4483
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "13" }),
4484
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Konbu" }),
4485
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$6.00" }),
4486
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "24" }),
4487
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4488
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4489
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "2 kg box" })
8807
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row", children: [
8808
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8809
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "13" }),
8810
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Konbu" }),
8811
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$6.00" }),
8812
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "24" }),
8813
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "30" }),
8814
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8815
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "2 kg box" })
4490
8816
  ] }),
4491
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-table-alt-row k-master-row k-alt", children: [
4492
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4493
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "14" }),
4494
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Tofu" }),
4495
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$23.25" }),
4496
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "35" }),
4497
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4498
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4499
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "40 - 100 g pkgs." })
8817
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row k-alt", alt: true, children: [
8818
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8819
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "14" }),
8820
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Tofu" }),
8821
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$23.25" }),
8822
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "35" }),
8823
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "0" }),
8824
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8825
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "40 - 100 g pkgs." })
4500
8826
  ] }),
4501
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row k-master-row", children: [
4502
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: "unpin" }) }),
4503
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "15" }),
4504
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "Genen Shouyu" }),
4505
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$15.50" }),
4506
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "39" }),
4507
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "0" }),
4508
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "false" }),
4509
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td", children: "24 - 250 ml bottles" })
8827
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { className: "k-master-row", children: [
8828
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "0px", right: "240px" }, children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { icon: "unpin" }) }),
8829
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "15" }),
8830
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "Genen Shouyu" }),
8831
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "60px", right: "120px" }, children: "$15.50" }),
8832
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-content-sticky", style: { left: "180px", right: "0px" }, children: "39" }),
8833
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "30" }),
8834
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "false" }),
8835
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { children: "24 - 250 ml bottles" })
4510
8836
  ] })
4511
8837
  ] })
4512
8838
  ] }) }),
4513
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", {}) })
8839
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", {}) })
4514
8840
  ] }) }),
4515
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-footer", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-grid-footer-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("table", { className: "k-table k-table-md k-grid-footer-table", style: { width: "1180px" }, children: [
4516
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("colgroup", { children: [
4517
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "60px" }),
4518
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "90px" }),
4519
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "300px" }),
4520
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4521
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4522
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4523
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "120px" }),
4524
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("col", { width: "250px" })
8841
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(GridFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "k-grid-footer-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(GridFooterTable, { style: { width: "1180px" }, children: [
8842
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("colgroup", { children: [
8843
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "60px" }),
8844
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "90px" }),
8845
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "300px" }),
8846
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8847
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8848
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8849
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "120px" }),
8850
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("col", { width: "250px" })
4525
8851
  ] }),
4526
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("tfoot", { className: "k-table-tfoot", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: "k-table-row", children: [
4527
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-footer-sticky", style: { left: "0px", right: "240px" } }),
4528
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td" }),
4529
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td" }),
4530
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-footer-sticky", style: { left: "60px", right: "120px" }, children: "avg: X" }),
4531
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td k-grid-footer-sticky", style: { left: "180px", right: "0px" }, children: "total: Y" }),
4532
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td" }),
4533
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td" }),
4534
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: "k-table-td" })
8852
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTfoot, { children: /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(TableRow, { children: [
8853
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-footer-sticky", style: { left: "0px", right: "240px" } }),
8854
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, {}),
8855
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, {}),
8856
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-footer-sticky", style: { left: "60px", right: "120px" }, children: "avg: X" }),
8857
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, { className: "k-grid-footer-sticky", style: { left: "180px", right: "0px" }, children: "total: Y" }),
8858
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, {}),
8859
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, {}),
8860
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(TableTd, {})
4535
8861
  ] }) })
4536
8862
  ] }) }) })
4537
8863
  ] }) })