@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2

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 (257) hide show
  1. package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
  2. package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
  3. package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
  4. package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
  5. package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
  6. package/dist/cjs/editor/tests/editor-view-source.js +47 -33
  7. package/dist/cjs/fab/fab-item.js +1 -0
  8. package/dist/cjs/fab/templates/icon-fab.js +4426 -0
  9. package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
  10. package/dist/cjs/fab/templates/text-fab.js +4426 -0
  11. package/dist/cjs/fab/tests/fab-items.js +51 -113
  12. package/dist/cjs/fab/tests/fab-position.js +73 -20
  13. package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
  14. package/dist/cjs/fab/tests/fab-states.js +67 -14
  15. package/dist/cjs/fab/tests/fab.js +82 -48
  16. package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
  17. package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
  18. package/dist/cjs/form/tests/form-field-inputs.js +151 -129
  19. package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
  20. package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
  21. package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
  22. package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
  23. package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
  24. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
  25. package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
  26. package/dist/cjs/index.js +1935 -1659
  27. package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
  28. package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
  29. package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
  30. package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
  31. package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
  32. package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
  33. package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
  34. package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
  35. package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
  36. package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
  37. package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
  38. package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
  39. package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
  40. package/dist/cjs/notification/index.js +51 -1
  41. package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
  42. package/dist/cjs/notification/templates/icon-notification.js +4368 -0
  43. package/dist/cjs/notification/templates/notification-closable.js +4388 -0
  44. package/dist/cjs/notification/templates/notification-normal.js +4367 -0
  45. package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
  46. package/dist/cjs/notification/tests/notification-angular.js +60 -34
  47. package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
  48. package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
  49. package/dist/cjs/notification/tests/notification-jquery.js +63 -37
  50. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
  51. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
  52. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
  53. package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
  54. package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
  55. package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
  56. package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
  57. package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
  58. package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
  59. package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
  60. package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
  61. package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
  62. package/dist/cjs/upload/templates/upload-batch.js +4846 -0
  63. package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
  64. package/dist/cjs/upload/templates/upload-normal.js +4761 -0
  65. package/dist/cjs/upload/tests/upload-rtl.js +67 -49
  66. package/dist/cjs/upload/tests/upload-states.js +4782 -0
  67. package/dist/cjs/upload/tests/upload.js +62 -36
  68. package/dist/cjs/upload/upload.spec.js +1 -1
  69. package/dist/cjs/window/templates/window-normal.js +4546 -0
  70. package/dist/cjs/window/tests/window-action-buttons.js +30 -16
  71. package/dist/cjs/window/tests/window-rtl.js +23 -9
  72. package/dist/cjs/window/tests/window-theme-colors.js +22 -9
  73. package/dist/cjs/window/tests/window.js +23 -9
  74. package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
  75. package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
  76. package/dist/esm/editor/tests/editor-find-replace.js +78 -64
  77. package/dist/esm/editor/tests/editor-image-editor.js +41 -27
  78. package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
  79. package/dist/esm/editor/tests/editor-view-source.js +46 -32
  80. package/dist/esm/fab/fab-item.js +1 -0
  81. package/dist/esm/fab/templates/icon-fab.js +4410 -0
  82. package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
  83. package/dist/esm/fab/templates/text-fab.js +4410 -0
  84. package/dist/esm/fab/tests/fab-items.js +49 -111
  85. package/dist/esm/fab/tests/fab-position.js +71 -18
  86. package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
  87. package/dist/esm/fab/tests/fab-states.js +64 -11
  88. package/dist/esm/fab/tests/fab.js +80 -46
  89. package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
  90. package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
  91. package/dist/esm/form/tests/form-field-inputs.js +151 -129
  92. package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
  93. package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
  94. package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
  95. package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
  96. package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
  97. package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
  98. package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
  99. package/dist/esm/index.js +1935 -1659
  100. package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
  101. package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
  102. package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
  103. package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
  104. package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
  105. package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
  106. package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
  107. package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
  108. package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
  109. package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
  110. package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
  111. package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
  112. package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
  113. package/dist/esm/notification/index.js +51 -1
  114. package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
  115. package/dist/esm/notification/templates/icon-notification.js +4352 -0
  116. package/dist/esm/notification/templates/notification-closable.js +4372 -0
  117. package/dist/esm/notification/templates/notification-normal.js +4351 -0
  118. package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
  119. package/dist/esm/notification/tests/notification-angular.js +58 -32
  120. package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
  121. package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
  122. package/dist/esm/notification/tests/notification-jquery.js +61 -35
  123. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
  124. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
  125. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
  126. package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
  127. package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
  128. package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
  129. package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
  130. package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
  131. package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
  132. package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
  133. package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
  134. package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
  135. package/dist/esm/upload/templates/upload-batch.js +4830 -0
  136. package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
  137. package/dist/esm/upload/templates/upload-normal.js +4745 -0
  138. package/dist/esm/upload/tests/upload-rtl.js +67 -49
  139. package/dist/esm/upload/tests/upload-states.js +4766 -0
  140. package/dist/esm/upload/tests/upload.js +62 -36
  141. package/dist/esm/upload/upload.spec.js +1 -1
  142. package/dist/esm/window/templates/window-normal.js +4530 -0
  143. package/dist/esm/window/tests/window-action-buttons.js +29 -15
  144. package/dist/esm/window/tests/window-rtl.js +22 -8
  145. package/dist/esm/window/tests/window-theme-colors.js +22 -9
  146. package/dist/esm/window/tests/window.js +22 -8
  147. package/dist/types/fab/fab-item.d.ts +4 -1
  148. package/dist/types/fab/index.d.ts +3 -0
  149. package/dist/types/fab/templates/icon-fab.d.ts +1 -0
  150. package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
  151. package/dist/types/fab/templates/text-fab.d.ts +1 -0
  152. package/dist/types/multiselecttree/index.d.ts +6 -0
  153. package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
  154. package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
  155. package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
  156. package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
  157. package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
  158. package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
  159. package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
  160. package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
  161. package/dist/types/notification/index.d.ts +4 -0
  162. package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
  163. package/dist/types/notification/templates/icon-notification.d.ts +1 -0
  164. package/dist/types/notification/templates/notification-closable.d.ts +1 -0
  165. package/dist/types/notification/templates/notification-normal.d.ts +1 -0
  166. package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
  167. package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
  168. package/dist/types/upload/index.d.ts +3 -0
  169. package/dist/types/upload/templates/upload-batch.d.ts +1 -0
  170. package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
  171. package/dist/types/upload/templates/upload-normal.d.ts +1 -0
  172. package/dist/types/upload/tests/upload-states.d.ts +2 -0
  173. package/dist/types/window/index.d.ts +1 -0
  174. package/dist/types/window/templates/window-normal.d.ts +1 -0
  175. package/package.json +2 -2
  176. package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
  177. package/src/dialog/tests/dialog-in-window.tsx +3 -3
  178. package/src/editor/tests/editor-find-replace.tsx +5 -5
  179. package/src/editor/tests/editor-image-editor.tsx +3 -3
  180. package/src/editor/tests/editor-table-wizard.tsx +7 -7
  181. package/src/editor/tests/editor-view-source.tsx +3 -3
  182. package/src/fab/fab-item.tsx +2 -0
  183. package/src/fab/index.ts +3 -0
  184. package/src/fab/templates/icon-fab.tsx +7 -0
  185. package/src/fab/templates/icon-text-fab.tsx +8 -0
  186. package/src/fab/templates/text-fab.tsx +7 -0
  187. package/src/fab/tests/fab-items.tsx +57 -127
  188. package/src/fab/tests/fab-position.tsx +9 -9
  189. package/src/fab/tests/fab-size-rounded.tsx +35 -0
  190. package/src/fab/tests/fab-states.tsx +2 -2
  191. package/src/fab/tests/fab.tsx +14 -110
  192. package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
  193. package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
  194. package/src/form/tests/form-field-inputs.tsx +5 -5
  195. package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
  196. package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
  197. package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
  198. package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
  199. package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
  200. package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
  201. package/src/grid/tests/grid-editing-popup.tsx +3 -3
  202. package/src/multiselecttree/index.ts +6 -0
  203. package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
  204. package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
  205. package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
  206. package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
  207. package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
  208. package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
  209. package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
  210. package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
  211. package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
  212. package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
  213. package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
  214. package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
  215. package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
  216. package/src/notification/index.tsx +4 -0
  217. package/src/notification/templates/icon-notification-closable.tsx +10 -0
  218. package/src/notification/templates/icon-notification.tsx +9 -0
  219. package/src/notification/templates/notification-closable.tsx +9 -0
  220. package/src/notification/templates/notification-normal.tsx +8 -0
  221. package/src/notification/tests/notification-angular-colors.tsx +28 -0
  222. package/src/notification/tests/notification-angular.tsx +10 -95
  223. package/src/notification/tests/notification-custom-angular.tsx +9 -9
  224. package/src/notification/tests/notification-jquery-colors.tsx +30 -0
  225. package/src/notification/tests/notification-jquery.tsx +10 -95
  226. package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
  227. package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
  228. package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
  229. package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
  230. package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
  231. package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
  232. package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
  233. package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
  234. package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
  235. package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
  236. package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
  237. package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
  238. package/src/upload/index.ts +3 -0
  239. package/src/upload/templates/upload-batch.tsx +14 -0
  240. package/src/upload/templates/upload-chunk.tsx +12 -0
  241. package/src/upload/templates/upload-normal.tsx +7 -0
  242. package/src/upload/tests/upload-rtl.tsx +35 -48
  243. package/src/upload/tests/upload-states.tsx +29 -0
  244. package/src/upload/tests/upload.tsx +34 -39
  245. package/src/upload/upload.spec.tsx +1 -1
  246. package/src/window/index.ts +1 -0
  247. package/src/window/templates/window-normal.tsx +11 -0
  248. package/src/window/tests/window-action-buttons.tsx +9 -9
  249. package/src/window/tests/window-rtl.tsx +6 -8
  250. package/src/window/tests/window-theme-colors.tsx +6 -18
  251. package/src/window/tests/window.tsx +6 -6
  252. package/src/fab/tests/fab-size.tsx +0 -109
  253. package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
  254. package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
  255. /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
  256. /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
  257. /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
