@progress/kendo-themes-html 6.2.1-dev.154 → 6.2.1-dev.170

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 (133) hide show
  1. package/dist/context-menu/tests/context-menu-in-window.js +1 -4
  2. package/dist/context-menu/tests/context-menu-in-window.js.map +2 -2
  3. package/dist/datetime-selector/datetime-selector.spec.js +2 -2
  4. package/dist/datetime-selector/datetime-selector.spec.js.map +2 -2
  5. package/dist/datetime-selector/tests/datetime-selector.js +2 -2
  6. package/dist/datetime-selector/tests/datetime-selector.js.map +2 -2
  7. package/dist/datetimepicker/datetimepicker.spec.js +2 -2
  8. package/dist/datetimepicker/datetimepicker.spec.js.map +2 -2
  9. package/dist/datetimepicker/tests/datetimepicker-opened.js +2 -2
  10. package/dist/datetimepicker/tests/datetimepicker-opened.js.map +2 -2
  11. package/dist/datetimepicker/tests/datetimepicker.js +2 -2
  12. package/dist/datetimepicker/tests/datetimepicker.js.map +2 -2
  13. package/dist/dialog/dialog.spec.js +1 -4
  14. package/dist/dialog/dialog.spec.js.map +2 -2
  15. package/dist/dialog/tests/dialog-action-buttons.js +82 -73
  16. package/dist/dialog/tests/dialog-action-buttons.js.map +3 -3
  17. package/dist/dialog/tests/dialog-in-window.js +2 -8
  18. package/dist/dialog/tests/dialog-in-window.js.map +2 -2
  19. package/dist/dialog/tests/dialog-modal.js +70 -70
  20. package/dist/dialog/tests/dialog-modal.js.map +3 -3
  21. package/dist/dialog/tests/dialog-theme-colors.js +82 -73
  22. package/dist/dialog/tests/dialog-theme-colors.js.map +3 -3
  23. package/dist/dialog/tests/dialog.js +86 -74
  24. package/dist/dialog/tests/dialog.js.map +3 -3
  25. package/dist/editor/tests/editor-find-replace.js +1 -4
  26. package/dist/editor/tests/editor-find-replace.js.map +2 -2
  27. package/dist/editor/tests/editor-image-editor.js +276 -276
  28. package/dist/editor/tests/editor-image-editor.js.map +4 -4
  29. package/dist/editor/tests/editor-table-wizard-accessibility.js +5 -5
  30. package/dist/editor/tests/editor-table-wizard-accessibility.js.map +2 -2
  31. package/dist/editor/tests/editor-view-source.js +5 -5
  32. package/dist/editor/tests/editor-view-source.js.map +2 -2
  33. package/dist/filemanager/tests/filemanager-dialogs.js +79 -73
  34. package/dist/filemanager/tests/filemanager-dialogs.js.map +3 -3
  35. package/dist/form/tests/form-field-dateinputs.js +4 -4
  36. package/dist/form/tests/form-field-dateinputs.js.map +2 -2
  37. package/dist/gantt/tests/gantt-editing-popup-general.js +2300 -0
  38. package/dist/gantt/tests/gantt-editing-popup-general.js.map +7 -0
  39. package/dist/gantt/tests/gantt-editing-popup-other.js +2035 -0
  40. package/dist/gantt/tests/gantt-editing-popup-other.js.map +7 -0
  41. package/dist/gantt/tests/gantt-editing-popup-predecessors.js +1895 -0
  42. package/dist/gantt/tests/gantt-editing-popup-predecessors.js.map +7 -0
  43. package/dist/gantt/tests/gantt-editing-popup-resources.js +2195 -0
  44. package/dist/gantt/tests/gantt-editing-popup-resources.js.map +7 -0
  45. package/dist/gantt/tests/gantt-editing-popup-successors.js +1895 -0
  46. package/dist/gantt/tests/gantt-editing-popup-successors.js.map +7 -0
  47. package/dist/grid/tests/grid-column-menu-rtl.js +8 -8
  48. package/dist/grid/tests/grid-column-menu-rtl.js.map +2 -2
  49. package/dist/grid/tests/grid-column-menu-tabbed.js +1331 -0
  50. package/dist/grid/tests/grid-column-menu-tabbed.js.map +7 -0
  51. package/dist/grid/tests/grid-column-menu.js +8 -8
  52. package/dist/grid/tests/grid-column-menu.js.map +2 -2
  53. package/dist/grid/tests/grid-editing-custom-editor.js +4 -4
  54. package/dist/grid/tests/grid-editing-custom-editor.js.map +2 -2
  55. package/dist/grid/tests/grid-editing-popup.js +724 -338
  56. package/dist/grid/tests/grid-editing-popup.js.map +4 -4
  57. package/dist/grid/tests/grid-filter-menu-multi-checkbox.js +8 -8
  58. package/dist/grid/tests/grid-filter-menu-multi-checkbox.js.map +2 -2
  59. package/dist/grid/tests/grid-filter-menu.js +2 -2
  60. package/dist/grid/tests/grid-filter-menu.js.map +2 -2
  61. package/dist/grid/tests/grid-filter-row.js +4 -4
  62. package/dist/grid/tests/grid-filter-row.js.map +2 -2
  63. package/dist/grid/tests/grid-rows-resizing.js +2 -2
  64. package/dist/grid/tests/grid-rows-resizing.js.map +2 -2
  65. package/dist/grid/tests/grid-selection-aggregates.js +1348 -0
  66. package/dist/grid/tests/grid-selection-aggregates.js.map +7 -0
  67. package/dist/imageeditor/tests/imageeditor-crop-pane.js +48 -32
  68. package/dist/imageeditor/tests/imageeditor-crop-pane.js.map +2 -2
  69. package/dist/imageeditor/tests/imageeditor-resize-pane.js +45 -22
  70. package/dist/imageeditor/tests/imageeditor-resize-pane.js.map +2 -2
  71. package/dist/index.js +6 -12
  72. package/dist/index.js.map +2 -2
  73. package/dist/scheduler/tests/scheduler-edit-dialog.js +1394 -882
  74. package/dist/scheduler/tests/scheduler-edit-dialog.js.map +4 -4
  75. package/dist/scheduler/tests/scheduler-editing-weekly.js +2964 -0
  76. package/dist/scheduler/tests/scheduler-editing-weekly.js.map +7 -0
  77. package/dist/spreadsheet/tests/spreadsheet-dialog.js +10 -7
  78. package/dist/spreadsheet/tests/spreadsheet-dialog.js.map +2 -2
  79. package/dist/timepicker/tests/timepicker-flat.js +2 -2
  80. package/dist/timepicker/tests/timepicker-flat.js.map +2 -2
  81. package/dist/timepicker/tests/timepicker-opened.js +2 -2
  82. package/dist/timepicker/tests/timepicker-opened.js.map +2 -2
  83. package/dist/timepicker/tests/timepicker-outline.js +2 -2
  84. package/dist/timepicker/tests/timepicker-outline.js.map +2 -2
  85. package/dist/timepicker/tests/timepicker.js +2 -2
  86. package/dist/timepicker/tests/timepicker.js.map +2 -2
  87. package/dist/timepicker/timepicker.spec.js +2 -2
  88. package/dist/timepicker/timepicker.spec.js.map +2 -2
  89. package/dist/treelist/tests/treelist-editing-popup.js +1939 -0
  90. package/dist/treelist/tests/treelist-editing-popup.js.map +7 -0
  91. package/dist/window/tests/window-action-buttons.js +82 -73
  92. package/dist/window/tests/window-action-buttons.js.map +3 -3
  93. package/dist/window/tests/window-rtl.js +1 -4
  94. package/dist/window/tests/window-rtl.js.map +2 -2
  95. package/dist/window/tests/window-theme-colors.js +1 -4
  96. package/dist/window/tests/window-theme-colors.js.map +2 -2
  97. package/dist/window/tests/window.js +1 -4
  98. package/dist/window/tests/window.js.map +2 -2
  99. package/dist/window/window.spec.js +1 -4
  100. package/dist/window/window.spec.js.map +2 -2
  101. package/package.json +2 -2
  102. package/src/datetime-selector/datetime-selector.spec.tsx +1 -1
  103. package/src/dialog/dialog.spec.tsx +2 -3
  104. package/src/dialog/tests/dialog-action-buttons.tsx +25 -4
  105. package/src/dialog/tests/dialog-modal.tsx +7 -1
  106. package/src/dialog/tests/dialog-theme-colors.tsx +25 -4
  107. package/src/dialog/tests/dialog.tsx +31 -5
  108. package/src/editor/tests/editor-image-editor.tsx +8 -2
  109. package/src/editor/tests/editor-table-wizard-accessibility.tsx +7 -1
  110. package/src/editor/tests/editor-view-source.tsx +7 -1
  111. package/src/filemanager/tests/filemanager-dialogs.tsx +19 -3
  112. package/src/gantt/tests/gantt-editing-popup-general.tsx +97 -0
  113. package/src/gantt/tests/gantt-editing-popup-other.tsx +92 -0
  114. package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +113 -0
  115. package/src/gantt/tests/gantt-editing-popup-resources.tsx +180 -0
  116. package/src/gantt/tests/gantt-editing-popup-successors.tsx +113 -0
  117. package/src/grid/tests/grid-column-menu-rtl.tsx +4 -4
  118. package/src/grid/tests/grid-column-menu-tabbed.tsx +337 -0
  119. package/src/grid/tests/grid-column-menu.tsx +4 -4
  120. package/src/grid/tests/grid-editing-popup.tsx +18 -30
  121. package/src/grid/tests/grid-filter-menu-multi-checkbox.tsx +4 -4
  122. package/src/grid/tests/grid-filter-menu.tsx +1 -1
  123. package/src/grid/tests/grid-rows-resizing.tsx +6 -3
  124. package/src/grid/tests/grid-selection-aggregates.tsx +192 -0
  125. package/src/imageeditor/tests/imageeditor-crop-pane.tsx +35 -20
  126. package/src/imageeditor/tests/imageeditor-resize-pane.tsx +31 -16
  127. package/src/scheduler/tests/scheduler-edit-dialog.tsx +32 -34
  128. package/src/scheduler/tests/scheduler-editing-weekly.tsx +137 -0
  129. package/src/spreadsheet/tests/spreadsheet-dialog.tsx +15 -4
  130. package/src/timepicker/timepicker.spec.tsx +1 -1
  131. package/src/treelist/tests/treelist-editing-popup.tsx +66 -0
  132. package/src/window/tests/window-action-buttons.tsx +25 -4
  133. package/src/window/window.spec.tsx +2 -3
