@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
@@ -40,6 +40,22 @@ var optionClassNames = (componentClassName, props) => {
40
40
  }
41
41
  );
42
42
  };
43
+ var stateClassNames = (_componentClassName, props) => {
44
+ return classNames({
45
+ "k-valid": props.valid,
46
+ "k-invalid": props.invalid,
47
+ "k-hover": props.hover,
48
+ "k-focus": props.focus,
49
+ "k-checked": props.checked,
50
+ "k-active": props.active,
51
+ "k-selected": props.selected,
52
+ "k-disabled": props.disabled,
53
+ "k-indeterminate": props.indeterminate && !props.checked,
54
+ "k-loading": props.loading,
55
+ "k-empty": props.empty,
56
+ "k-readonly": props.readonly
57
+ });
58
+ };
43
59
 
44
60
  // src/misc/theme.ts
45
61
  var Size = {
@@ -51,6 +67,19 @@ var Size = {
51
67
  "xxlarge": "xxlarge",
52
68
  "xxxlarge": "xxxlarge"
53
69
  };
70
+ var Roundness = {
71
+ "small": "small",
72
+ "medium": "medium",
73
+ "large": "large",
74
+ "full": "full"
75
+ };
76
+ var FillMode = {
77
+ "solid": "solid",
78
+ "flat": "flat",
79
+ "outline": "outline",
80
+ "clear": "clear",
81
+ "link": "link"
82
+ };
54
83
  var ThemeColor = {
55
84
  "inherit": "inherit",
56
85
  "base": "base",
@@ -65,6 +94,22 @@ var ThemeColor = {
65
94
  "light": "light",
66
95
  "inverse": "inverse"
67
96
  };
97
+ var States = {
98
+ "open": "open",
99
+ "hover": "hover",
100
+ "focus": "focus",
101
+ "active": "active",
102
+ "selected": "selected",
103
+ "disabled": "disabled",
104
+ "valid": "valid",
105
+ "invalid": "invalid",
106
+ "loading": "loading",
107
+ "required": "required",
108
+ "empty": "empty",
109
+ "indeterminate": "indeterminate",
110
+ "checked": "checked",
111
+ "readonly": "readonly"
112
+ };
68
113
 
69
114
  // src/animation-container/animation-container.spec.tsx
70
115
  import { jsx } from "react/jsx-runtime";
@@ -130,11 +175,44 @@ Popup.options = options2;
130
175
  Popup.className = POPUP_CLASSNAME;
131
176
  Popup.defaultProps = defaultProps2;
132
177
 
178
+ // src/column-menu/column-menu.spec.tsx
179
+ import { jsx as jsx3 } from "react/jsx-runtime";
180
+ var COLUMNMENU_CLASSNAME = `k-column-menu`;
181
+ var states3 = [];
182
+ var options3 = {};
183
+ var defaultProps3 = {
184
+ view: "list"
185
+ };
186
+ var ColumnMenu = (props) => {
187
+ const {
188
+ view = defaultProps3.view,
189
+ ...other
190
+ } = props;
191
+ return /* @__PURE__ */ jsx3(
192
+ "div",
193
+ {
194
+ ...other,
195
+ className: classNames(
196
+ props.className,
197
+ COLUMNMENU_CLASSNAME,
198
+ {
199
+ "k-column-menu-tabbed": view === "tabbed"
200
+ }
201
+ ),
202
+ children: props.children
203
+ }
204
+ );
205
+ };
206
+ ColumnMenu.states = states3;
207
+ ColumnMenu.options = options3;
208
+ ColumnMenu.className = COLUMNMENU_CLASSNAME;
209
+ ColumnMenu.defaultProps = defaultProps3;
210
+
133
211
  // src/icon/font-icon.spec.tsx
134
- import { Fragment, jsx as jsx3 } from "react/jsx-runtime";
212
+ import { Fragment, jsx as jsx4 } from "react/jsx-runtime";
135
213
  var FONTICON_CLASSNAME = `k-icon k-font-icon`;
136
- var states3 = [];
137
- var options3 = {
214
+ var states4 = [];
215
+ var options4 = {
138
216
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
139
217
  themeColor: [
140
218
  ThemeColor.base,
@@ -149,7 +227,7 @@ var options3 = {
149
227
  ThemeColor.dark
150
228
  ]
151
229
  };
152
- var defaultProps3 = {};
230
+ var defaultProps4 = {};
153
231
  var FontIcon = (props) => {
154
232
  const {
155
233
  size,
@@ -160,9 +238,9 @@ var FontIcon = (props) => {
160
238
  ...other
161
239
  } = props;
162
240
  if (!icon) {
163
- return /* @__PURE__ */ jsx3(Fragment, {});
241
+ return /* @__PURE__ */ jsx4(Fragment, {});
164
242
  }
165
- return /* @__PURE__ */ jsx3(
243
+ return /* @__PURE__ */ jsx4(
166
244
  "span",
167
245
  {
168
246
  ...other,
@@ -183,17 +261,17 @@ var FontIcon = (props) => {
183
261
  }
184
262
  );
185
263
  };
186
- FontIcon.states = states3;
187
- FontIcon.options = options3;
264
+ FontIcon.states = states4;
265
+ FontIcon.options = options4;
188
266
  FontIcon.className = FONTICON_CLASSNAME;
189
- FontIcon.defaultProps = defaultProps3;
267
+ FontIcon.defaultProps = defaultProps4;
190
268
  var font_icon_spec_default = FontIcon;
191
269
 
192
270
  // src/icon/svg-icon.spec.tsx
193
- import { Fragment as Fragment2, jsx as jsx4 } from "react/jsx-runtime";
271
+ import { Fragment as Fragment2, jsx as jsx5 } from "react/jsx-runtime";
194
272
  var SVGICON_CLASSNAME = `k-icon k-svg-icon`;
195
- var states4 = [];
196
- var options4 = {
273
+ var states5 = [];
274
+ var options5 = {
197
275
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
198
276
  themeColor: [
199
277
  ThemeColor.base,
@@ -208,7 +286,7 @@ var options4 = {
208
286
  ThemeColor.dark
209
287
  ]
210
288
  };
211
- var defaultProps4 = {
289
+ var defaultProps5 = {
212
290
  viewBox: "0 0 24 24"
213
291
  };
214
292
  var SvgIcon = (props) => {
@@ -217,15 +295,15 @@ var SvgIcon = (props) => {
217
295
  themeColor,
218
296
  rotate,
219
297
  flip,
220
- viewBox = defaultProps4.viewBox,
298
+ viewBox = defaultProps5.viewBox,
221
299
  icon,
222
300
  ...other
223
301
  } = props;
224
302
  if (!icon) {
225
- return /* @__PURE__ */ jsx4(Fragment2, {});
303
+ return /* @__PURE__ */ jsx5(Fragment2, {});
226
304
  }
227
305
  if (icon === "none") {
228
- /* @__PURE__ */ jsx4(
306
+ /* @__PURE__ */ jsx5(
229
307
  "span",
230
308
  {
231
309
  ...other,
@@ -238,7 +316,7 @@ var SvgIcon = (props) => {
238
316
  );
239
317
  }
240
318
  const name = typeof icon === "object" && icon.name && icon.name;
241
- return /* @__PURE__ */ jsx4(
319
+ return /* @__PURE__ */ jsx5(
242
320
  "span",
243
321
  {
244
322
  ...other,
@@ -256,7 +334,7 @@ var SvgIcon = (props) => {
256
334
  "k-flip-v": flip === "v" || flip === "both"
257
335
  }
258
336
  ),
259
- children: /* @__PURE__ */ jsx4(
337
+ children: /* @__PURE__ */ jsx5(
260
338
  "svg",
261
339
  {
262
340
  "aria-hidden": true,
@@ -270,10 +348,10 @@ var SvgIcon = (props) => {
270
348
  }
271
349
  );
272
350
  };
273
- SvgIcon.states = states4;
274
- SvgIcon.options = options4;
351
+ SvgIcon.states = states5;
352
+ SvgIcon.options = options5;
275
353
  SvgIcon.className = SVGICON_CLASSNAME;
276
- SvgIcon.defaultProps = defaultProps4;
354
+ SvgIcon.defaultProps = defaultProps5;
277
355
  var svg_icon_spec_default = SvgIcon;
278
356
 
279
357
  // ../../node_modules/@progress/kendo-svg-icons/dist/index.es.js
@@ -4308,13 +4386,13 @@ var chartChoroplethIcon = {
4308
4386
  };
4309
4387
 
4310
4388
  // src/icon/icon.spec.tsx
4311
- import { Fragment as Fragment3, jsx as jsx5 } from "react/jsx-runtime";
4389
+ import { Fragment as Fragment3, jsx as jsx6 } from "react/jsx-runtime";
4312
4390
  var snakeToCamel = (str) => str.toLowerCase().replace(
4313
4391
  /([-_][a-z])/g,
4314
4392
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4315
4393
  );
4316
- var states5 = [];
4317
- var options5 = {
4394
+ var states6 = [];
4395
+ var options6 = {
4318
4396
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4319
4397
  themeColor: [
4320
4398
  ThemeColor.base,
@@ -4329,7 +4407,7 @@ var options5 = {
4329
4407
  ThemeColor.dark
4330
4408
  ]
4331
4409
  };
4332
- var defaultProps5 = {
4410
+ var defaultProps6 = {
4333
4411
  viewBox: "0 0 24 24",
4334
4412
  type: "svg"
4335
4413
  };
@@ -4338,33 +4416,1529 @@ var Icon = (props) => {
4338
4416
  size,
4339
4417
  themeColor,
4340
4418
  icon,
4341
- type = defaultProps5.type,
4419
+ type = defaultProps6.type,
4342
4420
  rotate,
4343
4421
  flip,
4344
- viewBox = defaultProps5.viewBox,
4422
+ viewBox = defaultProps6.viewBox,
4345
4423
  ...other
4346
4424
  } = props;
4347
4425
  if (!icon) {
4348
- return /* @__PURE__ */ jsx5(Fragment3, {});
4426
+ return /* @__PURE__ */ jsx6(Fragment3, {});
4349
4427
  }
4350
4428
  if (type === "svg") {
4351
4429
  if (icon === "none") {
4352
- return /* @__PURE__ */ jsx5(svg_icon_spec_default, { ...other, icon, size });
4430
+ return /* @__PURE__ */ jsx6(svg_icon_spec_default, { ...other, icon, size });
4353
4431
  }
4354
4432
  const iconSVG = snakeToCamel(`${icon}-icon`);
4355
4433
  if (!index_es_exports[iconSVG]) {
4356
- return /* @__PURE__ */ jsx5(Fragment3, {});
4434
+ return /* @__PURE__ */ jsx6(Fragment3, {});
4435
+ }
4436
+ return /* @__PURE__ */ jsx6(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4437
+ }
4438
+ return /* @__PURE__ */ jsx6(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4439
+ };
4440
+ Icon.states = states6;
4441
+ Icon.options = options6;
4442
+ Icon.defaultProps = defaultProps6;
4443
+
4444
+ // src/column-menu/column-menu-item.spec.tsx
4445
+ import { jsx as jsx7, jsxs } from "react/jsx-runtime";
4446
+ var COLUMNMENUITEM_CLASSNAME = `k-columnmenu-item`;
4447
+ var states7 = [
4448
+ States.focus,
4449
+ States.selected
4450
+ ];
4451
+ var options7 = {};
4452
+ var defaultProps7 = {};
4453
+ var ColumnMenuItem = (props) => {
4454
+ const {
4455
+ focus,
4456
+ selected,
4457
+ text,
4458
+ icon,
4459
+ ...other
4460
+ } = props;
4461
+ return /* @__PURE__ */ jsxs(
4462
+ "div",
4463
+ {
4464
+ ...other,
4465
+ className: classNames(
4466
+ props.className,
4467
+ COLUMNMENUITEM_CLASSNAME,
4468
+ stateClassNames(COLUMNMENUITEM_CLASSNAME, {
4469
+ focus,
4470
+ selected
4471
+ })
4472
+ ),
4473
+ children: [
4474
+ /* @__PURE__ */ jsx7(Icon, { icon }),
4475
+ text,
4476
+ props.children
4477
+ ]
4478
+ }
4479
+ );
4480
+ };
4481
+ ColumnMenuItem.states = states7;
4482
+ ColumnMenuItem.options = options7;
4483
+ ColumnMenuItem.className = COLUMNMENUITEM_CLASSNAME;
4484
+ ColumnMenuItem.defaultProps = defaultProps7;
4485
+
4486
+ // src/column-menu/column-menu-item-wrapper.tsx
4487
+ import { jsx as jsx8 } from "react/jsx-runtime";
4488
+ var className = `k-columnmenu-item-wrapper`;
4489
+ var ColumnMenuItemWrapper = (props) => /* @__PURE__ */ jsx8(
4490
+ "div",
4491
+ {
4492
+ ...props,
4493
+ className: classNames(
4494
+ props.className,
4495
+ className
4496
+ ),
4497
+ children: props.children
4498
+ }
4499
+ );
4500
+
4501
+ // src/column-menu/column-menu-item-content.tsx
4502
+ import { jsx as jsx9 } from "react/jsx-runtime";
4503
+ var className2 = `k-columnmenu-item-content`;
4504
+ var ColumnMenuItemContent = (props) => /* @__PURE__ */ jsx9(
4505
+ "div",
4506
+ {
4507
+ ...props,
4508
+ className: classNames(
4509
+ props.className,
4510
+ className2,
4511
+ "k-columns-item"
4512
+ ),
4513
+ children: props.children
4514
+ }
4515
+ );
4516
+
4517
+ // src/column-menu/filter-menu.spec.tsx
4518
+ import { jsx as jsx10 } from "react/jsx-runtime";
4519
+ var FILTERMENU_CLASSNAME = `k-filter-menu`;
4520
+ var states8 = [];
4521
+ var options8 = {};
4522
+ var defaultProps8 = {};
4523
+ var FilterMenu = (props) => {
4524
+ const {
4525
+ ...other
4526
+ } = props;
4527
+ return /* @__PURE__ */ jsx10(
4528
+ "form",
4529
+ {
4530
+ ...other,
4531
+ className: classNames(
4532
+ props.className,
4533
+ FILTERMENU_CLASSNAME
4534
+ ),
4535
+ children: /* @__PURE__ */ jsx10("div", { className: "k-filter-menu-container", children: props.children })
4536
+ }
4537
+ );
4538
+ };
4539
+ FilterMenu.states = states8;
4540
+ FilterMenu.options = options8;
4541
+ FilterMenu.className = FILTERMENU_CLASSNAME;
4542
+ FilterMenu.defaultProps = defaultProps8;
4543
+
4544
+ // src/column-menu/column-menu-multicheck-wrap.tsx
4545
+ import { jsx as jsx11 } from "react/jsx-runtime";
4546
+
4547
+ // src/checkbox/checkbox.spec.tsx
4548
+ import { jsx as jsx12 } from "react/jsx-runtime";
4549
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
4550
+ var states9 = [
4551
+ States.hover,
4552
+ States.focus,
4553
+ States.valid,
4554
+ States.invalid,
4555
+ States.required,
4556
+ States.disabled,
4557
+ States.checked,
4558
+ States.indeterminate
4559
+ ];
4560
+ var options9 = {
4561
+ size: [Size.small, Size.medium, Size.large],
4562
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
4563
+ };
4564
+ var defaultProps9 = {
4565
+ size: Size.medium,
4566
+ rounded: Roundness.medium
4567
+ };
4568
+ var Checkbox = (props) => {
4569
+ const {
4570
+ id,
4571
+ checked,
4572
+ indeterminate,
4573
+ hover,
4574
+ focus,
4575
+ disabled,
4576
+ invalid,
4577
+ valid,
4578
+ required,
4579
+ size = defaultProps9.size,
4580
+ rounded = defaultProps9.rounded,
4581
+ ...other
4582
+ } = props;
4583
+ return /* @__PURE__ */ jsx12("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx12(
4584
+ "input",
4585
+ {
4586
+ ...other,
4587
+ id,
4588
+ type: "checkbox",
4589
+ checked,
4590
+ required,
4591
+ className: classNames(
4592
+ props.className,
4593
+ CHECKBOX_CLASSNAME,
4594
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
4595
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
4596
+ )
4597
+ }
4598
+ ) });
4599
+ };
4600
+ Checkbox.states = states9;
4601
+ Checkbox.options = options9;
4602
+ Checkbox.className = CHECKBOX_CLASSNAME;
4603
+ Checkbox.defaultProps = defaultProps9;
4604
+
4605
+ // src/checkbox/checkbox-group.spec.tsx
4606
+ import { jsx as jsx13 } from "react/jsx-runtime";
4607
+ var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
4608
+ var states10 = [];
4609
+ var options10 = {};
4610
+ var defaultProps10 = {
4611
+ layout: "vertical"
4612
+ };
4613
+ var CheckboxGroup = (props) => {
4614
+ const {
4615
+ layout = defaultProps10.layout,
4616
+ ...other
4617
+ } = props;
4618
+ return /* @__PURE__ */ jsx13(
4619
+ "ul",
4620
+ {
4621
+ ...other,
4622
+ className: classNames(
4623
+ props.className,
4624
+ CHECKBOXGROUP_CLASSNAME,
4625
+ {
4626
+ [`k-list-${layout}`]: layout
4627
+ }
4628
+ ),
4629
+ children: props.children
4630
+ }
4631
+ );
4632
+ };
4633
+ CheckboxGroup.states = states10;
4634
+ CheckboxGroup.options = options10;
4635
+ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
4636
+ CheckboxGroup.defaultProps = defaultProps10;
4637
+
4638
+ // src/checkbox/checkbox-item.spec.tsx
4639
+ import { jsx as jsx14 } from "react/jsx-runtime";
4640
+ var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
4641
+ var states11 = [];
4642
+ var options11 = {};
4643
+ var defaultProps11 = {};
4644
+ var CheckboxItem = (props) => {
4645
+ const {
4646
+ ...other
4647
+ } = props;
4648
+ return /* @__PURE__ */ jsx14(
4649
+ "li",
4650
+ {
4651
+ ...other,
4652
+ className: classNames(
4653
+ props.className,
4654
+ CHECKBOXITEM_CLASSNAME
4655
+ ),
4656
+ children: props.children
4357
4657
  }
4358
- return /* @__PURE__ */ jsx5(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4658
+ );
4659
+ };
4660
+ CheckboxItem.states = states11;
4661
+ CheckboxItem.options = options11;
4662
+ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
4663
+ CheckboxItem.defaultProps = defaultProps11;
4664
+
4665
+ // src/checkbox/templates/checkbox-with-label-after.tsx
4666
+ import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs2 } from "react/jsx-runtime";
4667
+
4668
+ // src/checkbox/templates/checkbox-with-label-before.tsx
4669
+ import { Fragment as Fragment5, jsx as jsx16, jsxs as jsxs3 } from "react/jsx-runtime";
4670
+
4671
+ // src/checkbox/templates/checkbox-normal.tsx
4672
+ import { jsx as jsx17 } from "react/jsx-runtime";
4673
+
4674
+ // src/column-menu/column-menu-multicheck-item.tsx
4675
+ import { jsx as jsx18, jsxs as jsxs4 } from "react/jsx-runtime";
4676
+
4677
+ // src/column-menu/column-menu-expander.spec.tsx
4678
+ import { Fragment as Fragment6, jsx as jsx19, jsxs as jsxs5 } from "react/jsx-runtime";
4679
+ var COLUMNMENUEXPANDER_CLASSNAME = `k-expander`;
4680
+ var states12 = [];
4681
+ var options12 = {};
4682
+ var defaultProps12 = {};
4683
+ var ColumnMenuExpander = (props) => {
4684
+ const {
4685
+ itemText,
4686
+ itemIcon,
4687
+ expanded,
4688
+ itemContent,
4689
+ expanderIcon,
4690
+ ...other
4691
+ } = props;
4692
+ let icon = /* @__PURE__ */ jsx19(Fragment6, {});
4693
+ if (!expanded && !expanderIcon) {
4694
+ icon = /* @__PURE__ */ jsx19(Icon, { icon: "chevron-down" });
4695
+ } else if (expanded && !expanderIcon) {
4696
+ icon = /* @__PURE__ */ jsx19(Icon, { icon: "chevron-up" });
4697
+ } else {
4698
+ icon = /* @__PURE__ */ jsx19(Icon, { icon: expanderIcon });
4359
4699
  }
4360
- return /* @__PURE__ */ jsx5(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4700
+ return /* @__PURE__ */ jsxs5(
4701
+ "div",
4702
+ {
4703
+ ...other,
4704
+ className: classNames(
4705
+ props.className,
4706
+ COLUMNMENUEXPANDER_CLASSNAME
4707
+ ),
4708
+ children: [
4709
+ /* @__PURE__ */ jsxs5(ColumnMenuItem, { text: itemText, icon: itemIcon, children: [
4710
+ /* @__PURE__ */ jsx19("span", { className: "k-spacer" }),
4711
+ /* @__PURE__ */ jsx19("span", { className: "k-expander-indicator", children: icon })
4712
+ ] }),
4713
+ expanded && /* @__PURE__ */ jsx19(ColumnMenuItemContent, { children: itemContent }),
4714
+ props.children
4715
+ ]
4716
+ }
4717
+ );
4718
+ };
4719
+ ColumnMenuExpander.states = states12;
4720
+ ColumnMenuExpander.options = options12;
4721
+ ColumnMenuExpander.className = COLUMNMENUEXPANDER_CLASSNAME;
4722
+ ColumnMenuExpander.defaultProps = defaultProps12;
4723
+
4724
+ // src/column-menu/templates/column-menu-normal.tsx
4725
+ import { jsx as jsx20, jsxs as jsxs6 } from "react/jsx-runtime";
4726
+ var ColumnMenuNormal = (props) => /* @__PURE__ */ jsx20(
4727
+ ColumnMenu,
4728
+ {
4729
+ children: [
4730
+ /* @__PURE__ */ jsxs6(ColumnMenuItemWrapper, { children: [
4731
+ /* @__PURE__ */ jsx20(ColumnMenuItem, { text: "Item 1", icon: "sort-asc-small" }),
4732
+ /* @__PURE__ */ jsx20(ColumnMenuItem, { text: "Item 2", icon: "sort-desc-small" })
4733
+ ] }),
4734
+ /* @__PURE__ */ jsx20(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx20(ColumnMenuExpander, { itemText: "Expandable item 1", itemIcon: "columns" }) }),
4735
+ /* @__PURE__ */ jsx20(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx20(ColumnMenuExpander, { itemText: "Expandable item 2", itemIcon: "filter" }) }),
4736
+ /* @__PURE__ */ jsx20(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx20(ColumnMenuExpander, { itemText: "Item with icons", itemIcon: "arrows-left-right", expanderIcon: "window-restore" }) })
4737
+ ],
4738
+ ...props
4739
+ }
4740
+ );
4741
+
4742
+ // src/column-menu/templates/column-menu-tabbed.tsx
4743
+ import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
4744
+
4745
+ // src/button/button.spec.tsx
4746
+ import { Fragment as Fragment7, jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
4747
+ var BUTTON_CLASSNAME = `k-button`;
4748
+ var states13 = [
4749
+ States.hover,
4750
+ States.focus,
4751
+ States.active,
4752
+ States.selected,
4753
+ States.disabled
4754
+ ];
4755
+ var options13 = {
4756
+ size: [Size.small, Size.medium, Size.large],
4757
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4758
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4759
+ themeColor: [
4760
+ ThemeColor.base,
4761
+ ThemeColor.primary,
4762
+ ThemeColor.secondary,
4763
+ ThemeColor.tertiary,
4764
+ ThemeColor.success,
4765
+ ThemeColor.warning,
4766
+ ThemeColor.error,
4767
+ ThemeColor.info,
4768
+ ThemeColor.light,
4769
+ ThemeColor.dark,
4770
+ ThemeColor.inverse
4771
+ ]
4772
+ };
4773
+ var defaultProps13 = {
4774
+ size: Size.medium,
4775
+ rounded: Roundness.medium,
4776
+ fillMode: FillMode.solid,
4777
+ themeColor: ThemeColor.base,
4778
+ showArrow: false,
4779
+ arrowIconName: "caret-alt-down"
4361
4780
  };
4362
- Icon.states = states5;
4363
- Icon.options = options5;
4364
- Icon.defaultProps = defaultProps5;
4781
+ var Button = (props) => {
4782
+ const {
4783
+ size = defaultProps13.size,
4784
+ rounded = defaultProps13.rounded,
4785
+ fillMode = defaultProps13.fillMode,
4786
+ themeColor = defaultProps13.themeColor,
4787
+ hover,
4788
+ focus,
4789
+ active,
4790
+ selected,
4791
+ disabled,
4792
+ icon,
4793
+ text,
4794
+ iconClassName,
4795
+ showArrow = defaultProps13.showArrow,
4796
+ arrowIconName = defaultProps13.arrowIconName,
4797
+ ...other
4798
+ } = props;
4799
+ const hasIcon = icon !== void 0;
4800
+ const hasChildren = props.children !== void 0;
4801
+ return /* @__PURE__ */ jsxs8(
4802
+ "button",
4803
+ {
4804
+ ...other,
4805
+ className: classNames(
4806
+ props.className,
4807
+ BUTTON_CLASSNAME,
4808
+ optionClassNames(BUTTON_CLASSNAME, {
4809
+ size,
4810
+ rounded,
4811
+ fillMode,
4812
+ themeColor
4813
+ }),
4814
+ stateClassNames(BUTTON_CLASSNAME, {
4815
+ hover,
4816
+ focus,
4817
+ active,
4818
+ disabled,
4819
+ selected
4820
+ }),
4821
+ {
4822
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
4823
+ }
4824
+ ),
4825
+ children: [
4826
+ icon && /* @__PURE__ */ jsx22(
4827
+ Icon,
4828
+ {
4829
+ className: classNames(iconClassName, "k-button-icon"),
4830
+ icon
4831
+ }
4832
+ ),
4833
+ text ? /* @__PURE__ */ jsxs8(Fragment7, { children: [
4834
+ text && /* @__PURE__ */ jsx22("span", { className: "k-button-text", children: text }),
4835
+ props.children
4836
+ ] }) : props.children && /* @__PURE__ */ jsx22("span", { className: "k-button-text", children: props.children }),
4837
+ showArrow && /* @__PURE__ */ jsx22("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx22(Icon, { icon: arrowIconName }) })
4838
+ ]
4839
+ }
4840
+ );
4841
+ };
4842
+ Button.states = states13;
4843
+ Button.options = options13;
4844
+ Button.className = BUTTON_CLASSNAME;
4845
+ Button.defaultProps = defaultProps13;
4846
+
4847
+ // src/button/templates/icon-button.tsx
4848
+ import { jsx as jsx23 } from "react/jsx-runtime";
4849
+
4850
+ // src/button/templates/icon-text-button.tsx
4851
+ import { jsx as jsx24 } from "react/jsx-runtime";
4852
+
4853
+ // src/button/templates/text-button.tsx
4854
+ import { jsx as jsx25 } from "react/jsx-runtime";
4855
+
4856
+ // src/input/input.spec.tsx
4857
+ import { jsx as jsx26 } from "react/jsx-runtime";
4858
+ var INPUT_CLASSNAME = `k-input`;
4859
+ var states14 = [
4860
+ States.hover,
4861
+ States.focus,
4862
+ States.valid,
4863
+ States.invalid,
4864
+ States.required,
4865
+ States.disabled,
4866
+ States.loading,
4867
+ States.readonly
4868
+ ];
4869
+ var options14 = {
4870
+ size: [Size.small, Size.medium, Size.large],
4871
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4872
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4873
+ };
4874
+ var defaultProps14 = {
4875
+ size: Size.medium,
4876
+ rounded: Size.medium,
4877
+ fillMode: FillMode.solid
4878
+ };
4879
+ var Input = (props) => {
4880
+ const {
4881
+ hover,
4882
+ focus,
4883
+ disabled,
4884
+ invalid,
4885
+ valid,
4886
+ loading,
4887
+ readonly,
4888
+ size = defaultProps14.size,
4889
+ rounded = defaultProps14.rounded,
4890
+ fillMode = defaultProps14.fillMode,
4891
+ ...other
4892
+ } = props;
4893
+ return /* @__PURE__ */ jsx26(
4894
+ "span",
4895
+ {
4896
+ ...other,
4897
+ className: classNames(
4898
+ props.className,
4899
+ INPUT_CLASSNAME,
4900
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
4901
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
4902
+ )
4903
+ }
4904
+ );
4905
+ };
4906
+ Input.states = states14;
4907
+ Input.options = options14;
4908
+ Input.className = INPUT_CLASSNAME;
4909
+ Input.defaultProps = defaultProps14;
4910
+
4911
+ // src/input/picker.spec.tsx
4912
+ import { jsx as jsx27 } from "react/jsx-runtime";
4913
+ var PICKER_CLASSNAME = `k-picker`;
4914
+ var pickerStates = [
4915
+ States.hover,
4916
+ States.focus,
4917
+ States.valid,
4918
+ States.invalid,
4919
+ States.required,
4920
+ States.disabled,
4921
+ States.loading,
4922
+ States.readonly
4923
+ ];
4924
+ var pickerOptions = {
4925
+ size: [Size.small, Size.medium, Size.large],
4926
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4927
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
4928
+ };
4929
+ var defaultProps15 = {
4930
+ size: Size.medium,
4931
+ rounded: Roundness.medium,
4932
+ fillMode: FillMode.solid
4933
+ };
4934
+ var Picker = (props) => {
4935
+ const {
4936
+ hover,
4937
+ focus,
4938
+ disabled,
4939
+ invalid,
4940
+ valid,
4941
+ loading,
4942
+ readonly,
4943
+ size = defaultProps15.size,
4944
+ rounded = defaultProps15.rounded,
4945
+ fillMode = defaultProps15.fillMode,
4946
+ ...other
4947
+ } = props;
4948
+ return /* @__PURE__ */ jsx27(
4949
+ "span",
4950
+ {
4951
+ ...other,
4952
+ className: classNames(
4953
+ props.className,
4954
+ PICKER_CLASSNAME,
4955
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
4956
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
4957
+ ),
4958
+ children: props.children
4959
+ }
4960
+ );
4961
+ };
4962
+ Picker.states = pickerStates;
4963
+ Picker.options = pickerOptions;
4964
+ Picker.className = PICKER_CLASSNAME;
4965
+ Picker.defaultProps = defaultProps15;
4966
+
4967
+ // src/input/input-clear-value.tsx
4968
+ import { Fragment as Fragment8, jsx as jsx28 } from "react/jsx-runtime";
4969
+ var className3 = `k-clear-value`;
4970
+ var states15 = [
4971
+ States.disabled,
4972
+ States.loading,
4973
+ States.readonly
4974
+ ];
4975
+ var options15 = {};
4976
+ var InputClearValue = (props) => {
4977
+ const {
4978
+ disabled,
4979
+ loading,
4980
+ readonly,
4981
+ value
4982
+ } = props;
4983
+ if (disabled || readonly || loading || !value) {
4984
+ return /* @__PURE__ */ jsx28(Fragment8, {});
4985
+ }
4986
+ return /* @__PURE__ */ jsx28("span", { className: classNames(props.className, className3), children: /* @__PURE__ */ jsx28(Icon, { icon: "x" }) });
4987
+ };
4988
+ InputClearValue.states = states15;
4989
+ InputClearValue.options = options15;
4990
+ InputClearValue.className = className3;
4991
+
4992
+ // src/input/input-inner-input.tsx
4993
+ import { jsx as jsx29 } from "react/jsx-runtime";
4994
+ var className4 = `k-input-inner`;
4995
+ var states16 = [];
4996
+ var options16 = {};
4997
+ var defaultProps16 = {
4998
+ type: "text",
4999
+ autocomplete: "off",
5000
+ value: "",
5001
+ placeholder: ""
5002
+ };
5003
+ var InputInnerInput = (props) => {
5004
+ const {
5005
+ value = defaultProps16.value,
5006
+ type = defaultProps16.type,
5007
+ placeholder = defaultProps16.placeholder,
5008
+ autocomplete = defaultProps16.autocomplete,
5009
+ ...other
5010
+ } = props;
5011
+ return /* @__PURE__ */ jsx29(
5012
+ "input",
5013
+ {
5014
+ ...other,
5015
+ type,
5016
+ className: classNames(props.className, className4, optionClassNames(className4, props)),
5017
+ placeholder,
5018
+ autoComplete: autocomplete,
5019
+ defaultValue: value
5020
+ }
5021
+ );
5022
+ };
5023
+ InputInnerInput.states = states16;
5024
+ InputInnerInput.options = options16;
5025
+ InputInnerInput.className = className4;
5026
+
5027
+ // src/input/input-inner-span.tsx
5028
+ import { jsx as jsx30, jsxs as jsxs9 } from "react/jsx-runtime";
5029
+ var className5 = `k-input-inner`;
5030
+ var states17 = [];
5031
+ var options17 = {};
5032
+ var InputInnerSpan = (props) => {
5033
+ const {
5034
+ value,
5035
+ placeholder,
5036
+ showValue,
5037
+ valueIcon,
5038
+ valueIconName,
5039
+ ...other
5040
+ } = props;
5041
+ return /* @__PURE__ */ jsxs9(
5042
+ "span",
5043
+ {
5044
+ ...other,
5045
+ className: classNames(props.className, className5, optionClassNames(className5, props)),
5046
+ children: [
5047
+ valueIcon,
5048
+ !valueIcon && valueIconName && /* @__PURE__ */ jsx30(Icon, { className: "k-input-value-icon", icon: valueIconName }),
5049
+ showValue && !value && placeholder,
5050
+ showValue && value && /* @__PURE__ */ jsx30("span", { className: "k-input-value-text", children: value })
5051
+ ]
5052
+ }
5053
+ );
5054
+ };
5055
+ InputInnerSpan.states = states17;
5056
+ InputInnerSpan.options = options17;
5057
+ InputInnerSpan.className = className5;
5058
+
5059
+ // src/input/input-inner-textarea.tsx
5060
+ import { jsx as jsx31 } from "react/jsx-runtime";
5061
+ var defaultProps17 = {
5062
+ value: "",
5063
+ placeholder: ""
5064
+ };
5065
+ var className6 = `k-input-inner`;
5066
+ var states18 = [];
5067
+ var options18 = {};
5068
+ var InputInnerTextarea = (props) => {
5069
+ const {
5070
+ value = defaultProps17.value,
5071
+ placeholder = defaultProps17.placeholder,
5072
+ rows,
5073
+ ...other
5074
+ } = props;
5075
+ return /* @__PURE__ */ jsx31(
5076
+ "textarea",
5077
+ {
5078
+ ...other,
5079
+ className: classNames(props.className, className6, optionClassNames(className6, props)),
5080
+ placeholder,
5081
+ rows,
5082
+ children: value
5083
+ }
5084
+ );
5085
+ };
5086
+ InputInnerTextarea.states = states18;
5087
+ InputInnerTextarea.options = options18;
5088
+ InputInnerTextarea.className = className6;
5089
+
5090
+ // src/input/input-loading-icon.tsx
5091
+ import { Fragment as Fragment9, jsx as jsx32 } from "react/jsx-runtime";
5092
+ var className7 = `k-input-loading-icon`;
5093
+ var states19 = [
5094
+ States.disabled,
5095
+ States.loading
5096
+ ];
5097
+ var InputLoadingIcon = (props) => {
5098
+ const {
5099
+ disabled,
5100
+ loading
5101
+ } = props;
5102
+ if (disabled || !loading) {
5103
+ return /* @__PURE__ */ jsx32(Fragment9, {});
5104
+ }
5105
+ return /* @__PURE__ */ jsx32("span", { className: classNames(props.className, className7, "k-icon k-i-loading") });
5106
+ };
5107
+
5108
+ // src/input/input-validation-icon.tsx
5109
+ import { Fragment as Fragment10, jsx as jsx33 } from "react/jsx-runtime";
5110
+ var className8 = `k-input-validation-icon`;
5111
+ var states20 = [
5112
+ States.valid,
5113
+ States.invalid,
5114
+ States.disabled,
5115
+ States.loading
5116
+ ];
5117
+ var options19 = {};
5118
+ var InputValidationIcon = (props) => {
5119
+ const {
5120
+ valid,
5121
+ invalid,
5122
+ disabled,
5123
+ loading
5124
+ } = props;
5125
+ const iconName = invalid ? "warning-circle" : "check-circle";
5126
+ const renderValidationIcon = Boolean(valid || invalid);
5127
+ if (disabled || loading || !renderValidationIcon) {
5128
+ return /* @__PURE__ */ jsx33(Fragment10, {});
5129
+ }
5130
+ return /* @__PURE__ */ jsx33(Icon, { className: classNames(className8), icon: iconName });
5131
+ };
5132
+ InputValidationIcon.states = states20;
5133
+ InputValidationIcon.options = options19;
5134
+ InputValidationIcon.className = className8;
5135
+
5136
+ // src/input/input-prefix.tsx
5137
+ import { Fragment as Fragment11, jsx as jsx34 } from "react/jsx-runtime";
5138
+ var className9 = `k-input-prefix`;
5139
+ var defaultProps18 = {
5140
+ direction: "horizontal"
5141
+ };
5142
+ var InputPrefix = (props) => {
5143
+ const {
5144
+ direction = defaultProps18.direction,
5145
+ ...other
5146
+ } = props;
5147
+ if (!props.children) {
5148
+ return /* @__PURE__ */ jsx34(Fragment11, {});
5149
+ }
5150
+ return /* @__PURE__ */ jsx34(
5151
+ "span",
5152
+ {
5153
+ ...other,
5154
+ className: classNames(
5155
+ className9,
5156
+ props.className,
5157
+ {
5158
+ [`k-input-prefix-${direction}`]: direction
5159
+ }
5160
+ ),
5161
+ children: props.children
5162
+ }
5163
+ );
5164
+ };
5165
+
5166
+ // src/input/input-suffix.tsx
5167
+ import { Fragment as Fragment12, jsx as jsx35 } from "react/jsx-runtime";
5168
+ var className10 = `k-input-suffix`;
5169
+ var defaultProps19 = {
5170
+ direction: "horizontal"
5171
+ };
5172
+ var InputSuffix = (props) => {
5173
+ const {
5174
+ direction = defaultProps19.direction,
5175
+ ...other
5176
+ } = props;
5177
+ if (!props.children) {
5178
+ return /* @__PURE__ */ jsx35(Fragment12, {});
5179
+ }
5180
+ return /* @__PURE__ */ jsx35(
5181
+ "span",
5182
+ {
5183
+ ...other,
5184
+ className: classNames(
5185
+ className10,
5186
+ props.className,
5187
+ {
5188
+ [`k-input-suffix-${direction}`]: direction
5189
+ }
5190
+ ),
5191
+ children: props.children
5192
+ }
5193
+ );
5194
+ };
5195
+
5196
+ // src/input/input-prefix-text.tsx
5197
+ import { jsx as jsx36 } from "react/jsx-runtime";
5198
+
5199
+ // src/input/input-suffix-text.tsx
5200
+ import { jsx as jsx37 } from "react/jsx-runtime";
5201
+
5202
+ // src/input/input-separator.tsx
5203
+ import { jsx as jsx38 } from "react/jsx-runtime";
5204
+ var className11 = `k-input-separator`;
5205
+ var defaultProps20 = {
5206
+ direction: "vertical"
5207
+ };
5208
+ var InputSeparator = (props) => {
5209
+ const {
5210
+ direction = defaultProps20.direction,
5211
+ ...other
5212
+ } = props;
5213
+ return /* @__PURE__ */ jsx38(
5214
+ "span",
5215
+ {
5216
+ ...other,
5217
+ className: classNames(
5218
+ className11,
5219
+ props.className,
5220
+ {
5221
+ [`${className11}-${direction}`]: direction
5222
+ }
5223
+ )
5224
+ }
5225
+ );
5226
+ };
5227
+
5228
+ // src/dropdownlist/dropdownlist.spec.tsx
5229
+ import { Fragment as Fragment13, jsx as jsx39, jsxs as jsxs10 } from "react/jsx-runtime";
5230
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5231
+ var states21 = [
5232
+ States.hover,
5233
+ States.focus,
5234
+ States.valid,
5235
+ States.invalid,
5236
+ States.required,
5237
+ States.disabled,
5238
+ States.loading,
5239
+ States.readonly
5240
+ ];
5241
+ var options20 = {
5242
+ size: [Size.small, Size.medium, Size.large],
5243
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5244
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5245
+ };
5246
+ var defaultProps21 = {
5247
+ showValue: true,
5248
+ arrowIconName: "caret-alt-down",
5249
+ size: Size.medium,
5250
+ rounded: Roundness.medium,
5251
+ fillMode: FillMode.solid
5252
+ };
5253
+ var DropdownList = (props) => {
5254
+ const {
5255
+ valueIconName,
5256
+ arrowIconName = defaultProps21.arrowIconName,
5257
+ prefix,
5258
+ suffix,
5259
+ value,
5260
+ placeholder,
5261
+ size,
5262
+ rounded,
5263
+ fillMode,
5264
+ hover,
5265
+ focus,
5266
+ valid,
5267
+ invalid,
5268
+ required,
5269
+ loading,
5270
+ disabled,
5271
+ readonly,
5272
+ showValue = defaultProps21.showValue,
5273
+ popup,
5274
+ opened,
5275
+ ...other
5276
+ } = props;
5277
+ return /* @__PURE__ */ jsxs10(Fragment13, { children: [
5278
+ /* @__PURE__ */ jsxs10(
5279
+ Picker,
5280
+ {
5281
+ ...other,
5282
+ size,
5283
+ rounded,
5284
+ fillMode,
5285
+ hover,
5286
+ focus,
5287
+ valid,
5288
+ invalid,
5289
+ required,
5290
+ loading,
5291
+ disabled,
5292
+ readonly,
5293
+ className: classNames(
5294
+ props.className,
5295
+ DROPDOWNLIST_CLASSNAME,
5296
+ {
5297
+ "k-icon-picker": !showValue && valueIconName
5298
+ }
5299
+ ),
5300
+ children: [
5301
+ /* @__PURE__ */ jsx39(InputPrefix, { children: prefix }),
5302
+ /* @__PURE__ */ jsx39(
5303
+ InputInnerSpan,
5304
+ {
5305
+ placeholder,
5306
+ value,
5307
+ showValue,
5308
+ valueIconName
5309
+ }
5310
+ ),
5311
+ /* @__PURE__ */ jsx39(
5312
+ InputValidationIcon,
5313
+ {
5314
+ valid,
5315
+ invalid,
5316
+ loading,
5317
+ disabled
5318
+ }
5319
+ ),
5320
+ /* @__PURE__ */ jsx39(
5321
+ InputLoadingIcon,
5322
+ {
5323
+ loading,
5324
+ disabled
5325
+ }
5326
+ ),
5327
+ /* @__PURE__ */ jsx39(InputSuffix, { children: suffix }),
5328
+ /* @__PURE__ */ jsx39(
5329
+ Button,
5330
+ {
5331
+ className: "k-input-button",
5332
+ icon: arrowIconName,
5333
+ rounded: null,
5334
+ size: props.size,
5335
+ fillMode: props.fillMode
5336
+ }
5337
+ )
5338
+ ]
5339
+ }
5340
+ ),
5341
+ opened && popup && /* @__PURE__ */ jsx39(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5342
+ ] });
5343
+ };
5344
+ DropdownList.states = states21;
5345
+ DropdownList.options = options20;
5346
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
5347
+ DropdownList.defaultProps = defaultProps21;
5348
+
5349
+ // src/dropdownlist/templates/dropdownlist-normal.tsx
5350
+ import { jsx as jsx40 } from "react/jsx-runtime";
5351
+
5352
+ // src/nodata/nodata.tsx
5353
+ import { jsx as jsx41 } from "react/jsx-runtime";
5354
+ var className12 = `k-nodata`;
5355
+ var NoData = (props) => /* @__PURE__ */ jsx41("span", { className: classNames(className12, props.className), children: props.children });
5356
+
5357
+ // src/list/list.spec.tsx
5358
+ import { jsx as jsx42, jsxs as jsxs11 } from "react/jsx-runtime";
5359
+ var LIST_CLASSNAME = `k-list`;
5360
+ var states22 = [];
5361
+ var options21 = {
5362
+ size: [Size.small, Size.medium, Size.large]
5363
+ };
5364
+ var defaultProps22 = {
5365
+ size: Size.medium
5366
+ };
5367
+ var List = (props) => {
5368
+ const {
5369
+ size = defaultProps22.size,
5370
+ virtualization,
5371
+ children,
5372
+ optionLabel,
5373
+ ...other
5374
+ } = props;
5375
+ let listHeader;
5376
+ let listGroup;
5377
+ let listContent;
5378
+ const listChildren = [];
5379
+ if (children) {
5380
+ children.map((child, index) => {
5381
+ if (child.type === ListGroup) {
5382
+ if (child.props.root === true) {
5383
+ listHeader = child.props.label;
5384
+ child.props.children.map((optChild, index2) => {
5385
+ listChildren.push(
5386
+ /* @__PURE__ */ jsx42(
5387
+ ListItem,
5388
+ {
5389
+ ...optChild.props
5390
+ },
5391
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5392
+ )
5393
+ );
5394
+ });
5395
+ } else {
5396
+ child.props.children.forEach((optChild, index2) => {
5397
+ let groupLabel = "";
5398
+ if (index2 === 0) {
5399
+ groupLabel = child.props.label;
5400
+ }
5401
+ listChildren.push(
5402
+ /* @__PURE__ */ jsx42(
5403
+ ListItem,
5404
+ {
5405
+ className: index2 === 0 ? "k-first" : "",
5406
+ ...optChild.props,
5407
+ groupLabel
5408
+ },
5409
+ `groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5410
+ )
5411
+ );
5412
+ });
5413
+ }
5414
+ listGroup = /* @__PURE__ */ jsx42(ListGroup, { label: listHeader, virtualization, children: listChildren });
5415
+ } else if (child.type === ListItem) {
5416
+ listChildren.push(/* @__PURE__ */ jsx42(ListItem, { ...child.props }, `${child.type}-${index}`));
5417
+ listContent = /* @__PURE__ */ jsx42(ListContent, { virtualization, children: listChildren });
5418
+ }
5419
+ });
5420
+ } else {
5421
+ listContent = /* @__PURE__ */ jsx42(NoData, { children: "No data found." });
5422
+ }
5423
+ return /* @__PURE__ */ jsxs11(
5424
+ "div",
5425
+ {
5426
+ ...other,
5427
+ className: classNames(
5428
+ props.className,
5429
+ LIST_CLASSNAME,
5430
+ optionClassNames(LIST_CLASSNAME, {
5431
+ size
5432
+ }),
5433
+ {
5434
+ ["k-virtual-list"]: virtualization
5435
+ }
5436
+ ),
5437
+ children: [
5438
+ optionLabel,
5439
+ listGroup,
5440
+ listContent
5441
+ ]
5442
+ }
5443
+ );
5444
+ };
5445
+ List.states = states22;
5446
+ List.options = options21;
5447
+ List.className = LIST_CLASSNAME;
5448
+ List.defaultProps = defaultProps22;
5449
+
5450
+ // src/list/list-angular.spec.tsx
5451
+ import { jsx as jsx43, jsxs as jsxs12 } from "react/jsx-runtime";
5452
+ var LISTANGULAR_CLASSNAME = `k-list`;
5453
+ var states23 = [];
5454
+ var options22 = {
5455
+ size: [Size.small, Size.medium, Size.large]
5456
+ };
5457
+ var defaultProps23 = {
5458
+ size: Size.medium
5459
+ };
5460
+ var ListAngular = (props) => {
5461
+ const {
5462
+ size = defaultProps23.size,
5463
+ virtualization,
5464
+ children,
5465
+ ...other
5466
+ } = props;
5467
+ let listHeader;
5468
+ let listGroup;
5469
+ let listContent;
5470
+ const listChildren = [];
5471
+ if (children) {
5472
+ children.map((child, index) => {
5473
+ if (child.type === ListGroup) {
5474
+ if (child.props.root === true) {
5475
+ listHeader = child.props.label;
5476
+ child.props.children.map((optChild, index2) => {
5477
+ listChildren.push(
5478
+ /* @__PURE__ */ jsx43(
5479
+ ListItem,
5480
+ {
5481
+ ...optChild.props
5482
+ },
5483
+ `optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5484
+ )
5485
+ );
5486
+ });
5487
+ } else {
5488
+ listChildren.push(
5489
+ /* @__PURE__ */ jsx43(
5490
+ ListGroupItem,
5491
+ {
5492
+ ...child.props,
5493
+ children: child.props.label
5494
+ },
5495
+ `listChild-${index}`
5496
+ )
5497
+ );
5498
+ child.props.children.map((optChild, index2) => {
5499
+ listChildren.push(
5500
+ /* @__PURE__ */ jsx43(
5501
+ ListItem,
5502
+ {
5503
+ ...optChild.props
5504
+ },
5505
+ `fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
5506
+ )
5507
+ );
5508
+ });
5509
+ }
5510
+ listGroup = /* @__PURE__ */ jsx43(ListGroup, { label: listHeader, virtualization, children: listChildren });
5511
+ } else if (child.type === ListItem) {
5512
+ listChildren.push(/* @__PURE__ */ jsx43(ListItem, { ...child.props }, `${child.type}-${index}`));
5513
+ listContent = /* @__PURE__ */ jsx43(ListContent, { virtualization, children: listChildren });
5514
+ }
5515
+ });
5516
+ } else {
5517
+ listContent = /* @__PURE__ */ jsx43(NoData, { children: "No data found." });
5518
+ }
5519
+ return /* @__PURE__ */ jsxs12(
5520
+ "div",
5521
+ {
5522
+ ...other,
5523
+ className: classNames(
5524
+ props.className,
5525
+ LISTANGULAR_CLASSNAME,
5526
+ optionClassNames(LISTANGULAR_CLASSNAME, {
5527
+ size
5528
+ }),
5529
+ {
5530
+ ["k-virtual-list"]: virtualization
5531
+ }
5532
+ ),
5533
+ children: [
5534
+ listGroup,
5535
+ listContent
5536
+ ]
5537
+ }
5538
+ );
5539
+ };
5540
+ ListAngular.states = states23;
5541
+ ListAngular.options = options22;
5542
+ ListAngular.className = LISTANGULAR_CLASSNAME;
5543
+ ListAngular.defaultProps = defaultProps23;
5544
+
5545
+ // src/list/list-item.spec.tsx
5546
+ import { jsx as jsx44, jsxs as jsxs13 } from "react/jsx-runtime";
5547
+ var LISTITEM_CLASSNAME = `k-list-item`;
5548
+ var states24 = [
5549
+ States.hover,
5550
+ States.focus,
5551
+ States.selected,
5552
+ States.disabled
5553
+ ];
5554
+ var options23 = {};
5555
+ var defaultProps24 = {};
5556
+ var ListItem = (props) => {
5557
+ const {
5558
+ text,
5559
+ groupLabel,
5560
+ showIcon,
5561
+ iconName,
5562
+ showCheckbox,
5563
+ checked,
5564
+ hover,
5565
+ focus,
5566
+ selected,
5567
+ disabled,
5568
+ ...other
5569
+ } = props;
5570
+ const textOrChildren = text ? text : props.children;
5571
+ return /* @__PURE__ */ jsxs13(
5572
+ "li",
5573
+ {
5574
+ ...other,
5575
+ className: classNames(
5576
+ props.className,
5577
+ LISTITEM_CLASSNAME,
5578
+ stateClassNames(LISTITEM_CLASSNAME, {
5579
+ hover,
5580
+ focus,
5581
+ disabled,
5582
+ selected
5583
+ })
5584
+ ),
5585
+ children: [
5586
+ showCheckbox && /* @__PURE__ */ jsx44(Checkbox, { checked }),
5587
+ showIcon && /* @__PURE__ */ jsx44(Icon, { icon: iconName }),
5588
+ /* @__PURE__ */ jsx44("span", { className: "k-list-item-text", children: textOrChildren }),
5589
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx44("div", { className: "k-list-item-group-label", children: groupLabel })
5590
+ ]
5591
+ }
5592
+ );
5593
+ };
5594
+ ListItem.states = states24;
5595
+ ListItem.options = options23;
5596
+ ListItem.className = LISTITEM_CLASSNAME;
5597
+ ListItem.defaultProps = defaultProps24;
5598
+
5599
+ // src/list/list-content.tsx
5600
+ import { jsx as jsx45, jsxs as jsxs14 } from "react/jsx-runtime";
5601
+ var className13 = `k-list-content`;
5602
+ var ListContent = (props) => {
5603
+ const {
5604
+ virtualization
5605
+ } = props;
5606
+ return /* @__PURE__ */ jsxs14("div", { className: classNames(className13, props.className), children: [
5607
+ /* @__PURE__ */ jsx45("ul", { className: classNames("k-list-ul"), children: props.children }),
5608
+ virtualization && /* @__PURE__ */ jsx45("div", { className: "k-height-container", children: /* @__PURE__ */ jsx45("div", {}) })
5609
+ ] });
5610
+ };
5611
+
5612
+ // src/list/list-header.tsx
5613
+ import { jsx as jsx46 } from "react/jsx-runtime";
5614
+ var className14 = `k-list-group-sticky-header`;
5615
+ var ListHeader = (props) => /* @__PURE__ */ jsx46("div", { className: classNames(className14, props.className), children: /* @__PURE__ */ jsx46("div", { className: "k-list-header-text", children: props.children }) });
5616
+
5617
+ // src/list/list-group.tsx
5618
+ import { Fragment as Fragment14, jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
5619
+ var ListGroup = (props) => {
5620
+ const {
5621
+ virtualization,
5622
+ label
5623
+ } = props;
5624
+ return /* @__PURE__ */ jsxs15(Fragment14, { children: [
5625
+ label && /* @__PURE__ */ jsx47(ListHeader, { children: label }),
5626
+ props.children && /* @__PURE__ */ jsx47(ListContent, { virtualization, children: props.children })
5627
+ ] });
5628
+ };
5629
+
5630
+ // src/list/list-group-item.tsx
5631
+ import { jsx as jsx48 } from "react/jsx-runtime";
5632
+ var className15 = `k-list-group-item`;
5633
+ var ListGroupItem = (props) => /* @__PURE__ */ jsx48("li", { className: classNames(className15, props.className), children: /* @__PURE__ */ jsx48("span", { className: "k-list-item-text", children: props.children }) });
5634
+
5635
+ // src/list/list-option-label.tsx
5636
+ import { jsx as jsx49 } from "react/jsx-runtime";
5637
+ var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
5638
+ var states25 = [
5639
+ States.hover,
5640
+ States.focus,
5641
+ States.selected,
5642
+ States.disabled
5643
+ ];
5644
+ var options24 = {};
5645
+ var defaultProps25 = {};
5646
+ var ListOptionLabel = (props) => {
5647
+ const {
5648
+ text,
5649
+ hover,
5650
+ focus,
5651
+ selected,
5652
+ disabled,
5653
+ ...other
5654
+ } = props;
5655
+ return /* @__PURE__ */ jsx49(
5656
+ "div",
5657
+ {
5658
+ ...other,
5659
+ className: classNames(
5660
+ LIST_OPTIONLABEL_CLASSNAME,
5661
+ stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
5662
+ hover,
5663
+ focus,
5664
+ selected,
5665
+ disabled
5666
+ })
5667
+ ),
5668
+ children: text
5669
+ }
5670
+ );
5671
+ };
5672
+ ListOptionLabel.states = states25;
5673
+ ListOptionLabel.options = options24;
5674
+ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
5675
+ ListOptionLabel.defaultProps = defaultProps25;
5676
+
5677
+ // src/list/templates/list-normal.tsx
5678
+ import { jsx as jsx50 } from "react/jsx-runtime";
5679
+
5680
+ // src/list/templates/list-virtualization.tsx
5681
+ import { jsx as jsx51 } from "react/jsx-runtime";
5682
+
5683
+ // src/list/templates/list-grouping.tsx
5684
+ import { jsx as jsx52, jsxs as jsxs16 } from "react/jsx-runtime";
5685
+
5686
+ // src/list/templates/list-virualization-grouping.tsx
5687
+ import { jsx as jsx53, jsxs as jsxs17 } from "react/jsx-runtime";
5688
+
5689
+ // src/list/templates/list-virtualization-angular.tsx
5690
+ import { jsx as jsx54 } from "react/jsx-runtime";
5691
+
5692
+ // src/list/templates/list-grouping-angular.tsx
5693
+ import { jsx as jsx55, jsxs as jsxs18 } from "react/jsx-runtime";
5694
+
5695
+ // src/list/templates/list-virualization-grouping-angular.tsx
5696
+ import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
5697
+
5698
+ // src/dropdownlist/templates/dropdownlist-popup.tsx
5699
+ import { jsx as jsx57, jsxs as jsxs20 } from "react/jsx-runtime";
5700
+
5701
+ // src/searchbox/searchbox.spec.tsx
5702
+ import { jsx as jsx58, jsxs as jsxs21 } from "react/jsx-runtime";
5703
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5704
+ var states26 = [
5705
+ States.hover,
5706
+ States.focus,
5707
+ States.valid,
5708
+ States.invalid,
5709
+ States.required,
5710
+ States.disabled,
5711
+ States.loading
5712
+ ];
5713
+ var options25 = {
5714
+ size: [Size.small, Size.medium, Size.large],
5715
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5716
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5717
+ };
5718
+ var defaultProps26 = {
5719
+ showIcon: true,
5720
+ icon: "search",
5721
+ size: Input.defaultProps.size,
5722
+ rounded: Input.defaultProps.rounded,
5723
+ fillMode: Input.defaultProps.fillMode
5724
+ };
5725
+ var Searchbox = (props) => {
5726
+ const {
5727
+ value,
5728
+ placeholder,
5729
+ size,
5730
+ rounded,
5731
+ fillMode,
5732
+ hover,
5733
+ focus,
5734
+ valid,
5735
+ invalid,
5736
+ required,
5737
+ loading,
5738
+ disabled,
5739
+ showIcon = defaultProps26.showIcon,
5740
+ icon = defaultProps26.icon,
5741
+ ...other
5742
+ } = props;
5743
+ return /* @__PURE__ */ jsxs21(
5744
+ Input,
5745
+ {
5746
+ ...other,
5747
+ size,
5748
+ rounded,
5749
+ fillMode,
5750
+ hover,
5751
+ focus,
5752
+ valid,
5753
+ invalid,
5754
+ required,
5755
+ loading,
5756
+ disabled,
5757
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
5758
+ children: [
5759
+ showIcon && /* @__PURE__ */ jsx58(Icon, { className: "k-input-icon", icon }),
5760
+ /* @__PURE__ */ jsx58(InputInnerInput, { placeholder, value }),
5761
+ /* @__PURE__ */ jsx58(InputLoadingIcon, { ...props }),
5762
+ /* @__PURE__ */ jsx58(InputValidationIcon, { ...props }),
5763
+ /* @__PURE__ */ jsx58(InputClearValue, { ...props })
5764
+ ]
5765
+ }
5766
+ );
5767
+ };
5768
+ Searchbox.states = states26;
5769
+ Searchbox.options = options25;
5770
+ Searchbox.className = SEARCHBOX_CLASSNAME;
5771
+ Searchbox.defaultProps = defaultProps26;
5772
+
5773
+ // src/searchbox/templates/searchbox-normal.tsx
5774
+ import { jsx as jsx59 } from "react/jsx-runtime";
5775
+
5776
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
5777
+ import { Fragment as Fragment15, jsx as jsx60, jsxs as jsxs22 } from "react/jsx-runtime";
5778
+
5779
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
5780
+ import { jsx as jsx61, jsxs as jsxs23 } from "react/jsx-runtime";
5781
+
5782
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
5783
+ import { Fragment as Fragment16, jsx as jsx62, jsxs as jsxs24 } from "react/jsx-runtime";
5784
+
5785
+ // src/textbox/textbox.spec.tsx
5786
+ import { Fragment as Fragment17, jsx as jsx63, jsxs as jsxs25 } from "react/jsx-runtime";
5787
+ var TEXTBOX_CLASSNAME = `k-textbox`;
5788
+ var states27 = [
5789
+ States.hover,
5790
+ States.focus,
5791
+ States.valid,
5792
+ States.invalid,
5793
+ States.required,
5794
+ States.disabled,
5795
+ States.loading,
5796
+ States.readonly
5797
+ ];
5798
+ var options26 = {
5799
+ size: [Size.small, Size.medium, Size.large],
5800
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5801
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5802
+ };
5803
+ var defaultProps27 = {
5804
+ showClearButton: true,
5805
+ size: Input.defaultProps.size,
5806
+ rounded: Input.defaultProps.rounded,
5807
+ fillMode: Input.defaultProps.fillMode
5808
+ };
5809
+ var Textbox = (props) => {
5810
+ const {
5811
+ prefix,
5812
+ suffix,
5813
+ value,
5814
+ placeholder,
5815
+ size,
5816
+ rounded,
5817
+ fillMode,
5818
+ hover,
5819
+ focus,
5820
+ valid,
5821
+ invalid,
5822
+ required,
5823
+ loading,
5824
+ disabled,
5825
+ readonly,
5826
+ showClearButton = defaultProps27.showClearButton,
5827
+ ...other
5828
+ } = props;
5829
+ return /* @__PURE__ */ jsxs25(
5830
+ Input,
5831
+ {
5832
+ ...other,
5833
+ size,
5834
+ rounded,
5835
+ fillMode,
5836
+ hover,
5837
+ focus,
5838
+ valid,
5839
+ invalid,
5840
+ required,
5841
+ loading,
5842
+ disabled,
5843
+ readonly,
5844
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
5845
+ children: [
5846
+ prefix && /* @__PURE__ */ jsxs25(Fragment17, { children: [
5847
+ /* @__PURE__ */ jsx63(InputPrefix, { children: prefix }),
5848
+ /* @__PURE__ */ jsx63(InputSeparator, {})
5849
+ ] }),
5850
+ /* @__PURE__ */ jsx63(InputInnerInput, { placeholder, value }),
5851
+ /* @__PURE__ */ jsx63(
5852
+ InputValidationIcon,
5853
+ {
5854
+ valid,
5855
+ invalid,
5856
+ loading,
5857
+ disabled
5858
+ }
5859
+ ),
5860
+ /* @__PURE__ */ jsx63(
5861
+ InputLoadingIcon,
5862
+ {
5863
+ loading,
5864
+ disabled
5865
+ }
5866
+ ),
5867
+ showClearButton && /* @__PURE__ */ jsx63(
5868
+ InputClearValue,
5869
+ {
5870
+ loading,
5871
+ disabled,
5872
+ readonly,
5873
+ value
5874
+ }
5875
+ ),
5876
+ suffix && /* @__PURE__ */ jsxs25(Fragment17, { children: [
5877
+ /* @__PURE__ */ jsx63(InputSeparator, {}),
5878
+ /* @__PURE__ */ jsx63(InputSuffix, { children: suffix })
5879
+ ] })
5880
+ ]
5881
+ }
5882
+ );
5883
+ };
5884
+ Textbox.states = states27;
5885
+ Textbox.options = options26;
5886
+ Textbox.className = TEXTBOX_CLASSNAME;
5887
+ Textbox.defaultProps = defaultProps27;
5888
+
5889
+ // src/textbox/templates/textbox-normal.tsx
5890
+ import { jsx as jsx64 } from "react/jsx-runtime";
5891
+
5892
+ // src/textbox/templates/textbox-prefix.tsx
5893
+ import { Fragment as Fragment18, jsx as jsx65 } from "react/jsx-runtime";
5894
+
5895
+ // src/textbox/templates/textbox-suffix.tsx
5896
+ import { Fragment as Fragment19, jsx as jsx66 } from "react/jsx-runtime";
5897
+
5898
+ // src/action-buttons/action-buttons.spec.tsx
5899
+ import { jsx as jsx67 } from "react/jsx-runtime";
5900
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
5901
+ var states28 = [];
5902
+ var options27 = {};
5903
+ var defaultProps28 = {
5904
+ alignment: "start",
5905
+ orientation: "horizontal"
5906
+ };
5907
+ var ActionButtons = (props) => {
5908
+ const {
5909
+ alignment = defaultProps28.alignment,
5910
+ orientation = defaultProps28.orientation,
5911
+ ...other
5912
+ } = props;
5913
+ return /* @__PURE__ */ jsx67(
5914
+ "div",
5915
+ {
5916
+ ...other,
5917
+ className: classNames(
5918
+ ACTIONBUTTONS_CLASSNAME,
5919
+ {
5920
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
5921
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
5922
+ },
5923
+ props.className
5924
+ ),
5925
+ children: props.children
5926
+ }
5927
+ );
5928
+ };
5929
+ ActionButtons.states = states28;
5930
+ ActionButtons.options = options27;
5931
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
5932
+ ActionButtons.defaultProps = defaultProps28;
5933
+
5934
+ // src/column-menu/templates/filter-menu-normal.tsx
5935
+ import { jsx as jsx68, jsxs as jsxs26 } from "react/jsx-runtime";
5936
+
5937
+ // src/column-menu/templates/filter-menu-multi-check.tsx
5938
+ import { jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
4365
5939
 
4366
5940
  // src/taskboard/tests/taskboard-card-column-menu.tsx
4367
- import { Fragment as Fragment4, jsx as jsx6, jsxs } from "react/jsx-runtime";
5941
+ import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs28 } from "react/jsx-runtime";
4368
5942
  var styles = `
4369
5943
  .k-animation-container,
4370
5944
  .k-popup {
@@ -4376,34 +5950,16 @@ var styles = `
4376
5950
  width: 100%;
4377
5951
  }
4378
5952
  `;
4379
- var taskboard_card_column_menu_default = () => /* @__PURE__ */ jsxs(Fragment4, { children: [
4380
- /* @__PURE__ */ jsx6("style", { children: styles }),
4381
- /* @__PURE__ */ jsx6("div", { id: "test-area", className: "k-d-grid k-grid-cols-4", children: /* @__PURE__ */ jsx6(Popup, { className: "k-column-menu k-card-columnmenu-popup", children: /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item-wrapper", children: [
4382
- /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item", children: [
4383
- /* @__PURE__ */ jsx6(Icon, { icon: "caret-alt-left" }),
4384
- "Move to prev column"
4385
- ] }),
4386
- /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item", children: [
4387
- /* @__PURE__ */ jsx6(Icon, { icon: "caret-alt-right" }),
4388
- "Move to next column"
4389
- ] }),
4390
- /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item", children: [
4391
- /* @__PURE__ */ jsx6(Icon, { icon: "caret-alt-up" }),
4392
- "Move up"
4393
- ] }),
4394
- /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item", children: [
4395
- /* @__PURE__ */ jsx6(Icon, { icon: "caret-alt-down" }),
4396
- "Move down"
4397
- ] }),
4398
- /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item", children: [
4399
- /* @__PURE__ */ jsx6(Icon, { icon: "caret-alt-to-top" }),
4400
- "Move top"
4401
- ] }),
4402
- /* @__PURE__ */ jsxs("div", { className: "k-columnmenu-item", children: [
4403
- /* @__PURE__ */ jsx6(Icon, { icon: "caret-alt-to-bottom" }),
4404
- "Move bottom"
4405
- ] })
4406
- ] }) }) })
5953
+ var taskboard_card_column_menu_default = () => /* @__PURE__ */ jsxs28(Fragment20, { children: [
5954
+ /* @__PURE__ */ jsx70("style", { children: styles }),
5955
+ /* @__PURE__ */ jsx70("div", { id: "test-area", className: "k-d-grid k-grid-cols-4", children: /* @__PURE__ */ jsx70(Popup, { className: "k-card-columnmenu-popup", children: /* @__PURE__ */ jsx70(ColumnMenuNormal, { children: /* @__PURE__ */ jsxs28(ColumnMenuItemWrapper, { children: [
5956
+ /* @__PURE__ */ jsx70(ColumnMenuItem, { text: "Move to prev column", icon: "caret-alt-left" }),
5957
+ /* @__PURE__ */ jsx70(ColumnMenuItem, { text: "Move to next column", icon: "caret-alt-right" }),
5958
+ /* @__PURE__ */ jsx70(ColumnMenuItem, { text: "Move up", icon: "caret-alt-up" }),
5959
+ /* @__PURE__ */ jsx70(ColumnMenuItem, { text: "Move down", icon: "caret-alt-down" }),
5960
+ /* @__PURE__ */ jsx70(ColumnMenuItem, { text: "Move top", icon: "caret-alt-to-top" }),
5961
+ /* @__PURE__ */ jsx70(ColumnMenuItem, { text: "Move bottom", icon: "caret-alt-to-bottom" })
5962
+ ] }) }) }) })
4407
5963
  ] });
4408
5964
  export {
4409
5965
  taskboard_card_column_menu_default as default