@@ -5046,10 +5046,678 @@ Popup.options = options15;
5046
5046
  Popup.className = POPUP_CLASSNAME;
5047
5047
  Popup.defaultProps = defaultProps13;
5048
5048
 
5049
- // src/multiselecttree/multiselecttree.spec.tsx
5049
+ // src/action-sheet/action-sheet.spec.tsx
5050
5050
  var import_jsx_runtime32 = require("react/jsx-runtime");
5051
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
5052
+ var states17 = [];
5053
+ var options16 = {};
5054
+ var defaultProps14 = {
5055
+ side: "bottom",
5056
+ fullscreen: false,
5057
+ adaptive: false,
5058
+ overlay: true
5059
+ };
5060
+ var ActionSheet = (props) => {
5061
+ const {
5062
+ children,
5063
+ title,
5064
+ header,
5065
+ footer,
5066
+ actions,
5067
+ side = defaultProps14.side,
5068
+ fullscreen = defaultProps14.fullscreen,
5069
+ adaptive = defaultProps14.adaptive,
5070
+ overlay = defaultProps14.overlay,
5071
+ ...other
5072
+ } = props;
5073
+ const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
5074
+ const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
5075
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
5076
+ switch (child.type) {
5077
+ case ActionSheetHeader:
5078
+ case ActionSheetFooter:
5079
+ return false;
5080
+ default:
5081
+ return true;
5082
+ }
5083
+ return true;
5084
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, {});
5085
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "k-actionsheet-container", children: [
5086
+ overlay && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "k-overlay" }),
5087
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5088
+ AnimationContainer,
5089
+ {
5090
+ animationStyle: {
5091
+ [`${fullscreen === true ? "top" : side}`]: 0,
5092
+ [`${fullscreen === true ? "width" : null}`]: "100%",
5093
+ [`${fullscreen === true ? "height" : null}`]: "100%",
5094
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
5095
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
5096
+ },
5097
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5098
+ "div",
5099
+ {
5100
+ ...other,
5101
+ className: classNames(
5102
+ props.className,
5103
+ ACTIONSHEET_CLASSNAME,
5104
+ {
5105
+ [`k-actionsheet-${side}`]: fullscreen === false,
5106
+ "k-actionsheet-fullscreen": fullscreen === true,
5107
+ "k-adaptive-actionsheet": adaptive
5108
+ }
5109
+ ),
5110
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
5111
+ _ActionSheetHeader,
5112
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: classNames(
5113
+ "k-actionsheet-content",
5114
+ {
5115
+ "!k-overflow-hidden": adaptive
5116
+ }
5117
+ ), children: _ActionSheetContent }),
5118
+ _ActionSheetFooter
5119
+ ] })
5120
+ }
5121
+ )
5122
+ }
5123
+ )
5124
+ ] });
5125
+ };
5126
+ ActionSheet.states = states17;
5127
+ ActionSheet.options = options16;
5128
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
5129
+ ActionSheet.defaultProps = defaultProps14;
5130
+
5131
+ // src/searchbox/searchbox.spec.tsx
5132
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5133
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5134
+ var states18 = [
5135
+ States.hover,
5136
+ States.focus,
5137
+ States.valid,
5138
+ States.invalid,
5139
+ States.required,
5140
+ States.disabled,
5141
+ States.loading
5142
+ ];
5143
+ var options17 = {
5144
+ size: [Size.small, Size.medium, Size.large],
5145
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5146
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5147
+ };
5148
+ var defaultProps15 = {
5149
+ showIcon: true,
5150
+ icon: "search",
5151
+ size: Input.defaultProps.size,
5152
+ rounded: Input.defaultProps.rounded,
5153
+ fillMode: Input.defaultProps.fillMode
5154
+ };
5155
+ var Searchbox = (props) => {
5156
+ const {
5157
+ value,
5158
+ placeholder,
5159
+ size,
5160
+ rounded,
5161
+ fillMode,
5162
+ hover,
5163
+ focus,
5164
+ valid,
5165
+ invalid,
5166
+ required,
5167
+ loading,
5168
+ disabled,
5169
+ showIcon = defaultProps15.showIcon,
5170
+ icon = defaultProps15.icon,
5171
+ ...other
5172
+ } = props;
5173
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
5174
+ Input,
5175
+ {
5176
+ ...other,
5177
+ size,
5178
+ rounded,
5179
+ fillMode,
5180
+ hover,
5181
+ focus,
5182
+ valid,
5183
+ invalid,
5184
+ required,
5185
+ loading,
5186
+ disabled,
5187
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
5188
+ children: [
5189
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { className: "k-input-icon", icon }),
5190
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputInnerInput, { placeholder, value }),
5191
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputLoadingIcon, { ...props }),
5192
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputValidationIcon, { ...props }),
5193
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputClearValue, { ...props })
5194
+ ]
5195
+ }
5196
+ );
5197
+ };
5198
+ Searchbox.states = states18;
5199
+ Searchbox.options = options17;
5200
+ Searchbox.className = SEARCHBOX_CLASSNAME;
5201
+ Searchbox.defaultProps = defaultProps15;
5202
+
5203
+ // src/searchbox/templates/searchbox-normal.tsx
5204
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5205
+
5206
+ // src/action-sheet/actionsheet-header.tsx
5207
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5208
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
5209
+ var ActionSheetHeader = (props) => {
5210
+ const {
5211
+ title,
5212
+ subTitle,
5213
+ actions,
5214
+ filter,
5215
+ ...other
5216
+ } = props;
5217
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5218
+ "div",
5219
+ {
5220
+ ...other,
5221
+ className: classNames(
5222
+ props.className,
5223
+ ACTIONSHEETHEADER_CLASSNAME
5224
+ ),
5225
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
5226
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
5227
+ !props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "k-actionsheet-title", children: [
5228
+ title !== "" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-text-center", children: title }),
5229
+ subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
5230
+ ] }) }),
5231
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
5232
+ actions && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
5233
+ ] }),
5234
+ filter && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
5235
+ ] })
5236
+ }
5237
+ );
5238
+ };
5239
+
5240
+ // src/action-buttons/action-buttons.spec.tsx
5241
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5242
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
5243
+ var states19 = [];
5244
+ var options18 = {};
5245
+ var defaultProps16 = {
5246
+ alignment: "start",
5247
+ orientation: "horizontal"
5248
+ };
5249
+ var ActionButtons = (props) => {
5250
+ const {
5251
+ alignment = defaultProps16.alignment,
5252
+ orientation = defaultProps16.orientation,
5253
+ ...other
5254
+ } = props;
5255
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5256
+ "div",
5257
+ {
5258
+ ...other,
5259
+ className: classNames(
5260
+ ACTIONBUTTONS_CLASSNAME,
5261
+ {
5262
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
5263
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
5264
+ },
5265
+ props.className
5266
+ ),
5267
+ children: props.children
5268
+ }
5269
+ );
5270
+ };
5271
+ ActionButtons.states = states19;
5272
+ ActionButtons.options = options18;
5273
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
5274
+ ActionButtons.defaultProps = defaultProps16;
5275
+ var action_buttons_spec_default = ActionButtons;
5276
+
5277
+ // src/action-sheet/actionsheet-footer.tsx
5278
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5279
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
5280
+ var ActionSheetFooter = (props) => {
5281
+ const {
5282
+ actions,
5283
+ ...other
5284
+ } = props;
5285
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5286
+ action_buttons_spec_default,
5287
+ {
5288
+ ...other,
5289
+ className: classNames(
5290
+ props.className,
5291
+ ACTIONSHEETFOOTER_CLASSNAME
5292
+ ),
5293
+ alignment: "stretched",
5294
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
5295
+ actions && actions.map((action, index) => {
5296
+ if (action === "|") {
5297
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-separator" }, index);
5298
+ }
5299
+ if (action === " ") {
5300
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-spacer" }, index);
5301
+ }
5302
+ const importantFlag = action.startsWith("!");
5303
+ const actionName = importantFlag ? action.substring(1) : action;
5304
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
5305
+ }),
5306
+ !actions && props.children
5307
+ ] })
5308
+ }
5309
+ );
5310
+ };
5311
+
5312
+ // src/action-sheet/actionsheet-items.tsx
5313
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5314
+ var ActionSheetItems = (props) => {
5315
+ const {
5316
+ ...other
5317
+ } = props;
5318
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5319
+ "div",
5320
+ {
5321
+ ...other,
5322
+ className: classNames(
5323
+ props.className,
5324
+ "k-list-ul"
5325
+ ),
5326
+ children: props.children
5327
+ }
5328
+ );
5329
+ };
5330
+
5331
+ // src/action-sheet/actionsheet-item.tsx
5332
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5333
+ var states20 = [
5334
+ States.hover,
5335
+ States.focus,
5336
+ States.selected,
5337
+ States.disabled
5338
+ ];
5339
+
5340
+ // src/treeview/treeview.spec.tsx
5341
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5342
+ var import_react = require("react");
5343
+ var TREEVIEW_CLASSNAME = `k-treeview`;
5344
+ var states21 = [];
5345
+ var options19 = {
5346
+ size: [Size.small, Size.medium, Size.large]
5347
+ };
5348
+ var defaultProps17 = {
5349
+ size: Size.medium
5350
+ };
5351
+ var Treeview = (props) => {
5352
+ const {
5353
+ size = defaultProps17.size,
5354
+ children,
5355
+ dir,
5356
+ ...other
5357
+ } = props;
5358
+ const listChildren = [];
5359
+ if (children) {
5360
+ if (Array.isArray(children)) {
5361
+ children.map((child, index) => {
5362
+ if (child.type === TreeviewItem) {
5363
+ listChildren.push(
5364
+ /* @__PURE__ */ (0, import_react.createElement)(TreeviewItem, { ...child.props, dir, key: index })
5365
+ );
5366
+ }
5367
+ if (child.type === TreeviewGroup) {
5368
+ listChildren.push(
5369
+ /* @__PURE__ */ (0, import_react.createElement)(TreeviewGroup, { ...child.props, dir, key: index })
5370
+ );
5371
+ }
5372
+ });
5373
+ } else {
5374
+ if (children.type === TreeviewItem) {
5375
+ listChildren.push(
5376
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TreeviewItem, { ...children.props, dir })
5377
+ );
5378
+ }
5379
+ if (children.type === TreeviewGroup) {
5380
+ listChildren.push(
5381
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TreeviewGroup, { ...children.props, dir })
5382
+ );
5383
+ }
5384
+ }
5385
+ }
5386
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5387
+ "div",
5388
+ {
5389
+ ...other,
5390
+ dir,
5391
+ className: classNames(
5392
+ props.className,
5393
+ TREEVIEW_CLASSNAME,
5394
+ optionClassNames(TREEVIEW_CLASSNAME, {
5395
+ size
5396
+ })
5397
+ ),
5398
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TreeviewGroup, { className: "k-treeview-lines", dir, children: listChildren })
5399
+ }
5400
+ );
5401
+ };
5402
+ Treeview.states = states21;
5403
+ Treeview.options = options19;
5404
+ Treeview.className = TREEVIEW_CLASSNAME;
5405
+ Treeview.defaultProps = defaultProps17;
5406
+
5407
+ // src/checkbox/checkbox.spec.tsx
5408
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5409
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
5410
+ var states22 = [
5411
+ States.hover,
5412
+ States.focus,
5413
+ States.valid,
5414
+ States.invalid,
5415
+ States.required,
5416
+ States.disabled,
5417
+ States.checked,
5418
+ States.indeterminate
5419
+ ];
5420
+ var options20 = {
5421
+ size: [Size.small, Size.medium, Size.large],
5422
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5423
+ };
5424
+ var defaultProps18 = {
5425
+ size: Size.medium,
5426
+ rounded: Roundness.medium
5427
+ };
5428
+ var Checkbox = (props) => {
5429
+ const {
5430
+ id,
5431
+ checked,
5432
+ indeterminate,
5433
+ hover,
5434
+ focus,
5435
+ disabled,
5436
+ invalid,
5437
+ valid,
5438
+ required,
5439
+ size = defaultProps18.size,
5440
+ rounded = defaultProps18.rounded,
5441
+ ...other
5442
+ } = props;
5443
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5444
+ "input",
5445
+ {
5446
+ ...other,
5447
+ id,
5448
+ type: "checkbox",
5449
+ checked,
5450
+ required,
5451
+ className: classNames(
5452
+ props.className,
5453
+ CHECKBOX_CLASSNAME,
5454
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
5455
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
5456
+ )
5457
+ }
5458
+ ) });
5459
+ };
5460
+ Checkbox.states = states22;
5461
+ Checkbox.options = options20;
5462
+ Checkbox.className = CHECKBOX_CLASSNAME;
5463
+ Checkbox.defaultProps = defaultProps18;
5464
+
5465
+ // src/checkbox/checkbox-group.spec.tsx
5466
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5467
+ var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
5468
+ var states23 = [];
5469
+ var options21 = {};
5470
+ var defaultProps19 = {
5471
+ layout: "vertical"
5472
+ };
5473
+ var CheckboxGroup = (props) => {
5474
+ const {
5475
+ layout = defaultProps19.layout,
5476
+ ...other
5477
+ } = props;
5478
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5479
+ "ul",
5480
+ {
5481
+ ...other,
5482
+ className: classNames(
5483
+ props.className,
5484
+ CHECKBOXGROUP_CLASSNAME,
5485
+ {
5486
+ [`k-list-${layout}`]: layout
5487
+ }
5488
+ ),
5489
+ children: props.children
5490
+ }
5491
+ );
5492
+ };
5493
+ CheckboxGroup.states = states23;
5494
+ CheckboxGroup.options = options21;
5495
+ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
5496
+ CheckboxGroup.defaultProps = defaultProps19;
5497
+
5498
+ // src/checkbox/checkbox-item.spec.tsx
5499
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5500
+ var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
5501
+ var states24 = [];
5502
+ var options22 = {};
5503
+ var defaultProps20 = {};
5504
+ var CheckboxItem = (props) => {
5505
+ const {
5506
+ ...other
5507
+ } = props;
5508
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5509
+ "li",
5510
+ {
5511
+ ...other,
5512
+ className: classNames(
5513
+ props.className,
5514
+ CHECKBOXITEM_CLASSNAME
5515
+ ),
5516
+ children: props.children
5517
+ }
5518
+ );
5519
+ };
5520
+ CheckboxItem.states = states24;
5521
+ CheckboxItem.options = options22;
5522
+ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
5523
+ CheckboxItem.defaultProps = defaultProps20;
5524
+
5525
+ // src/checkbox/templates/checkbox-with-label-after.tsx
5526
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5527
+
5528
+ // src/checkbox/templates/checkbox-with-label-before.tsx
5529
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5530
+
5531
+ // src/checkbox/templates/checkbox-normal.tsx
5532
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5533
+
5534
+ // src/treeview/treeview-group.tsx
5535
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5536
+ var import_react2 = require("react");
5537
+ var className9 = `k-treeview-group`;
5538
+ var TreeviewGroup = (props) => {
5539
+ const {
5540
+ children,
5541
+ dir
5542
+ } = props;
5543
+ const listChildren = [];
5544
+ if (children) {
5545
+ if (Array.isArray(children)) {
5546
+ children.map((child, index) => {
5547
+ if (child.type === treeview_item_spec_default) {
5548
+ listChildren.push(
5549
+ /* @__PURE__ */ (0, import_react2.createElement)(treeview_item_spec_default, { ...child.props, dir, key: index })
5550
+ );
5551
+ }
5552
+ });
5553
+ } else {
5554
+ if (children.type === treeview_item_spec_default) {
5555
+ listChildren.push(
5556
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(treeview_item_spec_default, { ...children.props, dir })
5557
+ );
5558
+ }
5559
+ }
5560
+ }
5561
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { className: classNames(props.className, className9), children: listChildren });
5562
+ };
5563
+
5564
+ // src/treeview/treeview-leaf.tsx
5565
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5566
+ var TREEVIEWLEAF_CLASSNAME = `k-treeview-leaf`;
5567
+ var states25 = [
5568
+ States.hover,
5569
+ States.focus,
5570
+ States.selected
5571
+ ];
5572
+ var options23 = {};
5573
+ var TreeviewLeaf = (props) => {
5574
+ const {
5575
+ text,
5576
+ showIcon,
5577
+ icon,
5578
+ hover,
5579
+ focus,
5580
+ selected,
5581
+ ...other
5582
+ } = props;
5583
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5584
+ "span",
5585
+ {
5586
+ ...other,
5587
+ className: classNames(
5588
+ props.className,
5589
+ TREEVIEWLEAF_CLASSNAME,
5590
+ stateClassNames(TREEVIEWLEAF_CLASSNAME, {
5591
+ hover,
5592
+ focus,
5593
+ selected
5594
+ })
5595
+ ),
5596
+ children: [
5597
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon }),
5598
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-treeview-leaf-text", children: text })
5599
+ ]
5600
+ }
5601
+ );
5602
+ };
5603
+ TreeviewLeaf.states = states25;
5604
+ TreeviewLeaf.options = options23;
5605
+ TreeviewLeaf.className = TREEVIEWLEAF_CLASSNAME;
5606
+ var treeview_leaf_default = TreeviewLeaf;
5607
+
5608
+ // src/treeview/treeview-item.spec.tsx
5609
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5610
+ var import_react3 = require("react");
5611
+ var TREEVIEWITEM_CLASSNAME = `k-treeview-item`;
5612
+ var states26 = [
5613
+ States.hover,
5614
+ States.focus,
5615
+ States.selected,
5616
+ States.disabled
5617
+ ];
5618
+ var options24 = {};
5619
+ var defaultProps21 = {};
5620
+ var TreeviewItem = (props) => {
5621
+ const {
5622
+ leafClassName,
5623
+ children,
5624
+ hasChildren,
5625
+ expanded,
5626
+ text,
5627
+ showIcon,
5628
+ icon,
5629
+ showCheckbox,
5630
+ checked,
5631
+ hover,
5632
+ focus,
5633
+ selected,
5634
+ disabled,
5635
+ dir,
5636
+ ...other
5637
+ } = props;
5638
+ const _hasChildren = hasChildren || children;
5639
+ const listChildren = [];
5640
+ if (children) {
5641
+ if (Array.isArray(children)) {
5642
+ children.map((child, index) => {
5643
+ if (child.type === TreeviewGroup) {
5644
+ listChildren.push(
5645
+ /* @__PURE__ */ (0, import_react3.createElement)(TreeviewGroup, { ...child.props, dir, key: index }, child.props.children)
5646
+ );
5647
+ }
5648
+ });
5649
+ } else {
5650
+ if (children.type === TreeviewGroup) {
5651
+ listChildren.push(
5652
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TreeviewGroup, { ...children.props, dir, children: children.props.children })
5653
+ );
5654
+ }
5655
+ }
5656
+ }
5657
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5658
+ "li",
5659
+ {
5660
+ ...other,
5661
+ className: classNames(
5662
+ props.className,
5663
+ TREEVIEWITEM_CLASSNAME
5664
+ ),
5665
+ children: [
5666
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("span", { className: "k-treeview-mid", children: [
5667
+ _hasChildren && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5668
+ "span",
5669
+ {
5670
+ className: classNames(
5671
+ "k-treeview-toggle",
5672
+ stateClassNames("k-treeview-toggle", { disabled })
5673
+ ),
5674
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: expanded ? "caret-alt-down" : dir === "rtl" ? "caret-alt-left" : "caret-alt-right" })
5675
+ }
5676
+ ),
5677
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Checkbox, { checked, disabled }),
5678
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5679
+ treeview_leaf_default,
5680
+ {
5681
+ className: classNames(
5682
+ leafClassName,
5683
+ stateClassNames(leafClassName, { disabled })
5684
+ ),
5685
+ text,
5686
+ showIcon,
5687
+ icon,
5688
+ hover,
5689
+ focus,
5690
+ selected
5691
+ }
5692
+ )
5693
+ ] }),
5694
+ expanded && _hasChildren && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: listChildren })
5695
+ ]
5696
+ }
5697
+ );
5698
+ };
5699
+ TreeviewItem.states = states26;
5700
+ TreeviewItem.options = options24;
5701
+ TreeviewItem.className = TREEVIEWITEM_CLASSNAME;
5702
+ TreeviewItem.defaultProps = defaultProps21;
5703
+ var treeview_item_spec_default = TreeviewItem;
5704
+
5705
+ // src/treeview/templates/treeview-normal.tsx
5706
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5707
+
5708
+ // src/treeview/templates/treeview-hierarchy.tsx
5709
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5710
+
5711
+ // src/treeview/templates/treeview-icons.tsx
5712
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5713
+
5714
+ // src/treeview/templates/treeview-checkboxes.tsx
5715
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5716
+
5717
+ // src/multiselecttree/multiselecttree.spec.tsx
5718
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5051
5719
  var MULTISELECTTREE_CLASSNAME = `k-multiselecttree`;
