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

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