@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
@@ -6697,136 +6697,2556 @@ var import_jsx_runtime77 = require("react/jsx-runtime");
6697
6697
  // src/textbox/templates/textbox-suffix.tsx
6698
6698
  var import_jsx_runtime78 = require("react/jsx-runtime");
6699
6699
 
6700
+ // src/grid/grid.spec.tsx
6701
+ var import_jsx_runtime79 = require("react/jsx-runtime");
6702
+ var GRID_CLASSNAME = "k-grid";
6703
+ var states32 = [];
6704
+ var options30 = {
6705
+ size: [Size.small, Size.medium, Size.large]
6706
+ };
6707
+ var defaultProps32 = {
6708
+ size: Size.medium,
6709
+ pagerPosition: "bottom"
6710
+ };
6711
+ var Grid = (props) => {
6712
+ const {
6713
+ size = defaultProps32.size,
6714
+ toolbar,
6715
+ pager,
6716
+ pagerPosition,
6717
+ groupingHeader,
6718
+ _renderAriaRoot,
6719
+ ...other
6720
+ } = props;
6721
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
6722
+ "div",
6723
+ {
6724
+ ...other,
6725
+ className: classNames(
6726
+ props.className,
6727
+ GRID_CLASSNAME,
6728
+ optionClassNames(GRID_CLASSNAME, { size })
6729
+ ),
6730
+ children: [
6731
+ toolbar,
6732
+ pagerPosition === "top" && pager,
6733
+ groupingHeader,
6734
+ props.children && _renderAriaRoot ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
6735
+ pagerPosition === "bottom" && pager
6736
+ ]
6737
+ }
6738
+ );
6739
+ };
6740
+ Grid.states = states32;
6741
+ Grid.options = options30;
6742
+ Grid.className = GRID_CLASSNAME;
6743
+ Grid.defaultProps = defaultProps32;
6744
+
6745
+ // src/grid/grid-header.spec.tsx
6746
+ var import_jsx_runtime80 = require("react/jsx-runtime");
6747
+
6748
+ // src/grid/grid-grouping-header.spec.tsx
6749
+ var import_jsx_runtime81 = require("react/jsx-runtime");
6750
+
6751
+ // src/table/data-table.spec.tsx
6752
+ var import_jsx_runtime82 = require("react/jsx-runtime");
6753
+ var DATATABLE_CLASSNAME = `k-data-table`;
6754
+ var states33 = [];
6755
+ var options31 = {
6756
+ size: [Size.small, Size.medium, Size.large]
6757
+ };
6758
+ var defaultProps33 = {
6759
+ size: Size.medium
6760
+ };
6761
+ var DataTable = (props) => {
6762
+ const {
6763
+ size = defaultProps33.size,
6764
+ ...other
6765
+ } = props;
6766
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
6767
+ "div",
6768
+ {
6769
+ ...other,
6770
+ className: classNames(
6771
+ props.className,
6772
+ DATATABLE_CLASSNAME,
6773
+ optionClassNames("k-table", {
6774
+ size
6775
+ })
6776
+ ),
6777
+ children: props.children
6778
+ }
6779
+ );
6780
+ };
6781
+ DataTable.states = states33;
6782
+ DataTable.options = options31;
6783
+ DataTable.className = DATATABLE_CLASSNAME;
6784
+ DataTable.defaultProps = defaultProps33;
6785
+
6786
+ // src/table/table-header.tsx
6787
+ var import_jsx_runtime83 = require("react/jsx-runtime");
6788
+
6789
+ // src/table/table-body.tsx
6790
+ var import_jsx_runtime84 = require("react/jsx-runtime");
6791
+
6792
+ // src/table/table-footer.tsx
6793
+ var import_jsx_runtime85 = require("react/jsx-runtime");
6794
+
6795
+ // src/table/table.spec.tsx
6796
+ var import_jsx_runtime86 = require("react/jsx-runtime");
6797
+ var TABLE_CLASSNAME = `k-table`;
6798
+ var states34 = [];
6799
+ var options32 = {
6800
+ size: [Size.small, Size.medium, Size.large]
6801
+ };
6802
+ var defaultProps34 = {};
6803
+ var Table = (props) => {
6804
+ const {
6805
+ size,
6806
+ ...other
6807
+ } = props;
6808
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6809
+ "table",
6810
+ {
6811
+ ...other,
6812
+ className: classNames(
6813
+ props.className,
6814
+ TABLE_CLASSNAME,
6815
+ optionClassNames(TABLE_CLASSNAME, {
6816
+ size
6817
+ })
6818
+ ),
6819
+ children: props.children
6820
+ }
6821
+ );
6822
+ };
6823
+ Table.states = states34;
6824
+ Table.options = options32;
6825
+ Table.className = TABLE_CLASSNAME;
6826
+ Table.defaultProps = defaultProps34;
6827
+
6828
+ // src/table/table-list.spec.tsx
6829
+ var import_jsx_runtime87 = require("react/jsx-runtime");
6830
+ var TABLELIST_CLASSNAME = `k-table-list`;
6831
+ var states35 = [];
6832
+ var options33 = {
6833
+ size: [Size.small, Size.medium, Size.large]
6834
+ };
6835
+ var defaultProps35 = {};
6836
+ var TableList = (props) => {
6837
+ const {
6838
+ size,
6839
+ virtualization,
6840
+ ...other
6841
+ } = props;
6842
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6843
+ "ul",
6844
+ {
6845
+ ...other,
6846
+ className: classNames(
6847
+ props.className,
6848
+ "k-table",
6849
+ TABLELIST_CLASSNAME,
6850
+ optionClassNames(TABLELIST_CLASSNAME, {
6851
+ size
6852
+ }),
6853
+ {
6854
+ "k-virtual-table": virtualization
6855
+ }
6856
+ ),
6857
+ children: props.children
6858
+ }
6859
+ );
6860
+ };
6861
+ TableList.states = states35;
6862
+ TableList.options = options33;
6863
+ TableList.className = TABLELIST_CLASSNAME;
6864
+ TableList.defaultProps = defaultProps35;
6865
+
6866
+ // src/table/table-thead.tsx
6867
+ var import_jsx_runtime88 = require("react/jsx-runtime");
6868
+ var className18 = `k-table-thead`;
6869
+ var TableThead = (props) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6870
+ "thead",
6871
+ {
6872
+ className: classNames(
6873
+ props.className,
6874
+ className18
6875
+ ),
6876
+ children: props.children
6877
+ }
6878
+ );
6879
+
6880
+ // src/table/table-tbody.tsx
6881
+ var import_jsx_runtime89 = require("react/jsx-runtime");
6882
+ var className19 = `k-table-tbody`;
6883
+ var TableTbody = (props) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6884
+ "tbody",
6885
+ {
6886
+ className: classNames(
6887
+ props.className,
6888
+ className19
6889
+ ),
6890
+ children: props.children
6891
+ }
6892
+ );
6893
+
6894
+ // src/table/table-tfoot.tsx
6895
+ var import_jsx_runtime90 = require("react/jsx-runtime");
6896
+
6897
+ // src/table/table-row.tsx
6898
+ var import_jsx_runtime91 = require("react/jsx-runtime");
6899
+ var TABLEROW_CLASSNAME = `k-table-row`;
6900
+ var states36 = [
6901
+ States.hover,
6902
+ States.focus,
6903
+ States.selected,
6904
+ States.disabled
6905
+ ];
6906
+ var TableRow = (props) => {
6907
+ const {
6908
+ hover,
6909
+ focus,
6910
+ selected,
6911
+ disabled,
6912
+ alt,
6913
+ ...other
6914
+ } = props;
6915
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6916
+ "tr",
6917
+ {
6918
+ ...other,
6919
+ className: classNames(
6920
+ props.className,
6921
+ TABLEROW_CLASSNAME,
6922
+ {
6923
+ ["k-table-alt-row"]: alt
6924
+ },
6925
+ stateClassNames(TABLEROW_CLASSNAME, {
6926
+ hover,
6927
+ focus,
6928
+ disabled,
6929
+ selected
6930
+ })
6931
+ ),
6932
+ children: props.children
6933
+ }
6934
+ );
6935
+ };
6936
+
6937
+ // src/table/table-list-row.tsx
6938
+ var import_jsx_runtime92 = require("react/jsx-runtime");
6939
+ var states37 = [
6940
+ States.hover,
6941
+ States.focus,
6942
+ States.selected,
6943
+ States.disabled
6944
+ ];
6945
+
6946
+ // src/table/table-th.tsx
6947
+ var import_jsx_runtime93 = require("react/jsx-runtime");
6948
+ var className20 = `k-table-th`;
6949
+ var TableTh = (props) => {
6950
+ const {
6951
+ text,
6952
+ colspan,
6953
+ rowspan,
6954
+ ...other
6955
+ } = props;
6956
+ const textOrChildren = text ? text : props.children;
6957
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6958
+ "th",
6959
+ {
6960
+ colSpan: colspan,
6961
+ rowSpan: rowspan,
6962
+ ...other,
6963
+ className: classNames(
6964
+ props.className,
6965
+ className20
6966
+ ),
6967
+ children: textOrChildren
6968
+ }
6969
+ );
6970
+ };
6971
+
6972
+ // src/table/table-list-th.tsx
6973
+ var import_jsx_runtime94 = require("react/jsx-runtime");
6974
+
6975
+ // src/table/table-td.tsx
6976
+ var import_jsx_runtime95 = require("react/jsx-runtime");
6977
+ var className21 = `k-table-td`;
6978
+ var TableTd = (props) => {
6979
+ const {
6980
+ text,
6981
+ colspan,
6982
+ ...other
6983
+ } = props;
6984
+ const textOrChildren = text ? text : props.children;
6985
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
6986
+ "td",
6987
+ {
6988
+ colSpan: colspan,
6989
+ ...other,
6990
+ className: classNames(
6991
+ props.className,
6992
+ className21
6993
+ ),
6994
+ children: textOrChildren
6995
+ }
6996
+ );
6997
+ };
6998
+
6999
+ // src/table/table-list-td.tsx
7000
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7001
+
7002
+ // src/table/table-group-header.tsx
7003
+ var import_jsx_runtime97 = require("react/jsx-runtime");
7004
+
7005
+ // src/table/table-group-sticky-header.tsx
7006
+ var import_jsx_runtime98 = require("react/jsx-runtime");
7007
+
7008
+ // src/table/table-group-row.tsx
7009
+ var import_jsx_runtime99 = require("react/jsx-runtime");
7010
+
7011
+ // src/table/table-list-group-row.tsx
7012
+ var import_jsx_runtime100 = require("react/jsx-runtime");
7013
+
7014
+ // src/table/templates/table-list.tsx
7015
+ var import_jsx_runtime101 = require("react/jsx-runtime");
7016
+
7017
+ // src/table/templates/table-list-virtualization.tsx
7018
+ var import_jsx_runtime102 = require("react/jsx-runtime");
7019
+
7020
+ // src/table/templates/data-table-normal.tsx
7021
+ var import_jsx_runtime103 = require("react/jsx-runtime");
7022
+
7023
+ // src/table/templates/table-native.tsx
7024
+ var import_jsx_runtime104 = require("react/jsx-runtime");
7025
+
7026
+ // src/grid/grid-header-table.spec.tsx
7027
+ var import_jsx_runtime105 = require("react/jsx-runtime");
7028
+
7029
+ // src/grid/grid-header-cell.spec.tsx
7030
+ var import_jsx_runtime106 = require("react/jsx-runtime");
7031
+ var states38 = [
7032
+ States.hover,
7033
+ States.focus,
7034
+ States.active
7035
+ ];
7036
+
7037
+ // src/grid/grid-container.spec.tsx
7038
+ var import_jsx_runtime107 = require("react/jsx-runtime");
7039
+
7040
+ // src/grid/grid-content.spec.tsx
7041
+ var import_jsx_runtime108 = require("react/jsx-runtime");
7042
+
7043
+ // src/grid/grid-table.spec.tsx
7044
+ var import_jsx_runtime109 = require("react/jsx-runtime");
7045
+ var GRIDTABLE_CLASSNAME = `k-grid-table`;
7046
+ var GridTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
7047
+ Table,
7048
+ {
7049
+ size: "medium",
7050
+ ...props,
7051
+ className: classNames(
7052
+ props.className,
7053
+ GRIDTABLE_CLASSNAME
7054
+ ),
7055
+ children: props.children
7056
+ }
7057
+ );
7058
+
7059
+ // src/grid/grid-footer.spec.tsx
7060
+ var import_jsx_runtime110 = require("react/jsx-runtime");
7061
+
7062
+ // src/grid/grid-footer-table.spec.tsx
7063
+ var import_jsx_runtime111 = require("react/jsx-runtime");
7064
+
7065
+ // src/pager/pager.spec.tsx
7066
+ var import_jsx_runtime112 = require("react/jsx-runtime");
7067
+ var PAGER_CLASSNAME = `k-pager`;
7068
+ var states39 = [
7069
+ States.focus,
7070
+ States.disabled
7071
+ ];
7072
+ var options34 = {
7073
+ size: [Size.small, Size.medium, Size.large]
7074
+ };
7075
+ var defaultProps36 = {
7076
+ size: Size.medium,
7077
+ adaptive: false,
7078
+ itemsPerPage: true,
7079
+ type: "numeric",
7080
+ pageSizes: true,
7081
+ refresh: true,
7082
+ info: true
7083
+ };
7084
+ var Pager = (props) => {
7085
+ const {
7086
+ size = defaultProps36.size,
7087
+ adaptive = defaultProps36.adaptive,
7088
+ itemsPerPage = defaultProps36.itemsPerPage,
7089
+ type = defaultProps36.type,
7090
+ pageSizes = defaultProps36.pageSizes,
7091
+ refresh = defaultProps36.refresh,
7092
+ info = defaultProps36.info,
7093
+ focus,
7094
+ disabled,
7095
+ dir,
7096
+ ...other
7097
+ } = props;
7098
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
7099
+ "div",
7100
+ {
7101
+ dir,
7102
+ ...other,
7103
+ className: classNames(
7104
+ props.className,
7105
+ PAGER_CLASSNAME,
7106
+ optionClassNames(PAGER_CLASSNAME, {
7107
+ size
7108
+ }),
7109
+ stateClassNames(PAGER_CLASSNAME, {
7110
+ focus,
7111
+ disabled
7112
+ })
7113
+ ),
7114
+ children: [
7115
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
7116
+ "div",
7117
+ {
7118
+ className: classNames(
7119
+ "k-pager-numbers-wrap"
7120
+ ),
7121
+ children: [
7122
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7123
+ Button,
7124
+ {
7125
+ className: classNames(
7126
+ "k-pager-nav",
7127
+ "k-pager-first"
7128
+ ),
7129
+ disabled: true,
7130
+ fillMode: "flat",
7131
+ size,
7132
+ rounded: null,
7133
+ icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
7134
+ }
7135
+ ),
7136
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7137
+ Button,
7138
+ {
7139
+ className: classNames(
7140
+ "k-pager-nav"
7141
+ ),
7142
+ disabled: true,
7143
+ fillMode: "flat",
7144
+ size,
7145
+ rounded: null,
7146
+ icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
7147
+ }
7148
+ ),
7149
+ type === "numeric" && !adaptive && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
7150
+ "div",
7151
+ {
7152
+ className: classNames(
7153
+ "k-pager-numbers"
7154
+ ),
7155
+ children: [
7156
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7157
+ Button,
7158
+ {
7159
+ selected: true,
7160
+ fillMode: "flat",
7161
+ themeColor: "primary",
7162
+ size,
7163
+ rounded: null,
7164
+ children: "1"
7165
+ }
7166
+ ),
7167
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7168
+ Button,
7169
+ {
7170
+ fillMode: "flat",
7171
+ themeColor: "primary",
7172
+ size,
7173
+ rounded: null,
7174
+ children: "2"
7175
+ }
7176
+ ),
7177
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7178
+ Button,
7179
+ {
7180
+ fillMode: "flat",
7181
+ themeColor: "primary",
7182
+ size,
7183
+ rounded: null,
7184
+ children: "3"
7185
+ }
7186
+ ),
7187
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7188
+ Button,
7189
+ {
7190
+ fillMode: "flat",
7191
+ themeColor: "primary",
7192
+ size,
7193
+ rounded: null,
7194
+ children: "4"
7195
+ }
7196
+ ),
7197
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7198
+ Button,
7199
+ {
7200
+ fillMode: "flat",
7201
+ themeColor: "primary",
7202
+ size,
7203
+ rounded: null,
7204
+ children: "5"
7205
+ }
7206
+ ),
7207
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7208
+ Button,
7209
+ {
7210
+ fillMode: "flat",
7211
+ themeColor: "primary",
7212
+ size,
7213
+ rounded: null,
7214
+ children: "6"
7215
+ }
7216
+ )
7217
+ ]
7218
+ }
7219
+ ),
7220
+ type === "numeric" && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7221
+ "select",
7222
+ {
7223
+ className: classNames(
7224
+ "k-picker",
7225
+ "k-picker-solid",
7226
+ "k-dropdown-list",
7227
+ "k-dropdown",
7228
+ "k-rounded-md",
7229
+ optionClassNames("k-picker", {
7230
+ size
7231
+ }),
7232
+ {
7233
+ ["k-hidden"]: !adaptive
7234
+ }
7235
+ ),
7236
+ children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("option", { children: "99" })
7237
+ }
7238
+ ),
7239
+ type === "input" && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
7240
+ "span",
7241
+ {
7242
+ className: classNames(
7243
+ "k-pager-input"
7244
+ ),
7245
+ children: [
7246
+ !adaptive && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { children: "Page" }),
7247
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
7248
+ !adaptive && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { children: "of 8" })
7249
+ ]
7250
+ }
7251
+ ),
7252
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7253
+ Button,
7254
+ {
7255
+ className: classNames(
7256
+ "k-pager-nav"
7257
+ ),
7258
+ fillMode: "flat",
7259
+ size,
7260
+ rounded: null,
7261
+ icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
7262
+ }
7263
+ ),
7264
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7265
+ Button,
7266
+ {
7267
+ className: classNames(
7268
+ "k-pager-nav",
7269
+ "k-pager-last"
7270
+ ),
7271
+ fillMode: "flat",
7272
+ size,
7273
+ rounded: null,
7274
+ icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
7275
+ }
7276
+ )
7277
+ ]
7278
+ }
7279
+ ),
7280
+ pageSizes && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
7281
+ "span",
7282
+ {
7283
+ className: classNames(
7284
+ "k-pager-sizes"
7285
+ ),
7286
+ children: [
7287
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(DropdownList, { value: "99", size }),
7288
+ itemsPerPage && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { children: "items per page" })
7289
+ ]
7290
+ }
7291
+ ),
7292
+ refresh && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7293
+ Button,
7294
+ {
7295
+ className: classNames(
7296
+ "k-pager-refresh"
7297
+ ),
7298
+ fillMode: "flat",
7299
+ size,
7300
+ rounded: null,
7301
+ icon: "arrow-rotate-cw"
7302
+ }
7303
+ ),
7304
+ info && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7305
+ "span",
7306
+ {
7307
+ className: classNames(
7308
+ "k-pager-info"
7309
+ ),
7310
+ children: "1 - 20 of 91 items"
7311
+ }
7312
+ )
7313
+ ]
7314
+ }
7315
+ );
7316
+ };
7317
+ Pager.states = states39;
7318
+ Pager.options = options34;
7319
+ Pager.className = PAGER_CLASSNAME;
7320
+ Pager.defaultProps = defaultProps36;
7321
+
7322
+ // src/pager/templates/pager-normal.tsx
7323
+ var import_jsx_runtime113 = require("react/jsx-runtime");
7324
+
7325
+ // src/pager/templates/pager-input.tsx
7326
+ var import_jsx_runtime114 = require("react/jsx-runtime");
7327
+
7328
+ // src/pager/templates/pager-adaptive.tsx
7329
+ var import_jsx_runtime115 = require("react/jsx-runtime");
7330
+
7331
+ // src/pager/templates/pager-adaptive-input.tsx
7332
+ var import_jsx_runtime116 = require("react/jsx-runtime");
7333
+
7334
+ // src/grid/grid-pager.spec.tsx
7335
+ var import_jsx_runtime117 = require("react/jsx-runtime");
7336
+
7337
+ // src/button-group/button-group.spec.tsx
7338
+ var import_jsx_runtime118 = require("react/jsx-runtime");
7339
+ var BUTTONGROUP_CLASSNAME = `k-button-group`;
7340
+ var states40 = [
7341
+ States.disabled
7342
+ ];
7343
+ var options35 = {
7344
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
7345
+ };
7346
+ var defaultProps37 = {
7347
+ fillMode: FillMode.solid
7348
+ };
7349
+ var ButtonGroup = (props) => {
7350
+ const {
7351
+ fillMode = defaultProps37.fillMode,
7352
+ disabled,
7353
+ stretched,
7354
+ ...other
7355
+ } = props;
7356
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7357
+ "div",
7358
+ {
7359
+ ...other,
7360
+ className: classNames(
7361
+ props.className,
7362
+ BUTTONGROUP_CLASSNAME,
7363
+ optionClassNames(BUTTONGROUP_CLASSNAME, {
7364
+ fillMode
7365
+ }),
7366
+ stateClassNames(BUTTONGROUP_CLASSNAME, {
7367
+ disabled
7368
+ }),
7369
+ {
7370
+ [`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
7371
+ }
7372
+ ),
7373
+ children: props.children
7374
+ }
7375
+ );
7376
+ };
7377
+ ButtonGroup.states = states40;
7378
+ ButtonGroup.options = options35;
7379
+ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
7380
+ ButtonGroup.defaultProps = defaultProps37;
7381
+
7382
+ // src/button-group/templates/icon-button-group.tsx
7383
+ var import_jsx_runtime119 = require("react/jsx-runtime");
7384
+
7385
+ // src/button-group/templates/icon-text-button-group.tsx
7386
+ var import_jsx_runtime120 = require("react/jsx-runtime");
7387
+
7388
+ // src/button-group/templates/text-button-group.tsx
7389
+ var import_jsx_runtime121 = require("react/jsx-runtime");
7390
+
7391
+ // src/button-group/templates/mixed-button-group.tsx
7392
+ var import_jsx_runtime122 = require("react/jsx-runtime");
7393
+
7394
+ // src/color-preview/color-preview.tsx
7395
+ var import_jsx_runtime123 = require("react/jsx-runtime");
7396
+ var COLORPREVIEW_CLASSNAME = `k-color-preview`;
7397
+ var states41 = [];
7398
+ var options36 = {};
7399
+ var ColorPreview = (props) => {
7400
+ const {
7401
+ color,
7402
+ iconName,
7403
+ ...other
7404
+ } = props;
7405
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
7406
+ "span",
7407
+ {
7408
+ ...other,
7409
+ className: classNames(
7410
+ props.className,
7411
+ COLORPREVIEW_CLASSNAME,
7412
+ {
7413
+ "k-icon-color-preview": iconName,
7414
+ "k-no-color": !color
7415
+ }
7416
+ ),
7417
+ children: [
7418
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
7419
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
7420
+ "span",
7421
+ {
7422
+ className: "k-color-preview-mask",
7423
+ style: { backgroundColor: color }
7424
+ }
7425
+ )
7426
+ ]
7427
+ }
7428
+ );
7429
+ };
7430
+ ColorPreview.states = states41;
7431
+ ColorPreview.options = options36;
7432
+ ColorPreview.className = COLORPREVIEW_CLASSNAME;
7433
+
7434
+ // src/colorpicker/colorpicker.spec.tsx
7435
+ var import_jsx_runtime124 = require("react/jsx-runtime");
7436
+ var COLORPICKER_CLASSNAME = `k-colorpicker`;
7437
+ var states42 = [
7438
+ States.hover,
7439
+ States.focus,
7440
+ States.valid,
7441
+ States.invalid,
7442
+ States.required,
7443
+ States.disabled
7444
+ ];
7445
+ var options37 = {
7446
+ size: [Size.small, Size.medium, Size.large],
7447
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7448
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
7449
+ };
7450
+ var defaultProps38 = {
7451
+ arrowIconName: "caret-alt-down",
7452
+ size: Picker.defaultProps.size,
7453
+ rounded: Picker.defaultProps.rounded,
7454
+ fillMode: Picker.defaultProps.fillMode
7455
+ };
7456
+ var ColorPicker = (props) => {
7457
+ const {
7458
+ prefix,
7459
+ suffix,
7460
+ value,
7461
+ placeholder,
7462
+ size,
7463
+ rounded,
7464
+ fillMode,
7465
+ hover,
7466
+ focus,
7467
+ valid,
7468
+ invalid,
7469
+ required,
7470
+ disabled,
7471
+ valueIconName,
7472
+ arrowIconName = defaultProps38.arrowIconName,
7473
+ popup,
7474
+ opened,
7475
+ ...other
7476
+ } = props;
7477
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
7478
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
7479
+ Picker,
7480
+ {
7481
+ ...other,
7482
+ size,
7483
+ rounded,
7484
+ fillMode,
7485
+ hover,
7486
+ focus,
7487
+ valid,
7488
+ invalid,
7489
+ required,
7490
+ disabled,
7491
+ className: classNames(
7492
+ props.className,
7493
+ COLORPICKER_CLASSNAME,
7494
+ "k-icon-picker"
7495
+ ),
7496
+ children: [
7497
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(InputPrefix, { children: prefix }),
7498
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7499
+ InputInnerSpan,
7500
+ {
7501
+ placeholder,
7502
+ value,
7503
+ showValue: false,
7504
+ valueIcon: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7505
+ ColorPreview,
7506
+ {
7507
+ className: "k-value-icon",
7508
+ color: value,
7509
+ iconName: valueIconName
7510
+ }
7511
+ ),
7512
+ valueIconName
7513
+ }
7514
+ ),
7515
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(InputSuffix, { children: suffix }),
7516
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7517
+ Button,
7518
+ {
7519
+ className: "k-input-button",
7520
+ icon: arrowIconName,
7521
+ rounded: null,
7522
+ size,
7523
+ fillMode
7524
+ }
7525
+ )
7526
+ ]
7527
+ }
7528
+ ),
7529
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
7530
+ ] });
7531
+ };
7532
+ ColorPicker.states = states42;
7533
+ ColorPicker.options = options37;
7534
+ ColorPicker.className = COLORPICKER_CLASSNAME;
7535
+ ColorPicker.defaultProps = defaultProps38;
7536
+
7537
+ // src/colorpicker/templates/colorpicker-normal.tsx
7538
+ var import_jsx_runtime125 = require("react/jsx-runtime");
7539
+
7540
+ // src/slider/slider.spec.tsx
7541
+ var import_jsx_runtime126 = require("react/jsx-runtime");
7542
+ var SLIDER_CLASSNAME = "k-slider";
7543
+ var states43 = [
7544
+ States.hover,
7545
+ States.focus,
7546
+ States.active,
7547
+ States.disabled,
7548
+ States.readonly
7549
+ ];
7550
+ var options38 = {};
7551
+ var defaultProps39 = {
7552
+ type: "single",
7553
+ orientation: "horizontal",
7554
+ readonly: false,
7555
+ disabled: false,
7556
+ handlePosition: "end",
7557
+ showButtons: true,
7558
+ showTicks: true
7559
+ };
7560
+ var Slider = (props) => {
7561
+ const {
7562
+ type = defaultProps39.type,
7563
+ orientation = defaultProps39.orientation,
7564
+ readonly = defaultProps39.readonly,
7565
+ disabled = defaultProps39.disabled,
7566
+ handlePosition = defaultProps39.handlePosition,
7567
+ showButtons = defaultProps39.showButtons,
7568
+ showTicks = defaultProps39.showTicks,
7569
+ hover,
7570
+ focus,
7571
+ active,
7572
+ trackStyle,
7573
+ dir
7574
+ } = props;
7575
+ let iconIncrease;
7576
+ let iconDecrease;
7577
+ if (orientation === "horizontal") {
7578
+ iconIncrease = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
7579
+ iconDecrease = dir === "rtl" ? "caret-alt-right" : "caret-alt-left";
7580
+ } else if (orientation === "vertical") {
7581
+ iconIncrease = "caret-alt-up";
7582
+ iconDecrease = "caret-alt-down";
7583
+ }
7584
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { className: classNames(
7585
+ SLIDER_CLASSNAME,
7586
+ props.className,
7587
+ stateClassNames(SLIDER_CLASSNAME, {
7588
+ readonly,
7589
+ disabled
7590
+ }),
7591
+ {
7592
+ [`k-slider-${orientation}`]: orientation,
7593
+ "k-colorgradient-slider": type === "gradient",
7594
+ "k-range-slider": type === "range"
7595
+ }
7596
+ ), dir, children: [
7597
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
7598
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { className: "k-slider-track-wrap", children: [
7599
+ showTicks && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
7600
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
7601
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("div", { className: "k-slider-selection" }),
7602
+ type === "range" && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { className: classNames(
7603
+ "k-draghandle",
7604
+ "k-draghandle-start",
7605
+ stateClassNames(SLIDER_CLASSNAME, {
7606
+ hover,
7607
+ focus,
7608
+ active
7609
+ })
7610
+ ) }),
7611
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { className: classNames(
7612
+ "k-draghandle",
7613
+ `k-draghandle-${handlePosition}`,
7614
+ stateClassNames(SLIDER_CLASSNAME, {
7615
+ hover,
7616
+ focus,
7617
+ active
7618
+ })
7619
+ ) })
7620
+ ] })
7621
+ ] }),
7622
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
7623
+ ] });
7624
+ };
7625
+ Slider.states = states43;
7626
+ Slider.options = options38;
7627
+ Slider.className = SLIDER_CLASSNAME;
7628
+ Slider.defaultProps = defaultProps39;
7629
+
7630
+ // src/slider/slider-tick.tsx
7631
+ var import_jsx_runtime127 = require("react/jsx-runtime");
7632
+ var SLIDER_TICK_CLASSNAME = "k-tick";
7633
+ var states44 = [];
7634
+ var options39 = {};
7635
+ var defaultProps40 = {
7636
+ label: false
7637
+ };
7638
+ var SliderTick = (props) => {
7639
+ const {
7640
+ style,
7641
+ label = defaultProps40.label,
7642
+ orientation,
7643
+ large,
7644
+ text
7645
+ } = props;
7646
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("li", { className: classNames(
7647
+ props.className,
7648
+ SLIDER_TICK_CLASSNAME,
7649
+ {
7650
+ [`k-tick-${orientation}`]: orientation,
7651
+ "k-tick-large": large
7652
+ }
7653
+ ), style, children: label && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { className: "k-label", children: text }) });
7654
+ };
7655
+ SliderTick.states = states44;
7656
+ SliderTick.options = options39;
7657
+ SliderTick.className = SLIDER_TICK_CLASSNAME;
7658
+ SliderTick.defaultProps = defaultProps40;
7659
+
7660
+ // src/slider/templates/slider-normal.tsx
7661
+ var import_jsx_runtime128 = require("react/jsx-runtime");
7662
+
7663
+ // src/slider/templates/slider-vertical.tsx
7664
+ var import_jsx_runtime129 = require("react/jsx-runtime");
7665
+
7666
+ // src/slider/templates/slider-range.tsx
7667
+ var import_jsx_runtime130 = require("react/jsx-runtime");
7668
+
7669
+ // src/slider/templates/slider-range-vertical.tsx
7670
+ var import_jsx_runtime131 = require("react/jsx-runtime");
7671
+
7672
+ // src/slider/templates/slider-gradient.tsx
7673
+ var import_jsx_runtime132 = require("react/jsx-runtime");
7674
+
7675
+ // src/slider/templates/slider-gradient-vertical.tsx
7676
+ var import_jsx_runtime133 = require("react/jsx-runtime");
7677
+ var SliderGradientVertical = (props) => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
7678
+ Slider,
7679
+ {
7680
+ type: "gradient",
7681
+ orientation: "vertical",
7682
+ showButtons: false,
7683
+ showTicks: false,
7684
+ children: /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_jsx_runtime133.Fragment, { children: [
7685
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, { label: true, large: true, text: "0" }),
7686
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7687
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7688
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7689
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7690
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, { label: true, large: true, text: "5" }),
7691
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7692
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7693
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7694
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, {}),
7695
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(SliderTick, { label: true, large: true, text: "10" })
7696
+ ] }),
7697
+ ...props
7698
+ }
7699
+ );
7700
+
7701
+ // src/colorgradient/color-input.tsx
7702
+ var import_jsx_runtime134 = require("react/jsx-runtime");
7703
+ var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
7704
+ var states45 = [];
7705
+ var options40 = {};
7706
+ var defaultProps41 = {
7707
+ mode: "rgba"
7708
+ };
7709
+ var ColorInput = (props) => {
7710
+ const {
7711
+ mode = defaultProps41.mode
7712
+ } = props;
7713
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
7714
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { className: "k-vstack", children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
7715
+ mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, { children: [
7716
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7717
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7718
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
7719
+ ] }),
7720
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7721
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7722
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
7723
+ ] }),
7724
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7725
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7726
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
7727
+ ] }),
7728
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7729
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7730
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
7731
+ ] })
7732
+ ] }),
7733
+ mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, { children: [
7734
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7735
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7736
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
7737
+ ] }),
7738
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7739
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7740
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
7741
+ ] }),
7742
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7743
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7744
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
7745
+ ] })
7746
+ ] }),
7747
+ mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, { children: [
7748
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7749
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7750
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
7751
+ ] }),
7752
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7753
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7754
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
7755
+ ] }),
7756
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7757
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7758
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
7759
+ ] }),
7760
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7761
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
7762
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
7763
+ ] })
7764
+ ] }),
7765
+ mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, { children: [
7766
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7767
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7768
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
7769
+ ] }),
7770
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7771
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7772
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
7773
+ ] }),
7774
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack", children: [
7775
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
7776
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
7777
+ ] })
7778
+ ] }),
7779
+ mode === "hex" && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: "k-vstack k-flex-1", children: [
7780
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
7781
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
7782
+ ] }) })
7783
+ ] });
7784
+ };
7785
+ ColorInput.states = states45;
7786
+ ColorInput.options = options40;
7787
+ ColorInput.className = COLOR_INPUT_CLASSNAME;
7788
+ ColorInput.defaultProps = defaultProps41;
7789
+
7790
+ // src/colorgradient/color-contrast.tsx
7791
+ var import_jsx_runtime135 = require("react/jsx-runtime");
7792
+ var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
7793
+ var states46 = [];
7794
+ var options41 = {};
7795
+ var defaultProps42 = {};
7796
+ var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
7797
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { className: "k-contrast-ratio", children: [
7798
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
7799
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
7800
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Icon, { icon: "check" }),
7801
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Icon, { icon: "check" })
7802
+ ] })
7803
+ ] }),
7804
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { children: [
7805
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { children: "AA: 4.5" }),
7806
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
7807
+ "Pass",
7808
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Icon, { icon: "check" })
7809
+ ] })
7810
+ ] }),
7811
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { children: [
7812
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { children: "AAA: 7.0" }),
7813
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
7814
+ "Fail",
7815
+ /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Icon, { icon: "x" })
7816
+ ] })
7817
+ ] })
7818
+ ] });
7819
+ ColorContrast.states = states46;
7820
+ ColorContrast.options = options41;
7821
+ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
7822
+ ColorContrast.defaultProps = defaultProps42;
7823
+
7824
+ // src/colorgradient/color-gradient.spec.tsx
7825
+ var import_jsx_runtime136 = require("react/jsx-runtime");
7826
+ var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
7827
+ var states47 = [
7828
+ States.hover,
7829
+ States.focus,
7830
+ States.readonly,
7831
+ States.disabled
7832
+ ];
7833
+ var options42 = {};
7834
+ var defaultProps43 = {
7835
+ mode: "rgba",
7836
+ readonly: false,
7837
+ disabled: false,
7838
+ contrast: false,
7839
+ gradientStyle: { background: "rgb(255, 0, 0 )" },
7840
+ dragHandleStyle: { top: "50px", left: "73px" },
7841
+ alphaStyle: { background: "linear-gradient(to top, transparent, rgb(255, 0, 0))" }
7842
+ };
7843
+ var ColorGradient = (props) => {
7844
+ const {
7845
+ mode = defaultProps43.mode,
7846
+ readonly = defaultProps43.readonly,
7847
+ disabled = defaultProps43.disabled,
7848
+ dir,
7849
+ contrast = defaultProps43.contrast,
7850
+ hover,
7851
+ focus,
7852
+ hoverHandle,
7853
+ focusHandle,
7854
+ gradientStyle = defaultProps43.gradientStyle,
7855
+ dragHandleStyle = defaultProps43.dragHandleStyle,
7856
+ alphaStyle = defaultProps43.alphaStyle
7857
+ } = props;
7858
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { className: classNames(
7859
+ props.className,
7860
+ COLOR_GRADIENT_CLASSNAME,
7861
+ stateClassNames(COLOR_GRADIENT_CLASSNAME, {
7862
+ hover,
7863
+ focus,
7864
+ readonly,
7865
+ disabled
7866
+ })
7867
+ ), dir, children: [
7868
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
7869
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { className: classNames(
7870
+ "k-hsv-draghandle",
7871
+ "k-draghandle",
7872
+ {
7873
+ "k-hover": hoverHandle,
7874
+ "k-focus": focusHandle
7875
+ }
7876
+ ), style: dragHandleStyle }) }) }),
7877
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
7878
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
7879
+ mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
7880
+ ] })
7881
+ ] }),
7882
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(ColorInput, { mode: props.mode }),
7883
+ contrast && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(ColorContrast, {})
7884
+ ] });
7885
+ };
7886
+ ColorGradient.states = states47;
7887
+ ColorGradient.options = options42;
7888
+ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
7889
+ ColorGradient.defaultProps = defaultProps43;
7890
+
7891
+ // src/colorgradient/templates/colorgradient-normal.tsx
7892
+ var import_jsx_runtime137 = require("react/jsx-runtime");
7893
+
7894
+ // src/colorgradient/templates/colorgradient-contrast.tsx
7895
+ var import_jsx_runtime138 = require("react/jsx-runtime");
7896
+
7897
+ // src/colorpalette/colorpalette-row.tsx
7898
+ var import_jsx_runtime139 = require("react/jsx-runtime");
7899
+ var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime139.jsx)("tr", { children: props.children });
7900
+
7901
+ // src/colorpalette/colorpalette-tile.tsx
7902
+ var import_jsx_runtime140 = require("react/jsx-runtime");
7903
+ var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
7904
+ var states48 = [
7905
+ States.hover,
7906
+ States.focus,
7907
+ States.selected
7908
+ ];
7909
+ var options43 = {};
7910
+ var ColorPaletteTile = (props) => {
7911
+ const {
7912
+ color,
7913
+ tileSize,
7914
+ hover,
7915
+ focus,
7916
+ selected,
7917
+ ...other
7918
+ } = props;
7919
+ const styles = {
7920
+ "background-color": color,
7921
+ "width": tileSize ? tileSize + "px" : "",
7922
+ "height": tileSize ? tileSize + "px" : ""
7923
+ };
7924
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
7925
+ "td",
7926
+ {
7927
+ ...other,
7928
+ className: classNames(
7929
+ props.className,
7930
+ COLORPALETTETILE_CLASSNAME,
7931
+ stateClassNames(COLORPALETTETILE_CLASSNAME, {
7932
+ hover,
7933
+ focus,
7934
+ selected
7935
+ })
7936
+ ),
7937
+ style: styles
7938
+ }
7939
+ );
7940
+ };
7941
+ ColorPaletteTile.states = states48;
7942
+ ColorPaletteTile.options = options43;
7943
+ ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
7944
+
7945
+ // src/colorpalette/colorpalette.spec.tsx
7946
+ var import_jsx_runtime141 = require("react/jsx-runtime");
7947
+ var COLORPALETTE_CLASSNAME = `k-colorpalette`;
7948
+ var states49 = [
7949
+ States.disabled
7950
+ ];
7951
+ var options44 = {};
7952
+ var defaultProps44 = {
7953
+ columns: 10
7954
+ };
7955
+ var ColorPalette = (props) => {
7956
+ const {
7957
+ palette,
7958
+ columns = defaultProps44.columns,
7959
+ tileSize,
7960
+ disabled,
7961
+ ...other
7962
+ } = props;
7963
+ const newChildren = [];
7964
+ if (palette) {
7965
+ const cols = columns || palette.columns;
7966
+ const colors = palette.colors ? palette.colors : palette;
7967
+ if (Array.isArray(colors)) {
7968
+ Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
7969
+ const items = [];
7970
+ colors.slice(i * cols, (i + 1) * cols).map((color) => {
7971
+ items.push(/* @__PURE__ */ (0, import_jsx_runtime141.jsx)(ColorPaletteTile, { color, tileSize }));
7972
+ });
7973
+ const row = /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(ColorPaletteRow, { children: items });
7974
+ newChildren.push(row);
7975
+ });
7976
+ }
7977
+ }
7978
+ return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
7979
+ "div",
7980
+ {
7981
+ ...other,
7982
+ className: classNames(
7983
+ props.className,
7984
+ COLORPALETTE_CLASSNAME,
7985
+ stateClassNames(COLORPALETTE_CLASSNAME, {
7986
+ disabled
7987
+ })
7988
+ ),
7989
+ children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
7990
+ }
7991
+ );
7992
+ };
7993
+ ColorPalette.states = states49;
7994
+ ColorPalette.options = options44;
7995
+ ColorPalette.className = COLORPALETTE_CLASSNAME;
7996
+ ColorPalette.defaultProps = defaultProps44;
7997
+
7998
+ // src/colorpalette/templates/colorpalette-normal.tsx
7999
+ var import_jsx_runtime142 = require("react/jsx-runtime");
8000
+
8001
+ // src/colorpalette/colorpalette-presets.tsx
8002
+ var PALETTEPRESETS = {
8003
+ basic: {
8004
+ colors: ["#000000", "#7f7f7f", "#880015", "#ed1c24", "#ff7f27", "#fff200", "#22b14c", "#00a2e8", "#3f48cc", "#a349a4", "#ffffff", "#c3c3c3", "#b97a57", "#ffaec9", "#ffc90e", "#efe4b0", "#b5e61d", "#99d9ea", "#7092be", "#c8bfe7"],
8005
+ columns: 10
8006
+ },
8007
+ office: {
8008
+ 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"],
8009
+ columns: 10
8010
+ },
8011
+ apex: {
8012
+ 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"],
8013
+ columns: 10
8014
+ },
8015
+ austin: {
8016
+ 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"],
8017
+ columns: 10
8018
+ },
8019
+ clarity: {
8020
+ 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"],
8021
+ columns: 10
8022
+ },
8023
+ slipstream: {
8024
+ 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"],
8025
+ columns: 10
8026
+ },
8027
+ metro: {
8028
+ 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"],
8029
+ columns: 10
8030
+ },
8031
+ flow: {
8032
+ 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"],
8033
+ columns: 10
8034
+ },
8035
+ hardcover: {
8036
+ 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"],
8037
+ columns: 10
8038
+ },
8039
+ trek: {
8040
+ 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"],
8041
+ columns: 10
8042
+ },
8043
+ verve: {
8044
+ 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"],
8045
+ columns: 10
8046
+ },
8047
+ monochrome: {
8048
+ colors: ["#000000", "#1a1a1a", "#333333", "#4d4d4d", "#666666", "#808080", "#999999", "#b3b3b3", "#cccccc", "#e6e6e6", "#f2f2f2", "#ffffff"],
8049
+ columns: 12
8050
+ }
8051
+ };
8052
+
8053
+ // src/coloreditor/color-editor.spec.tsx
8054
+ var import_jsx_runtime143 = require("react/jsx-runtime");
8055
+ var COLOREDITOR_CLASSNAME = "k-coloreditor";
8056
+ var states50 = [
8057
+ States.focus
8058
+ ];
8059
+ var options45 = {};
8060
+ var defaultProps45 = {
8061
+ view: "gradient",
8062
+ currentColor: "fuchsia",
8063
+ palette: PALETTEPRESETS.office
8064
+ };
8065
+ var ColorEditor = (props) => {
8066
+ const {
8067
+ view = defaultProps45.view,
8068
+ color,
8069
+ currentColor = defaultProps45.currentColor,
8070
+ focus,
8071
+ focusView,
8072
+ dir,
8073
+ group,
8074
+ palette = defaultProps45.palette
8075
+ } = props;
8076
+ return /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { className: classNames(
8077
+ props.className,
8078
+ "k-flatcolorpicker",
8079
+ COLOREDITOR_CLASSNAME,
8080
+ stateClassNames(COLOREDITOR_CLASSNAME, { focus })
8081
+ ), dir, children: [
8082
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
8083
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(ButtonGroup, { children: [
8084
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
8085
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
8086
+ ] }) }),
8087
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { className: "k-spacer" }),
8088
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
8089
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
8090
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
8091
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
8092
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
8093
+ ] })
8094
+ ] })
8095
+ ] }),
8096
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ColorGradient, { focus: focusView }) : /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(ColorPalette, { palette }) }),
8097
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
8098
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
8099
+ /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
8100
+ ] })
8101
+ ] });
8102
+ };
8103
+ ColorEditor.states = states50;
8104
+ ColorEditor.options = options45;
8105
+ ColorEditor.className = COLOREDITOR_CLASSNAME;
8106
+ ColorEditor.defaultProps = defaultProps45;
8107
+
8108
+ // src/coloreditor/templates/coloreditor-normal.tsx
8109
+ var import_jsx_runtime144 = require("react/jsx-runtime");
8110
+
8111
+ // src/coloreditor/templates/coloreditor-palette.tsx
8112
+ var import_jsx_runtime145 = require("react/jsx-runtime");
8113
+
8114
+ // src/coloreditor/templates/coloreditor-group.tsx
8115
+ var import_jsx_runtime146 = require("react/jsx-runtime");
8116
+
8117
+ // src/coloreditor/templates/coloreditor-palette-group.tsx
8118
+ var import_jsx_runtime147 = require("react/jsx-runtime");
8119
+
8120
+ // src/colorpicker/templates/colorpicker-popup-gradient.tsx
8121
+ var import_jsx_runtime148 = require("react/jsx-runtime");
8122
+
8123
+ // src/colorpicker/templates/colorpicker-popup-palette.tsx
8124
+ var import_jsx_runtime149 = require("react/jsx-runtime");
8125
+
8126
+ // src/combobox/combobox.spec.tsx
8127
+ var import_jsx_runtime150 = require("react/jsx-runtime");
8128
+ var COMBOBOX_CLASSNAME = `k-combobox`;
8129
+ var states51 = [
8130
+ States.hover,
8131
+ States.focus,
8132
+ States.valid,
8133
+ States.invalid,
8134
+ States.loading,
8135
+ States.required,
8136
+ States.disabled,
8137
+ States.readonly
8138
+ ];
8139
+ var defaultProps46 = {
8140
+ size: Input.defaultProps.size,
8141
+ rounded: Input.defaultProps.rounded,
8142
+ fillMode: Input.defaultProps.fillMode
8143
+ };
8144
+ var options46 = {
8145
+ size: [Size.small, Size.medium, Size.large],
8146
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
8147
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
8148
+ };
8149
+ var Combobox = (props) => {
8150
+ const {
8151
+ prefix,
8152
+ suffix,
8153
+ value,
8154
+ placeholder,
8155
+ size,
8156
+ rounded,
8157
+ fillMode,
8158
+ hover,
8159
+ focus,
8160
+ valid,
8161
+ invalid,
8162
+ required,
8163
+ loading,
8164
+ disabled,
8165
+ popup,
8166
+ opened,
8167
+ readonly,
8168
+ adaptive,
8169
+ adaptiveSettings,
8170
+ ...other
8171
+ } = props;
8172
+ return /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(import_jsx_runtime150.Fragment, { children: [
8173
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(
8174
+ Input,
8175
+ {
8176
+ ...other,
8177
+ size,
8178
+ rounded,
8179
+ fillMode,
8180
+ hover,
8181
+ focus,
8182
+ valid,
8183
+ invalid,
8184
+ required,
8185
+ loading,
8186
+ disabled,
8187
+ readonly,
8188
+ className: classNames(props.className, COMBOBOX_CLASSNAME),
8189
+ children: [
8190
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(import_jsx_runtime150.Fragment, { children: [
8191
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(InputPrefix, { children: prefix }),
8192
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(InputSeparator, {})
8193
+ ] }),
8194
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(InputInnerInput, { placeholder, value }),
8195
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
8196
+ InputValidationIcon,
8197
+ {
8198
+ valid,
8199
+ invalid,
8200
+ loading,
8201
+ disabled
8202
+ }
8203
+ ),
8204
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
8205
+ InputLoadingIcon,
8206
+ {
8207
+ loading,
8208
+ disabled
8209
+ }
8210
+ ),
8211
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
8212
+ InputClearValue,
8213
+ {
8214
+ loading,
8215
+ disabled,
8216
+ readonly,
8217
+ value
8218
+ }
8219
+ ),
8220
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(import_jsx_runtime150.Fragment, { children: [
8221
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(InputSeparator, {}),
8222
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(InputSuffix, { children: suffix })
8223
+ ] }),
8224
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
8225
+ Button,
8226
+ {
8227
+ className: "k-input-button",
8228
+ icon: "caret-alt-down",
8229
+ rounded: null,
8230
+ size,
8231
+ fillMode
8232
+ }
8233
+ )
8234
+ ]
8235
+ }
8236
+ ),
8237
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
8238
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
8239
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
8240
+ ActionSheetHeader,
8241
+ {
8242
+ actions: ["x"],
8243
+ filter: true,
8244
+ title: "Select Item"
8245
+ }
8246
+ ),
8247
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(List, { size: "large", children: [
8248
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(ListItem, { text: "List item" }),
8249
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(ListItem, { text: "List item" }),
8250
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(ListItem, { text: "List item" })
8251
+ ] }) })
8252
+ ] })
8253
+ ] });
8254
+ };
8255
+ Combobox.states = states51;
8256
+ Combobox.options = options46;
8257
+ Combobox.className = COMBOBOX_CLASSNAME;
8258
+ Combobox.defaultProps = defaultProps46;
8259
+
8260
+ // src/combobox/templates/combobox-normal.tsx
8261
+ var import_jsx_runtime151 = require("react/jsx-runtime");
8262
+
8263
+ // src/combobox/templates/combobox-popup.tsx
8264
+ var import_jsx_runtime152 = require("react/jsx-runtime");
8265
+
8266
+ // src/combobox/templates/combobox-grouping.tsx
8267
+ var import_jsx_runtime153 = require("react/jsx-runtime");
8268
+
8269
+ // src/combobox/templates/combobox-adaptive.tsx
8270
+ var import_jsx_runtime154 = require("react/jsx-runtime");
8271
+
8272
+ // src/combobox/templates/combobox-prefix.tsx
8273
+ var import_jsx_runtime155 = require("react/jsx-runtime");
8274
+
8275
+ // src/combobox/templates/combobox-suffix.tsx
8276
+ var import_jsx_runtime156 = require("react/jsx-runtime");
8277
+
8278
+ // src/menu-button/menu-button.spec.tsx
8279
+ var import_jsx_runtime157 = require("react/jsx-runtime");
8280
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
8281
+ var states52 = [
8282
+ States.hover,
8283
+ States.focus,
8284
+ States.active,
8285
+ States.selected,
8286
+ States.disabled
8287
+ ];
8288
+ var options47 = {
8289
+ size: [Size.small, Size.medium, Size.large],
8290
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
8291
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
8292
+ themeColor: [
8293
+ ThemeColor.base,
8294
+ ThemeColor.primary,
8295
+ ThemeColor.secondary,
8296
+ ThemeColor.tertiary,
8297
+ ThemeColor.success,
8298
+ ThemeColor.warning,
8299
+ ThemeColor.error,
8300
+ ThemeColor.info,
8301
+ ThemeColor.light,
8302
+ ThemeColor.dark,
8303
+ ThemeColor.inverse
8304
+ ]
8305
+ };
8306
+ var defaultProps47 = {
8307
+ size: Size.medium,
8308
+ rounded: Roundness.medium,
8309
+ fillMode: FillMode.solid,
8310
+ themeColor: ThemeColor.base,
8311
+ showArrow: true,
8312
+ arrowIconName: "caret-alt-down"
8313
+ };
8314
+ var MenuButton = (props) => {
8315
+ const {
8316
+ size = defaultProps47.size,
8317
+ rounded = defaultProps47.rounded,
8318
+ fillMode = defaultProps47.fillMode,
8319
+ themeColor = defaultProps47.themeColor,
8320
+ hover,
8321
+ focus,
8322
+ active,
8323
+ selected,
8324
+ disabled,
8325
+ icon,
8326
+ text,
8327
+ showArrow = defaultProps47.showArrow,
8328
+ arrowIconName = defaultProps47.arrowIconName,
8329
+ popup,
8330
+ opened,
8331
+ ...other
8332
+ } = props;
8333
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)(import_jsx_runtime157.Fragment, { children: [
8334
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
8335
+ Button,
8336
+ {
8337
+ ...other,
8338
+ className: classNames(
8339
+ props.className,
8340
+ MENUBUTTON_CLASSNAME
8341
+ ),
8342
+ text,
8343
+ size,
8344
+ rounded,
8345
+ fillMode,
8346
+ themeColor,
8347
+ hover,
8348
+ focus,
8349
+ active,
8350
+ selected,
8351
+ disabled,
8352
+ icon,
8353
+ showArrow,
8354
+ arrowIconName
8355
+ }
8356
+ ),
8357
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Popup, { className: "k-menu-popup", children: popup })
8358
+ ] });
8359
+ };
8360
+ MenuButton.states = states52;
8361
+ MenuButton.options = options47;
8362
+ MenuButton.className = MENUBUTTON_CLASSNAME;
8363
+ MenuButton.defaultProps = defaultProps47;
8364
+
8365
+ // src/menu-button/templates/icon-menu-button.tsx
8366
+ var import_jsx_runtime158 = require("react/jsx-runtime");
8367
+
8368
+ // src/menu-button/templates/icon-text-menu-button.tsx
8369
+ var import_jsx_runtime159 = require("react/jsx-runtime");
8370
+
8371
+ // src/menu-button/templates/text-menu-button.tsx
8372
+ var import_jsx_runtime160 = require("react/jsx-runtime");
8373
+
8374
+ // src/menu/menu-item.spec.tsx
8375
+ var import_jsx_runtime161 = require("react/jsx-runtime");
8376
+ var MENUITEM_CLASSNAME = `k-menu-item`;
8377
+ var states53 = [
8378
+ States.hover,
8379
+ States.focus,
8380
+ States.active,
8381
+ States.selected,
8382
+ States.disabled
8383
+ ];
8384
+ var options48 = {};
8385
+ var defaultProps48 = {
8386
+ dir: "ltr"
8387
+ };
8388
+ var MenuItem = (props) => {
8389
+ const {
8390
+ hover,
8391
+ focus,
8392
+ active,
8393
+ selected,
8394
+ disabled,
8395
+ icon,
8396
+ text,
8397
+ showArrow,
8398
+ arrowIconName,
8399
+ dir = defaultProps48.dir,
8400
+ children,
8401
+ ...other
8402
+ } = props;
8403
+ const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_jsx_runtime161.Fragment, {});
8404
+ if (children) {
8405
+ children.forEach((child) => {
8406
+ const component = child.type;
8407
+ if (component === "MenuItemContent") {
8408
+ contentTemplate.props.children.push(child);
8409
+ return;
8410
+ }
8411
+ });
8412
+ }
8413
+ let expandArrowName = arrowIconName;
8414
+ if (!expandArrowName) {
8415
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
8416
+ }
8417
+ return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(
8418
+ "li",
8419
+ {
8420
+ ...other,
8421
+ className: classNames(
8422
+ props.className,
8423
+ MENUITEM_CLASSNAME,
8424
+ //TODO
8425
+ "k-item",
8426
+ stateClassNames(MENUITEM_CLASSNAME, {
8427
+ focus,
8428
+ disabled
8429
+ })
8430
+ ),
8431
+ children: [
8432
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(
8433
+ "span",
8434
+ {
8435
+ className: classNames(
8436
+ "k-link k-menu-link",
8437
+ stateClassNames("k-menu-link", {
8438
+ hover,
8439
+ active,
8440
+ selected,
8441
+ disabled
8442
+ })
8443
+ ),
8444
+ children: [
8445
+ icon && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Icon, { className: "k-menu-link-icon", icon }),
8446
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { className: "k-menu-link-text", children: text }),
8447
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Icon, { icon: expandArrowName }) })
8448
+ ]
8449
+ }
8450
+ ),
8451
+ contentTemplate
8452
+ ]
8453
+ }
8454
+ );
8455
+ };
8456
+ MenuItem.states = states53;
8457
+ MenuItem.options = options48;
8458
+ MenuItem.className = MENUITEM_CLASSNAME;
8459
+ MenuItem.defaultProps = defaultProps48;
8460
+ var menu_item_spec_default = MenuItem;
8461
+
8462
+ // src/menu/menu-separator.spec.tsx
8463
+ var import_jsx_runtime162 = require("react/jsx-runtime");
8464
+ var SEPARATOR_CLASSNAME = `k-separator`;
8465
+ var defaultProps49 = {
8466
+ orientation: "horizontal"
8467
+ };
8468
+ var MenuSeparator = (props) => {
8469
+ const {
8470
+ orientation = defaultProps49.orientation,
8471
+ ...other
8472
+ } = props;
8473
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
8474
+ "li",
8475
+ {
8476
+ ...other,
8477
+ className: classNames(
8478
+ props.className,
8479
+ "k-item",
8480
+ SEPARATOR_CLASSNAME,
8481
+ {
8482
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
8483
+ }
8484
+ )
8485
+ }
8486
+ );
8487
+ };
8488
+ var menu_separator_spec_default = MenuSeparator;
8489
+
8490
+ // src/menu/menu-item-content.tsx
8491
+ var import_jsx_runtime163 = require("react/jsx-runtime");
8492
+
8493
+ // src/menu/menu-list.spec.tsx
8494
+ var import_jsx_runtime164 = require("react/jsx-runtime");
8495
+ var import_react = require("react");
8496
+ var MENULIST_CLASSNAME = `k-menu-group`;
8497
+ var states54 = [];
8498
+ var options49 = {
8499
+ size: [Size.small, Size.medium, Size.large]
8500
+ };
8501
+ var defaultProps50 = {
8502
+ size: Size.medium,
8503
+ dir: "ltr"
8504
+ };
8505
+ var MenuList = (props) => {
8506
+ const {
8507
+ children,
8508
+ size = defaultProps50.size,
8509
+ dir = defaultProps50.dir,
8510
+ ...other
8511
+ } = props;
8512
+ const listChildren = [];
8513
+ if (children) {
8514
+ if (Array.isArray(children)) {
8515
+ children.map((child, index) => {
8516
+ if (child.type === menu_item_spec_default) {
8517
+ listChildren.push(
8518
+ /* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
8519
+ );
8520
+ } else if (child.type === menu_separator_spec_default) {
8521
+ listChildren.push(
8522
+ /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(menu_separator_spec_default, {})
8523
+ );
8524
+ } else {
8525
+ listChildren.push(child);
8526
+ }
8527
+ });
8528
+ }
8529
+ }
8530
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
8531
+ "ul",
8532
+ {
8533
+ ...other,
8534
+ className: classNames(
8535
+ props.className,
8536
+ MENULIST_CLASSNAME,
8537
+ optionClassNames(MENULIST_CLASSNAME, {
8538
+ size
8539
+ })
8540
+ ),
8541
+ children: listChildren
8542
+ }
8543
+ );
8544
+ };
8545
+ MenuList.states = states54;
8546
+ MenuList.options = options49;
8547
+ MenuList.className = MENULIST_CLASSNAME;
8548
+ MenuList.defaultProps = defaultProps50;
8549
+
8550
+ // src/menu-button/templates/menu-button-popup.tsx
8551
+ var import_jsx_runtime165 = require("react/jsx-runtime");
8552
+
8553
+ // src/split-button/split-button.spec.tsx
8554
+ var import_jsx_runtime166 = require("react/jsx-runtime");
8555
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
8556
+ var states55 = [
8557
+ States.hover,
8558
+ States.focus,
8559
+ States.active,
8560
+ States.selected,
8561
+ States.disabled
8562
+ ];
8563
+ var options50 = {
8564
+ size: [Size.small, Size.medium, Size.large],
8565
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
8566
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
8567
+ themeColor: [
8568
+ ThemeColor.base,
8569
+ ThemeColor.primary,
8570
+ ThemeColor.secondary,
8571
+ ThemeColor.tertiary,
8572
+ ThemeColor.success,
8573
+ ThemeColor.warning,
8574
+ ThemeColor.error,
8575
+ ThemeColor.info,
8576
+ ThemeColor.light,
8577
+ ThemeColor.dark,
8578
+ ThemeColor.inverse
8579
+ ]
8580
+ };
8581
+ var defaultProps51 = {
8582
+ size: Size.medium,
8583
+ rounded: Roundness.medium,
8584
+ fillMode: FillMode.solid,
8585
+ themeColor: ThemeColor.base,
8586
+ arrowIconName: "caret-alt-down"
8587
+ };
8588
+ var SplitButton = (props) => {
8589
+ const {
8590
+ size = defaultProps51.size,
8591
+ rounded = defaultProps51.rounded,
8592
+ fillMode = defaultProps51.fillMode,
8593
+ themeColor = defaultProps51.themeColor,
8594
+ hover,
8595
+ focus,
8596
+ active,
8597
+ selected,
8598
+ disabled,
8599
+ icon,
8600
+ text,
8601
+ arrowIconName = defaultProps51.arrowIconName,
8602
+ popup,
8603
+ opened,
8604
+ ...other
8605
+ } = props;
8606
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(import_jsx_runtime166.Fragment, { children: [
8607
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(
8608
+ "div",
8609
+ {
8610
+ ...other,
8611
+ className: classNames(
8612
+ props.className,
8613
+ SPLITBUTTON_CLASSNAME,
8614
+ "k-button-group",
8615
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
8616
+ rounded
8617
+ })
8618
+ ),
8619
+ children: [
8620
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
8621
+ Button,
8622
+ {
8623
+ text,
8624
+ icon,
8625
+ size,
8626
+ rounded,
8627
+ fillMode,
8628
+ themeColor,
8629
+ hover,
8630
+ focus,
8631
+ active,
8632
+ selected,
8633
+ disabled,
8634
+ children: props.children
8635
+ }
8636
+ ),
8637
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
8638
+ Button,
8639
+ {
8640
+ className: "k-split-button-arrow",
8641
+ icon: arrowIconName,
8642
+ size,
8643
+ rounded,
8644
+ fillMode,
8645
+ disabled
8646
+ }
8647
+ )
8648
+ ]
8649
+ }
8650
+ ),
8651
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Popup, { className: "k-menu-popup", children: popup })
8652
+ ] });
8653
+ };
8654
+ SplitButton.states = states55;
8655
+ SplitButton.options = options50;
8656
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
8657
+ SplitButton.defaultProps = defaultProps51;
8658
+ var split_button_spec_default = SplitButton;
8659
+
8660
+ // src/toolbar/toolbar.spec.tsx
8661
+ var import_jsx_runtime167 = require("react/jsx-runtime");
8662
+ var TOOLBAR_CLASSNAME = `k-toolbar`;
8663
+ var states56 = [
8664
+ States.focus
8665
+ ];
8666
+ var options51 = {
8667
+ size: [Size.small, Size.medium, Size.large]
8668
+ };
8669
+ var defaultProps52 = {
8670
+ size: Size.medium
8671
+ };
8672
+ var Toolbar = (props) => {
8673
+ const {
8674
+ size = defaultProps52.size,
8675
+ focus,
8676
+ resizable,
8677
+ ...other
8678
+ } = props;
8679
+ const toolbarChildren = [];
8680
+ const addUniqueToolClass = (child, index) => {
8681
+ const tempToolbarChildren = [];
8682
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8683
+ tempToolbarChildren.push(
8684
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8685
+ Button,
8686
+ {
8687
+ ...child.props,
8688
+ className: `${child.props.className ? child.props.className : ""}`
8689
+ },
8690
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8691
+ )
8692
+ );
8693
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8694
+ tempToolbarChildren.push(
8695
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8696
+ Button,
8697
+ {
8698
+ ...child.props,
8699
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8700
+ },
8701
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8702
+ )
8703
+ );
8704
+ } else if (child.type === Button) {
8705
+ tempToolbarChildren.push(
8706
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8707
+ Button,
8708
+ {
8709
+ ...child.props,
8710
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8711
+ },
8712
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8713
+ )
8714
+ );
8715
+ } else if (child.type === MenuButton) {
8716
+ tempToolbarChildren.push(
8717
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8718
+ MenuButton,
8719
+ {
8720
+ ...child.props,
8721
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8722
+ },
8723
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8724
+ )
8725
+ );
8726
+ } else if (child.type === split_button_spec_default) {
8727
+ tempToolbarChildren.push(
8728
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8729
+ split_button_spec_default,
8730
+ {
8731
+ ...child.props,
8732
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8733
+ },
8734
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8735
+ )
8736
+ );
8737
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8738
+ const buttonGroupItems = [];
8739
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8740
+ childrenArray.forEach((button, bindex) => {
8741
+ buttonGroupItems.push(
8742
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8743
+ Button,
8744
+ {
8745
+ ...button.props,
8746
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8747
+ },
8748
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8749
+ )
8750
+ );
8751
+ });
8752
+ tempToolbarChildren.push(
8753
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8754
+ ButtonGroup,
8755
+ {
8756
+ ...child.props,
8757
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8758
+ children: buttonGroupItems
8759
+ },
8760
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8761
+ )
8762
+ );
8763
+ } else if (child.type === Combobox) {
8764
+ tempToolbarChildren.push(
8765
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8766
+ Combobox,
8767
+ {
8768
+ ...child.props,
8769
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8770
+ },
8771
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8772
+ )
8773
+ );
8774
+ } else if (child.type === DropdownList) {
8775
+ tempToolbarChildren.push(
8776
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8777
+ DropdownList,
8778
+ {
8779
+ ...child.props,
8780
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8781
+ },
8782
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8783
+ )
8784
+ );
8785
+ } else if (child.type === ColorPicker) {
8786
+ tempToolbarChildren.push(
8787
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8788
+ ColorPicker,
8789
+ {
8790
+ ...child.props,
8791
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8792
+ },
8793
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8794
+ )
8795
+ );
8796
+ } else {
8797
+ tempToolbarChildren.push(child);
8798
+ }
8799
+ tempToolbarChildren.forEach((item) => {
8800
+ toolbarChildren.push(item);
8801
+ });
8802
+ };
8803
+ if (props.children) {
8804
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8805
+ childrenArray.forEach((child, index) => {
8806
+ addUniqueToolClass(child, index);
8807
+ });
8808
+ }
8809
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
8810
+ "div",
8811
+ {
8812
+ ...other,
8813
+ className: classNames(
8814
+ props.className,
8815
+ TOOLBAR_CLASSNAME,
8816
+ optionClassNames(TOOLBAR_CLASSNAME, {
8817
+ size
8818
+ }),
8819
+ stateClassNames(TOOLBAR_CLASSNAME, {
8820
+ focus
8821
+ }),
8822
+ {
8823
+ [`${TOOLBAR_CLASSNAME}-resizable`]: resizable
8824
+ }
8825
+ ),
8826
+ children: toolbarChildren
8827
+ }
8828
+ );
8829
+ };
8830
+ Toolbar.states = states56;
8831
+ Toolbar.options = options51;
8832
+ Toolbar.className = TOOLBAR_CLASSNAME;
8833
+ Toolbar.defaultProps = defaultProps52;
8834
+
8835
+ // src/toolbar/toolbar-angular.spec.tsx
8836
+ var import_jsx_runtime168 = require("react/jsx-runtime");
8837
+ var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
8838
+ var states57 = [
8839
+ States.focus
8840
+ ];
8841
+ var options52 = {
8842
+ size: [Size.small, Size.medium, Size.large]
8843
+ };
8844
+ var defaultProps53 = {
8845
+ size: Size.medium
8846
+ };
8847
+ var ToolbarAngular = (props) => {
8848
+ const {
8849
+ size = defaultProps53.size,
8850
+ focus,
8851
+ resizable,
8852
+ ...other
8853
+ } = props;
8854
+ const toolbarChildren = [];
8855
+ const addUniqueToolClass = (child, index) => {
8856
+ const tempToolbarChildren = [];
8857
+ if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
8858
+ tempToolbarChildren.push(
8859
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8860
+ Button,
8861
+ {
8862
+ ...child.props,
8863
+ className: `${child.props.className ? child.props.className : ""}`
8864
+ },
8865
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8866
+ ) })
8867
+ );
8868
+ } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
8869
+ tempToolbarChildren.push(
8870
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8871
+ Button,
8872
+ {
8873
+ ...child.props,
8874
+ className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
8875
+ },
8876
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8877
+ ) })
8878
+ );
8879
+ } else if (child.type === Button) {
8880
+ tempToolbarChildren.push(
8881
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8882
+ Button,
8883
+ {
8884
+ ...child.props,
8885
+ className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
8886
+ },
8887
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8888
+ ) })
8889
+ );
8890
+ } else if (child.type === MenuButton) {
8891
+ tempToolbarChildren.push(
8892
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8893
+ MenuButton,
8894
+ {
8895
+ ...child.props,
8896
+ className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
8897
+ },
8898
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8899
+ ) })
8900
+ );
8901
+ } else if (child.type === split_button_spec_default) {
8902
+ tempToolbarChildren.push(
8903
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8904
+ split_button_spec_default,
8905
+ {
8906
+ ...child.props,
8907
+ className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
8908
+ },
8909
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8910
+ ) })
8911
+ );
8912
+ } else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
8913
+ const buttonGroupItems = [];
8914
+ const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
8915
+ childrenArray.forEach((button, bindex) => {
8916
+ buttonGroupItems.push(
8917
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8918
+ Button,
8919
+ {
8920
+ ...button.props,
8921
+ className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
8922
+ },
8923
+ `${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
8924
+ )
8925
+ );
8926
+ });
8927
+ tempToolbarChildren.push(
8928
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8929
+ ButtonGroup,
8930
+ {
8931
+ ...child.props,
8932
+ className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
8933
+ children: buttonGroupItems
8934
+ },
8935
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8936
+ ) })
8937
+ );
8938
+ } else if (child.type === Combobox) {
8939
+ tempToolbarChildren.push(
8940
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8941
+ Combobox,
8942
+ {
8943
+ ...child.props,
8944
+ className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
8945
+ },
8946
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8947
+ ) })
8948
+ );
8949
+ } else if (child.type === DropdownList) {
8950
+ tempToolbarChildren.push(
8951
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8952
+ DropdownList,
8953
+ {
8954
+ ...child.props,
8955
+ className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
8956
+ },
8957
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8958
+ ) })
8959
+ );
8960
+ } else if (child.type === ColorPicker) {
8961
+ tempToolbarChildren.push(
8962
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8963
+ ColorPicker,
8964
+ {
8965
+ ...child.props,
8966
+ className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
8967
+ },
8968
+ `${index}-${(/* @__PURE__ */ new Date()).getTime()}`
8969
+ ) })
8970
+ );
8971
+ } else {
8972
+ tempToolbarChildren.push(child);
8973
+ }
8974
+ tempToolbarChildren.forEach((item) => {
8975
+ toolbarChildren.push(item);
8976
+ });
8977
+ };
8978
+ if (props.children) {
8979
+ const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
8980
+ childrenArray.forEach((child, index) => {
8981
+ addUniqueToolClass(child, index);
8982
+ });
8983
+ }
8984
+ return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
8985
+ "div",
8986
+ {
8987
+ ...other,
8988
+ className: classNames(
8989
+ props.className,
8990
+ TOOLBARANGULAR_CLASSNAME,
8991
+ optionClassNames(TOOLBARANGULAR_CLASSNAME, {
8992
+ size
8993
+ }),
8994
+ stateClassNames(TOOLBARANGULAR_CLASSNAME, {
8995
+ focus
8996
+ }),
8997
+ {
8998
+ [`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
8999
+ }
9000
+ ),
9001
+ children: toolbarChildren
9002
+ }
9003
+ );
9004
+ };
9005
+ ToolbarAngular.states = states57;
9006
+ ToolbarAngular.options = options52;
9007
+ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
9008
+ ToolbarAngular.defaultProps = defaultProps53;
9009
+
9010
+ // src/toolbar/toolbar-separator.tsx
9011
+ var import_jsx_runtime169 = require("react/jsx-runtime");
9012
+
9013
+ // src/toolbar/toolbar-item.spec.tsx
9014
+ var import_jsx_runtime170 = require("react/jsx-runtime");
9015
+ var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
9016
+ var states58 = [
9017
+ States.focus
9018
+ ];
9019
+ var options53 = {};
9020
+ var defaultProps54 = {};
9021
+ var ToolbarItem = (props) => {
9022
+ const {
9023
+ focus,
9024
+ ...other
9025
+ } = props;
9026
+ return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
9027
+ "div",
9028
+ {
9029
+ ...other,
9030
+ className: classNames(
9031
+ props.className,
9032
+ TOOLBARITEM_CLASSNAME,
9033
+ stateClassNames(TOOLBARITEM_CLASSNAME, {
9034
+ focus
9035
+ })
9036
+ ),
9037
+ children: props.children
9038
+ }
9039
+ );
9040
+ };
9041
+ ToolbarItem.states = states58;
9042
+ ToolbarItem.options = options53;
9043
+ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
9044
+ ToolbarItem.defaultProps = defaultProps54;
9045
+
9046
+ // src/toolbar/toolbar-popup.spec.tsx
9047
+ var import_jsx_runtime171 = require("react/jsx-runtime");
9048
+ var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
9049
+ var states59 = [];
9050
+ var options54 = {};
9051
+ var defaultProps55 = {};
9052
+ var ToolbarPopup = (props) => {
9053
+ const { ...other } = props;
9054
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
9055
+ Popup,
9056
+ {
9057
+ ...other,
9058
+ className: classNames(
9059
+ props.className,
9060
+ TOOLBARPOPUP_CLASSNAME
9061
+ ),
9062
+ children: props.children
9063
+ }
9064
+ );
9065
+ };
9066
+ ToolbarPopup.states = states59;
9067
+ ToolbarPopup.options = options54;
9068
+ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
9069
+ ToolbarPopup.defaultProps = defaultProps55;
9070
+
9071
+ // src/split-button/templates/icon-split-button.tsx
9072
+ var import_jsx_runtime172 = require("react/jsx-runtime");
9073
+
9074
+ // src/split-button/templates/icon-text-split-button.tsx
9075
+ var import_jsx_runtime173 = require("react/jsx-runtime");
9076
+
9077
+ // src/split-button/templates/text-split-button.tsx
9078
+ var import_jsx_runtime174 = require("react/jsx-runtime");
9079
+
9080
+ // src/split-button/templates/split-button-popup.tsx
9081
+ var import_jsx_runtime175 = require("react/jsx-runtime");
9082
+
9083
+ // src/toolbar/templates/toolbar-normal.tsx
9084
+ var import_jsx_runtime176 = require("react/jsx-runtime");
9085
+
9086
+ // src/toolbar/templates/toolbar-resizable.tsx
9087
+ var import_jsx_runtime177 = require("react/jsx-runtime");
9088
+
9089
+ // src/toolbar/templates/toolbar-angular-normal.tsx
9090
+ var import_jsx_runtime178 = require("react/jsx-runtime");
9091
+
9092
+ // src/toolbar/templates/toolbar-angular-resizable.tsx
9093
+ var import_jsx_runtime179 = require("react/jsx-runtime");
9094
+
9095
+ // src/grid/grid-toolbar.spec.tsx
9096
+ var import_jsx_runtime180 = require("react/jsx-runtime");
9097
+
9098
+ // src/treelist/treelist.spec.tsx
9099
+ var import_jsx_runtime181 = require("react/jsx-runtime");
9100
+ var TREELIST_CLASSNAME = "k-treelist";
9101
+ var states60 = [];
9102
+ var options55 = {};
9103
+ var defaultProps56 = {};
9104
+ var TreeList = (props) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
9105
+ Grid,
9106
+ {
9107
+ ...props,
9108
+ className: classNames(
9109
+ TREELIST_CLASSNAME,
9110
+ props.className
9111
+ ),
9112
+ children: props.children
9113
+ }
9114
+ );
9115
+ TreeList.states = states60;
9116
+ TreeList.options = options55;
9117
+ TreeList.className = TREELIST_CLASSNAME;
9118
+ TreeList.defaultProps = defaultProps56;
9119
+
6700
9120
  // src/treelist/tests/treelist-react.tsx
6701
- var import_jsx_runtime79 = require("react/jsx-runtime");
6702
- var treelist_react_default = () => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_jsx_runtime79.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("section", { children: [
6703
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: "React Treelist" }),
6704
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-grid k-grid-md k-treelist-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("table", { className: "k-table k-table-md k-grid-table", children: [
6705
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("colgroup", { children: [
6706
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("col", { style: { width: "200px" } }),
6707
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("col", { style: { width: "300px" } }),
6708
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("col", { style: { width: "100px" } }),
6709
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("col", { style: { width: "400px" } }),
6710
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("col", { style: { width: "100px" } })
9121
+ var import_jsx_runtime182 = require("react/jsx-runtime");
9122
+ var treelist_react_default = () => /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_jsx_runtime182.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("section", { children: [
9123
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("span", { children: "React Treelist" }),
9124
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TreeList, { className: "k-treelist-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(GridTable, { children: [
9125
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("colgroup", { children: [
9126
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("col", { style: { width: "200px" } }),
9127
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("col", { style: { width: "300px" } }),
9128
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("col", { style: { width: "100px" } }),
9129
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("col", { style: { width: "400px" } }),
9130
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("col", { style: { width: "100px" } })
6711
9131
  ] }),
6712
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("thead", { className: "k-table-thead k-grid-header", children: [
6713
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row", children: [
6714
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("a", { className: "k-link", children: "id" }) }),
6715
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("a", { className: "k-link", children: "text" }) }),
6716
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("a", { className: "k-link", children: "price" }) }),
6717
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("a", { className: "k-link", children: "manufactured" }) }),
6718
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("a", { className: "k-link", children: "discontinued" }) })
9132
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableThead, { className: "k-grid-header", children: [
9133
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { children: [
9134
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { className: "k-header", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("a", { className: "k-link", children: "id" }) }),
9135
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { className: "k-header", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("a", { className: "k-link", children: "text" }) }),
9136
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { className: "k-header", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("a", { className: "k-link", children: "price" }) }),
9137
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { className: "k-header", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("a", { className: "k-link", children: "manufactured" }) }),
9138
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { className: "k-header", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("a", { className: "k-link", children: "discontinued" }) })
6719
9139
  ] }),
6720
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-filter-row", children: [
6721
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th" }),
6722
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { children: [
6723
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Textbox, {}),
6724
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
6725
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Button, { icon: "filter-clear", disabled: true })
9140
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-filter-row", children: [
9141
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, {}),
9142
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("span", { children: [
9143
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Textbox, {}),
9144
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
9145
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Button, { icon: "filter-clear", disabled: true })
6726
9146
  ] }) }) }),
6727
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { children: [
6728
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, {}),
6729
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
6730
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Button, { icon: "filter-clear", disabled: true })
9147
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("span", { children: [
9148
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(NumericTextbox, {}),
9149
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
9150
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Button, { icon: "filter-clear", disabled: true })
6731
9151
  ] }) }) }),
6732
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { children: [
6733
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(DatePicker, {}),
6734
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
6735
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Button, { icon: "filter-clear", disabled: true })
9152
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("span", { children: [
9153
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DatePicker, {}),
9154
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
9155
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Button, { icon: "filter-clear", disabled: true })
6736
9156
  ] }) }) }),
6737
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "k-table-th", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { children: [
6738
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
6739
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Button, { icon: "filter-clear", disabled: true })
9157
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("span", { children: [
9158
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
9159
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Button, { icon: "filter-clear", disabled: true })
6740
9160
  ] }) }) })
6741
9161
  ] })
6742
9162
  ] }),
6743
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tbody", { className: "k-table-tbody", children: [
6744
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6745
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6746
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
9163
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTbody, { children: [
9164
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9165
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9166
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
6747
9167
  "1"
6748
9168
  ] }),
6749
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Furniture" }),
6750
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "4" }),
6751
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6752
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "false" })
9169
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Furniture" }),
9170
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "4" }),
9171
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9172
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "false" })
6753
9173
  ] }),
6754
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6755
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6756
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6757
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9174
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9175
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9176
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9177
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6758
9178
  "1.1"
6759
9179
  ] }),
6760
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Tables & Chairs" }),
6761
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "123" }),
6762
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6763
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "false" })
9180
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Tables & Chairs" }),
9181
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "123" }),
9182
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9183
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "false" })
6764
9184
  ] }),
6765
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6766
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6767
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6768
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9185
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9186
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9187
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9188
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6769
9189
  "1.2"
6770
9190
  ] }),
6771
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Sofas" }),
6772
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "213" }),
6773
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6774
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "true" })
9191
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Sofas" }),
9192
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "213" }),
9193
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9194
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "true" })
6775
9195
  ] }),
6776
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6777
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6778
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6779
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9196
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9197
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9198
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9199
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6780
9200
  "1.3"
6781
9201
  ] }),
6782
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Occasional Furniture" }),
6783
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "42" }),
6784
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6785
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "false" })
9202
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Occasional Furniture" }),
9203
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "42" }),
9204
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9205
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "false" })
6786
9206
  ] }),
6787
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6788
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6789
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
9207
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9208
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9209
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
6790
9210
  "2"
6791
9211
  ] }),
6792
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Decor" }),
6793
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "2" }),
6794
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6795
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "false" })
9212
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Decor" }),
9213
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "2" }),
9214
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9215
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "false" })
6796
9216
  ] }),
6797
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6798
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6799
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6800
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9217
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9218
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9219
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9220
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6801
9221
  "2.1"
6802
9222
  ] }),
6803
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Bed Linen" }),
6804
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "12" }),
6805
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6806
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "false" })
9223
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Bed Linen" }),
9224
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "12" }),
9225
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9226
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "false" })
6807
9227
  ] }),
6808
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6809
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6810
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6811
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
9228
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9229
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9230
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9231
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "caret-alt-down" }),
6812
9232
  "2.2"
6813
9233
  ] }),
6814
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Curtains & Blinds" }),
6815
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "1" }),
6816
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6817
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "true" })
9234
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Curtains & Blinds" }),
9235
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "1" }),
9236
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9237
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "true" })
6818
9238
  ] }),
6819
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "k-table-row k-master-row", children: [
6820
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("td", { className: "k-table-td", children: [
6821
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6822
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6823
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9239
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableRow, { className: "k-master-row", children: [
9240
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(TableTd, { children: [
9241
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9242
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
9243
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Icon, { className: "k-treelist-toggle", icon: "none" }),
6824
9244
  "2.2.1"
6825
9245
  ] }),
6826
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "Carpets" }),
6827
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "54" }),
6828
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "8/12/1996" }),
6829
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { className: "k-table-td", children: "true" })
9246
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "Carpets" }),
9247
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "54" }),
9248
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "8/12/1996" }),
9249
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(TableTd, { children: "true" })
6830
9250
  ] })
6831
9251
  ] })
6832
9252
  ] }) })