5052
- var states17 = [
5720
+ var states27 = [
5053
5721
  States.hover,
5054
5722
  States.focus,
5055
5723
  States.valid,
@@ -5059,12 +5727,12 @@ var states17 = [
5059
5727
  States.loading,
5060
5728
  States.readonly
5061
5729
  ];
5062
- var options16 = {
5730
+ var options25 = {
5063
5731
  size: [Size.small, Size.medium, Size.large],
5064
5732
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5065
5733
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5066
5734
  };
5067
- var defaultProps14 = {
5735
+ var defaultProps22 = {
5068
5736
  size: Input.defaultProps.size,
5069
5737
  rounded: Input.defaultProps.rounded,
5070
5738
  fillMode: Input.defaultProps.fillMode
@@ -5090,10 +5758,12 @@ var MultiSelectTree = (props) => {
5090
5758
  readonly,
5091
5759
  opened,
5092
5760
  dir,
5761
+ adaptive,
5762
+ adaptiveSettings,
5093
5763
  ...other
5094
5764
  } = props;
5095
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
5096
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5765
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
5766
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5097
5767
  Input,
5098
5768
  {
5099
5769
  ...other,
@@ -5111,10 +5781,10 @@ var MultiSelectTree = (props) => {
5111
5781
  readonly,
5112
5782
  className: classNames(props.className, MULTISELECTTREE_CLASSNAME),
5113
5783
  children: [
5114
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputPrefix, { children: prefix }),
5115
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChipList, { size, className: "k-input-values", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, { children: tags }) }),
5116
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "k-input-inner", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "k-input-value-text", children: placeholder }) }),
5117
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5784
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InputPrefix, { children: prefix }),
5785
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ChipList, { size, className: "k-input-values", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: tags }) }),
5786
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "k-input-inner", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "k-input-value-text", children: placeholder }) }),
5787
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5118
5788
  InputValidationIcon,
