@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,1939 @@
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/treelist/tests/treelist-editing-popup.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/checkbox/checkbox.spec.tsx
447
+ var import_jsx_runtime5 = __require("react/jsx-runtime");
448
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
449
+ var states5 = [
450
+ States.hover,
451
+ States.focus,
452
+ States.valid,
453
+ States.invalid,
454
+ States.required,
455
+ States.disabled,
456
+ States.checked,
457
+ States.indeterminate
458
+ ];
459
+ var options5 = {
460
+ size: [Size.small, Size.medium, Size.large],
461
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
462
+ };
463
+ var defaultProps5 = {
464
+ size: Size.medium,
465
+ rounded: Roundness.medium
466
+ };
467
+ var Checkbox = (props) => {
468
+ const _a = props, {
469
+ id,
470
+ checked,
471
+ indeterminate,
472
+ hover,
473
+ focus,
474
+ disabled,
475
+ invalid,
476
+ valid,
477
+ required,
478
+ size = defaultProps5.size,
479
+ rounded = defaultProps5.rounded
480
+ } = _a, other = __objRest(_a, [
481
+ "id",
482
+ "checked",
483
+ "indeterminate",
484
+ "hover",
485
+ "focus",
486
+ "disabled",
487
+ "invalid",
488
+ "valid",
489
+ "required",
490
+ "size",
491
+ "rounded"
492
+ ]);
493
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
494
+ "input",
495
+ __spreadProps(__spreadValues({}, other), {
496
+ id,
497
+ type: "checkbox",
498
+ checked,
499
+ required,
500
+ className: classNames(
501
+ props.className,
502
+ CHECKBOX_CLASSNAME,
503
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
504
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
505
+ )
506
+ })
507
+ ) });
508
+ };
509
+ Checkbox.states = states5;
510
+ Checkbox.options = options5;
511
+ Checkbox.className = CHECKBOX_CLASSNAME;
512
+ Checkbox.defaultProps = defaultProps5;
513
+
514
+ // src/input/input.spec.tsx
515
+ var import_jsx_runtime6 = __require("react/jsx-runtime");
516
+ var INPUT_CLASSNAME = `k-input`;
517
+ var states6 = [
518
+ States.hover,
519
+ States.focus,
520
+ States.valid,
521
+ States.invalid,
522
+ States.required,
523
+ States.disabled,
524
+ States.loading,
525
+ States.readonly
526
+ ];
527
+ var options6 = {
528
+ size: [Size.small, Size.medium, Size.large],
529
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
530
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
531
+ };
532
+ var defaultProps6 = {
533
+ size: Size.medium,
534
+ rounded: Size.medium,
535
+ fillMode: FillMode.solid
536
+ };
537
+ var Input = (props) => {
538
+ const _a = props, {
539
+ hover,
540
+ focus,
541
+ disabled,
542
+ invalid,
543
+ valid,
544
+ loading,
545
+ readonly,
546
+ size = defaultProps6.size,
547
+ rounded = defaultProps6.rounded,
548
+ fillMode = defaultProps6.fillMode
549
+ } = _a, other = __objRest(_a, [
550
+ "hover",
551
+ "focus",
552
+ "disabled",
553
+ "invalid",
554
+ "valid",
555
+ "loading",
556
+ "readonly",
557
+ "size",
558
+ "rounded",
559
+ "fillMode"
560
+ ]);
561
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
562
+ "span",
563
+ __spreadProps(__spreadValues({}, other), {
564
+ className: classNames(
565
+ props.className,
566
+ INPUT_CLASSNAME,
567
+ optionClassNames(INPUT_CLASSNAME, { size, rounded, fillMode }),
568
+ stateClassNames(INPUT_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
569
+ )
570
+ })
571
+ );
572
+ };
573
+ Input.states = states6;
574
+ Input.options = options6;
575
+ Input.className = INPUT_CLASSNAME;
576
+ Input.defaultProps = defaultProps6;
577
+
578
+ // src/input/picker.spec.tsx
579
+ var import_jsx_runtime7 = __require("react/jsx-runtime");
580
+ var PICKER_CLASSNAME = `k-picker`;
581
+ var pickerStates = [
582
+ States.hover,
583
+ States.focus,
584
+ States.valid,
585
+ States.invalid,
586
+ States.required,
587
+ States.disabled,
588
+ States.loading,
589
+ States.readonly
590
+ ];
591
+ var pickerOptions = {
592
+ size: [Size.small, Size.medium, Size.large],
593
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
594
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
595
+ };
596
+ var defaultProps7 = {
597
+ size: Size.medium,
598
+ rounded: Roundness.medium,
599
+ fillMode: FillMode.solid
600
+ };
601
+ var Picker = (props) => {
602
+ const _a = props, {
603
+ hover,
604
+ focus,
605
+ disabled,
606
+ invalid,
607
+ valid,
608
+ loading,
609
+ readonly,
610
+ size = defaultProps7.size,
611
+ rounded = defaultProps7.rounded,
612
+ fillMode = defaultProps7.fillMode
613
+ } = _a, other = __objRest(_a, [
614
+ "hover",
615
+ "focus",
616
+ "disabled",
617
+ "invalid",
618
+ "valid",
619
+ "loading",
620
+ "readonly",
621
+ "size",
622
+ "rounded",
623
+ "fillMode"
624
+ ]);
625
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
626
+ "span",
627
+ __spreadProps(__spreadValues({}, other), {
628
+ className: classNames(
629
+ props.className,
630
+ PICKER_CLASSNAME,
631
+ optionClassNames(PICKER_CLASSNAME, { size, rounded, fillMode }),
632
+ stateClassNames(PICKER_CLASSNAME, { hover, focus, disabled, invalid, valid, loading, readonly })
633
+ ),
634
+ children: props.children
635
+ })
636
+ );
637
+ };
638
+ Picker.states = pickerStates;
639
+ Picker.options = pickerOptions;
640
+ Picker.className = PICKER_CLASSNAME;
641
+ Picker.defaultProps = defaultProps7;
642
+
643
+ // src/input/input-clear-value.tsx
644
+ var import_jsx_runtime8 = __require("react/jsx-runtime");
645
+ var className = `k-clear-value`;
646
+ var states7 = [
647
+ States.disabled,
648
+ States.loading,
649
+ States.readonly
650
+ ];
651
+ var options7 = {};
652
+ var InputClearValue = (props) => {
653
+ const {
654
+ disabled,
655
+ loading,
656
+ readonly,
657
+ value
658
+ } = props;
659
+ if (disabled || readonly || loading || !value) {
660
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {});
661
+ }
662
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "x" }) });
663
+ };
664
+ InputClearValue.states = states7;
665
+ InputClearValue.options = options7;
666
+ InputClearValue.className = className;
667
+
668
+ // src/input/input-inner-input.tsx
669
+ var import_jsx_runtime9 = __require("react/jsx-runtime");
670
+ var className2 = `k-input-inner`;
671
+ var states8 = [];
672
+ var options8 = {};
673
+ var defaultProps8 = {
674
+ type: "text",
675
+ autocomplete: "off",
676
+ value: "",
677
+ placeholder: ""
678
+ };
679
+ var InputInnerInput = (props) => {
680
+ const _a = props, {
681
+ value = defaultProps8.value,
682
+ type = defaultProps8.type,
683
+ placeholder = defaultProps8.placeholder,
684
+ autocomplete = defaultProps8.autocomplete
685
+ } = _a, other = __objRest(_a, [
686
+ "value",
687
+ "type",
688
+ "placeholder",
689
+ "autocomplete"
690
+ ]);
691
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
692
+ "input",
693
+ __spreadProps(__spreadValues({}, other), {
694
+ type,
695
+ className: classNames(props.className, className2, optionClassNames(className2, props)),
696
+ placeholder,
697
+ autoComplete: autocomplete,
698
+ defaultValue: value
699
+ })
700
+ );
701
+ };
702
+ InputInnerInput.states = states8;
703
+ InputInnerInput.options = options8;
704
+ InputInnerInput.className = className2;
705
+
706
+ // src/input/input-inner-span.tsx
707
+ var import_jsx_runtime10 = __require("react/jsx-runtime");
708
+ var className3 = `k-input-inner`;
709
+ var states9 = [];
710
+ var options9 = {};
711
+ var InputInnerSpan = (props) => {
712
+ const _a = props, {
713
+ value,
714
+ placeholder,
715
+ showValue,
716
+ valueIcon,
717
+ valueIconName
718
+ } = _a, other = __objRest(_a, [
719
+ "value",
720
+ "placeholder",
721
+ "showValue",
722
+ "valueIcon",
723
+ "valueIconName"
724
+ ]);
725
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
726
+ "span",
727
+ __spreadProps(__spreadValues({}, other), {
728
+ className: classNames(props.className, className3, optionClassNames(className3, props)),
729
+ children: [
730
+ valueIcon,
731
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { className: "k-input-value-icon", name: valueIconName }),
732
+ showValue && !value && placeholder,
733
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "k-input-value-text", children: value })
734
+ ]
735
+ })
736
+ );
737
+ };
738
+ InputInnerSpan.states = states9;
739
+ InputInnerSpan.options = options9;
740
+ InputInnerSpan.className = className3;
741
+
742
+ // src/input/input-inner-textarea.tsx
743
+ var import_jsx_runtime11 = __require("react/jsx-runtime");
744
+ var defaultProps9 = {
745
+ value: "",
746
+ placeholder: ""
747
+ };
748
+ var className4 = `k-input-inner`;
749
+ var states10 = [];
750
+ var options10 = {};
751
+ var InputInnerTextarea = (props) => {
752
+ const _a = props, {
753
+ value = defaultProps9.value,
754
+ placeholder = defaultProps9.placeholder,
755
+ rows
756
+ } = _a, other = __objRest(_a, [
757
+ "value",
758
+ "placeholder",
759
+ "rows"
760
+ ]);
761
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
762
+ "textarea",
763
+ __spreadProps(__spreadValues({}, other), {
764
+ className: classNames(props.className, className4, optionClassNames(className4, props)),
765
+ placeholder,
766
+ rows,
767
+ children: value
768
+ })
769
+ );
770
+ };
771
+ InputInnerTextarea.states = states10;
772
+ InputInnerTextarea.options = options10;
773
+ InputInnerTextarea.className = className4;
774
+
775
+ // src/input/input-loading-icon.tsx
776
+ var import_jsx_runtime12 = __require("react/jsx-runtime");
777
+ var className5 = `k-input-loading-icon`;
778
+ var states11 = [
779
+ States.disabled,
780
+ States.loading
781
+ ];
782
+ var InputLoadingIcon = (props) => {
783
+ const {
784
+ disabled,
785
+ loading
786
+ } = props;
787
+ if (disabled || !loading) {
788
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, {});
789
+ }
790
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: classNames(props.className, className5), name: "loading" });
791
+ };
792
+
793
+ // src/input/input-validation-icon.tsx
794
+ var import_jsx_runtime13 = __require("react/jsx-runtime");
795
+ var className6 = `k-input-validation-icon`;
796
+ var states12 = [
797
+ States.valid,
798
+ States.invalid,
799
+ States.disabled,
800
+ States.loading
801
+ ];
802
+ var options11 = {};
803
+ var InputValidationIcon = (props) => {
804
+ const {
805
+ valid,
806
+ invalid,
807
+ disabled,
808
+ loading
809
+ } = props;
810
+ const iconName = invalid ? "warning" : "check";
811
+ const renderValidationIcon = Boolean(valid || invalid);
812
+ if (disabled || loading || !renderValidationIcon) {
813
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {});
814
+ }
815
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { className: classNames(className6), name: iconName });
816
+ };
817
+ InputValidationIcon.states = states12;
818
+ InputValidationIcon.options = options11;
819
+ InputValidationIcon.className = className6;
820
+
821
+ // src/input/input-prefix.tsx
822
+ var import_jsx_runtime14 = __require("react/jsx-runtime");
823
+ var className7 = `k-input-prefix`;
824
+ var InputPrefix = (props) => {
825
+ if (!props.children) {
826
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, {});
827
+ }
828
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: classNames(className7, props.className), children: props.children });
829
+ };
830
+
831
+ // src/input/input-suffix.tsx
832
+ var import_jsx_runtime15 = __require("react/jsx-runtime");
833
+ var className8 = `k-input-suffix`;
834
+ var InputSuffix = (props) => {
835
+ if (!props.children) {
836
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, {});
837
+ }
838
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: classNames(className8, props.className), children: props.children });
839
+ };
840
+
841
+ // src/spinbutton/spinbutton.spec.tsx
842
+ var import_jsx_runtime16 = __require("react/jsx-runtime");
843
+ var SPINBUTTON_CLASSNAME = `k-spin-button`;
844
+ var states13 = [];
845
+ var options12 = {
846
+ size: [Size.small, Size.medium, Size.large],
847
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
848
+ };
849
+ var defaultProps10 = {
850
+ size: Size.medium,
851
+ fillMode: FillMode.solid
852
+ };
853
+ var SpinButton = (props) => {
854
+ const _a = props, {
855
+ size = defaultProps10.size,
856
+ fillMode = defaultProps10.fillMode
857
+ } = _a, other = __objRest(_a, [
858
+ "size",
859
+ "fillMode"
860
+ ]);
861
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
862
+ "span",
863
+ __spreadProps(__spreadValues({}, other), {
864
+ className: classNames(
865
+ SPINBUTTON_CLASSNAME,
866
+ props.className
867
+ ),
868
+ children: [
869
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
870
+ Button,
871
+ {
872
+ className: "k-spinner-increase",
873
+ icon: "arrow-n",
874
+ rounded: null,
875
+ size,
876
+ fillMode
877
+ }
878
+ ),
879
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
880
+ Button,
881
+ {
882
+ className: "k-spinner-decrease",
883
+ icon: "arrow-s",
884
+ rounded: null,
885
+ size,
886
+ fillMode
887
+ }
888
+ )
889
+ ]
890
+ })
891
+ );
892
+ };
893
+ SpinButton.states = states13;
894
+ SpinButton.options = options12;
895
+ SpinButton.className = SPINBUTTON_CLASSNAME;
896
+ SpinButton.defaultProps = defaultProps10;
897
+
898
+ // src/numerictextbox/numerictextbox.spec.tsx
899
+ var import_jsx_runtime17 = __require("react/jsx-runtime");
900
+ var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
901
+ var states14 = [
902
+ States.hover,
903
+ States.focus,
904
+ States.valid,
905
+ States.invalid,
906
+ States.loading,
907
+ States.required,
908
+ States.disabled,
909
+ States.readonly
910
+ ];
911
+ var options13 = {
912
+ size: [Size.small, Size.medium, Size.large],
913
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
914
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
915
+ };
916
+ var defaultProps11 = {
917
+ showSpinButton: true,
918
+ showClearButton: true,
919
+ size: Input.defaultProps.size,
920
+ rounded: Input.defaultProps.rounded,
921
+ fillMode: Input.defaultProps.fillMode
922
+ };
923
+ var NumericTextbox = (props) => {
924
+ const _a = props, {
925
+ value,
926
+ placeholder,
927
+ size,
928
+ rounded,
929
+ fillMode,
930
+ hover,
931
+ focus,
932
+ valid,
933
+ invalid,
934
+ required,
935
+ loading,
936
+ disabled,
937
+ readonly,
938
+ showClearButton = defaultProps11.showClearButton,
939
+ showSpinButton = defaultProps11.showSpinButton
940
+ } = _a, other = __objRest(_a, [
941
+ "value",
942
+ "placeholder",
943
+ "size",
944
+ "rounded",
945
+ "fillMode",
946
+ "hover",
947
+ "focus",
948
+ "valid",
949
+ "invalid",
950
+ "required",
951
+ "loading",
952
+ "disabled",
953
+ "readonly",
954
+ "showClearButton",
955
+ "showSpinButton"
956
+ ]);
957
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
958
+ Input,
959
+ __spreadProps(__spreadValues({}, other), {
960
+ size,
961
+ rounded,
962
+ fillMode,
963
+ hover,
964
+ focus,
965
+ valid,
966
+ invalid,
967
+ required,
968
+ loading,
969
+ disabled,
970
+ readonly,
971
+ className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
972
+ children: [
973
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(InputInnerInput, { placeholder, value }),
974
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
975
+ InputValidationIcon,
976
+ {
977
+ valid,
978
+ invalid,
979
+ loading,
980
+ disabled
981
+ }
982
+ ),
983
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
984
+ InputLoadingIcon,
985
+ {
986
+ loading,
987
+ disabled
988
+ }
989
+ ),
990
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
991
+ InputClearValue,
992
+ {
993
+ loading,
994
+ disabled,
995
+ readonly,
996
+ value
997
+ }
998
+ ),
999
+ showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1000
+ SpinButton,
1001
+ {
1002
+ className: "k-input-spinner",
1003
+ size,
1004
+ fillMode
1005
+ }
1006
+ )
1007
+ ]
1008
+ })
1009
+ );
1010
+ };
1011
+ NumericTextbox.states = states14;
1012
+ NumericTextbox.options = options13;
1013
+ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
1014
+ NumericTextbox.defaultProps = defaultProps11;
1015
+
1016
+ // src/textbox/textbox.spec.tsx
1017
+ var import_jsx_runtime18 = __require("react/jsx-runtime");
1018
+ var TEXTBOX_CLASSNAME = `k-textbox`;
1019
+ var states15 = [
1020
+ States.hover,
1021
+ States.focus,
1022
+ States.valid,
1023
+ States.invalid,
1024
+ States.required,
1025
+ States.disabled,
1026
+ States.loading,
1027
+ States.readonly
1028
+ ];
1029
+ var options14 = {
1030
+ size: [Size.small, Size.medium, Size.large],
1031
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
1032
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
1033
+ };
1034
+ var defaultProps12 = {
1035
+ showClearButton: true,
1036
+ size: Input.defaultProps.size,
1037
+ rounded: Input.defaultProps.rounded,
1038
+ fillMode: Input.defaultProps.fillMode
1039
+ };
1040
+ var Textbox = (props) => {
1041
+ const _a = props, {
1042
+ prefix,
1043
+ suffix,
1044
+ value,
1045
+ placeholder,
1046
+ size,
1047
+ rounded,
1048
+ fillMode,
1049
+ hover,
1050
+ focus,
1051
+ valid,
1052
+ invalid,
1053
+ required,
1054
+ loading,
1055
+ disabled,
1056
+ readonly,
1057
+ showClearButton = defaultProps12.showClearButton
1058
+ } = _a, other = __objRest(_a, [
1059
+ "prefix",
1060
+ "suffix",
1061
+ "value",
1062
+ "placeholder",
1063
+ "size",
1064
+ "rounded",
1065
+ "fillMode",
1066
+ "hover",
1067
+ "focus",
1068
+ "valid",
1069
+ "invalid",
1070
+ "required",
1071
+ "loading",
1072
+ "disabled",
1073
+ "readonly",
1074
+ "showClearButton"
1075
+ ]);
1076
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1077
+ Input,
1078
+ __spreadProps(__spreadValues({}, other), {
1079
+ size,
1080
+ rounded,
1081
+ fillMode,
1082
+ hover,
1083
+ focus,
1084
+ valid,
1085
+ invalid,
1086
+ required,
1087
+ loading,
1088
+ disabled,
1089
+ readonly,
1090
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
1091
+ children: [
1092
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputPrefix, { children: prefix }),
1093
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputInnerInput, { placeholder, value }),
1094
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1095
+ InputValidationIcon,
1096
+ {
1097
+ valid,
1098
+ invalid,
1099
+ loading,
1100
+ disabled
1101
+ }
1102
+ ),
1103
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1104
+ InputLoadingIcon,
1105
+ {
1106
+ loading,
1107
+ disabled
1108
+ }
1109
+ ),
1110
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1111
+ InputClearValue,
1112
+ {
1113
+ loading,
1114
+ disabled,
1115
+ readonly,
1116
+ value
1117
+ }
1118
+ ),
1119
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputSuffix, { children: suffix })
1120
+ ]
1121
+ })
1122
+ );
1123
+ };
1124
+ Textbox.states = states15;
1125
+ Textbox.options = options14;
1126
+ Textbox.className = TEXTBOX_CLASSNAME;
1127
+ Textbox.defaultProps = defaultProps12;
1128
+
1129
+ // src/popup/popup.spec.tsx
1130
+ var import_jsx_runtime19 = __require("react/jsx-runtime");
1131
+ var POPUP_CLASSNAME = `k-popup`;
1132
+ var states16 = [];
1133
+ var options15 = {};
1134
+ var defaultProps13 = {};
1135
+ var Popup = (props) => {
1136
+ const other = __objRest(props, []);
1137
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", __spreadProps(__spreadValues({}, other), { className: classNames(props.className, POPUP_CLASSNAME), children: props.children }));
1138
+ };
1139
+ Popup.states = states16;
1140
+ Popup.options = options15;
1141
+ Popup.className = POPUP_CLASSNAME;
1142
+ Popup.defaultProps = defaultProps13;
1143
+
1144
+ // src/calendar/calendar.spec.tsx
1145
+ var import_jsx_runtime20 = __require("react/jsx-runtime");
1146
+ var CALENDAR_CLASSNAME = `k-calendar`;
1147
+ var states17 = [];
1148
+ var options16 = {
1149
+ size: [Size.small, Size.medium, Size.large]
1150
+ };
1151
+ var defaultProps14 = {
1152
+ size: Size.medium,
1153
+ viewsCount: 1,
1154
+ orientation: "horizontal",
1155
+ calendarView: "month",
1156
+ calendarHeaderText: "October 2021"
1157
+ };
1158
+ var Calendar = (props) => {
1159
+ const _a = props, {
1160
+ size = defaultProps14.size,
1161
+ orientation = defaultProps14.orientation,
1162
+ calendarView = defaultProps14.calendarView,
1163
+ calendarHeaderText = defaultProps14.calendarHeaderText,
1164
+ viewsCount = defaultProps14.viewsCount,
1165
+ showWeek,
1166
+ showOtherMonth,
1167
+ showCalendarCaption,
1168
+ showCalendarFooter,
1169
+ selectedRange
1170
+ } = _a, other = __objRest(_a, [
1171
+ "size",
1172
+ "orientation",
1173
+ "calendarView",
1174
+ "calendarHeaderText",
1175
+ "viewsCount",
1176
+ "showWeek",
1177
+ "showOtherMonth",
1178
+ "showCalendarCaption",
1179
+ "showCalendarFooter",
1180
+ "selectedRange"
1181
+ ]);
1182
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1183
+ "div",
1184
+ __spreadProps(__spreadValues({}, other), {
1185
+ className: classNames(
1186
+ props.className,
1187
+ CALENDAR_CLASSNAME,
1188
+ optionClassNames(CALENDAR_CLASSNAME, {
1189
+ size
1190
+ }),
1191
+ {
1192
+ "k-week-number": showWeek
1193
+ }
1194
+ ),
1195
+ children: [
1196
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1197
+ CalendarHeader,
1198
+ {
1199
+ showToday: showCalendarFooter ? false : true,
1200
+ calendarHeaderText,
1201
+ orientation,
1202
+ size
1203
+ }
1204
+ ),
1205
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1206
+ CalendarView,
1207
+ {
1208
+ calendarView,
1209
+ viewsCount,
1210
+ orientation,
1211
+ showWeek,
1212
+ showOtherMonth,
1213
+ showCalendarCaption,
1214
+ selectedRange
1215
+ }
1216
+ ),
1217
+ showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CalendarFooter, {})
1218
+ ]
1219
+ })
1220
+ );
1221
+ };
1222
+ Calendar.states = states17;
1223
+ Calendar.options = options16;
1224
+ Calendar.className = CALENDAR_CLASSNAME;
1225
+ Calendar.defaultProps = defaultProps14;
1226
+
1227
+ // src/calendar/calendar-cell.tsx
1228
+ var import_jsx_runtime21 = __require("react/jsx-runtime");
1229
+ var states18 = [
1230
+ States.hover,
1231
+ States.focus,
1232
+ States.active,
1233
+ States.selected,
1234
+ States.disabled
1235
+ ];
1236
+ var CalendarCell = (props) => {
1237
+ const _a = props, {
1238
+ text,
1239
+ headerCell,
1240
+ today,
1241
+ weekend,
1242
+ otherMonth,
1243
+ showOtherMonth,
1244
+ weekCell,
1245
+ rangeStart,
1246
+ rangeMid,
1247
+ rangeEnd,
1248
+ hover,
1249
+ focus,
1250
+ active,
1251
+ selected,
1252
+ disabled
1253
+ } = _a, other = __objRest(_a, [
1254
+ "text",
1255
+ "headerCell",
1256
+ "today",
1257
+ "weekend",
1258
+ "otherMonth",
1259
+ "showOtherMonth",
1260
+ "weekCell",
1261
+ "rangeStart",
1262
+ "rangeMid",
1263
+ "rangeEnd",
1264
+ "hover",
1265
+ "focus",
1266
+ "active",
1267
+ "selected",
1268
+ "disabled"
1269
+ ]);
1270
+ const cellType = headerCell ? "th" : "td";
1271
+ const CALENDARCELL_CLASSNAME = `k-calendar-${cellType}`;
1272
+ const calendarCellClasses = [
1273
+ props.className,
1274
+ CALENDARCELL_CLASSNAME,
1275
+ stateClassNames(CALENDARCELL_CLASSNAME, {
1276
+ hover,
1277
+ focus,
1278
+ active,
1279
+ selected,
1280
+ disabled
1281
+ }),
1282
+ {
1283
+ "k-today": today,
1284
+ "k-weekend": weekend,
1285
+ "k-other-month": otherMonth,
1286
+ "k-alt": weekCell,
1287
+ "k-range-start": rangeStart,
1288
+ "k-range-mid": rangeMid,
1289
+ "k-range-end": rangeEnd
1290
+ }
1291
+ ];
1292
+ if (headerCell) {
1293
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("th", __spreadProps(__spreadValues({}, other), { className: classNames(calendarCellClasses), children: text }));
1294
+ }
1295
+ if (weekCell) {
1296
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("td", __spreadProps(__spreadValues({}, other), { className: classNames(calendarCellClasses), children: text }));
1297
+ }
1298
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("td", __spreadProps(__spreadValues({}, other), { className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "k-link", children: text }) }));
1299
+ };
1300
+
1301
+ // src/calendar/calendar-header.tsx
1302
+ var import_jsx_runtime22 = __require("react/jsx-runtime");
1303
+ var className9 = `k-calendar-header`;
1304
+ var options17 = {
1305
+ size: [Size.small, Size.medium, Size.large]
1306
+ };
1307
+ var defaultProps15 = {
1308
+ calendarHeaderText: "October 2021",
1309
+ showToday: true,
1310
+ orientation: "horizontal",
1311
+ size: Size.medium
1312
+ };
1313
+ var CalendarHeader = (props) => {
1314
+ const _a = props, {
1315
+ calendarHeaderText = defaultProps15.calendarHeaderText,
1316
+ showToday = defaultProps15.showToday,
1317
+ orientation = defaultProps15.orientation,
1318
+ size = defaultProps15.size
1319
+ } = _a, other = __objRest(_a, [
1320
+ "calendarHeaderText",
1321
+ "showToday",
1322
+ "orientation",
1323
+ "size"
1324
+ ]);
1325
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1326
+ "div",
1327
+ __spreadProps(__spreadValues({}, other), {
1328
+ className: classNames(
1329
+ props.className,
1330
+ className9,
1331
+ {
1332
+ "k-vstack": orientation === "vertical"
1333
+ }
1334
+ ),
1335
+ children: [
1336
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
1337
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "k-spacer" }),
1338
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("span", { className: "k-calendar-nav", children: [
1339
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { className: "k-calendar-nav-prev", icon: "arrow-chevron-left", size, fillMode: "flat" }),
1340
+ showToday && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
1341
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { className: "k-calendar-nav-next", icon: "arrow-chevron-right", size, fillMode: "flat" })
1342
+ ] })
1343
+ ]
1344
+ })
1345
+ );
1346
+ };
1347
+
1348
+ // src/calendar/calendar-footer.tsx
1349
+ var import_jsx_runtime23 = __require("react/jsx-runtime");
1350
+ var className10 = `k-calendar-footer`;
1351
+ var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", __spreadProps(__spreadValues({}, props), { className: classNames(props.className, className10), children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) }));
1352
+
1353
+ // src/calendar/calendar-table.tsx
1354
+ var import_jsx_runtime24 = __require("react/jsx-runtime");
1355
+ var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
1356
+ var CalendarTable = (props) => {
1357
+ const _a = props, {
1358
+ calendarView,
1359
+ showOtherMonth,
1360
+ showWeek,
1361
+ showCalendarCaption,
1362
+ selectedRange
1363
+ } = _a, other = __objRest(_a, [
1364
+ "calendarView",
1365
+ "showOtherMonth",
1366
+ "showWeek",
1367
+ "showCalendarCaption",
1368
+ "selectedRange"
1369
+ ]);
1370
+ if (calendarView === "year") {
1371
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1372
+ "table",
1373
+ __spreadProps(__spreadValues({}, other), {
1374
+ className: classNames(
1375
+ props.className,
1376
+ CALENDARTABLE_CLASSNAME
1377
+ ),
1378
+ children: [
1379
+ showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
1380
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tbody", { className: "k-calendar-tbody", children: [
1381
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1382
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Jan" }),
1383
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Feb" }),
1384
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Mar" }),
1385
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Apr" })
1386
+ ] }),
1387
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1388
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "May" }),
1389
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Jun", hover: true }),
1390
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Jul", focus: true }),
1391
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Au", selected: true })
1392
+ ] }),
1393
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1394
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Sep" }),
1395
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Oct", today: true }),
1396
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Nov" }),
1397
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "Dec" })
1398
+ ] })
1399
+ ] })
1400
+ ]
1401
+ })
1402
+ );
1403
+ }
1404
+ if (calendarView === "decade") {
1405
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1406
+ "table",
1407
+ __spreadProps(__spreadValues({}, other), {
1408
+ className: classNames(
1409
+ props.className,
1410
+ CALENDARTABLE_CLASSNAME
1411
+ ),
1412
+ children: [
1413
+ showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
1414
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tbody", { className: "k-calendar-tbody", children: [
1415
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1416
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { className: "k-out-of-range" }),
1417
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2020" }),
1418
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2021", today: true }),
1419
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2022" })
1420
+ ] }),
1421
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1422
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2023" }),
1423
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2024", hover: true }),
1424
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2025", focus: true }),
1425
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2026", selected: true })
1426
+ ] }),
1427
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1428
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2027" }),
1429
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2028" }),
1430
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2029" }),
1431
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { className: "k-out-of-range" })
1432
+ ] })
1433
+ ] })
1434
+ ]
1435
+ })
1436
+ );
1437
+ }
1438
+ if (calendarView === "century") {
1439
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1440
+ "table",
1441
+ __spreadProps(__spreadValues({}, other), {
1442
+ className: classNames(
1443
+ props.className,
1444
+ CALENDARTABLE_CLASSNAME
1445
+ ),
1446
+ children: [
1447
+ showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
1448
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tbody", { className: "k-calendar-tbody", children: [
1449
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1450
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "1990 - 1999" }),
1451
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2000 - 2009" }),
1452
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
1453
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2020 - 2029" })
1454
+ ] }),
1455
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1456
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2030 - 2039" }),
1457
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
1458
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
1459
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
1460
+ ] }),
1461
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1462
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2070 - 2079" }),
1463
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2080 - 2089" }),
1464
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2090 - 2099" }),
1465
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { className: "k-out-of-range" })
1466
+ ] })
1467
+ ] })
1468
+ ]
1469
+ })
1470
+ );
1471
+ }
1472
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1473
+ "table",
1474
+ __spreadProps(__spreadValues({}, other), {
1475
+ className: classNames(
1476
+ props.className,
1477
+ CALENDARTABLE_CLASSNAME
1478
+ ),
1479
+ children: [
1480
+ showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
1481
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarTableHead, { showWeek }),
1482
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tbody", { className: "k-calendar-tbody", children: [
1483
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1484
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "39", weekCell: true }),
1485
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
1486
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "1" }),
1487
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2" }),
1488
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "3" }),
1489
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "4" }),
1490
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "5" }),
1491
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "6", weekend: true })
1492
+ ] }),
1493
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1494
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "40", weekCell: true }),
1495
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "7", weekend: true }),
1496
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "8", hover: true }),
1497
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "9", focus: true }),
1498
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "10", selected: true }),
1499
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
1500
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
1501
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "13", weekend: true })
1502
+ ] }),
1503
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1504
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "41", weekCell: true }),
1505
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "14", weekend: true }),
1506
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "15" }),
1507
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "16", today: true }),
1508
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "17" }),
1509
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "18" }),
1510
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "19" }),
1511
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "20", weekend: true })
1512
+ ] }),
1513
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1514
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "42", weekCell: true }),
1515
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "21", weekend: true }),
1516
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "22" }),
1517
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "23" }),
1518
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "24" }),
1519
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
1520
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
1521
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
1522
+ ] }),
1523
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1524
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "43", weekCell: true }),
1525
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
1526
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
1527
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "30" }),
1528
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "31" }),
1529
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
1530
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
1531
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
1532
+ ] }),
1533
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("tr", { className: "k-calendar-tr", children: [
1534
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "44", weekCell: true }),
1535
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
1536
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
1537
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
1538
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
1539
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
1540
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
1541
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
1542
+ ] })
1543
+ ] })
1544
+ ]
1545
+ })
1546
+ );
1547
+ };
1548
+
1549
+ // src/calendar/calendar-table-head.tsx
1550
+ var import_jsx_runtime25 = __require("react/jsx-runtime");
1551
+ var className11 = `k-calendar-thead`;
1552
+ var CalendarTableHead = (props) => {
1553
+ const _a = props, {
1554
+ showWeek
1555
+ } = _a, other = __objRest(_a, [
1556
+ "showWeek"
1557
+ ]);
1558
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1559
+ "thead",
1560
+ __spreadProps(__spreadValues({}, other), {
1561
+ className: classNames(props.className, className11),
1562
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("tr", { className: "k-calendar-tr", children: [
1563
+ showWeek && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
1564
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "Su", headerCell: true }),
1565
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
1566
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
1567
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "We", headerCell: true }),
1568
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "Th", headerCell: true }),
1569
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
1570
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CalendarCell, { text: "Sa", headerCell: true })
1571
+ ] })
1572
+ })
1573
+ );
1574
+ };
1575
+
1576
+ // src/calendar/calendar-view.tsx
1577
+ var import_jsx_runtime26 = __require("react/jsx-runtime");
1578
+ var className12 = `k-calendar-view`;
1579
+ var defaultProps16 = {
1580
+ viewsCount: 1,
1581
+ orientation: "horizontal",
1582
+ calendarView: "month"
1583
+ };
1584
+ var CalendarView = (props) => {
1585
+ const _a = props, {
1586
+ orientation = defaultProps16.orientation,
1587
+ calendarView = defaultProps16.calendarView,
1588
+ viewsCount = defaultProps16.viewsCount,
1589
+ showWeek,
1590
+ showOtherMonth,
1591
+ showCalendarCaption,
1592
+ selectedRange
1593
+ } = _a, other = __objRest(_a, [
1594
+ "orientation",
1595
+ "calendarView",
1596
+ "viewsCount",
1597
+ "showWeek",
1598
+ "showOtherMonth",
1599
+ "showCalendarCaption",
1600
+ "selectedRange"
1601
+ ]);
1602
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1603
+ "div",
1604
+ __spreadProps(__spreadValues({}, other), {
1605
+ className: classNames(
1606
+ props.className,
1607
+ className12,
1608
+ `k-calendar-${calendarView}view`,
1609
+ "k-align-items-start",
1610
+ "k-justify-content-center",
1611
+ {
1612
+ "k-hstack": orientation === "horizontal",
1613
+ "k-vstack": orientation === "vertical"
1614
+ }
1615
+ ),
1616
+ children: [...Array(viewsCount)].map(
1617
+ (_e, i) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1618
+ CalendarTable,
1619
+ {
1620
+ calendarView,
1621
+ showWeek,
1622
+ showOtherMonth,
1623
+ showCalendarCaption,
1624
+ selectedRange
1625
+ },
1626
+ i
1627
+ )
1628
+ )
1629
+ })
1630
+ );
1631
+ };
1632
+
1633
+ // src/datepicker/datepicker.spec.tsx
1634
+ var import_jsx_runtime27 = __require("react/jsx-runtime");
1635
+ var DATEPICKER_CLASSNAME = `k-datepicker`;
1636
+ var states19 = [
1637
+ States.hover,
1638
+ States.focus,
1639
+ States.valid,
1640
+ States.invalid,
1641
+ States.required,
1642
+ States.disabled,
1643
+ States.loading,
1644
+ States.readonly
1645
+ ];
1646
+ var options18 = {
1647
+ size: [Size.small, Size.medium, Size.large],
1648
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
1649
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
1650
+ };
1651
+ var defaultProps17 = {
1652
+ size: Input.defaultProps.size,
1653
+ rounded: Input.defaultProps.rounded,
1654
+ fillMode: Input.defaultProps.fillMode
1655
+ };
1656
+ var DatePicker = (props) => {
1657
+ const _a = props, {
1658
+ prefix,
1659
+ suffix,
1660
+ value,
1661
+ placeholder,
1662
+ size,
1663
+ rounded,
1664
+ fillMode,
1665
+ hover,
1666
+ focus,
1667
+ valid,
1668
+ invalid,
1669
+ required,
1670
+ loading,
1671
+ disabled,
1672
+ readonly,
1673
+ opened
1674
+ } = _a, other = __objRest(_a, [
1675
+ "prefix",
1676
+ "suffix",
1677
+ "value",
1678
+ "placeholder",
1679
+ "size",
1680
+ "rounded",
1681
+ "fillMode",
1682
+ "hover",
1683
+ "focus",
1684
+ "valid",
1685
+ "invalid",
1686
+ "required",
1687
+ "loading",
1688
+ "disabled",
1689
+ "readonly",
1690
+ "opened"
1691
+ ]);
1692
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
1693
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1694
+ Input,
1695
+ __spreadProps(__spreadValues({}, other), {
1696
+ size,
1697
+ rounded,
1698
+ fillMode,
1699
+ hover,
1700
+ focus,
1701
+ valid,
1702
+ invalid,
1703
+ required,
1704
+ loading,
1705
+ disabled,
1706
+ readonly,
1707
+ className: classNames(props.className, DATEPICKER_CLASSNAME),
1708
+ children: [
1709
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(InputPrefix, { children: prefix }),
1710
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(InputInnerInput, { placeholder, value }),
1711
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1712
+ InputValidationIcon,
1713
+ {
1714
+ valid,
1715
+ invalid,
1716
+ loading,
1717
+ disabled
1718
+ }
1719
+ ),
1720
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1721
+ InputLoadingIcon,
1722
+ {
1723
+ loading,
1724
+ disabled
1725
+ }
1726
+ ),
1727
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1728
+ InputClearValue,
1729
+ {
1730
+ loading,
1731
+ disabled,
1732
+ readonly,
1733
+ value
1734
+ }
1735
+ ),
1736
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(InputSuffix, { children: suffix }),
1737
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1738
+ Button,
1739
+ {
1740
+ className: "k-input-button",
1741
+ icon: "calendar",
1742
+ rounded: null,
1743
+ size,
1744
+ fillMode
1745
+ }
1746
+ )
1747
+ ]
1748
+ })
1749
+ ),
1750
+ opened && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Popup, { className: "k-datepicker-popup", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Calendar, {}) })
1751
+ ] });
1752
+ };
1753
+ DatePicker.states = states19;
1754
+ DatePicker.options = options18;
1755
+ DatePicker.className = DATEPICKER_CLASSNAME;
1756
+ DatePicker.defaultProps = defaultProps17;
1757
+
1758
+ // src/form/fieldset.tsx
1759
+ var import_jsx_runtime28 = __require("react/jsx-runtime");
1760
+ var FIELDSET_CLASSNAME = "k-form-fieldset";
1761
+ var Fieldset = (props) => {
1762
+ const {
1763
+ legend
1764
+ } = props;
1765
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
1766
+ legend && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("legend", { className: "k-form-legend", children: legend }),
1767
+ props.children
1768
+ ] });
1769
+ };
1770
+ Fieldset.className = FIELDSET_CLASSNAME;
1771
+
1772
+ // src/form/form.spec.tsx
1773
+ var import_jsx_runtime29 = __require("react/jsx-runtime");
1774
+ var FORM_CLASSNAME = "k-form";
1775
+ var states20 = [];
1776
+ var options19 = {
1777
+ size: [Size.small, Size.medium, Size.large]
1778
+ };
1779
+ var defaultProps18 = {
1780
+ size: Size.medium,
1781
+ layout: "basic",
1782
+ tag: "form"
1783
+ };
1784
+ var Form = (props) => {
1785
+ const {
1786
+ size = defaultProps18.size,
1787
+ orientation,
1788
+ layout = defaultProps18.layout,
1789
+ formButtons,
1790
+ legend,
1791
+ cols,
1792
+ gapX,
1793
+ gapY,
1794
+ tag = defaultProps18.tag
1795
+ } = props;
1796
+ const ConditionalWrapper = ({ condition, wrapper, children }) => condition ? wrapper(children) : children;
1797
+ const Parent = ({ tag: tag2, className: className13, children }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("form", { className: className13, children }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: className13, children });
1798
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Parent, { tag, className: classNames(
1799
+ props.className,
1800
+ FORM_CLASSNAME,
1801
+ optionClassNames(FORM_CLASSNAME, {
1802
+ size
1803
+ }),
1804
+ {
1805
+ [`${FORM_CLASSNAME}-${orientation}`]: orientation
1806
+ }
1807
+ ), children: [
1808
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1809
+ ConditionalWrapper,
1810
+ {
1811
+ condition: layout === "grid",
1812
+ wrapper: (children) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Fieldset, { legend, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: classNames(
1813
+ "k-form-layout",
1814
+ "k-d-grid",
1815
+ {
1816
+ [`k-grid-cols-${cols}`]: cols,
1817
+ [`k-gap-x-${gapX}`]: gapX,
1818
+ [`k-gap-y-${gapY}`]: gapY
1819
+ }
1820
+ ), children }) }),
1821
+ children: props.children
1822
+ }
1823
+ ),
1824
+ formButtons && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "k-form-buttons", children: formButtons })
1825
+ ] });
1826
+ };
1827
+ Form.states = states20;
1828
+ Form.options = options19;
1829
+ Form.className = FORM_CLASSNAME;
1830
+ Form.defaultProps = defaultProps18;
1831
+
1832
+ // src/form/form-field.tsx
1833
+ var import_jsx_runtime30 = __require("react/jsx-runtime");
1834
+ var FORMFIELD_CLASSNAME = "k-form-field";
1835
+ var states21 = [
1836
+ States.disabled
1837
+ ];
1838
+ var FormField = (props) => {
1839
+ const {
1840
+ label,
1841
+ optional,
1842
+ editor,
1843
+ hint,
1844
+ error,
1845
+ info,
1846
+ disabled,
1847
+ dir
1848
+ } = props;
1849
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1850
+ "div",
1851
+ {
1852
+ className: classNames(
1853
+ FORMFIELD_CLASSNAME,
1854
+ props.className,
1855
+ stateClassNames(FORMFIELD_CLASSNAME, { disabled })
1856
+ ),
1857
+ dir,
1858
+ children: [
1859
+ label && /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("label", { className: classNames(
1860
+ "k-label",
1861
+ "k-form-label",
1862
+ {
1863
+ "k-label-empty": label === " "
1864
+ }
1865
+ ), children: [
1866
+ label,
1867
+ optional && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
1868
+ info && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-field-info", children: "(field info)" })
1869
+ ] }),
1870
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "k-form-field-wrap", children: [
1871
+ editor,
1872
+ hint && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-form-hint", children: hint }),
1873
+ error && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "k-form-error", children: error })
1874
+ ] })
1875
+ ]
1876
+ }
1877
+ );
1878
+ };
1879
+ FormField.className = FORMFIELD_CLASSNAME;
1880
+
1881
+ // src/treelist/tests/treelist-editing-popup.tsx
1882
+ var import_jsx_runtime31 = __require("react/jsx-runtime");
1883
+ var root = import_client.default.createRoot(
1884
+ document.getElementById("app")
1885
+ );
1886
+ var styles = `
1887
+ #test-area {
1888
+ width: 500px;
1889
+ }
1890
+ .k-window {
1891
+ min-width: 400px;
1892
+ position: relative;
1893
+ }
1894
+ `;
1895
+ root.render(
1896
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
1897
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("style", { children: styles }),
1898
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Window, { title: "Add item", actions: ["minimize", "maximize", "close"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
1899
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { themeColor: "primary", icon: "save", children: "Save" }),
1900
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { icon: "cancel", children: "Cancel" })
1901
+ ] }), children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Form, { tag: "div", orientation: "vertical", children: [
1902
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1903
+ FormField,
1904
+ {
1905
+ className: "k-form-field-error",
1906
+ label: "Text data field label",
1907
+ error: "Error",
1908
+ editor: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Textbox, { value: "Invalid", invalid: true, showClearButton: true })
1909
+ }
1910
+ ),
1911
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1912
+ FormField,
1913
+ {
1914
+ label: "Date data field label",
1915
+ editor: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DatePicker, { placeholder: "dd/MM/yyyy" })
1916
+ }
1917
+ ),
1918
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1919
+ FormField,
1920
+ {
1921
+ label: "Numeric data field label",
1922
+ editor: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(NumericTextbox, { placeholder: "##,###" })
1923
+ }
1924
+ ),
1925
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1926
+ FormField,
1927
+ {
1928
+ label: " ",
1929
+ editor: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
1930
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Checkbox, { checked: true }),
1931
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("label", { className: "k-checkbox-label", children: "Boolean data field label" })
1932
+ ] })
1933
+ }
1934
+ )
1935
+ ] }) }) }) })
1936
+ ] })
1937
+ );
1938
+ })();
1939
+ //# sourceMappingURL=treelist-editing-popup.js.map