@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
@@ -5018,10 +5018,678 @@ Popup.options = options15;
5018
5018
  Popup.className = POPUP_CLASSNAME;
5019
5019
  Popup.defaultProps = defaultProps13;
5020
5020
 
5021
- // src/multiselecttree/multiselecttree.spec.tsx
5021
+ // src/action-sheet/action-sheet.spec.tsx
5022
5022
  var import_jsx_runtime32 = require("react/jsx-runtime");
5023
+ var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
5024
+ var states17 = [];
5025
+ var options16 = {};
5026
+ var defaultProps14 = {
5027
+ side: "bottom",
5028
+ fullscreen: false,
5029
+ adaptive: false,
5030
+ overlay: true
5031
+ };
5032
+ var ActionSheet = (props) => {
5033
+ const {
5034
+ children,
5035
+ title,
5036
+ header,
5037
+ footer,
5038
+ actions,
5039
+ side = defaultProps14.side,
5040
+ fullscreen = defaultProps14.fullscreen,
5041
+ adaptive = defaultProps14.adaptive,
5042
+ overlay = defaultProps14.overlay,
5043
+ ...other
5044
+ } = props;
5045
+ const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
5046
+ 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);
5047
+ const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
5048
+ switch (child.type) {
5049
+ case ActionSheetHeader:
5050
+ case ActionSheetFooter:
5051
+ return false;
5052
+ default:
5053
+ return true;
5054
+ }
5055
+ return true;
5056
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, {});
5057
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "k-actionsheet-container", children: [
5058
+ overlay && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "k-overlay" }),
5059
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5060
+ AnimationContainer,
5061
+ {
5062
+ animationStyle: {
5063
+ [`${fullscreen === true ? "top" : side}`]: 0,
5064
+ [`${fullscreen === true ? "width" : null}`]: "100%",
5065
+ [`${fullscreen === true ? "height" : null}`]: "100%",
5066
+ [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
5067
+ [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
5068
+ },
5069
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5070
+ "div",
5071
+ {
5072
+ ...other,
5073
+ className: classNames(
5074
+ props.className,
5075
+ ACTIONSHEET_CLASSNAME,
5076
+ {
5077
+ [`k-actionsheet-${side}`]: fullscreen === false,
5078
+ "k-actionsheet-fullscreen": fullscreen === true,
5079
+ "k-adaptive-actionsheet": adaptive
5080
+ }
5081
+ ),
5082
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
5083
+ _ActionSheetHeader,
5084
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: classNames(
5085
+ "k-actionsheet-content",
5086
+ {
5087
+ "!k-overflow-hidden": adaptive
5088
+ }
5089
+ ), children: _ActionSheetContent }),
5090
+ _ActionSheetFooter
5091
+ ] })
5092
+ }
5093
+ )
5094
+ }
5095
+ )
5096
+ ] });
5097
+ };
5098
+ ActionSheet.states = states17;
5099
+ ActionSheet.options = options16;
5100
+ ActionSheet.className = ACTIONSHEET_CLASSNAME;
5101
+ ActionSheet.defaultProps = defaultProps14;
5102
+
5103
+ // src/searchbox/searchbox.spec.tsx
5104
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5105
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
5106
+ var states18 = [
5107
+ States.hover,
5108
+ States.focus,
5109
+ States.valid,
5110
+ States.invalid,
5111
+ States.required,
5112
+ States.disabled,
5113
+ States.loading
5114
+ ];
5115
+ var options17 = {
5116
+ size: [Size.small, Size.medium, Size.large],
5117
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5118
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5119
+ };
5120
+ var defaultProps15 = {
5121
+ showIcon: true,
5122
+ icon: "search",
5123
+ size: Input.defaultProps.size,
5124
+ rounded: Input.defaultProps.rounded,
5125
+ fillMode: Input.defaultProps.fillMode
5126
+ };
5127
+ var Searchbox = (props) => {
5128
+ const {
5129
+ value,
5130
+ placeholder,
5131
+ size,
5132
+ rounded,
5133
+ fillMode,
5134
+ hover,
5135
+ focus,
5136
+ valid,
5137
+ invalid,
5138
+ required,
5139
+ loading,
5140
+ disabled,
5141
+ showIcon = defaultProps15.showIcon,
5142
+ icon = defaultProps15.icon,
5143
+ ...other
5144
+ } = props;
5145
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
5146
+ Input,
5147
+ {
5148
+ ...other,
5149
+ size,
5150
+ rounded,
5151
+ fillMode,
5152
+ hover,
5153
+ focus,
5154
+ valid,
5155
+ invalid,
5156
+ required,
5157
+ loading,
5158
+ disabled,
5159
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
5160
+ children: [
5161
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { className: "k-input-icon", icon }),
5162
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputInnerInput, { placeholder, value }),
5163
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputLoadingIcon, { ...props }),
5164
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputValidationIcon, { ...props }),
5165
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputClearValue, { ...props })
5166
+ ]
5167
+ }
5168
+ );
5169
+ };
5170
+ Searchbox.states = states18;
5171
+ Searchbox.options = options17;
5172
+ Searchbox.className = SEARCHBOX_CLASSNAME;
5173
+ Searchbox.defaultProps = defaultProps15;
5174
+
5175
+ // src/searchbox/templates/searchbox-normal.tsx
5176
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5177
+
5178
+ // src/action-sheet/actionsheet-header.tsx
5179
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5180
+ var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
5181
+ var ActionSheetHeader = (props) => {
5182
+ const {
5183
+ title,
5184
+ subTitle,
5185
+ actions,
5186
+ filter,
5187
+ ...other
5188
+ } = props;
5189
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5190
+ "div",
5191
+ {
5192
+ ...other,
5193
+ className: classNames(
5194
+ props.className,
5195
+ ACTIONSHEETHEADER_CLASSNAME
5196
+ ),
5197
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
5198
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
5199
+ !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: [
5200
+ title !== "" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-text-center", children: title }),
5201
+ subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
5202
+ ] }) }),
5203
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
5204
+ 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)) }) })
5205
+ ] }),
5206
+ 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" }) }) })
5207
+ ] })
5208
+ }
5209
+ );
5210
+ };
5211
+
5212
+ // src/action-buttons/action-buttons.spec.tsx
5213
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5214
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
5215
+ var states19 = [];
5216
+ var options18 = {};
5217
+ var defaultProps16 = {
5218
+ alignment: "start",
5219
+ orientation: "horizontal"
5220
+ };
5221
+ var ActionButtons = (props) => {
5222
+ const {
5223
+ alignment = defaultProps16.alignment,
5224
+ orientation = defaultProps16.orientation,
5225
+ ...other
5226
+ } = props;
5227
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5228
+ "div",
5229
+ {
5230
+ ...other,
5231
+ className: classNames(
5232
+ ACTIONBUTTONS_CLASSNAME,
5233
+ {
5234
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
5235
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
5236
+ },
5237
+ props.className
5238
+ ),
5239
+ children: props.children
5240
+ }
5241
+ );
5242
+ };
5243
+ ActionButtons.states = states19;
5244
+ ActionButtons.options = options18;
5245
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
5246
+ ActionButtons.defaultProps = defaultProps16;
5247
+ var action_buttons_spec_default = ActionButtons;
5248
+
5249
+ // src/action-sheet/actionsheet-footer.tsx
5250
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5251
+ var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
5252
+ var ActionSheetFooter = (props) => {
5253
+ const {
5254
+ actions,
5255
+ ...other
5256
+ } = props;
5257
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5258
+ action_buttons_spec_default,
5259
+ {
5260
+ ...other,
5261
+ className: classNames(
5262
+ props.className,
5263
+ ACTIONSHEETFOOTER_CLASSNAME
5264
+ ),
5265
+ alignment: "stretched",
5266
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
5267
+ actions && actions.map((action, index) => {
5268
+ if (action === "|") {
5269
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-separator" }, index);
5270
+ }
5271
+ if (action === " ") {
5272
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-spacer" }, index);
5273
+ }
5274
+ const importantFlag = action.startsWith("!");
5275
+ const actionName = importantFlag ? action.substring(1) : action;
5276
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
5277
+ }),
5278
+ !actions && props.children
5279
+ ] })
5280
+ }
5281
+ );
5282
+ };
5283
+
5284
+ // src/action-sheet/actionsheet-items.tsx
5285
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5286
+ var ActionSheetItems = (props) => {
5287
+ const {
5288
+ ...other
5289
+ } = props;
5290
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5291
+ "div",
5292
+ {
5293
+ ...other,
5294
+ className: classNames(
5295
+ props.className,
5296
+ "k-list-ul"
5297
+ ),
5298
+ children: props.children
5299
+ }
5300
+ );
5301
+ };
5302
+
5303
+ // src/action-sheet/actionsheet-item.tsx
5304
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5305
+ var states20 = [
5306
+ States.hover,
5307
+ States.focus,
5308
+ States.selected,
5309
+ States.disabled
5310
+ ];
5311
+
5312
+ // src/treeview/treeview.spec.tsx
5313
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5314
+ var import_react = require("react");
5315
+ var TREEVIEW_CLASSNAME = `k-treeview`;
5316
+ var states21 = [];
5317
+ var options19 = {
5318
+ size: [Size.small, Size.medium, Size.large]
5319
+ };
5320
+ var defaultProps17 = {
5321
+ size: Size.medium
5322
+ };
5323
+ var Treeview = (props) => {
5324
+ const {
5325
+ size = defaultProps17.size,
5326
+ children,
5327
+ dir,
5328
+ ...other
5329
+ } = props;
5330
+ const listChildren = [];
5331
+ if (children) {
5332
+ if (Array.isArray(children)) {
5333
+ children.map((child, index) => {
5334
+ if (child.type === TreeviewItem) {
5335
+ listChildren.push(
5336
+ /* @__PURE__ */ (0, import_react.createElement)(TreeviewItem, { ...child.props, dir, key: index })
5337
+ );
5338
+ }
5339
+ if (child.type === TreeviewGroup) {
5340
+ listChildren.push(
5341
+ /* @__PURE__ */ (0, import_react.createElement)(TreeviewGroup, { ...child.props, dir, key: index })
5342
+ );
5343
+ }
5344
+ });
5345
+ } else {
5346
+ if (children.type === TreeviewItem) {
5347
+ listChildren.push(
5348
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TreeviewItem, { ...children.props, dir })
5349
+ );
5350
+ }
5351
+ if (children.type === TreeviewGroup) {
5352
+ listChildren.push(
5353
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TreeviewGroup, { ...children.props, dir })
5354
+ );
5355
+ }
5356
+ }
5357
+ }
5358
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5359
+ "div",
5360
+ {
5361
+ ...other,
5362
+ dir,
5363
+ className: classNames(
5364
+ props.className,
5365
+ TREEVIEW_CLASSNAME,
5366
+ optionClassNames(TREEVIEW_CLASSNAME, {
5367
+ size
5368
+ })
5369
+ ),
5370
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TreeviewGroup, { className: "k-treeview-lines", dir, children: listChildren })
5371
+ }
5372
+ );
5373
+ };
5374
+ Treeview.states = states21;
5375
+ Treeview.options = options19;
5376
+ Treeview.className = TREEVIEW_CLASSNAME;
5377
+ Treeview.defaultProps = defaultProps17;
5378
+
5379
+ // src/checkbox/checkbox.spec.tsx
5380
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5381
+ var CHECKBOX_CLASSNAME = `k-checkbox`;
5382
+ var states22 = [
5383
+ States.hover,
5384
+ States.focus,
5385
+ States.valid,
5386
+ States.invalid,
5387
+ States.required,
5388
+ States.disabled,
5389
+ States.checked,
5390
+ States.indeterminate
5391
+ ];
5392
+ var options20 = {
5393
+ size: [Size.small, Size.medium, Size.large],
5394
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5395
+ };
5396
+ var defaultProps18 = {
5397
+ size: Size.medium,
5398
+ rounded: Roundness.medium
5399
+ };
5400
+ var Checkbox = (props) => {
5401
+ const {
5402
+ id,
5403
+ checked,
5404
+ indeterminate,
5405
+ hover,
5406
+ focus,
5407
+ disabled,
5408
+ invalid,
5409
+ valid,
5410
+ required,
5411
+ size = defaultProps18.size,
5412
+ rounded = defaultProps18.rounded,
5413
+ ...other
5414
+ } = props;
5415
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5416
+ "input",
5417
+ {
5418
+ ...other,
5419
+ id,
5420
+ type: "checkbox",
5421
+ checked,
5422
+ required,
5423
+ className: classNames(
5424
+ props.className,
5425
+ CHECKBOX_CLASSNAME,
5426
+ optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
5427
+ stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
5428
+ )
5429
+ }
5430
+ ) });
5431
+ };
5432
+ Checkbox.states = states22;
5433
+ Checkbox.options = options20;
5434
+ Checkbox.className = CHECKBOX_CLASSNAME;
5435
+ Checkbox.defaultProps = defaultProps18;
5436
+
5437
+ // src/checkbox/checkbox-group.spec.tsx
5438
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5439
+ var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
5440
+ var states23 = [];
5441
+ var options21 = {};
5442
+ var defaultProps19 = {
5443
+ layout: "vertical"
5444
+ };
5445
+ var CheckboxGroup = (props) => {
5446
+ const {
5447
+ layout = defaultProps19.layout,
5448
+ ...other
5449
+ } = props;
5450
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5451
+ "ul",
5452
+ {
5453
+ ...other,
5454
+ className: classNames(
5455
+ props.className,
5456
+ CHECKBOXGROUP_CLASSNAME,
5457
+ {
5458
+ [`k-list-${layout}`]: layout
5459
+ }
5460
+ ),
5461
+ children: props.children
5462
+ }
5463
+ );
5464
+ };
5465
+ CheckboxGroup.states = states23;
5466
+ CheckboxGroup.options = options21;
5467
+ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
5468
+ CheckboxGroup.defaultProps = defaultProps19;
5469
+
5470
+ // src/checkbox/checkbox-item.spec.tsx
5471
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5472
+ var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
5473
+ var states24 = [];
5474
+ var options22 = {};
5475
+ var defaultProps20 = {};
5476
+ var CheckboxItem = (props) => {
5477
+ const {
5478
+ ...other
5479
+ } = props;
5480
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5481
+ "li",
5482
+ {
5483
+ ...other,
5484
+ className: classNames(
5485
+ props.className,
5486
+ CHECKBOXITEM_CLASSNAME
5487
+ ),
5488
+ children: props.children
5489
+ }
5490
+ );
5491
+ };
5492
+ CheckboxItem.states = states24;
5493
+ CheckboxItem.options = options22;
5494
+ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
5495
+ CheckboxItem.defaultProps = defaultProps20;
5496
+
5497
+ // src/checkbox/templates/checkbox-with-label-after.tsx
5498
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5499
+
5500
+ // src/checkbox/templates/checkbox-with-label-before.tsx
5501
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5502
+
5503
+ // src/checkbox/templates/checkbox-normal.tsx
5504
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5505
+
5506
+ // src/treeview/treeview-group.tsx
5507
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5508
+ var import_react2 = require("react");
5509
+ var className9 = `k-treeview-group`;
5510
+ var TreeviewGroup = (props) => {
5511
+ const {
5512
+ children,
5513
+ dir
5514
+ } = props;
5515
+ const listChildren = [];
5516
+ if (children) {
5517
+ if (Array.isArray(children)) {
5518
+ children.map((child, index) => {
5519
+ if (child.type === treeview_item_spec_default) {
5520
+ listChildren.push(
5521
+ /* @__PURE__ */ (0, import_react2.createElement)(treeview_item_spec_default, { ...child.props, dir, key: index })
5522
+ );
5523
+ }
5524
+ });
5525
+ } else {
5526
+ if (children.type === treeview_item_spec_default) {
5527
+ listChildren.push(
5528
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(treeview_item_spec_default, { ...children.props, dir })
5529
+ );
5530
+ }
5531
+ }
5532
+ }
5533
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { className: classNames(props.className, className9), children: listChildren });
5534
+ };
5535
+
5536
+ // src/treeview/treeview-leaf.tsx
5537
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5538
+ var TREEVIEWLEAF_CLASSNAME = `k-treeview-leaf`;
5539
+ var states25 = [
5540
+ States.hover,
5541
+ States.focus,
5542
+ States.selected
5543
+ ];
5544
+ var options23 = {};
5545
+ var TreeviewLeaf = (props) => {
5546
+ const {
5547
+ text,
5548
+ showIcon,
5549
+ icon,
5550
+ hover,
5551
+ focus,
5552
+ selected,
5553
+ ...other
5554
+ } = props;
5555
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5556
+ "span",
5557
+ {
5558
+ ...other,
5559
+ className: classNames(
5560
+ props.className,
5561
+ TREEVIEWLEAF_CLASSNAME,
5562
+ stateClassNames(TREEVIEWLEAF_CLASSNAME, {
5563
+ hover,
5564
+ focus,
5565
+ selected
5566
+ })
5567
+ ),
5568
+ children: [
5569
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon }),
5570
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-treeview-leaf-text", children: text })
5571
+ ]
5572
+ }
5573
+ );
5574
+ };
5575
+ TreeviewLeaf.states = states25;
5576
+ TreeviewLeaf.options = options23;
5577
+ TreeviewLeaf.className = TREEVIEWLEAF_CLASSNAME;
5578
+ var treeview_leaf_default = TreeviewLeaf;
5579
+
5580
+ // src/treeview/treeview-item.spec.tsx
5581
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5582
+ var import_react3 = require("react");
5583
+ var TREEVIEWITEM_CLASSNAME = `k-treeview-item`;
5584
+ var states26 = [
5585
+ States.hover,
5586
+ States.focus,
5587
+ States.selected,
5588
+ States.disabled
5589
+ ];
5590
+ var options24 = {};
5591
+ var defaultProps21 = {};
5592
+ var TreeviewItem = (props) => {
5593
+ const {
5594
+ leafClassName,
5595
+ children,
5596
+ hasChildren,
5597
+ expanded,
5598
+ text,
5599
+ showIcon,
5600
+ icon,
5601
+ showCheckbox,
5602
+ checked,
5603
+ hover,
5604
+ focus,
5605
+ selected,
5606
+ disabled,
5607
+ dir,
5608
+ ...other
5609
+ } = props;
5610
+ const _hasChildren = hasChildren || children;
5611
+ const listChildren = [];
5612
+ if (children) {
5613
+ if (Array.isArray(children)) {
5614
+ children.map((child, index) => {
5615
+ if (child.type === TreeviewGroup) {
5616
+ listChildren.push(
5617
+ /* @__PURE__ */ (0, import_react3.createElement)(TreeviewGroup, { ...child.props, dir, key: index }, child.props.children)
5618
+ );
5619
+ }
5620
+ });
5621
+ } else {
5622
+ if (children.type === TreeviewGroup) {
5623
+ listChildren.push(
5624
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TreeviewGroup, { ...children.props, dir, children: children.props.children })
5625
+ );
5626
+ }
5627
+ }
5628
+ }
5629
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5630
+ "li",
5631
+ {
5632
+ ...other,
5633
+ className: classNames(
5634
+ props.className,
5635
+ TREEVIEWITEM_CLASSNAME
5636
+ ),
5637
+ children: [
5638
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("span", { className: "k-treeview-mid", children: [
5639
+ _hasChildren && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5640
+ "span",
5641
+ {
5642
+ className: classNames(
5643
+ "k-treeview-toggle",
5644
+ stateClassNames("k-treeview-toggle", { disabled })
5645
+ ),
5646
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: expanded ? "caret-alt-down" : dir === "rtl" ? "caret-alt-left" : "caret-alt-right" })
5647
+ }
5648
+ ),
5649
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Checkbox, { checked, disabled }),
5650
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5651
+ treeview_leaf_default,
5652
+ {
5653
+ className: classNames(
5654
+ leafClassName,
5655
+ stateClassNames(leafClassName, { disabled })
5656
+ ),
5657
+ text,
5658
+ showIcon,
5659
+ icon,
5660
+ hover,
5661
+ focus,
5662
+ selected
5663
+ }
5664
+ )
5665
+ ] }),
5666
+ expanded && _hasChildren && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: listChildren })
5667
+ ]
5668
+ }
5669
+ );
5670
+ };
5671
+ TreeviewItem.states = states26;
5672
+ TreeviewItem.options = options24;
5673
+ TreeviewItem.className = TREEVIEWITEM_CLASSNAME;
5674
+ TreeviewItem.defaultProps = defaultProps21;
5675
+ var treeview_item_spec_default = TreeviewItem;
5676
+
5677
+ // src/treeview/templates/treeview-normal.tsx
5678
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5679
+
5680
+ // src/treeview/templates/treeview-hierarchy.tsx
5681
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5682
+
5683
+ // src/treeview/templates/treeview-icons.tsx
5684
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5685
+
5686
+ // src/treeview/templates/treeview-checkboxes.tsx
5687
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5688
+
5689
+ // src/multiselecttree/multiselecttree.spec.tsx
5690
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5023
5691
  var MULTISELECTTREE_CLASSNAME = `k-multiselecttree`;