5119
5789
  {
5120
5790
  valid,
@@ -5123,14 +5793,14 @@ var MultiSelectTree = (props) => {
5123
5793
  disabled
5124
5794
  }
5125
5795
  ),
5126
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5796
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5127
5797
  InputLoadingIcon,
5128
5798
  {
5129
5799
  loading,
5130
5800
  disabled
5131
5801
  }
5132
5802
  ),
5133
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5803
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5134
5804
  InputClearValue,
5135
5805
  {
5136
5806
  loading,
@@ -5139,8 +5809,8 @@ var MultiSelectTree = (props) => {
5139
5809
  value: tags ? "value" : ""
5140
5810
  }
5141
5811
  ),
5142
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputSuffix, { children: suffix }),
5143
- showArrowButton && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5812
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InputSuffix, { children: suffix }),
5813
+ showArrowButton && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5144
5814
  Button,
5145
5815
  {
5146
5816
  className: "k-input-button",
@@ -5153,156 +5823,226 @@ var MultiSelectTree = (props) => {
5153
5823
  ]
5154
5824
  }
5155
5825
  ),
5156
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Popup, { className: "k-multiselecttree-popup", dir, children: popup })
5826
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Popup, { className: "k-multiselecttree-popup", dir, children: popup }),
5827
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
5828
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5829
+ ActionSheetHeader,
5830
+ {
5831
+ filter: true,
5832
+ actions: ["x"],
5833
+ title: "Select value"
5834
+ }
5835
+ ),
5836
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Treeview, { size: "large", children: [
5837
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Root 1" }),
5838
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Root 2", expanded: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(TreeviewGroup, { children: [
5839
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 2.1" }),
5840
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 2.2", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 2.2.1" }) }) }),
5841
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 2.3" }),
5842
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { leafClassName: "k-treeview-load-more-button", text: "Load more ..." })
5843
+ ] }) }),
5844
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Root 3", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(TreeviewGroup, { children: [
5845
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 3.1" }),
5846
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 3.2" }),
5847
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 3.3" })
5848
+ ] }) })
5849
+ ] })
5850
+ ] })
5157
5851
  ] });
