@progress/kendo-themes-html 7.2.1-dev.0 → 7.2.1-dev.1

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