5024
- var states17 = [
5692
+ var states27 = [
5025
5693
  States.hover,
5026
5694
  States.focus,
5027
5695
  States.valid,
@@ -5031,12 +5699,12 @@ var states17 = [
5031
5699
  States.loading,
5032
5700
  States.readonly
5033
5701
  ];
5034
- var options16 = {
5702
+ var options25 = {
5035
5703
  size: [Size.small, Size.medium, Size.large],
5036
5704
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5037
5705
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5038
5706
  };
5039
- var defaultProps14 = {
5707
+ var defaultProps22 = {
5040
5708
  size: Input.defaultProps.size,
5041
5709
  rounded: Input.defaultProps.rounded,
5042
5710
  fillMode: Input.defaultProps.fillMode
@@ -5062,10 +5730,12 @@ var MultiSelectTree = (props) => {
5062
5730
  readonly,
5063
5731
  opened,
5064
5732
  dir,
5733
+ adaptive,
5734
+ adaptiveSettings,
5065
5735
  ...other
5066
5736
  } = props;
5067
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
5068
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5737
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
5738
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5069
5739
  Input,
5070
5740
  {
5071
5741
  ...other,
@@ -5083,10 +5753,10 @@ var MultiSelectTree = (props) => {
5083
5753
  readonly,
5084
5754
  className: classNames(props.className, MULTISELECTTREE_CLASSNAME),
5085
5755
  children: [
5086
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputPrefix, { children: prefix }),
5087
- /* @__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 }) }),
5088
- /* @__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 }) }),
5089
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5756
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InputPrefix, { children: prefix }),
5757
+ /* @__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 }) }),
5758
+ /* @__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 }) }),
5759
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5090
5760
  InputValidationIcon,
5091
5761
  {
5092
5762
  valid,
@@ -5095,14 +5765,14 @@ var MultiSelectTree = (props) => {
5095
5765
  disabled
5096
5766
  }
5097
5767
  ),
5098
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5768
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5099
5769
  InputLoadingIcon,
5100
5770
  {
5101
5771
  loading,
5102
5772
  disabled
5103
5773
  }
5104
5774
  ),
5105
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5775
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5106
5776
  InputClearValue,
5107
5777
  {
5108
5778
  loading,
@@ -5111,8 +5781,8 @@ var MultiSelectTree = (props) => {
5111
5781
  value: tags ? "value" : ""
5112
5782
  }
5113
5783
  ),
5114
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputSuffix, { children: suffix }),
5115
- showArrowButton && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5784
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InputSuffix, { children: suffix }),
5785
+ showArrowButton && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5116
5786
  Button,
5117
5787
  {
5118
5788
  className: "k-input-button",
@@ -5125,11 +5795,35 @@ var MultiSelectTree = (props) => {
5125
5795
  ]
5126
5796
  }
5127
5797
  ),
5128
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Popup, { className: "k-multiselecttree-popup", dir, children: popup })
5798
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Popup, { className: "k-multiselecttree-popup", dir, children: popup }),
5799
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
5800
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5801
+ ActionSheetHeader,
5802
+ {
5803
+ filter: true,
5804
+ actions: ["x"],
5805
+ title: "Select value"
5806
+ }
5807
+ ),
5808
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Treeview, { size: "large", children: [
5809
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Root 1" }),
5810
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Root 2", expanded: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(TreeviewGroup, { children: [
5811
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 2.1" }),
5812
+ /* @__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" }) }) }),
5813
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 2.3" }),
5814
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { leafClassName: "k-treeview-load-more-button", text: "Load more ..." })
5815
+ ] }) }),
5816
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Root 3", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(TreeviewGroup, { children: [
5817
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 3.1" }),
5818
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 3.2" }),
5819
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TreeviewItem, { text: "Child 3.3" })
5820
+ ] }) })
5821
+ ] })
5822
+ ] })
5129
5823
  ] });
5130
5824
  };
5131
- MultiSelectTree.states = states17;
5132
- MultiSelectTree.options = options16;
5825
+ MultiSelectTree.states = states27;
5826
+ MultiSelectTree.options = options25;
5133
5827
  MultiSelectTree.className = MULTISELECTTREE_CLASSNAME;
5134
- MultiSelectTree.defaultProps = defaultProps14;
5828
+ MultiSelectTree.defaultProps = defaultProps22;
5135
5829
  var multiselecttree_spec_default = MultiSelectTree;