5158
5852
  };
5159
- MultiSelectTree.states = states17;
5160
- MultiSelectTree.options = options16;
5853
+ MultiSelectTree.states = states27;
5854
+ MultiSelectTree.options = options25;
5161
5855
  MultiSelectTree.className = MULTISELECTTREE_CLASSNAME;
5162
- MultiSelectTree.defaultProps = defaultProps14;
5856
+ MultiSelectTree.defaultProps = defaultProps22;
5857
+ var multiselecttree_spec_default = MultiSelectTree;
5858
+
5859
+ // src/multiselecttree/templates/multiselecttree-normal.tsx
5860
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5861
+ var MultiSelectTreeNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(multiselecttree_spec_default, { ...props });
5862
+
5863
+ // src/multiselecttree/templates/multiselecttree-arrow-button.tsx
5864
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5865
+ var MultiSelectTreeArrowButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5866
+ multiselecttree_spec_default,
5867
+ {
5868
+ showArrowButton: true,
5869
+ ...props
5870
+ }
5871
+ );
5872
+
5873
+ // src/multiselecttree/templates/multiselecttree-value.tsx
5874
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5875
+ var MultiSelectTreeValue = ({ size, rounded, children, ...other }) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5876
+ multiselecttree_spec_default,
5877
+ {
5878
+ size,
5879
+ rounded,
5880
+ tags: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Chip, { text: children, actions: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ChipAction, { type: "remove" }), size, rounded }),
5881
+ ...other
5882
+ }
5883
+ ) });
5884
+
5885
+ // src/multiselecttree/templates/multiselecttree-adaptive.tsx
5886
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5887
+
5888
+ // src/multiselecttree/templates/multiselecttree-popup.tsx
5889
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5890
+
5891
+ // src/textbox/textbox.spec.tsx
5892
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5893
+ var TEXTBOX_CLASSNAME = `k-textbox`;
5894
+ var states28 = [
5895
+ States.hover,
5896
+ States.focus,
5897
+ States.valid,
5898
+ States.invalid,
5899
+ States.required,
5900
+ States.disabled,
5901
+ States.loading,
5902
+ States.readonly
5903
+ ];
5904
+ var options26 = {
5905
+ size: [Size.small, Size.medium, Size.large],
5906
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5907
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5908
+ };
5909
+ var defaultProps23 = {
5910
+ showClearButton: true,
5911
+ size: Input.defaultProps.size,
5912
+ rounded: Input.defaultProps.rounded,
5913
+ fillMode: Input.defaultProps.fillMode
5914
+ };
5915
+ var Textbox = (props) => {
5916
+ const {
5917
+ prefix,
5918
+ suffix,
5919
+ value,
5920
+ placeholder,
5921
+ size,
5922
+ rounded,
5923
+ fillMode,
5924
+ hover,
5925
+ focus,
5926
+ valid,
5927
+ invalid,
5928
+ required,
5929
+ loading,
5930
+ disabled,
5931
+ readonly,
5932
+ showClearButton = defaultProps23.showClearButton,
5933
+ ...other
5934
+ } = props;
5935
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5936
+ Input,
5937
+ {
5938
+ ...other,
5939
+ size,
5940
+ rounded,
5941
+ fillMode,
5942
+ hover,
5943
+ focus,
5944
+ valid,
5945
+ invalid,
5946
+ required,
5947
+ loading,
5948
+ disabled,
5949
+ readonly,
5950
+ className: classNames(props.className, TEXTBOX_CLASSNAME),
5951
+ children: [
5952
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputPrefix, { children: prefix }),
5953
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputInnerInput, { placeholder, value }),
5954
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5955
+ InputValidationIcon,
5956
+ {
5957
+ valid,
5958
+ invalid,
5959
+ loading,
5960
+ disabled
5961
+ }
5962
+ ),
5963
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5964
+ InputLoadingIcon,
5965
+ {
5966
+ loading,
5967
+ disabled
5968
+ }
5969
+ ),
5970
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5971
+ InputClearValue,
5972
+ {
5973
+ loading,
5974
+ disabled,
5975
+ readonly,
5976
+ value
5977
+ }
5978
+ ),
5979
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputSuffix, { children: suffix })
5980
+ ]
5981
+ }
5982
+ );
5983
+ };
5984
+ Textbox.states = states28;
5985
+ Textbox.options = options26;
5986
+ Textbox.className = TEXTBOX_CLASSNAME;
5987
+ Textbox.defaultProps = defaultProps23;
5988
+
5989
+ // src/textbox/templates/textbox-normal.tsx
5990
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5991
+
5992
+ // src/textbox/templates/textbox-prefix.tsx
5993
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5994
+
5995
+ // src/textbox/templates/textbox-suffix.tsx
5996
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5997
+
5998
+ // src/multiselecttree/templates/multiselecttree-filtering.tsx
5999
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5163
6000
 
