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