@@ -0,0 +1,2195 @@
1
+ (() => {
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b ||= {})
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
26
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
27
+ }) : x)(function(x) {
28
+ if (typeof require !== "undefined")
29
+ return require.apply(this, arguments);
30
+ throw new Error('Dynamic require of "' + x + '" is not supported');
31
+ });
32
+ var __objRest = (source, exclude) => {
33
+ var target = {};
34
+ for (var prop in source)
35
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
36
+ target[prop] = source[prop];
37
+ if (source != null && __getOwnPropSymbols)
38
+ for (var prop of __getOwnPropSymbols(source)) {
39
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
40
+ target[prop] = source[prop];
41
+ }
42
+ return target;
43
+ };
44
+ var __copyProps = (to, from, except, desc) => {
45
+ if (from && typeof from === "object" || typeof from === "function") {
46
+ for (let key of __getOwnPropNames(from))
47
+ if (!__hasOwnProp.call(to, key) && key !== except)
48
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
49
+ }
50
+ return to;
51
+ };
52
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
53
+ // If the importer is in node compatibility mode or this is not an ESM
54
+ // file that has been converted to a CommonJS file using a Babel-
55
+ // compatible transform (i.e. "__esModule" has not been set), then set
56
+ // "default" to the CommonJS "module.exports" for node compatibility.
57
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
58
+ mod
59
+ ));
60
+
61
+ // src/gantt/tests/gantt-editing-popup-resources.tsx
62
+ var import_client = __toESM(__require("react-dom/client"));
63
+
64
+ // src/utils/class-names.ts
65
+ var classNames = (...args) => {
66
+ return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
67
+ return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
68
+ }).filter((arg) => Boolean(arg)).join(" ");
69
+ };
70
+
71
+ // src/utils/component-class-names.ts
72
+ var optionClassNames = (componentClassName, props) => {
73
+ return classNames(
74
+ {
75
+ [`${componentClassName}-xs`]: props.size === "xsmall",
76
+ [`${componentClassName}-sm`]: props.size === "small",
77
+ [`${componentClassName}-md`]: props.size === "medium",
78
+ [`${componentClassName}-lg`]: props.size === "large",
79
+ [`${componentClassName}-xl`]: props.size === "xlarge",
80
+ [`${componentClassName}-xxl`]: props.size === "xxlarge",
81
+ [`${componentClassName}-xxxl`]: props.size === "xxxlarge"
82
+ },
83
+ {
84
+ [`${componentClassName}-${props.fillMode}`]: props.fillMode
85
+ },
86
+ {
87
+ [`${componentClassName}-${props.fillMode}-${props.themeColor}`]: props.fillMode && props.themeColor
88
+ },
89
+ {
90
+ [`${componentClassName}-${props.themeColor}`]: props.themeColor && props.fillMode === void 0
91
+ },
92
+ {
93
+ "k-rounded-sm": props.rounded === "small",
94
+ "k-rounded-md": props.rounded === "medium",
95
+ "k-rounded-lg": props.rounded === "large",
96
+ "k-rounded-full": props.rounded === "full"
97
+ }
98
+ );
99
+ };
100
+ var stateClassNames = (_componentClassName, props) => {
101
+ return classNames({
102
+ "k-valid": props.valid,
103
+ "k-invalid": props.invalid,
104
+ "k-hover": props.hover,
105
+ "k-focus": props.focus,
106
+ "k-checked": props.checked,
107
+ "k-active": props.active,
108
+ "k-selected": props.selected,
109
+ "k-disabled": props.disabled,
110
+ "k-indeterminate": props.indeterminate && !props.checked,
111
+ "k-loading": props.loading,
112
+ "k-empty": props.empty,
113
+ "k-readonly": props.readonly
114
+ });
115
+ };
116
+
117
+ // src/utils/theme.ts
118
+ var Size = {
119
+ "xsmall": "xsmall",
120
+ "small": "small",
121
+ "medium": "medium",
122
+ "large": "large",
123
+ "xlarge": "xlarge",
124
+ "xxlarge": "xxlarge",
125
+ "xxxlarge": "xxxlarge"
126
+ };
127
+ var Roundness = {
128
+ "small": "small",
129
+ "medium": "medium",
130
+ "large": "large",
131
+ "full": "full"
132
+ };
133
+ var FillMode = {
134
+ "solid": "solid",
135
+ "flat": "flat",
136
+ "outline": "outline",
137
+ "clear": "clear",
138
+ "link": "link"
139
+ };
140
+ var ThemeColor = {
141
+ "inherit": "inherit",
142
+ "base": "base",
143
+ "primary": "primary",
144
+ "secondary": "secondary",
145
+ "tertiary": "tertiary",
146
+ "info": "info",
147
+ "success": "success",
148
+ "warning": "warning",
149
+ "error": "error",
150
+ "dark": "dark",
151
+ "light": "light",
152
+ "inverse": "inverse"
153
+ };
154
+ var States = {
155
+ "open": "open",
156
+ "hover": "hover",
157
+ "focus": "focus",
158
+ "active": "active",
159
+ "selected": "selected",
160
+ "disabled": "disabled",
161
+ "valid": "valid",
162
+ "invalid": "invalid",
163
+ "loading": "loading",
164
+ "required": "required",
165
+ "empty": "empty",
166
+ "indeterminate": "indeterminate",
167
+ "checked": "checked",
168
+ "readonly": "readonly"
169
+ };
170
+
171
+ // src/action-buttons/action-buttons.spec.tsx
172
+ var import_jsx_runtime = __require("react/jsx-runtime");
173
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
174
+ var states = [];
175
+ var options = {};
176
+ var defaultProps = {
177
+ alignment: "start",
178
+ orientation: "horizontal"
179
+ };
180
+ var ActionButtons = (props) => {
181
+ const _a = props, {
182
+ alignment = defaultProps.alignment,
183
+ orientation = defaultProps.orientation
184
+ } = _a, other = __objRest(_a, [
185
+ "alignment",
186
+ "orientation"
187
+ ]);
188
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
189
+ "div",
190
+ __spreadProps(__spreadValues({}, other), {
191
+ className: classNames(
192
+ ACTIONBUTTONS_CLASSNAME,
193
+ {
194
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
195
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
196
+ },
197
+ props.className
198
+ ),
199
+ children: props.children
200
+ })
201
+ );
202
+ };
203
+ ActionButtons.states = states;
204
+ ActionButtons.options = options;
205
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
206
+ ActionButtons.defaultProps = defaultProps;
207
+
208
+ // src/icon/icon.spec.tsx
209
+ var import_jsx_runtime2 = __require("react/jsx-runtime");
210
+ var ICON_CLASSNAME = `k-icon`;
211
+ var states2 = [];
212
+ var options2 = {
213
+ size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
214
+ themeColor: [
215
+ ThemeColor.base,
216
+ ThemeColor.primary,
217
+ ThemeColor.secondary,
218
+ ThemeColor.tertiary,
219
+ ThemeColor.success,
220
+ ThemeColor.warning,
221
+ ThemeColor.error,
222
+ ThemeColor.info,
223
+ ThemeColor.light,
224
+ ThemeColor.dark
225
+ ]
226
+ };
227
+ var defaultProps2 = {};
228
+ var Icon = (props) => {
229
+ const _a = props, {
230
+ size,
231
+ themeColor,
232
+ name,
233
+ rotate,
234
+ flip
235
+ } = _a, other = __objRest(_a, [
236
+ "size",
237
+ "themeColor",
238
+ "name",
239
+ "rotate",
240
+ "flip"
241
+ ]);
242
+ if (!name) {
243
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {});
244
+ }
245
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
246
+ "span",
247
+ __spreadProps(__spreadValues({}, other), {
248
+ className: classNames(
249
+ props.className,
250
+ ICON_CLASSNAME,
251
+ optionClassNames(ICON_CLASSNAME, {
252
+ size,
253
+ themeColor
254
+ }),
255
+ {
256
+ [`k-i-${name}`]: name,
257
+ [`k-rotate-${rotate}`]: rotate,
258
+ [`k-flip-${flip}`]: flip
259
+ }
260
+ )
261
+ })
262
+ );
263
+ };
264
+ Icon.states = states2;
265
+ Icon.options = options2;
266
+ Icon.className = ICON_CLASSNAME;
267
+ Icon.defaultProps = defaultProps2;
268
+
269
+ // src/button/button.spec.tsx
270
+ var import_jsx_runtime3 = __require("react/jsx-runtime");
271
+ var BUTTON_CLASSNAME = `k-button`;
272
+ var states3 = [
273
+ States.hover,
274
+ States.focus,
275
+ States.active,
276
+ States.selected,
277
+ States.disabled
278
+ ];
279
+ var options3 = {
280
+ size: [Size.small, Size.medium, Size.large],
281
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
282
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
283
+ themeColor: [
284
+ ThemeColor.base,
285
+ ThemeColor.primary,
286
+ ThemeColor.secondary,
287
+ ThemeColor.tertiary,
288
+ ThemeColor.success,
289
+ ThemeColor.warning,
290
+ ThemeColor.error,
291
+ ThemeColor.info,
292
+ ThemeColor.light,
293
+ ThemeColor.dark,
294
+ ThemeColor.inverse
295
+ ]
296
+ };
297
+ var defaultProps3 = {
298
+ size: Size.medium,
299
+ rounded: Roundness.medium,
300
+ fillMode: FillMode.solid,
301
+ themeColor: ThemeColor.base,
302
+ showArrow: false,
303
+ arrowIconName: "arrow-s"
304
+ };
305
+ var Button = (props) => {
306
+ const _a = props, {
307
+ size = defaultProps3.size,
308
+ rounded = defaultProps3.rounded,
309
+ fillMode = defaultProps3.fillMode,
310
+ themeColor = defaultProps3.themeColor,
311
+ hover,
312
+ focus,
313
+ active,
314
+ selected,
315
+ disabled,
316
+ icon,
317
+ text,
318
+ iconClassName,
319
+ showArrow = defaultProps3.showArrow,
320
+ arrowIconName = defaultProps3.arrowIconName
321
+ } = _a, other = __objRest(_a, [
322
+ "size",
323
+ "rounded",
324
+ "fillMode",
325
+ "themeColor",
326
+ "hover",
327
+ "focus",
328
+ "active",
329
+ "selected",
330
+ "disabled",
331
+ "icon",
332
+ "text",
333
+ "iconClassName",
334
+ "showArrow",
335
+ "arrowIconName"
336
+ ]);
337
+ const hasIcon = icon !== void 0;
338
+ const hasChildren = props.children !== void 0;
339
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
340
+ "button",
341
+ __spreadProps(__spreadValues({}, other), {
342
+ className: classNames(
343
+ props.className,
344
+ BUTTON_CLASSNAME,
345
+ optionClassNames(BUTTON_CLASSNAME, {
346
+ size,
347
+ rounded,
348
+ fillMode,
349
+ themeColor
350
+ }),
351
+ stateClassNames(BUTTON_CLASSNAME, {
352
+ hover,
353
+ focus,
354
+ active,
355
+ disabled,
356
+ selected
357
+ }),
358
+ {
359
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
360
+ }
361
+ ),
362
+ children: [
363
+ icon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
364
+ Icon,
365
+ {
366
+ className: classNames(iconClassName, "k-button-icon"),
367
+ name: icon
368
+ }
369
+ ),
370
+ text ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
371
+ text && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "k-button-text", children: text }),
372
+ props.children
373
+ ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "k-button-text", children: props.children }),
374
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { name: arrowIconName }) })
375
+ ]
376
+ })
377
+ );
378
+ };
379
+ Button.states = states3;
380
+ Button.options = options3;
381
+ Button.className = BUTTON_CLASSNAME;
382
+ Button.defaultProps = defaultProps3;
383
+
384
+ // src/window/window.spec.tsx
385
+ var import_jsx_runtime4 = __require("react/jsx-runtime");
386
+ var WINDOW_CLASSNAME = `k-window`;
387
+ var states4 = [];
388
+ var options4 = {
389
+ themeColor: [
390
+ ThemeColor.primary,
391
+ ThemeColor.light,
392
+ ThemeColor.dark
393
+ ]
394
+ };
395
+ var defaultProps4 = {};
396
+ var Window = (props) => {
397
+ const _a = props, {
398
+ title,
399
+ actions,
400
+ minimized,
401
+ themeColor,
402
+ actionButtons,
403
+ actionButtonsAlign
404
+ } = _a, other = __objRest(_a, [
405
+ "title",
406
+ "actions",
407
+ "minimized",
408
+ "themeColor",
409
+ "actionButtons",
410
+ "actionButtonsAlign"
411
+ ]);
412
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
413
+ "div",
414
+ __spreadProps(__spreadValues({}, other), {
415
+ className: classNames(
416
+ props.className,
417
+ WINDOW_CLASSNAME,
418
+ optionClassNames(WINDOW_CLASSNAME, { themeColor }),
419
+ {
420
+ [`${WINDOW_CLASSNAME}-minimized`]: minimized
421
+ }
422
+ ),
423
+ children: [
424
+ (title !== void 0 || actions) && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "k-window-titlebar", children: [
425
+ title !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-window-title", children: title }),
426
+ actions && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-window-titlebar-actions", children: actions.map(
427
+ (actionName) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Button, { icon: actionName, fillMode: "flat", className: "k-window-titlebar-action" }, actionName)
428
+ ) }) })
429
+ ] }),
430
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: classNames(
431
+ "k-window-content",
432
+ {
433
+ "k-hidden": minimized
434
+ }
435
+ ), children: props.children }),
436
+ actionButtons && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ActionButtons, { alignment: actionButtonsAlign, className: "k-window-actions", children: actionButtons })
437
+ ]
438
+ })
439
+ );
440
+ };
441
+ Window.states = states4;
442
+ Window.options = options4;
443
+ Window.className = WINDOW_CLASSNAME;
444
+ Window.defaultProps = defaultProps4;
445
+
446
+ // src/input/input.spec.tsx
447
+ var import_jsx_runtime5 = __require("react/jsx-runtime");
448
+ var INPUT_CLASSNAME = `k-input`;
449
+ var states5 = [
450
+ States.hover,
451
+ States.focus,
452
+ States.valid,
453
+ States.invalid,
454
+ States.required,
455
+ States.disabled,
456
+ States.loading,
457
+ States.readonly
458
+ ];
459
+ var options5 = {
460
+ size: [Size.small, Size.medium, Size.large],
461
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
462
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
463
+ };
464
+ var defaultProps5 = {
465
+ size: Size.medium,
466
+ rounded: Size.medium,
467
+ fillMode: FillMode.solid
468
+ };
469
+ var Input = (props) => {
470
+ const _a = props, {
471
+ hover,
472
+ focus,
473
+ disabled,
474
+ invalid,
475
+ valid,
476
+ loading,
477
+ readonly,
478
+ size = defaultProps5.size,
479
+ rounded = defaultProps5.rounded,
480
+ fillMode = defaultProps5.fillMode
481
+ } = _a, other = __objRest(_a, [
482
+ "hover",
483
+ "focus",
484
+ "disabled",
485
+ "invalid",
486
+ "valid",
487
+ "loading",
488
+ "readonly",
489
+ "size",
490
+ "rounded",
491
+ "fillMode"
492
+ ]);
493
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
494
+ "span",
495
+ __spreadProps(__spreadValues({}, other), {
496
+ className: classNames(
497
+ props.className,
498
+ INPUT_CLASSNAME,
499
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
500
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
501
+ )
502
+ })
503
+ );
504
+ };
505
+ Input.states = states5;
506
+ Input.options = options5;
507
+ Input.className = INPUT_CLASSNAME;
508
+ Input.defaultProps = defaultProps5;
509
+
510
+ // src/input/picker.spec.tsx
511
+ var import_jsx_runtime6 = __require("react/jsx-runtime");
512
+ var PICKER_CLASSNAME = `k-picker`;
513
+ var pickerStates = [
514
+ States.hover,
515
+ States.focus,
516
+ States.valid,
517
+ States.invalid,
518
+ States.required,
519
+ States.disabled,
520
+ States.loading,
521
+ States.readonly
522
+ ];
523
+ var pickerOptions = {
524
+ size: [Size.small, Size.medium, Size.large],
525
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
526
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
527
+ };
528
+ var defaultProps6 = {
529
+ size: Size.medium,
530
+ rounded: Roundness.medium,
531
+ fillMode: FillMode.solid
532
+ };
533
+ var Picker = (props) => {
534
+ const _a = props, {
535
+ hover,
536
+ focus,
537
+ disabled,
538
+ invalid,
539
+ valid,
540
+ loading,
541
+ readonly,
542
+ size = defaultProps6.size,
543
+ rounded = defaultProps6.rounded,
544
+ fillMode = defaultProps6.fillMode
545
+ } = _a, other = __objRest(_a, [
546
+ "hover",
547
+ "focus",
548
+ "disabled",
549
+ "invalid",
550
+ "valid",
551
+ "loading",
552
+ "readonly",
553
+ "size",
554
+ "rounded",
555
+ "fillMode"
556
+ ]);
557
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
558
+ "span",
559
+ __spreadProps(__spreadValues({}, other), {
560
+ className: classNames(
561
+ props.className,
562
+ PICKER_CLASSNAME,
563
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
564
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
565
+ ),
566
+ children: props.children
567
+ })
568
+ );
569
+ };
570
+ Picker.states = pickerStates;
571
+ Picker.options = pickerOptions;
572
+ Picker.className = PICKER_CLASSNAME;
573
+ Picker.defaultProps = defaultProps6;
574
+
575
+ // src/input/input-clear-value.tsx
576
+ var import_jsx_runtime7 = __require("react/jsx-runtime");
577
+ var className = `k-clear-value`;
578
+ var states6 = [
579
+ States.disabled,
580
+ States.loading,
581
+ States.readonly
582
+ ];
583
+ var options6 = {};
584
+ var InputClearValue = (props) => {
585
+ const {
586
+ disabled,
587
+ loading,
588
+ readonly,
589
+ value
590
+ } = props;
591
+ if (disabled || readonly || loading || !value) {
592
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
593
+ }
594
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "x" }) });
595
+ };
596
+ InputClearValue.states = states6;
597
+ InputClearValue.options = options6;
598
+ InputClearValue.className = className;
599
+
600
+ // src/input/input-inner-input.tsx
601
+ var import_jsx_runtime8 = __require("react/jsx-runtime");
602
+ var className2 = `k-input-inner`;
603
+ var states7 = [];
604
+ var options7 = {};
605
+ var defaultProps7 = {
606
+ type: "text",
607
+ autocomplete: "off",
608
+ value: "",
609
+ placeholder: ""
610
+ };
611
+ var InputInnerInput = (props) => {
612
+ const _a = props, {
613
+ value = defaultProps7.value,
614
+ type = defaultProps7.type,
615
+ placeholder = defaultProps7.placeholder,
616
+ autocomplete = defaultProps7.autocomplete
617
+ } = _a, other = __objRest(_a, [
618
+ "value",
619
+ "type",
620
+ "placeholder",
621
+ "autocomplete"
622
+ ]);
623
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
624
+ "input",
625
+ __spreadProps(__spreadValues({}, other), {
626
+ type,
627
+ className: classNames(props.className, className2, optionClassNames(className2, props)),
628
+ placeholder,
629
+ autoComplete: autocomplete,
630
+ defaultValue: value
631
+ })
632
+ );
633
+ };
634
+ InputInnerInput.states = states7;
635
+ InputInnerInput.options = options7;
636
+ InputInnerInput.className = className2;
637
+
638
+ // src/input/input-inner-span.tsx
639
+ var import_jsx_runtime9 = __require("react/jsx-runtime");
640
+ var className3 = `k-input-inner`;
641
+ var states8 = [];
642
+ var options8 = {};
643
+ var InputInnerSpan = (props) => {
644
+ const _a = props, {
645
+ value,
646
+ placeholder,
647
+ showValue,
648
+ valueIcon,
649
+ valueIconName
650
+ } = _a, other = __objRest(_a, [
651
+ "value",
652
+ "placeholder",
653
+ "showValue",
654
+ "valueIcon",
655
+ "valueIconName"
656
+ ]);
657
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
658
+ "span",
659
+ __spreadProps(__spreadValues({}, other), {
660
+ className: classNames(props.className, className3, optionClassNames(className3, props)),
661
+ children: [
662
+ valueIcon,
663
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { className: "k-input-value-icon", name: valueIconName }),
664
+ showValue && !value && placeholder,
665
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-input-value-text", children: value })
666
+ ]
667
+ })
668
+ );
669
+ };
670
+ InputInnerSpan.states = states8;
671
+ InputInnerSpan.options = options8;
672
+ InputInnerSpan.className = className3;
673
+
674
+ // src/input/input-inner-textarea.tsx
675
+ var import_jsx_runtime10 = __require("react/jsx-runtime");
676
+ var defaultProps8 = {
677
+ value: "",
678
+ placeholder: ""
679
+ };
680
+ var className4 = `k-input-inner`;
681
+ var states9 = [];
682
+ var options9 = {};
683
+ var InputInnerTextarea = (props) => {
684
+ const _a = props, {
685
+ value = defaultProps8.value,
686
+ placeholder = defaultProps8.placeholder,
687
+ rows
688
+ } = _a, other = __objRest(_a, [
689
+ "value",
690
+ "placeholder",
691
+ "rows"
692
+ ]);
693
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
694
+ "textarea",
695
+ __spreadProps(__spreadValues({}, other), {
696
+ className: classNames(props.className, className4, optionClassNames(className4, props)),
697
+ placeholder,
698
+ rows,
699
+ children: value
700
+ })
701
+ );
702
+ };
703
+ InputInnerTextarea.states = states9;
704
+ InputInnerTextarea.options = options9;
705
+ InputInnerTextarea.className = className4;
706
+
707
+ // src/input/input-loading-icon.tsx
708
+ var import_jsx_runtime11 = __require("react/jsx-runtime");
709
+ var className5 = `k-input-loading-icon`;
710
+ var states10 = [
711
+ States.disabled,
712
+ States.loading
713
+ ];
714
+ var InputLoadingIcon = (props) => {
715
+ const {
716
+ disabled,
717
+ loading
718
+ } = props;
719
+ if (disabled || !loading) {
720
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_jsx_runtime11.Fragment, {});
721
+ }
722
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { className: classNames(props.className, className5), name: "loading" });
723
+ };
724
+
725
+ // src/input/input-validation-icon.tsx
726
+ var import_jsx_runtime12 = __require("react/jsx-runtime");
727
+ var className6 = `k-input-validation-icon`;
728
+ var states11 = [
729
+ States.valid,
730
+ States.invalid,
731
+ States.disabled,
732
+ States.loading
733
+ ];
734
+ var options10 = {};
735
+ var InputValidationIcon = (props) => {
736
+ const {
737
+ valid,
738
+ invalid,
739
+ disabled,
740
+ loading
741
+ } = props;
742
+ const iconName = invalid ? "warning" : "check";
743
+ const renderValidationIcon = Boolean(valid || invalid);
744
+ if (disabled || loading || !renderValidationIcon) {
745
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {});
746
+ }
747
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: classNames(className6), name: iconName });
748
+ };
749
+ InputValidationIcon.states = states11;
750
+ InputValidationIcon.options = options10;
751
+ InputValidationIcon.className = className6;
752
+
753
+ // src/input/input-prefix.tsx
754
+ var import_jsx_runtime13 = __require("react/jsx-runtime");
755
+ var className7 = `k-input-prefix`;
756
+ var InputPrefix = (props) => {
757
+ if (!props.children) {
758
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {});
759
+ }
760
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: classNames(className7, props.className), children: props.children });
761
+ };
762
+
763
+ // src/input/input-suffix.tsx
764
+ var import_jsx_runtime14 = __require("react/jsx-runtime");
765
+ var className8 = `k-input-suffix`;
766
+ var InputSuffix = (props) => {
767
+ if (!props.children) {
768
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, {});
769
+ }
770
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: classNames(className8, props.className), children: props.children });
771
+ };
772
+
773
+ // src/spinbutton/spinbutton.spec.tsx
774
+ var import_jsx_runtime15 = __require("react/jsx-runtime");
775
+ var SPINBUTTON_CLASSNAME = `k-spin-button`;
776
+ var states12 = [];
777
+ var options11 = {
778
+ size: [Size.small, Size.medium, Size.large],
779
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
780
+ };
781
+ var defaultProps9 = {
782
+ size: Size.medium,
783
+ fillMode: FillMode.solid
784
+ };
785
+ var SpinButton = (props) => {
786
+ const _a = props, {
787
+ size = defaultProps9.size,
788
+ fillMode = defaultProps9.fillMode
789
+ } = _a, other = __objRest(_a, [
790
+ "size",
791
+ "fillMode"
792
+ ]);
793
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
794
+ "span",
795
+ __spreadProps(__spreadValues({}, other), {
796
+ className: classNames(
797
+ SPINBUTTON_CLASSNAME,
798
+ props.className
799
+ ),
800
+ children: [
801
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
802
+ Button,
803
+ {
804
+ className: "k-spinner-increase",
805
+ icon: "arrow-n",
806
+ rounded: null,
807
+ size,
808
+ fillMode
809
+ }
810
+ ),
811
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
812
+ Button,
813
+ {
814
+ className: "k-spinner-decrease",
815
+ icon: "arrow-s",
816
+ rounded: null,
817
+ size,
818
+ fillMode
819
+ }
820
+ )
821
+ ]
822
+ })
823
+ );
824
+ };
825
+ SpinButton.states = states12;
826
+ SpinButton.options = options11;
827
+ SpinButton.className = SPINBUTTON_CLASSNAME;
828
+ SpinButton.defaultProps = defaultProps9;
829
+
830
+ // src/numerictextbox/numerictextbox.spec.tsx
831
+ var import_jsx_runtime16 = __require("react/jsx-runtime");
832
+ var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
833
+ var states13 = [
834
+ States.hover,
835
+ States.focus,
836
+ States.valid,
837
+ States.invalid,
838
+ States.loading,
839
+ States.required,
840
+ States.disabled,
841
+ States.readonly
842
+ ];
843
+ var options12 = {
844
+ size: [Size.small, Size.medium, Size.large],
845
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
846
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
847
+ };
848
+ var defaultProps10 = {
849
+ showSpinButton: true,
850
+ showClearButton: true,
851
+ size: Input.defaultProps.size,
852
+ rounded: Input.defaultProps.rounded,
853
+ fillMode: Input.defaultProps.fillMode
854
+ };
855
+ var NumericTextbox = (props) => {
856
+ const _a = props, {
857
+ value,
858
+ placeholder,
859
+ size,
860
+ rounded,
861
+ fillMode,
862
+ hover,
863
+ focus,
864
+ valid,
865
+ invalid,
866
+ required,
867
+ loading,
868
+ disabled,
869
+ readonly,
870
+ showClearButton = defaultProps10.showClearButton,
871
+ showSpinButton = defaultProps10.showSpinButton
872
+ } = _a, other = __objRest(_a, [
873
+ "value",
874
+ "placeholder",
875
+ "size",
876
+ "rounded",
877
+ "fillMode",
878
+ "hover",
879
+ "focus",
880
+ "valid",
881
+ "invalid",
882
+ "required",
883
+ "loading",
884
+ "disabled",
885
+ "readonly",
886
+ "showClearButton",
887
+ "showSpinButton"
888
+ ]);
889
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
890
+ Input,
891
+ __spreadProps(__spreadValues({}, other), {
892
+ size,
893
+ rounded,
894
+ fillMode,
895
+ hover,
896
+ focus,
897
+ valid,
898
+ invalid,
899
+ required,
900
+ loading,
901
+ disabled,
902
+ readonly,
903
+ className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
904
+ children: [
905
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(InputInnerInput, { placeholder, value }),
906
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
907
+ InputValidationIcon,
908
+ {
909
+ valid,
910
+ invalid,
911
+ loading,
912
+ disabled
913
+ }
914
+ ),
915
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
916
+ InputLoadingIcon,
917
+ {
918
+ loading,
919
+ disabled
920
+ }
921
+ ),
922
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
923
+ InputClearValue,
924
+ {
925
+ loading,
926
+ disabled,
927
+ readonly,
928
+ value
929
+ }
930
+ ),
931
+ showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
932
+ SpinButton,
933
+ {
934
+ className: "k-input-spinner",
935
+ size,
936
+ fillMode
937
+ }
938
+ )
939
+ ]
940
+ })
941
+ );
942
+ };
943
+ NumericTextbox.states = states13;
944
+ NumericTextbox.options = options12;
945
+ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
946
+ NumericTextbox.defaultProps = defaultProps10;
947
+
948
+ // src/popup/popup.spec.tsx
949
+ var import_jsx_runtime17 = __require("react/jsx-runtime");
950
+ var POPUP_CLASSNAME = `k-popup`;
951
+ var states14 = [];
952
+ var options13 = {};
953
+ var defaultProps11 = {};
954
+ var Popup = (props) => {
955
+ const other = __objRest(props, []);
956
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", __spreadProps(__spreadValues({}, other), { className: classNames(props.className, POPUP_CLASSNAME), children: props.children }));
957
+ };
958
+ Popup.states = states14;
959
+ Popup.options = options13;
960
+ Popup.className = POPUP_CLASSNAME;
961
+ Popup.defaultProps = defaultProps11;
962
+
963
+ // src/dropdownlist/dropdownlist.spec.tsx
964
+ var import_jsx_runtime18 = __require("react/jsx-runtime");
965
+ var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
966
+ var states15 = [
967
+ States.hover,
968
+ States.focus,
969
+ States.valid,
970
+ States.invalid,
971
+ States.required,
972
+ States.disabled,
973
+ States.loading,
974
+ States.readonly
975
+ ];
976
+ var options14 = {
977
+ size: [Size.small, Size.medium, Size.large],
978
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
979
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
980
+ };
981
+ var defaultProps12 = {
982
+ showValue: true,
983
+ arrowIconName: "arrow-s",
984
+ size: Size.medium,
985
+ rounded: Roundness.medium,
986
+ fillMode: FillMode.solid
987
+ };
988
+ var DropdownList = (props) => {
989
+ const _a = props, {
990
+ valueIconName,
991
+ arrowIconName = defaultProps12.arrowIconName,
992
+ prefix,
993
+ suffix,
994
+ value,
995
+ placeholder,
996
+ size,
997
+ rounded,
998
+ fillMode,
999
+ hover,
1000
+ focus,
1001
+ valid,
1002
+ invalid,
1003
+ required,
1004
+ loading,
1005
+ disabled,
1006
+ readonly,
1007
+ showValue = defaultProps12.showValue,
1008
+ popup,
1009
+ opened
1010
+ } = _a, other = __objRest(_a, [
1011
+ "valueIconName",
1012
+ "arrowIconName",
1013
+ "prefix",
1014
+ "suffix",
1015
+ "value",
1016
+ "placeholder",
1017
+ "size",
1018
+ "rounded",
1019
+ "fillMode",
1020
+ "hover",
1021
+ "focus",
1022
+ "valid",
1023
+ "invalid",
1024
+ "required",
1025
+ "loading",
1026
+ "disabled",
1027
+ "readonly",
1028
+ "showValue",
1029
+ "popup",
1030
+ "opened"
1031
+ ]);
1032
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1033
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1034
+ Picker,
1035
+ __spreadProps(__spreadValues({}, other), {
1036
+ size,
1037
+ rounded,
1038
+ fillMode,
1039
+ hover,
1040
+ focus,
1041
+ valid,
1042
+ invalid,
1043
+ required,
1044
+ loading,
1045
+ disabled,
1046
+ readonly,
1047
+ className: classNames(
1048
+ props.className,
1049
+ DROPDOWNLIST_CLASSNAME,
1050
+ {
1051
+ "k-icon-picker": !showValue && valueIconName
1052
+ }
1053
+ ),
1054
+ children: [
1055
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputPrefix, { children: prefix }),
1056
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1057
+ InputInnerSpan,
1058
+ {
1059
+ placeholder,
1060
+ value,
1061
+ showValue,
1062
+ valueIconName
1063
+ }
1064
+ ),
1065
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1066
+ InputValidationIcon,
1067
+ {
1068
+ valid,
1069
+ invalid,
1070
+ loading,
1071
+ disabled
1072
+ }
1073
+ ),
1074
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1075
+ InputLoadingIcon,
1076
+ {
1077
+ loading,
1078
+ disabled
1079
+ }
1080
+ ),
1081
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputSuffix, { children: suffix }),
1082
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1083
+ Button,
1084
+ {
1085
+ className: "k-input-button",
1086
+ icon: arrowIconName,
1087
+ rounded: null,
1088
+ size: props.size,
1089
+ fillMode: props.fillMode
1090
+ }
1091
+ )
1092
+ ]
1093
+ })
1094
+ ),
1095
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Popup, { className: "k-dropdownlist-popup", children: popup })
1096
+ ] });
1097
+ };
1098
+ DropdownList.states = states15;
1099
+ DropdownList.options = options14;
1100
+ DropdownList.className = DROPDOWNLIST_CLASSNAME;
1101
+ DropdownList.defaultProps = defaultProps12;
1102
+
1103
+ // src/button-group/button-group.spec.tsx
1104
+ var import_jsx_runtime19 = __require("react/jsx-runtime");
1105
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
1106
+ var states16 = [
1107
+ States.disabled
1108
+ ];
1109
+ var options15 = {
1110
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
1111
+ };
1112
+ var defaultProps13 = {
1113
+ fillMode: FillMode.solid
1114
+ };
1115
+ var ButtonGroup = (props) => {
1116
+ const _a = props, {
1117
+ fillMode = defaultProps13.fillMode,
1118
+ disabled,
1119
+ stretched
1120
+ } = _a, other = __objRest(_a, [
1121
+ "fillMode",
1122
+ "disabled",
1123
+ "stretched"
1124
+ ]);
1125
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1126
+ "div",
1127
+ __spreadProps(__spreadValues({}, other), {
1128
+ className: classNames(
1129
+ props.className,
1130
+ BUTTONGROUP_CLASSNAME,
1131
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
1132
+ fillMode
1133
+ }),
1134
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
1135
+ disabled
1136
+ }),
1137
+ {
1138
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
1139
+ }
1140
+ ),
1141
+ children: props.children
1142
+ })
1143
+ );
1144
+ };
1145
+ ButtonGroup.states = states16;
1146
+ ButtonGroup.options = options15;
1147
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
1148
+ ButtonGroup.defaultProps = defaultProps13;
1149
+
1150
+ // src/color-preview/color-preview.tsx
1151
+ var import_jsx_runtime20 = __require("react/jsx-runtime");
1152
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
1153
+ var states17 = [];
1154
+ var options16 = {};
1155
+ var ColorPreview = (props) => {
1156
+ const _a = props, {
1157
+ color,
1158
+ iconName
1159
+ } = _a, other = __objRest(_a, [
1160
+ "color",
1161
+ "iconName"
1162
+ ]);
1163
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1164
+ "span",
1165
+ __spreadProps(__spreadValues({}, other), {
1166
+ className: classNames(
1167
+ props.className,
1168
+ COLORPREVIEW_CLASSNAME,
1169
+ {
1170
+ "k-icon-color-preview": iconName,
1171
+ "k-no-color": !color
1172
+ }
1173
+ ),
1174
+ children: [
1175
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: iconName, className: "k-color-preview-icon" }),
1176
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1177
+ "span",
1178
+ {
1179
+ className: "k-color-preview-mask",
1180
+ style: { backgroundColor: color }
1181
+ }
1182
+ )
1183
+ ]
1184
+ })
1185
+ );
1186
+ };
1187
+ ColorPreview.states = states17;
1188
+ ColorPreview.options = options16;
1189
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
1190
+
1191
+ // src/colorpicker/colorpicker.spec.tsx
1192
+ var import_jsx_runtime21 = __require("react/jsx-runtime");
1193
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
1194
+ var states18 = [
1195
+ States.hover,
1196
+ States.focus,
1197
+ States.valid,
1198
+ States.invalid,
1199
+ States.required,
1200
+ States.disabled
1201
+ ];
1202
+ var options17 = {
1203
+ size: [Size.small, Size.medium, Size.large],
1204
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
1205
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
1206
+ };
1207
+ var defaultProps14 = {
1208
+ arrowIconName: "arrow-s",
1209
+ size: Picker.defaultProps.size,
1210
+ rounded: Picker.defaultProps.rounded,
1211
+ fillMode: Picker.defaultProps.fillMode
1212
+ };
1213
+ var ColorPicker = (props) => {
1214
+ const _a = props, {
1215
+ prefix,
1216
+ suffix,
1217
+ value,
1218
+ placeholder,
1219
+ size,
1220
+ rounded,
1221
+ fillMode,
1222
+ hover,
1223
+ focus,
1224
+ valid,
1225
+ invalid,
1226
+ required,
1227
+ disabled,
1228
+ valueIconName,
1229
+ arrowIconName = defaultProps14.arrowIconName
1230
+ } = _a, other = __objRest(_a, [
1231
+ "prefix",
1232
+ "suffix",
1233
+ "value",
1234
+ "placeholder",
1235
+ "size",
1236
+ "rounded",
1237
+ "fillMode",
1238
+ "hover",
1239
+ "focus",
1240
+ "valid",
1241
+ "invalid",
1242
+ "required",
1243
+ "disabled",
1244
+ "valueIconName",
1245
+ "arrowIconName"
1246
+ ]);
1247
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1248
+ Picker,
1249
+ __spreadProps(__spreadValues({}, other), {
1250
+ size,
1251
+ rounded,
1252
+ fillMode,
1253
+ hover,
1254
+ focus,
1255
+ valid,
1256
+ invalid,
1257
+ required,
1258
+ disabled,
1259
+ className: classNames(
1260
+ props.className,
1261
+ COLORPICKER_CLASSNAME,
1262
+ "k-icon-picker"
1263
+ ),
1264
+ children: [
1265
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(InputPrefix, { children: prefix }),
1266
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1267
+ InputInnerSpan,
1268
+ {
1269
+ placeholder,
1270
+ value,
1271
+ showValue: false,
1272
+ valueIcon: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1273
+ ColorPreview,
1274
+ {
1275
+ className: "k-value-icon",
1276
+ color: value,
1277
+ iconName: valueIconName
1278
+ }
1279
+ ),
1280
+ valueIconName
1281
+ }
1282
+ ),
1283
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(InputSuffix, { children: suffix }),
1284
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1285
+ Button,
1286
+ {
1287
+ className: "k-input-button",
1288
+ icon: arrowIconName,
1289
+ rounded: null,
1290
+ size,
1291
+ fillMode
1292
+ }
1293
+ )
1294
+ ]
1295
+ })
1296
+ );
1297
+ };
1298
+ ColorPicker.states = states18;
1299
+ ColorPicker.options = options17;
1300
+ ColorPicker.className = COLORPICKER_CLASSNAME;
1301
+ ColorPicker.defaultProps = defaultProps14;
1302
+
1303
+ // src/combobox/combobox.spec.tsx
1304
+ var import_jsx_runtime22 = __require("react/jsx-runtime");
1305
+ var COMBOBOX_CLASSNAME = `k-combobox`;
1306
+ var states19 = [
1307
+ States.hover,
1308
+ States.focus,
1309
+ States.valid,
1310
+ States.invalid,
1311
+ States.loading,
1312
+ States.required,
1313
+ States.disabled,
1314
+ States.readonly
1315
+ ];
1316
+ var defaultProps15 = {
1317
+ size: Input.defaultProps.size,
1318
+ rounded: Input.defaultProps.rounded,
1319
+ fillMode: Input.defaultProps.fillMode
1320
+ };
1321
+ var options18 = {
1322
+ size: [Size.small, Size.medium, Size.large],
1323
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
1324
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
1325
+ };
1326
+ var Combobox = (props) => {
1327
+ const _a = props, {
1328
+ prefix,
1329
+ suffix,
1330
+ value,
1331
+ placeholder,
1332
+ size,
1333
+ rounded,
1334
+ fillMode,
1335
+ hover,
1336
+ focus,
1337
+ valid,
1338
+ invalid,
1339
+ required,
1340
+ loading,
1341
+ disabled,
1342
+ popup,
1343
+ opened,
1344
+ readonly
1345
+ } = _a, other = __objRest(_a, [
1346
+ "prefix",
1347
+ "suffix",
1348
+ "value",
1349
+ "placeholder",
1350
+ "size",
1351
+ "rounded",
1352
+ "fillMode",
1353
+ "hover",
1354
+ "focus",
1355
+ "valid",
1356
+ "invalid",
1357
+ "required",
1358
+ "loading",
1359
+ "disabled",
1360
+ "popup",
1361
+ "opened",
1362
+ "readonly"
1363
+ ]);
1364
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
1365
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1366
+ Input,
1367
+ __spreadProps(__spreadValues({}, other), {
1368
+ size,
1369
+ rounded,
1370
+ fillMode,
1371
+ hover,
1372
+ focus,
1373
+ valid,
1374
+ invalid,
1375
+ required,
1376
+ loading,
1377
+ disabled,
1378
+ readonly,
1379
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
1380
+ children: [
1381
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(InputPrefix, { children: prefix }),
1382
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(InputInnerInput, { placeholder, value }),
1383
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1384
+ InputValidationIcon,
1385
+ {
1386
+ valid,
1387
+ invalid,
1388
+ loading,
1389
+ disabled
1390
+ }
1391
+ ),
1392
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1393
+ InputLoadingIcon,
1394
+ {
1395
+ loading,
1396
+ disabled
1397
+ }
1398
+ ),
1399
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1400
+ InputClearValue,
1401
+ {
1402
+ loading,
1403
+ disabled,
1404
+ readonly,
1405
+ value
1406
+ }
1407
+ ),
1408
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(InputSuffix, { children: suffix }),
1409
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1410
+ Button,
1411
+ {
1412
+ className: "k-input-button",
1413
+ icon: "caret-alt-down",
1414
+ rounded: null,
1415
+ size,
1416
+ fillMode
1417
+ }
1418
+ )
1419
+ ]
1420
+ })
1421
+ ),
1422
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Popup, { className: "k-combobox-popup", children: popup })
1423
+ ] });
1424
+ };
1425
+ Combobox.states = states19;
1426
+ Combobox.options = options18;
1427
+ Combobox.className = COMBOBOX_CLASSNAME;
1428
+ Combobox.defaultProps = defaultProps15;
1429
+
1430
+ // src/menu-button/menu-button.spec.tsx
1431
+ var import_jsx_runtime23 = __require("react/jsx-runtime");
1432
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
1433
+ var states20 = [
1434
+ States.hover,
1435
+ States.focus,
1436
+ States.active,
1437
+ States.selected,
1438
+ States.disabled
1439
+ ];
1440
+ var options19 = {
1441
+ size: [Size.small, Size.medium, Size.large],
1442
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
1443
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
1444
+ themeColor: [
1445
+ ThemeColor.base,
1446
+ ThemeColor.primary,
1447
+ ThemeColor.secondary,
1448
+ ThemeColor.tertiary,
1449
+ ThemeColor.success,
1450
+ ThemeColor.warning,
1451
+ ThemeColor.error,
1452
+ ThemeColor.info,
1453
+ ThemeColor.light,
1454
+ ThemeColor.dark,
1455
+ ThemeColor.inverse
1456
+ ]
1457
+ };
1458
+ var defaultProps16 = {
1459
+ size: Size.medium,
1460
+ rounded: Roundness.medium,
1461
+ fillMode: FillMode.solid,
1462
+ themeColor: ThemeColor.base,
1463
+ showArrow: true,
1464
+ arrowIconName: "arrow-s"
1465
+ };
1466
+ var MenuButton = (props) => {
1467
+ const _a = props, {
1468
+ size = defaultProps16.size,
1469
+ rounded = defaultProps16.rounded,
1470
+ fillMode = defaultProps16.fillMode,
1471
+ themeColor = defaultProps16.themeColor,
1472
+ hover,
1473
+ focus,
1474
+ active,
1475
+ selected,
1476
+ disabled,
1477
+ icon,
1478
+ text,
1479
+ showArrow = defaultProps16.showArrow,
1480
+ arrowIconName = defaultProps16.arrowIconName
1481
+ } = _a, other = __objRest(_a, [
1482
+ "size",
1483
+ "rounded",
1484
+ "fillMode",
1485
+ "themeColor",
1486
+ "hover",
1487
+ "focus",
1488
+ "active",
1489
+ "selected",
1490
+ "disabled",
1491
+ "icon",
1492
+ "text",
1493
+ "showArrow",
1494
+ "arrowIconName"
1495
+ ]);
1496
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1497
+ Button,
1498
+ __spreadProps(__spreadValues({}, other), {
1499
+ className: classNames(
1500
+ props.className,
1501
+ MENUBUTTON_CLASSNAME
1502
+ ),
1503
+ text,
1504
+ size,
1505
+ rounded,
1506
+ fillMode,
1507
+ themeColor,
1508
+ hover,
1509
+ focus,
1510
+ active,
1511
+ selected,
1512
+ disabled,
1513
+ icon,
1514
+ showArrow,
1515
+ arrowIconName
1516
+ })
1517
+ );
1518
+ };
1519
+ MenuButton.states = states20;
1520
+ MenuButton.options = options19;
1521
+ MenuButton.className = MENUBUTTON_CLASSNAME;
1522
+ MenuButton.defaultProps = defaultProps16;
1523
+
1524
+ // src/split-button/split-button.spec.tsx
1525
+ var import_jsx_runtime24 = __require("react/jsx-runtime");
1526
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
1527
+ var states21 = [
1528
+ States.hover,
1529
+ States.focus,
1530
+ States.active,
1531
+ States.selected,
1532
+ States.disabled
1533
+ ];
1534
+ var options20 = {
1535
+ size: [Size.small, Size.medium, Size.large],
1536
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
1537
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
1538
+ themeColor: [
1539
+ ThemeColor.base,
1540
+ ThemeColor.primary,
1541
+ ThemeColor.secondary,
1542
+ ThemeColor.tertiary,
1543
+ ThemeColor.success,
1544
+ ThemeColor.warning,
1545
+ ThemeColor.error,
1546
+ ThemeColor.info,
1547
+ ThemeColor.light,
1548
+ ThemeColor.dark,
1549
+ ThemeColor.inverse
1550
+ ]
1551
+ };
1552
+ var defaultProps17 = {
1553
+ size: Size.medium,
1554
+ rounded: Roundness.medium,
1555
+ fillMode: FillMode.solid,
1556
+ themeColor: ThemeColor.base,
1557
+ arrowIconName: "arrow-s"
1558
+ };
1559
+ var SplitButton = (props) => {
1560
+ const _a = props, {
1561
+ size = defaultProps17.size,
1562
+ rounded = defaultProps17.rounded,
1563
+ fillMode = defaultProps17.fillMode,
1564
+ themeColor = defaultProps17.themeColor,
1565
+ hover,
1566
+ focus,
1567
+ active,
1568
+ selected,
1569
+ disabled,
1570
+ icon,
1571
+ text,
1572
+ arrowIconName = defaultProps17.arrowIconName
1573
+ } = _a, other = __objRest(_a, [
1574
+ "size",
1575
+ "rounded",
1576
+ "fillMode",
1577
+ "themeColor",
1578
+ "hover",
1579
+ "focus",
1580
+ "active",
1581
+ "selected",
1582
+ "disabled",
1583
+ "icon",
1584
+ "text",
1585
+ "arrowIconName"
1586
+ ]);
1587
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1588
+ "div",
1589
+ __spreadProps(__spreadValues({}, other), {
1590
+ className: classNames(
1591
+ props.className,
1592
+ SPLITBUTTON_CLASSNAME,
1593
+ "k-button-group",
1594
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
1595
+ rounded
1596
+ })
1597
+ ),
1598
+ children: [
1599
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1600
+ Button,
1601
+ {
1602
+ text,
1603
+ icon,
1604
+ size,
1605
+ rounded,
1606
+ fillMode,
1607
+ themeColor,
1608
+ hover,
1609
+ focus,
1610
+ active,
1611
+ selected,
1612
+ disabled,
1613
+ children: props.children
1614
+ }
1615
+ ),
1616
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1617
+ Button,
1618
+ {
1619
+ className: "k-split-button-arrow",
1620
+ icon: arrowIconName,
1621
+ size,
1622
+ rounded,
1623
+ fillMode,
1624
+ disabled
1625
+ }
1626
+ )
1627
+ ]
1628
+ })
1629
+ );
1630
+ };
1631
+ SplitButton.states = states21;
1632
+ SplitButton.options = options20;
1633
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
1634
+ SplitButton.defaultProps = defaultProps17;
1635
+ var split_button_spec_default = SplitButton;
1636
+
1637
+ // src/toolbar/toolbar.spec.tsx
1638
+ var import_jsx_runtime25 = __require("react/jsx-runtime");
1639
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
1640
+ var states22 = [
1641
+ States.focus
1642
+ ];
1643
+ var options21 = {
1644
+ size: [Size.small, Size.medium, Size.large]
1645
+ };
1646
+ var defaultProps18 = {
1647
+ size: Size.medium
1648
+ };
1649
+ var Toolbar = (props) => {
1650
+ const _a = props, {
1651
+ size = defaultProps18.size,
1652
+ focus,
1653
+ resizable
1654
+ } = _a, other = __objRest(_a, [
1655
+ "size",
1656
+ "focus",
1657
+ "resizable"
1658
+ ]);
1659
+ const toolbarChildren = [];
1660
+ const addUniqueToolClass = (child, index) => {
1661
+ const tempToolbarChildren = [];
1662
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
1663
+ tempToolbarChildren.push(
1664
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1665
+ Button,
1666
+ __spreadProps(__spreadValues({}, child.props), {
1667
+ className: `${child.props.className ? child.props.className : ""}`
1668
+ }),
1669
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1670
+ )
1671
+ );
1672
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
1673
+ tempToolbarChildren.push(
1674
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1675
+ Button,
1676
+ __spreadProps(__spreadValues({}, child.props), {
1677
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
1678
+ }),
1679
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1680
+ )
1681
+ );
1682
+ } else if (child.type === Button) {
1683
+ tempToolbarChildren.push(
1684
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1685
+ Button,
1686
+ __spreadProps(__spreadValues({}, child.props), {
1687
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
1688
+ }),
1689
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1690
+ )
1691
+ );
1692
+ } else if (child.type === MenuButton) {
1693
+ tempToolbarChildren.push(
1694
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1695
+ MenuButton,
1696
+ __spreadProps(__spreadValues({}, child.props), {
1697
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
1698
+ }),
1699
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1700
+ )
1701
+ );
1702
+ } else if (child.type === split_button_spec_default) {
1703
+ tempToolbarChildren.push(
1704
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1705
+ split_button_spec_default,
1706
+ __spreadProps(__spreadValues({}, child.props), {
1707
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
1708
+ }),
1709
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1710
+ )
1711
+ );
1712
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
1713
+ const buttonGroupItems = [];
1714
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
1715
+ childrenArray.forEach((button, bindex) => {
1716
+ buttonGroupItems.push(
1717
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1718
+ Button,
1719
+ __spreadProps(__spreadValues({}, button.props), {
1720
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
1721
+ }),
1722
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
1723
+ )
1724
+ );
1725
+ });
1726
+ tempToolbarChildren.push(
1727
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1728
+ ButtonGroup,
1729
+ __spreadProps(__spreadValues({}, child.props), {
1730
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
1731
+ children: buttonGroupItems
1732
+ }),
1733
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1734
+ )
1735
+ );
1736
+ } else if (child.type === Combobox) {
1737
+ tempToolbarChildren.push(
1738
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1739
+ Combobox,
1740
+ __spreadProps(__spreadValues({}, child.props), {
1741
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
1742
+ }),
1743
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1744
+ )
1745
+ );
1746
+ } else if (child.type === DropdownList) {
1747
+ tempToolbarChildren.push(
1748
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1749
+ DropdownList,
1750
+ __spreadProps(__spreadValues({}, child.props), {
1751
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
1752
+ }),
1753
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1754
+ )
1755
+ );
1756
+ } else if (child.type === ColorPicker) {
1757
+ tempToolbarChildren.push(
1758
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1759
+ ColorPicker,
1760
+ __spreadProps(__spreadValues({}, child.props), {
1761
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
1762
+ }),
1763
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1764
+ )
1765
+ );
1766
+ } else {
1767
+ tempToolbarChildren.push(child);
1768
+ }
1769
+ tempToolbarChildren.forEach((item) => {
1770
+ toolbarChildren.push(item);
1771
+ });
1772
+ };
1773
+ if (props.children) {
1774
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
1775
+ childrenArray.forEach((child, index) => {
1776
+ addUniqueToolClass(child, index);
1777
+ });
1778
+ }
1779
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1780
+ "div",
1781
+ __spreadProps(__spreadValues({}, other), {
1782
+ className: classNames(
1783
+ props.className,
1784
+ TOOLBAR_CLASSNAME,
1785
+ optionClassNames(TOOLBAR_CLASSNAME, {
1786
+ size
1787
+ }),
1788
+ stateClassNames(TOOLBAR_CLASSNAME, {
1789
+ focus
1790
+ }),
1791
+ {
1792
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
1793
+ }
1794
+ ),
1795
+ children: toolbarChildren
1796
+ })
1797
+ );
1798
+ };
1799
+ Toolbar.states = states22;
1800
+ Toolbar.options = options21;
1801
+ Toolbar.className = TOOLBAR_CLASSNAME;
1802
+ Toolbar.defaultProps = defaultProps18;
1803
+
1804
+ // src/toolbar/toolbar-angular.spec.tsx
1805
+ var import_jsx_runtime26 = __require("react/jsx-runtime");
1806
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
1807
+ var states23 = [
1808
+ States.focus
1809
+ ];
1810
+ var options22 = {
1811
+ size: [Size.small, Size.medium, Size.large]
1812
+ };
1813
+ var defaultProps19 = {
1814
+ size: Size.medium
1815
+ };
1816
+ var ToolbarAngular = (props) => {
1817
+ const _a = props, {
1818
+ size = defaultProps19.size,
1819
+ focus,
1820
+ resizable
1821
+ } = _a, other = __objRest(_a, [
1822
+ "size",
1823
+ "focus",
1824
+ "resizable"
1825
+ ]);
1826
+ const toolbarChildren = [];
1827
+ const addUniqueToolClass = (child, index) => {
1828
+ const tempToolbarChildren = [];
1829
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
1830
+ tempToolbarChildren.push(
1831
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1832
+ Button,
1833
+ __spreadProps(__spreadValues({}, child.props), {
1834
+ className: `${child.props.className ? child.props.className : ""}`
1835
+ }),
1836
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1837
+ ) })
1838
+ );
1839
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
1840
+ tempToolbarChildren.push(
1841
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1842
+ Button,
1843
+ __spreadProps(__spreadValues({}, child.props), {
1844
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
1845
+ }),
1846
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1847
+ ) })
1848
+ );
1849
+ } else if (child.type === Button) {
1850
+ tempToolbarChildren.push(
1851
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1852
+ Button,
1853
+ __spreadProps(__spreadValues({}, child.props), {
1854
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
1855
+ }),
1856
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1857
+ ) })
1858
+ );
1859
+ } else if (child.type === MenuButton) {
1860
+ tempToolbarChildren.push(
1861
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1862
+ MenuButton,
1863
+ __spreadProps(__spreadValues({}, child.props), {
1864
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
1865
+ }),
1866
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1867
+ ) })
1868
+ );
1869
+ } else if (child.type === split_button_spec_default) {
1870
+ tempToolbarChildren.push(
1871
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1872
+ split_button_spec_default,
1873
+ __spreadProps(__spreadValues({}, child.props), {
1874
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
1875
+ }),
1876
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1877
+ ) })
1878
+ );
1879
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
1880
+ const buttonGroupItems = [];
1881
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
1882
+ childrenArray.forEach((button, bindex) => {
1883
+ buttonGroupItems.push(
1884
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1885
+ Button,
1886
+ __spreadProps(__spreadValues({}, button.props), {
1887
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
1888
+ }),
1889
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
1890
+ )
1891
+ );
1892
+ });
1893
+ tempToolbarChildren.push(
1894
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1895
+ ButtonGroup,
1896
+ __spreadProps(__spreadValues({}, child.props), {
1897
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
1898
+ children: buttonGroupItems
1899
+ }),
1900
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1901
+ ) })
1902
+ );
1903
+ } else if (child.type === Combobox) {
1904
+ tempToolbarChildren.push(
1905
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1906
+ Combobox,
1907
+ __spreadProps(__spreadValues({}, child.props), {
1908
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
1909
+ }),
1910
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1911
+ ) })
1912
+ );
1913
+ } else if (child.type === DropdownList) {
1914
+ tempToolbarChildren.push(
1915
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1916
+ DropdownList,
1917
+ __spreadProps(__spreadValues({}, child.props), {
1918
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
1919
+ }),
1920
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1921
+ ) })
1922
+ );
1923
+ } else if (child.type === ColorPicker) {
1924
+ tempToolbarChildren.push(
1925
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1926
+ ColorPicker,
1927
+ __spreadProps(__spreadValues({}, child.props), {
1928
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
1929
+ }),
1930
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
1931
+ ) })
1932
+ );
1933
+ } else {
1934
+ tempToolbarChildren.push(child);
1935
+ }
1936
+ tempToolbarChildren.forEach((item) => {
1937
+ toolbarChildren.push(item);
1938
+ });
1939
+ };
1940
+ if (props.children) {
1941
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
1942
+ childrenArray.forEach((child, index) => {
1943
+ addUniqueToolClass(child, index);
1944
+ });
1945
+ }
1946
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1947
+ "div",
1948
+ __spreadProps(__spreadValues({}, other), {
1949
+ className: classNames(
1950
+ props.className,
1951
+ TOOLBARANGULAR_CLASSNAME,
1952
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
1953
+ size
1954
+ }),
1955
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
1956
+ focus
1957
+ }),
1958
+ {
1959
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
1960
+ }
1961
+ ),
1962
+ children: toolbarChildren
1963
+ })
1964
+ );
1965
+ };
1966
+ ToolbarAngular.states = states23;
1967
+ ToolbarAngular.options = options22;
1968
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
1969
+ ToolbarAngular.defaultProps = defaultProps19;
1970
+
1971
+ // src/toolbar/toolbar-separator.tsx
1972
+ var import_jsx_runtime27 = __require("react/jsx-runtime");
1973
+
1974
+ // src/toolbar/toolbar-item.spec.tsx
1975
+ var import_jsx_runtime28 = __require("react/jsx-runtime");
1976
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
1977
+ var states24 = [
1978
+ States.focus
1979
+ ];
1980
+ var options23 = {};
1981
+ var defaultProps20 = {};
1982
+ var ToolbarItem = (props) => {
1983
+ const _a = props, {
1984
+ focus
1985
+ } = _a, other = __objRest(_a, [
1986
+ "focus"
1987
+ ]);
1988
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1989
+ "div",
1990
+ __spreadProps(__spreadValues({}, other), {
1991
+ className: classNames(
1992
+ props.className,
1993
+ TOOLBARITEM_CLASSNAME,
1994
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
1995
+ focus
1996
+ })
1997
+ ),
1998
+ children: props.children
1999
+ })
2000
+ );
2001
+ };
2002
+ ToolbarItem.states = states24;
2003
+ ToolbarItem.options = options23;
2004
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
2005
+ ToolbarItem.defaultProps = defaultProps20;
2006
+
2007
+ // src/checkbox/checkbox.spec.tsx
2008
+ var import_jsx_runtime29 = __require("react/jsx-runtime");
2009
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
2010
+ var states25 = [
2011
+ States.hover,
2012
+ States.focus,
2013
+ States.valid,
2014
+ States.invalid,
2015
+ States.required,
2016
+ States.disabled,
2017
+ States.checked,
2018
+ States.indeterminate
2019
+ ];
2020
+ var options24 = {
2021
+ size: [Size.small, Size.medium, Size.large],
2022
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
2023
+ };
2024
+ var defaultProps21 = {
2025
+ size: Size.medium,
2026
+ rounded: Roundness.medium
2027
+ };
2028
+ var Checkbox = (props) => {
2029
+ const _a = props, {
2030
+ id,
2031
+ checked,
2032
+ indeterminate,
2033
+ hover,
2034
+ focus,
2035
+ disabled,
2036
+ invalid,
2037
+ valid,
2038
+ required,
2039
+ size = defaultProps21.size,
2040
+ rounded = defaultProps21.rounded
2041
+ } = _a, other = __objRest(_a, [
2042
+ "id",
2043
+ "checked",
2044
+ "indeterminate",
2045
+ "hover",
2046
+ "focus",
2047
+ "disabled",
2048
+ "invalid",
2049
+ "valid",
2050
+ "required",
2051
+ "size",
2052
+ "rounded"
2053
+ ]);
2054
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2055
+ "input",
2056
+ __spreadProps(__spreadValues({}, other), {
2057
+ id,
2058
+ type: "checkbox",
2059
+ checked,
2060
+ required,
2061
+ className: classNames(
2062
+ props.className,
2063
+ CHECKBOX_CLASSNAME,
2064
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
2065
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
2066
+ )
2067
+ })
2068
+ ) });
2069
+ };
2070
+ Checkbox.states = states25;
2071
+ Checkbox.options = options24;
2072
+ Checkbox.className = CHECKBOX_CLASSNAME;
2073
+ Checkbox.defaultProps = defaultProps21;
2074
+
2075
+ // src/gantt/tests/gantt-editing-popup-resources.tsx
2076
+ var import_jsx_runtime30 = __require("react/jsx-runtime");
2077
+ var root = import_client.default.createRoot(
2078
+ document.getElementById("app")
2079
+ );
2080
+ var styles = `
2081
+ .k-window {
2082
+ min-width: 580px;
2083
+ position: relative;
2084
+ }
2085
+ `;
2086
+ root.render(
2087
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
2088
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("style", { children: styles }),
2089
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Window, { title: "Edit task", actions: ["window-minimize", "window-maximize", "close"], actionButtons: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
2090
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { icon: "save", themeColor: "primary", children: "Save" }),
2091
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { icon: "cancel", children: "Cancel" }),
2092
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-spacer" }),
2093
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { icon: "delete", fillMode: "flat", themeColor: "primary", children: "Delete" })
2094
+ ] }), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "k-tabstrip k-tabstrip-top", children: [
2095
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("ul", { className: "k-reset k-tabstrip-items", children: [
2096
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { className: "k-item k-first", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-link", children: "General" }) }),
2097
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { className: "k-item k-active", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-link", children: "Resources" }) }),
2098
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-link", children: "Predecessors" }) }),
2099
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { className: "k-item k-last", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-link", children: "Successors" }) })
2100
+ ] }) }),
2101
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "k-grid k-grid-md k-grid-no-scrollbar", children: [
2102
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Toolbar, { className: "k-grid-toolbar", children: [
2103
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { icon: "add", children: "Add" }),
2104
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { icon: "minus", children: "Remove" })
2105
+ ] }),
2106
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("table", { className: "k-table k-table-md k-grid-header-table", children: [
2107
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("colgroup", { children: [
2108
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("col", { style: { width: "42px" } }),
2109
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("col", {}),
2110
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("col", {})
2111
+ ] }),
2112
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("thead", { className: "k-table-thead", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row", children: [
2113
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("th", { className: "k-table-th k-header", children: [
2114
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}) }),
2115
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2116
+ ] }),
2117
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("th", { className: "k-table-th k-header k-filterable", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-cell-inner", children: [
2118
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-link", children: [
2119
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-column-title", children: "Resources" }),
2120
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { name: "sort-asc-small" }) })
2121
+ ] }),
2122
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { name: "filter" }) }) })
2123
+ ] }) }),
2124
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("th", { className: "k-table-th k-header k-filterable", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-cell-inner", children: [
2125
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-link", children: [
2126
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-column-title", children: "Units" }),
2127
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { name: "sort-asc-small" }) })
2128
+ ] }),
2129
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { name: "filter" }) }) })
2130
+ ] }) })
2131
+ ] }) })
2132
+ ] }) }) }),
2133
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-grid-content", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("table", { className: "k-table k-table-md k-grid-table", children: [
2134
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("colgroup", { children: [
2135
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("col", { style: { width: "42px" } }),
2136
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("col", {}),
2137
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("col", {})
2138
+ ] }),
2139
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tbody", { className: "k-table-tbody", children: [
2140
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row", children: [
2141
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-checkbox-wrap", children: [
2142
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}),
2143
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2144
+ ] }) }),
2145
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DropdownList, { placeholder: "-Select resource-" }) }),
2146
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(NumericTextbox, { value: "40" }) })
2147
+ ] }),
2148
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
2149
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-checkbox-wrap", children: [
2150
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}),
2151
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2152
+ ] }) }),
2153
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
2154
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
2155
+ ] }),
2156
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row", children: [
2157
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-checkbox-wrap", children: [
2158
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}),
2159
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2160
+ ] }) }),
2161
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
2162
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
2163
+ ] }),
2164
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
2165
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-checkbox-wrap", children: [
2166
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}),
2167
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2168
+ ] }) }),
2169
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
2170
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
2171
+ ] }),
2172
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row", children: [
2173
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-checkbox-wrap", children: [
2174
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}),
2175
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2176
+ ] }) }),
2177
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
2178
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
2179
+ ] }),
2180
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
2181
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "k-checkbox-wrap", children: [
2182
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Checkbox, {}),
2183
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-checkbox-label" })
2184
+ ] }) }),
2185
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
2186
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
2187
+ ] })
2188
+ ] })
2189
+ ] }) })
2190
+ ] }) })
2191
+ ] }) }) }) })
2192
+ ] })
2193
+ );
2194
+ })();
2195
+ //# sourceMappingURL=gantt-editing-popup-resources.js.map