5164
6001
  // src/multiselecttree/tests/multiselecttree-flat.tsx
5165
- var import_jsx_runtime33 = require("react/jsx-runtime");
6002
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5166
6003
  var styles = `
5167
6004
  #test-area {
5168
6005
  grid-template-columns: 160px repeat(2, 300px);
5169
6006
  }
5170
6007
  `;
5171
- var multiselecttree_flat_default = () => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
5172
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("style", { children: styles }),
5173
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
5174
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", {}),
5175
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "MultiSelectTree Flat" }),
5176
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "MultiSelectTree Flat RTL" }),
5177
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Empty" }),
5178
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MultiSelectTree, { fillMode: "flat", placeholder: "MultiSelectTree..." }) }),
5179
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MultiSelectTree, { fillMode: "flat", placeholder: "MultiSelectTree..." }) }),
5180
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Arrow button" }),
5181
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MultiSelectTree, { fillMode: "flat", showArrowButton: true, placeholder: "MultiSelectTree with arrow button" }) }),
5182
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MultiSelectTree, { fillMode: "flat", showArrowButton: true, placeholder: "MultiSelectTree with arrow button" }) }),
5183
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Normal" }),
5184
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5185
- MultiSelectTree,
5186
- {
5187
- fillMode: "flat",
5188
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Normal", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) })
5189
- }
5190
- ) }),
5191
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5192
- MultiSelectTree,
5193
- {
5194
- fillMode: "flat",
5195
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Normal", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) })
5196
- }
5197
- ) }),
5198
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Hover" }),
5199
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5200
- MultiSelectTree,
5201
- {
5202
- fillMode: "flat",
5203
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Hover", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5204
- hover: true
5205
- }
5206
- ) }),
5207
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5208
- MultiSelectTree,
5209
- {
5210
- fillMode: "flat",
5211
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Hover", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5212
- hover: true
5213
- }
5214
- ) }),
5215
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Focus" }),
5216
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5217
- MultiSelectTree,
5218
- {
5219
- fillMode: "flat",
5220
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Focus", focus: true, actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5221
- focus: true
5222
- }
5223
- ) }),
5224
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5225
- MultiSelectTree,
5226
- {
5227
- fillMode: "flat",
5228
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Focus", focus: true, actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5229
- focus: true
5230
- }
5231
- ) }),
5232
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Disabled" }),
5233
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5234
- MultiSelectTree,
5235
- {
5236
- fillMode: "flat",
5237
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Disabled", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5238
- disabled: true
5239
- }
5240
- ) }),
5241
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5242
- MultiSelectTree,
5243
- {
5244
- fillMode: "flat",
5245
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Disabled", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5246
- disabled: true
5247
- }
5248
- ) }),
5249
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Invalid" }),
5250
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5251
- MultiSelectTree,
5252
- {
5253
- fillMode: "flat",
5254
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Invalid", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5255
- invalid: true
5256
- }
5257
- ) }),
5258
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5259
- MultiSelectTree,
5260
- {
5261
- fillMode: "flat",
5262
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Invalid", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5263
- invalid: true
5264
- }
5265
- ) }),
5266
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Invalid + Focus" }),
5267
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5268
- MultiSelectTree,
5269
- {
5270
- fillMode: "flat",
5271
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Invalid + Focus", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5272
- invalid: true,
5273
- focus: true
5274
- }
5275
- ) }),
5276
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5277
- MultiSelectTree,
5278
- {
5279
- fillMode: "flat",
5280
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Invalid + Focus", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5281
- invalid: true,
5282
- focus: true
5283
- }
5284
- ) }),
5285
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Loading" }),
5286
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MultiSelectTree, { fillMode: "flat", placeholder: "Loading...", loading: true }) }),
5287
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MultiSelectTree, { fillMode: "flat", placeholder: "Loading...", loading: true }) }),
5288
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: "Multi Line + Overflow" }),
5289
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5290
- MultiSelectTree,
6008
+ var multiselecttree_flat_default = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
6009
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("style", { children: styles }),
6010
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
6011
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", {}),
6012
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { children: "MultiSelectTree" }),
6013
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { children: "MultiSelectTree RTL" }),
6014
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: "empty" }),
6015
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeNormal, { fillMode: "flat", placeholder: "MultiSelectTree..." }) }),
6016
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeNormal, { fillMode: "flat", placeholder: "MultiSelectTree..." }) }),
6017
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: "arrow button" }),
6018
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeArrowButton, { fillMode: "flat", showArrowButton: true, placeholder: "MultiSelectTree with arrow button" }) }),
6019
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeArrowButton, { fillMode: "flat", showArrowButton: true, placeholder: "MultiSelectTree with arrow button" }) }),
6020
+ ["normal", ...MultiSelectTree.states].map((state) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
6021
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: state }),
6022
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeValue, { fillMode: "flat", ...{ [state]: true }, children: state }) }),
6023
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeValue, { fillMode: "flat", ...{ [state]: true }, children: state }) })
6024
+ ] })),
6025
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: "invalid + focus" }),
6026
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeValue, { fillMode: "flat", invalid: true, focus: true, children: "invalid + focus" }) }),
6027
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MultiSelectTreeValue, { fillMode: "flat", invalid: true, focus: true, children: "invalid + focus" }) }),
6028
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: "multi line + overflow" }),
6029
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6030
+ MultiSelectTreeNormal,
5291
6031
  {
5292
6032
  fillMode: "flat",
5293
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
5294
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Multi-line", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5295
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Multi-line + Overflow with a very very very long text", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) })
6033
+ tags: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
6034
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Chip, { text: "multi-line", actions: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ChipAction, { type: "remove" }) }),
6035
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Chip, { text: "multi-line + overflow with a very very very long text", actions: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ChipAction, { type: "remove" }) })
5296
6036
  ] })
5297
6037
  }
5298
6038
  ) }),
5299
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5300
- MultiSelectTree,
6039
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6040
+ MultiSelectTreeNormal,
5301
6041
  {
5302
6042
  fillMode: "flat",
5303
- tags: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
5304
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Multi-line", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) }),
5305
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Chip, { text: "Multi-line + Overflow with a very very very long text", actions: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChipAction, { type: "remove" }) })
6043
+ tags: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
6044
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Chip, { text: "multi-line", actions: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ChipAction, { type: "remove" }) }),
6045
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Chip, { text: "multi-line + overflow with a very very very long text", actions: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ChipAction, { type: "remove" }) })
5306
6046
  ] })
5307
6047
  }
5308
6048
  ) })