@acorex/components 19.11.0-next.0 → 19.11.0-next.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 (486) hide show
  1. package/README.md +22 -20
  2. package/action-sheet/lib/action-sheet.component.d.ts +1 -1
  3. package/action-sheet/lib/action-sheet.module.d.ts +11 -11
  4. package/alert/lib/alert.component.d.ts +1 -1
  5. package/alert/lib/alert.module.d.ts +4 -4
  6. package/audio-wave/lib/audio-wave.component.d.ts +1 -1
  7. package/audio-wave/lib/audio-wave.module.d.ts +7 -7
  8. package/avatar/lib/avatar-group.component.d.ts +1 -1
  9. package/avatar/lib/avatar.component.d.ts +1 -1
  10. package/avatar/lib/avatar.module.d.ts +4 -4
  11. package/badge/lib/badge.component.d.ts +1 -1
  12. package/badge/lib/badge.module.d.ts +3 -3
  13. package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +1 -1
  14. package/bottom-navigation/lib/bottom-navigation.component.d.ts +1 -1
  15. package/bottom-navigation/lib/bottom-navigation.module.d.ts +4 -4
  16. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
  17. package/breadcrumbs/lib/breadcrumbs.component.d.ts +1 -1
  18. package/breadcrumbs/lib/breadcrumbs.module.d.ts +5 -5
  19. package/button/lib/button-item-list.component.d.ts +1 -1
  20. package/button/lib/button-item.component.d.ts +1 -1
  21. package/button/lib/button.component.d.ts +1 -1
  22. package/button/lib/button.module.d.ts +8 -8
  23. package/button-group/lib/button-group-item.component.d.ts +1 -1
  24. package/button-group/lib/button-group.component.d.ts +1 -1
  25. package/button-group/lib/button-group.module.d.ts +6 -6
  26. package/calendar/lib/calendar-range.component.d.ts +1 -1
  27. package/calendar/lib/calendar.component.d.ts +1 -1
  28. package/calendar/lib/calendar.module.d.ts +8 -8
  29. package/check-box/lib/check-box.component.d.ts +1 -1
  30. package/check-box/lib/check-box.module.d.ts +5 -5
  31. package/chips/lib/chips.component.d.ts +1 -1
  32. package/chips/lib/chips.module.d.ts +3 -3
  33. package/circular-progress/lib/circular-progress.component.d.ts +1 -1
  34. package/circular-progress/lib/circular-progress.module.d.ts +1 -1
  35. package/collapse/lib/collapse-group.component.d.ts +1 -1
  36. package/collapse/lib/collapse.component.d.ts +1 -1
  37. package/collapse/lib/collapse.module.d.ts +5 -5
  38. package/color-box/lib/color-box.component.d.ts +1 -1
  39. package/color-box/lib/color-box.module.d.ts +6 -6
  40. package/color-palette/lib/color-palette-input.component.d.ts +1 -1
  41. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  42. package/color-palette/lib/color-palette-preview.component.d.ts +3 -3
  43. package/color-palette/lib/color-palette-swatches.component.d.ts +1 -1
  44. package/color-palette/lib/color-palette.component.d.ts +3 -3
  45. package/color-palette/lib/color-palette.module.d.ts +17 -17
  46. package/comment/lib/comment-container/comment-container.component.d.ts +1 -1
  47. package/comment/lib/comment-item/comment-item.component.d.ts +1 -1
  48. package/comment/lib/comment-tools/comment-date/comment-date.component.d.ts +1 -1
  49. package/comment/lib/comment-tools/comment-like/comment-like.component.d.ts +1 -1
  50. package/comment/lib/comment-tools/comment-menu-options/comment-menu-options.component.d.ts +1 -1
  51. package/comment/lib/comment-tools/comment-reply-more/comment-reply-more.component.d.ts +1 -1
  52. package/comment/lib/comment-tools/comment-reply-text/comment-reply-text.component.d.ts +1 -1
  53. package/comment/lib/comment-view/comment-view.component.d.ts +1 -1
  54. package/comment/lib/comment.module.d.ts +16 -16
  55. package/common/lib/common.module.d.ts +1 -1
  56. package/common/lib/directives/auto-focus.directive.d.ts +1 -1
  57. package/common/lib/directives/hotkey.directive.d.ts +1 -1
  58. package/common/lib/directives/infinite-scroll.directive.d.ts +1 -1
  59. package/common/lib/directives/responsive.directive.d.ts +1 -1
  60. package/conversation/lib/conversation-container/conversation-container.component.d.ts +2 -3
  61. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  62. package/conversation/lib/conversation-message/conversation-message.component.d.ts +2 -1
  63. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +1 -1
  64. package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +1 -1
  65. package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +1 -1
  66. package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +1 -1
  67. package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +1 -1
  68. package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +1 -1
  69. package/conversation/lib/conversation-view/conversation-view.component.d.ts +1 -1
  70. package/conversation/lib/conversation.module.d.ts +29 -29
  71. package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +1 -1
  72. package/cron-job/lib/cron-job.module.d.ts +20 -20
  73. package/cron-job/lib/day/day.component.d.ts +1 -1
  74. package/cron-job/lib/hours/hours.component.d.ts +1 -1
  75. package/cron-job/lib/minutes/minutes.component.d.ts +1 -1
  76. package/cron-job/lib/month/month.component.d.ts +1 -1
  77. package/cron-job/lib/seconds/seconds.component.d.ts +1 -1
  78. package/cron-job/lib/year/year.component.d.ts +1 -1
  79. package/data-pager/lib/data-pager-info.component.d.ts +1 -1
  80. package/data-pager/lib/data-pager-input-selector.component.d.ts +1 -1
  81. package/data-pager/lib/data-pager-next-buttons.component.d.ts +1 -1
  82. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +1 -1
  83. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +1 -1
  84. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +1 -1
  85. package/data-pager/lib/data-pager.component.d.ts +1 -1
  86. package/data-pager/lib/data-pager.module.d.ts +17 -17
  87. package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +1 -1
  88. package/data-table/lib/columns/data-text-column.component.d.ts +1 -1
  89. package/data-table/lib/columns/row-command-column.component.d.ts +2 -2
  90. package/data-table/lib/columns/row-expand-column.component.d.ts +1 -1
  91. package/data-table/lib/columns/row-index-column.component.d.ts +10 -10
  92. package/data-table/lib/columns/row-select-column.component.d.ts +1 -1
  93. package/data-table/lib/data-table/data-table.component.d.ts +19 -4
  94. package/data-table/lib/data-table.module.d.ts +22 -22
  95. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +1 -1
  96. package/datetime-box/lib/datetime-box.component.d.ts +3 -1
  97. package/datetime-box/lib/datetime-box.module.d.ts +8 -8
  98. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  99. package/datetime-input/lib/datetime-input.module.d.ts +5 -5
  100. package/datetime-picker/lib/datetime-picker.component.d.ts +3 -1
  101. package/datetime-picker/lib/datetime-picker.module.d.ts +11 -11
  102. package/decorators/lib/components/clear-button/clear-button.component.d.ts +1 -1
  103. package/decorators/lib/components/close-button/close-button.component.d.ts +1 -1
  104. package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +1 -1
  105. package/decorators/lib/components/full-screen/full-screen-button.component.d.ts +1 -1
  106. package/decorators/lib/components/generic-content.component.d.ts +1 -1
  107. package/decorators/lib/components/heading/heading.component.d.ts +1 -3
  108. package/decorators/lib/components/icon/icon.component.d.ts +1 -1
  109. package/decorators/lib/decorators.module.d.ts +9 -9
  110. package/dialog/lib/dialog.class.d.ts +1 -0
  111. package/dialog/lib/dialog.component.d.ts +1 -1
  112. package/dialog/lib/dialog.module.d.ts +11 -11
  113. package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +1 -1
  114. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +1 -1
  115. package/drawer/lib/drawer.module.d.ts +4 -4
  116. package/dropdown/lib/dropdown-box.component.d.ts +1 -1
  117. package/dropdown/lib/dropdown-panel.component.d.ts +1 -1
  118. package/dropdown/lib/dropdown.module.d.ts +9 -9
  119. package/dropdown-button/lib/dropdown-button.component.d.ts +2 -1
  120. package/dropdown-button/lib/dropdown-button.module.d.ts +8 -8
  121. package/fesm2022/acorex-components-action-sheet.mjs +19 -52
  122. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  123. package/fesm2022/acorex-components-alert.mjs +10 -12
  124. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  125. package/fesm2022/acorex-components-audio-wave.mjs +11 -14
  126. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  127. package/fesm2022/acorex-components-avatar.mjs +13 -15
  128. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  129. package/fesm2022/acorex-components-badge.mjs +9 -10
  130. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  131. package/fesm2022/acorex-components-bottom-navigation.mjs +13 -14
  132. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  133. package/fesm2022/acorex-components-breadcrumbs.mjs +14 -16
  134. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  135. package/fesm2022/acorex-components-button-group.mjs +15 -17
  136. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  137. package/fesm2022/acorex-components-button.mjs +27 -50
  138. package/fesm2022/acorex-components-button.mjs.map +1 -1
  139. package/fesm2022/acorex-components-calendar.mjs +26 -42
  140. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  141. package/fesm2022/acorex-components-check-box.mjs +11 -12
  142. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  143. package/fesm2022/acorex-components-chips.mjs +9 -10
  144. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  145. package/fesm2022/acorex-components-circular-progress.mjs +9 -10
  146. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  147. package/fesm2022/acorex-components-collapse.mjs +14 -18
  148. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  149. package/fesm2022/acorex-components-color-box.mjs +23 -40
  150. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  151. package/fesm2022/acorex-components-color-palette.mjs +49 -55
  152. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  153. package/fesm2022/acorex-components-comment.mjs +46 -62
  154. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  155. package/fesm2022/acorex-components-common.mjs +106 -126
  156. package/fesm2022/acorex-components-common.mjs.map +1 -1
  157. package/fesm2022/acorex-components-conversation.mjs +108 -103
  158. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  159. package/fesm2022/acorex-components-cron-job.mjs +311 -247
  160. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  161. package/fesm2022/acorex-components-data-pager.mjs +78 -66
  162. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  163. package/fesm2022/acorex-components-data-table.mjs +175 -221
  164. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  165. package/fesm2022/acorex-components-datetime-box.mjs +19 -42
  166. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  167. package/fesm2022/acorex-components-datetime-input.mjs +17 -33
  168. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  169. package/fesm2022/acorex-components-datetime-picker.mjs +42 -31
  170. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  171. package/fesm2022/acorex-components-decorators.mjs +42 -60
  172. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  173. package/fesm2022/acorex-components-dialog.mjs +33 -29
  174. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  175. package/fesm2022/acorex-components-drawer.mjs +16 -17
  176. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  177. package/fesm2022/acorex-components-dropdown-button.mjs +21 -20
  178. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  179. package/fesm2022/acorex-components-dropdown.mjs +17 -20
  180. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  181. package/fesm2022/acorex-components-file-explorer.mjs +190 -143
  182. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  183. package/fesm2022/acorex-components-form.mjs +55 -49
  184. package/fesm2022/acorex-components-form.mjs.map +1 -1
  185. package/fesm2022/acorex-components-grid-layout-builder.mjs +94 -163
  186. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  187. package/fesm2022/acorex-components-image-editor.mjs +43 -51
  188. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  189. package/fesm2022/acorex-components-image.mjs +10 -15
  190. package/fesm2022/acorex-components-image.mjs.map +1 -1
  191. package/fesm2022/acorex-components-json-viewer.mjs +11 -17
  192. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  193. package/fesm2022/acorex-components-kbd.mjs +17 -15
  194. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  195. package/fesm2022/acorex-components-label.mjs +9 -10
  196. package/fesm2022/acorex-components-label.mjs.map +1 -1
  197. package/fesm2022/acorex-components-list.mjs +28 -33
  198. package/fesm2022/acorex-components-list.mjs.map +1 -1
  199. package/fesm2022/acorex-components-loading-dialog.mjs +45 -44
  200. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  201. package/fesm2022/acorex-components-loading.mjs +21 -30
  202. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  203. package/fesm2022/acorex-components-map.mjs +13741 -45
  204. package/fesm2022/acorex-components-map.mjs.map +1 -1
  205. package/fesm2022/acorex-components-media-viewer.mjs +87 -78
  206. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  207. package/fesm2022/acorex-components-menu.mjs +27 -40
  208. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  209. package/fesm2022/acorex-components-navbar.mjs +9 -10
  210. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  211. package/fesm2022/acorex-components-notification.mjs +18 -25
  212. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  213. package/fesm2022/acorex-components-number-box.mjs +11 -13
  214. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  215. package/fesm2022/acorex-components-otp.mjs +13 -15
  216. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  217. package/fesm2022/acorex-components-page.mjs +10 -10
  218. package/fesm2022/acorex-components-paint.mjs +33 -67
  219. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  220. package/fesm2022/acorex-components-password-box.mjs +21 -51
  221. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  222. package/fesm2022/acorex-components-pdf-reader.mjs +9 -10
  223. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  224. package/fesm2022/acorex-components-phone-box.mjs +19 -66
  225. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  226. package/fesm2022/acorex-components-picker.mjs +20 -22
  227. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  228. package/fesm2022/acorex-components-popover.mjs +13 -28
  229. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  230. package/fesm2022/acorex-components-popup.mjs +27 -50
  231. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  232. package/fesm2022/acorex-components-progress-bar.mjs +9 -10
  233. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  234. package/fesm2022/acorex-components-qrcode.mjs +9 -10
  235. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  236. package/fesm2022/acorex-components-query-builder.mjs +30 -27
  237. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  238. package/fesm2022/acorex-components-radio.mjs +11 -12
  239. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  240. package/fesm2022/acorex-components-rail-navigation.mjs +18 -21
  241. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  242. package/fesm2022/acorex-components-range-slider.mjs +11 -13
  243. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  244. package/fesm2022/acorex-components-rate-picker.mjs +9 -10
  245. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  246. package/fesm2022/acorex-components-rest-api-generator.mjs +361 -0
  247. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -0
  248. package/fesm2022/acorex-components-result.mjs +15 -16
  249. package/fesm2022/acorex-components-result.mjs.map +1 -1
  250. package/fesm2022/acorex-components-routing-progress.mjs +15 -16
  251. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  252. package/fesm2022/acorex-components-scheduler.mjs +29 -26
  253. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  254. package/fesm2022/acorex-components-scss.mjs +4 -4
  255. package/fesm2022/acorex-components-search-box.mjs +22 -60
  256. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  257. package/fesm2022/acorex-components-select-box.mjs +56 -49
  258. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  259. package/fesm2022/acorex-components-selection-list.mjs +13 -32
  260. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  261. package/fesm2022/acorex-components-side-menu.mjs +24 -54
  262. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  263. package/fesm2022/acorex-components-skeleton.mjs +9 -10
  264. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  265. package/fesm2022/acorex-components-slider.mjs +11 -12
  266. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  267. package/fesm2022/acorex-components-sliding-item.mjs +18 -21
  268. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  269. package/fesm2022/acorex-components-step-wizard.mjs +19 -23
  270. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  271. package/fesm2022/acorex-components-switch.mjs +12 -14
  272. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  273. package/fesm2022/acorex-components-tabs.mjs +18 -21
  274. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  275. package/fesm2022/acorex-components-tag.mjs +9 -10
  276. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  277. package/fesm2022/acorex-components-text-area.mjs +12 -24
  278. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  279. package/fesm2022/acorex-components-text-box.mjs +17 -47
  280. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  281. package/fesm2022/acorex-components-time-line.mjs +14 -16
  282. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  283. package/fesm2022/acorex-components-toast.mjs +26 -30
  284. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  285. package/fesm2022/acorex-components-toolbar.mjs +9 -11
  286. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  287. package/fesm2022/acorex-components-tooltip.mjs +31 -32
  288. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  289. package/fesm2022/acorex-components-tree-view.mjs +62 -46
  290. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  291. package/fesm2022/acorex-components-uploader.mjs +52 -55
  292. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  293. package/fesm2022/acorex-components-video-player.mjs +9 -10
  294. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  295. package/fesm2022/acorex-components-wysiwyg.mjs +65 -71
  296. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  297. package/file-explorer/index.d.ts +2 -0
  298. package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +1 -6
  299. package/file-explorer/lib/file-explorer-header/file-explorer-header.component.d.ts +9 -0
  300. package/file-explorer/lib/file-explorer-internal.service.d.ts +18 -0
  301. package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +1 -1
  302. package/file-explorer/lib/file-explorer-tree/file-explorer-tree.component.d.ts +13 -0
  303. package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +3 -16
  304. package/file-explorer/lib/file-explorer.module.d.ts +14 -11
  305. package/file-explorer/lib/file-explorer.service.d.ts +6 -1
  306. package/form/lib/form-field.component.d.ts +1 -1
  307. package/form/lib/form.component.d.ts +1 -1
  308. package/form/lib/form.module.d.ts +11 -11
  309. package/form/lib/validation-rule.directive.d.ts +1 -1
  310. package/form/lib/validation-summary.component.d.ts +1 -1
  311. package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +5 -5
  312. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +13 -57
  313. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +20 -48
  314. package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +1 -1
  315. package/image/lib/image.component.d.ts +1 -1
  316. package/image/lib/image.module.d.ts +3 -3
  317. package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -1
  318. package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +1 -1
  319. package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -1
  320. package/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.d.ts +1 -1
  321. package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -1
  322. package/image-editor/lib/image-editor.module.d.ts +16 -16
  323. package/json-viewer/lib/json-viewer/json-viewer.component.d.ts +1 -1
  324. package/json-viewer/lib/json-viewer.module.d.ts +5 -5
  325. package/kbd/lib/kbd-item/kbd-item.component.d.ts +2 -1
  326. package/kbd/lib/kbd.component.d.ts +1 -1
  327. package/kbd/lib/kbd.module.d.ts +4 -4
  328. package/label/lib/label.component.d.ts +1 -1
  329. package/label/lib/label.module.d.ts +3 -3
  330. package/list/lib/list.component.d.ts +2 -2
  331. package/list/lib/list.module.d.ts +5 -5
  332. package/loading/lib/loading-spinner.component.d.ts +1 -1
  333. package/loading/lib/loading.component.d.ts +1 -1
  334. package/loading/lib/loading.directive.d.ts +1 -1
  335. package/loading/lib/loading.module.d.ts +8 -8
  336. package/loading-dialog/lib/loading-dialog.component.d.ts +18 -18
  337. package/loading-dialog/lib/loading-dialog.module.d.ts +9 -9
  338. package/map/index.d.ts +2 -0
  339. package/map/lib/map.component.d.ts +23 -4
  340. package/map/lib/map.module.d.ts +3 -3
  341. package/map/lib/map.service.d.ts +27 -1
  342. package/map/lib/map.utility.d.ts +2 -0
  343. package/map/lib/map.world-map.d.ts +28 -0
  344. package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -1
  345. package/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.d.ts +1 -1
  346. package/media-viewer/lib/media-viewer-tools/audio-player/audio-player.component.d.ts +1 -1
  347. package/media-viewer/lib/media-viewer-tools/file-info/file-info.component.d.ts +1 -1
  348. package/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.d.ts +1 -1
  349. package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +1 -1
  350. package/media-viewer/lib/media-viewer-tools/video-player/video-player.component.d.ts +1 -1
  351. package/media-viewer/lib/media-viewer.module.d.ts +18 -18
  352. package/menu/lib/context-menu.component.d.ts +1 -1
  353. package/menu/lib/menu-item.component.d.ts +1 -1
  354. package/menu/lib/menu.component.d.ts +1 -1
  355. package/menu/lib/menu.module.d.ts +10 -10
  356. package/navbar/lib/navbar.component.d.ts +1 -1
  357. package/navbar/lib/navbar.module.d.ts +3 -3
  358. package/notification/lib/notification.component.d.ts +1 -1
  359. package/notification/lib/notification.module.d.ts +9 -9
  360. package/number-box/lib/number-box.component.d.ts +1 -1
  361. package/number-box/lib/number-box.module.d.ts +7 -7
  362. package/otp/lib/otp.component.d.ts +1 -1
  363. package/otp/lib/otp.module.d.ts +4 -4
  364. package/package.json +5 -1
  365. package/paint/lib/paint/paint-container/paint-container.component.d.ts +1 -1
  366. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +1 -1
  367. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +1 -1
  368. package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
  369. package/paint/lib/paint.module.d.ts +13 -13
  370. package/password-box/lib/password-box.component.d.ts +1 -1
  371. package/password-box/lib/password-box.module.d.ts +10 -10
  372. package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +1 -1
  373. package/pdf-reader/lib/pdf-reader/pdf-reader.component.d.ts +1 -1
  374. package/pdf-reader/lib/pdf-reader.module.d.ts +1 -1
  375. package/phone-box/lib/phone-box.component.d.ts +2 -2
  376. package/phone-box/lib/phone-box.module.d.ts +10 -10
  377. package/picker/lib/picker-container/picker-container.component.d.ts +1 -1
  378. package/picker/lib/picker-items/picker-items.component.d.ts +1 -1
  379. package/picker/lib/picker-title/picker-title.component.d.ts +1 -1
  380. package/picker/lib/picker.module.d.ts +6 -6
  381. package/popover/lib/popover.component.d.ts +1 -1
  382. package/popover/lib/popover.module.d.ts +3 -3
  383. package/popup/lib/popup.component.d.ts +9 -9
  384. package/popup/lib/popup.module.d.ts +10 -10
  385. package/progress-bar/lib/progress-bar.component.d.ts +1 -1
  386. package/progress-bar/lib/progress-bar.module.d.ts +3 -3
  387. package/qrcode/lib/qrcode.component.d.ts +1 -1
  388. package/qrcode/lib/qrcode.module.d.ts +3 -3
  389. package/query-builder/lib/query-builder.component.d.ts +1 -1
  390. package/query-builder/lib/query-builder.module.d.ts +10 -10
  391. package/radio/lib/radio.component.d.ts +1 -1
  392. package/radio/lib/radio.module.d.ts +4 -4
  393. package/rail-navigation/lib/rail-navigation-item/rail-navigation-item.component.d.ts +1 -1
  394. package/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  395. package/rail-navigation/lib/rail-navigation.module.d.ts +5 -5
  396. package/range-slider/lib/range-slider.component.d.ts +1 -1
  397. package/range-slider/lib/range-slider.module.d.ts +3 -3
  398. package/rate-picker/lib/rate-picker.component.d.ts +1 -1
  399. package/rate-picker/lib/rate-picker.module.d.ts +3 -3
  400. package/rest-api-generator/README.md +3 -0
  401. package/rest-api-generator/index.d.ts +8 -0
  402. package/rest-api-generator/lib/query-params/query-params.component.d.ts +16 -0
  403. package/rest-api-generator/lib/request-body/request-body.component.d.ts +22 -0
  404. package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +22 -0
  405. package/rest-api-generator/lib/rest-api-auth/rest-api-auth.component.d.ts +22 -0
  406. package/rest-api-generator/lib/rest-api-generator.component.d.ts +14 -0
  407. package/rest-api-generator/lib/rest-api-generator.module.d.ts +19 -0
  408. package/rest-api-generator/lib/rest-api-generator.service.d.ts +7 -0
  409. package/rest-api-generator/lib/types.d.ts +20 -0
  410. package/result/lib/result.component.d.ts +7 -7
  411. package/result/lib/result.module.d.ts +3 -3
  412. package/routing-progress/lib/routing-progress.component.d.ts +7 -7
  413. package/routing-progress/lib/routing-progress.module.d.ts +3 -3
  414. package/scheduler/lib/scheduler-month-view.component.d.ts +1 -1
  415. package/scheduler/lib/scheduler-week-view.component.d.ts +1 -1
  416. package/scheduler/lib/scheduler.component.d.ts +1 -1
  417. package/scheduler/lib/scheduler.module.d.ts +9 -9
  418. package/search-box/lib/search-box.component.d.ts +2 -1
  419. package/search-box/lib/search-box.module.d.ts +9 -9
  420. package/select-box/lib/select-box.component.d.ts +12 -4
  421. package/select-box/lib/select-box.module.d.ts +15 -15
  422. package/selection-list/lib/selection-list.component.d.ts +1 -1
  423. package/selection-list/lib/selection-list.module.d.ts +8 -8
  424. package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +1 -1
  425. package/side-menu/lib/side-menu.component.d.ts +1 -1
  426. package/side-menu/lib/side-menu.directive.d.ts +1 -1
  427. package/side-menu/lib/side-menu.module.d.ts +10 -10
  428. package/skeleton/lib/skeleton.component.d.ts +1 -1
  429. package/skeleton/lib/skeleton.module.d.ts +3 -3
  430. package/slider/lib/slider.component.d.ts +1 -1
  431. package/slider/lib/slider.module.d.ts +5 -5
  432. package/sliding-item/lib/sliding-item/sliding-item.component.d.ts +1 -1
  433. package/sliding-item/lib/sliding-item-prefix/sliding-item-prefix.component.d.ts +1 -1
  434. package/sliding-item/lib/sliding-item-suffix/sliding-item-suffix.component.d.ts +1 -1
  435. package/sliding-item/lib/sliding-item.module.d.ts +6 -6
  436. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +1 -1
  437. package/step-wizard/lib/step-wizard.component.d.ts +1 -1
  438. package/step-wizard/lib/step-wizard.directive.d.ts +1 -1
  439. package/step-wizard/lib/step-wizard.module.d.ts +8 -8
  440. package/switch/lib/switch-content.component.d.ts +1 -1
  441. package/switch/lib/switch.component.d.ts +1 -1
  442. package/switch/lib/switch.module.d.ts +5 -5
  443. package/tabs/lib/tab-content.directive.d.ts +1 -1
  444. package/tabs/lib/tab-item.component.d.ts +1 -1
  445. package/tabs/lib/tabs.component.d.ts +1 -1
  446. package/tabs/lib/tabs.module.d.ts +7 -7
  447. package/tag/lib/tag.component.d.ts +1 -1
  448. package/tag/lib/tag.module.d.ts +3 -3
  449. package/text-area/lib/text-area.component.d.ts +1 -1
  450. package/text-area/lib/text-area.module.d.ts +4 -4
  451. package/text-box/lib/mask-options.directive.d.ts +1 -1
  452. package/text-box/lib/text-box.component.d.ts +1 -1
  453. package/text-box/lib/text-box.module.d.ts +8 -8
  454. package/time-line/lib/time-line-item.component.d.ts +1 -1
  455. package/time-line/lib/time-line.component.d.ts +1 -1
  456. package/time-line/lib/time-line.module.d.ts +4 -4
  457. package/toast/lib/toast.component.d.ts +1 -1
  458. package/toast/lib/toast.module.d.ts +8 -8
  459. package/toast/lib/toast.service.d.ts +1 -0
  460. package/toolbar/lib/toolbar.component.d.ts +1 -1
  461. package/toolbar/lib/toolbar.module.d.ts +3 -3
  462. package/tooltip/lib/tooltip.component.d.ts +1 -1
  463. package/tooltip/lib/tooltip.directive.d.ts +3 -2
  464. package/tooltip/lib/tooltip.module.d.ts +5 -5
  465. package/tree-view/lib/tree-view-item.component.d.ts +3 -2
  466. package/tree-view/lib/tree-view.class.d.ts +2 -0
  467. package/tree-view/lib/tree-view.component.d.ts +9 -8
  468. package/tree-view/lib/tree-view.component.module.d.ts +11 -11
  469. package/uploader/lib/uploader-browse-handle.directive.d.ts +1 -1
  470. package/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.d.ts +1 -1
  471. package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
  472. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -1
  473. package/uploader/lib/uploader-zone.directive.d.ts +1 -1
  474. package/uploader/lib/uploader.models.d.ts +4 -2
  475. package/uploader/lib/uploader.module.d.ts +16 -16
  476. package/video-player/lib/video-player/video-player.component.d.ts +1 -1
  477. package/video-player/lib/video-player.module.d.ts +1 -1
  478. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
  479. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +1 -1
  480. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +1 -1
  481. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +1 -1
  482. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +1 -1
  483. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +1 -1
  484. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +1 -1
  485. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +1 -1
  486. package/wysiwyg/lib/wysiwyg.module.d.ts +16 -16
@@ -1,52 +1,142 @@
1
- import * as i3 from '@acorex/components/drawer';
2
- import { AXDrawerComponent, AXDrawerModule } from '@acorex/components/drawer';
3
1
  import * as i0 from '@angular/core';
4
- import { signal, Injectable, inject, viewChild, effect, ViewEncapsulation, Component, input, output, ChangeDetectionStrategy, afterNextRender, NgModule } from '@angular/core';
5
- import * as i1 from '@acorex/components/decorators';
6
- import { AXDecoratorModule } from '@acorex/components/decorators';
7
- import * as i2 from '@angular/common';
8
- import { CommonModule } from '@angular/common';
2
+ import { signal, Injectable, inject, ViewEncapsulation, Component, ChangeDetectionStrategy, input, output, viewChild, effect, afterNextRender, NgModule } from '@angular/core';
3
+ import { AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
4
+ import { AXButtonComponent, AXButtonModule } from '@acorex/components/button';
5
+ import { AXDecoratorGenericComponent, AXDecoratorIconComponent, AXDecoratorModule } from '@acorex/components/decorators';
6
+ import { AXMenuComponent, AXMenuItemComponent, AXContextMenuComponent, AXMenuModule } from '@acorex/components/menu';
7
+ import { AXToolBarComponent, AXToolBarModule } from '@acorex/components/toolbar';
8
+ import { NgIf, NgClass, NgStyle, CommonModule } from '@angular/common';
9
9
  import { MXBaseComponent } from '@acorex/components/common';
10
- import * as i6 from '@acorex/components/menu';
11
- import { AXContextMenuComponent, AXMenuModule } from '@acorex/components/menu';
12
- import * as i2$1 from '@acorex/components/button';
13
- import { AXButtonModule } from '@acorex/components/button';
14
- import * as i3$1 from '@acorex/components/breadcrumbs';
15
- import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
16
- import * as i5 from '@acorex/components/toolbar';
17
- import { AXToolBarModule } from '@acorex/components/toolbar';
10
+ import { AXDrawerComponent, AXDrawerContainerComponent, AXDrawerModule } from '@acorex/components/drawer';
11
+ import { AXTreeViewComponent, AXTreeViewModule } from '@acorex/components/tree-view';
18
12
 
19
- class AXFileExplorerService {
13
+ class AXFileExplorerInternalService {
20
14
  constructor() {
15
+ this.viewMode = signal('ax-large-icon');
21
16
  this.treeViewState = signal(false);
17
+ this.allData = signal([]);
18
+ this.showData = signal([]);
19
+ this.breadcrumbsData = signal(['root']);
20
+ this.activeFolderId = signal(null);
21
+ this.dataCallBack = signal(null);
22
+ this.treeViewInstant = signal(null);
23
+ this.clickedItems = new Set();
24
+ }
25
+ findItemInNestedArray(array, predicate) {
26
+ for (const item of array) {
27
+ if (predicate(item)) {
28
+ return item;
29
+ }
30
+ if (item.children) {
31
+ const found = this.findItemInNestedArray(item.children, predicate);
32
+ if (found)
33
+ return found;
34
+ }
35
+ }
36
+ return null;
22
37
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerService }); }
38
+ async dbClickHandler(item, isTreeViewClicked = true) {
39
+ if (item.extension)
40
+ return;
41
+ if (!item?.id)
42
+ return;
43
+ if (isTreeViewClicked) {
44
+ this.treeViewInstant().executeOnTreeNode(item, 'active', true);
45
+ this.treeViewInstant().executeOnTreeNode(item, 'expand', true);
46
+ }
47
+ this.activeFolderId.set(item.id);
48
+ const clickedItem = this.findItemInNestedArray(this.allData(), (e) => e.id === item.id);
49
+ this.breadcrumbsData.update((prev) => [...prev, clickedItem.text]);
50
+ let canPass = true;
51
+ this.clickedItems.forEach((e) => {
52
+ if (e === item.id)
53
+ canPass = false;
54
+ });
55
+ this.clickedItems.add(item.id);
56
+ if (!canPass)
57
+ return;
58
+ const newChild = await this.dataCallBack()(item.id);
59
+ this.allData.update((prev) => {
60
+ const copy = [...prev];
61
+ const find = this.findItemInNestedArray(copy, (e) => e.id === item.id);
62
+ find.children = newChild;
63
+ return copy;
64
+ });
65
+ }
66
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerInternalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
67
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerInternalService }); }
68
+ }
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerInternalService, decorators: [{
70
+ type: Injectable
71
+ }] });
72
+
73
+ class AXFileExplorerService {
74
+ constructor() {
75
+ this.internalService = inject(AXFileExplorerInternalService);
76
+ }
77
+ backButtonHandler() {
78
+ this.internalService.breadcrumbsData.update((prev) => {
79
+ const copy = [...prev];
80
+ if (copy.length !== 1)
81
+ copy.pop();
82
+ return copy;
83
+ });
84
+ const parentId = this.internalService.showData()[0].parentId;
85
+ const parent = this.internalService.findItemInNestedArray(this.internalService.allData(), (item) => item.id === parentId);
86
+ if (parent?.parentId) {
87
+ this.internalService.activeFolderId.set(parent.parentId);
88
+ }
89
+ else {
90
+ this.internalService.activeFolderId.set(null);
91
+ }
92
+ this.internalService.treeViewInstant().executeOnTreeNode(parent, 'active', false);
93
+ }
94
+ menuToggleHandler() {
95
+ this.internalService.treeViewState.update((prev) => !prev);
96
+ }
97
+ changeViewHandler(v) {
98
+ this.internalService.viewMode.set(v);
99
+ }
100
+ async sortItemHandler(sort) {
101
+ await this.internalService.dataCallBack()(this.internalService.activeFolderId(), sort);
102
+ }
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
104
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerService }); }
25
105
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerService, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerService, decorators: [{
27
107
  type: Injectable
28
108
  }] });
29
109
 
30
110
  class AXFileExplorerContainerComponent {
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
112
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: AXFileExplorerContainerComponent, isStandalone: true, selector: "ax-file-explorer-container", providers: [AXFileExplorerService, AXFileExplorerInternalService], ngImport: i0, template: "<ng-content select=\"ax-file-explorer-tree\"></ng-content>\n<ng-content select=\"ax-file-explorer-view\"></ng-content>\n", styles: ["ax-file-explorer-container{display:flex;min-width:30vw;max-height:40vh;overflow:hidden;border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius)}\n"], encapsulation: i0.ViewEncapsulation.None }); }
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerContainerComponent, decorators: [{
115
+ type: Component,
116
+ args: [{ selector: 'ax-file-explorer-container', encapsulation: ViewEncapsulation.None, providers: [AXFileExplorerService, AXFileExplorerInternalService], template: "<ng-content select=\"ax-file-explorer-tree\"></ng-content>\n<ng-content select=\"ax-file-explorer-view\"></ng-content>\n", styles: ["ax-file-explorer-container{display:flex;min-width:30vw;max-height:40vh;overflow:hidden;border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius)}\n"] }]
117
+ }] });
118
+
119
+ class AXFileExplorerHeaderComponent {
31
120
  constructor() {
32
121
  this.service = inject(AXFileExplorerService);
33
- this.drawer = viewChild(AXDrawerComponent);
34
- this.#effect = effect(() => {
35
- if (this.service.treeViewState()) {
36
- this.drawer().open();
37
- }
38
- else {
39
- this.drawer().close();
40
- }
41
- });
122
+ this.internalService = inject(AXFileExplorerInternalService);
42
123
  }
43
- #effect;
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
45
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXFileExplorerContainerComponent, isStandalone: false, selector: "ax-file-explorer-container", providers: [AXFileExplorerService], viewQueries: [{ propertyName: "drawer", first: true, predicate: AXDrawerComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container [ngStyle]=\"this.service.treeViewState() ? { width: 'fit-content' } : { width: 0 }\">\n <ax-drawer location=\"start\" mode=\"push\">\n <ax-content>\n <ng-content select=\"ax-tree-view\"></ng-content>\n </ax-content>\n </ax-drawer>\n</ax-drawer-container>\n\n<ax-divider></ax-divider>\n\n<ng-content select=\"ax-file-explorer-view\"></ng-content>\n", styles: ["ax-file-explorer-container{display:flex;min-width:30vw;max-height:40vh;overflow:hidden;border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius)}ax-file-explorer-container ax-divider{display:block;width:1px}ax-file-explorer-container ax-drawer-container{height:auto}ax-file-explorer-container ax-drawer-container ax-drawer ax-content{padding:.5rem;overflow-x:hidden}ax-file-explorer-container ax-drawer-container ax-drawer ax-text{white-space:nowrap;padding-inline-end:1rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "closeOthers", "collapsed"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: i3.AXDrawerContainerComponent, selector: "ax-drawer-container" }], encapsulation: i0.ViewEncapsulation.None }); }
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
125
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: AXFileExplorerHeaderComponent, isStandalone: true, selector: "ax-file-explorer-header", ngImport: i0, template: "<ax-toolbar>\n <ax-prefix>\n <ax-button (onClick)=\"service.menuToggleHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-menu\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-button (onClick)=\"service.backButtonHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-up-folder\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-breadcrumbs>\n <ng-template *ngIf=\"false\" #divider> '|' </ng-template>\n @for (item of internalService.breadcrumbsData(); track item; let idx = $last) {\n <ax-breadcrumbs-item [active]=\"idx\">\n <ax-text>{{ item }}</ax-text>\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </ax-prefix>\n\n <ax-suffix>\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-text>View</ax-text>\n\n <ax-menu-item (onClick)=\"service.changeViewHandler('ax-large-icon')\">\n <ax-text>Large</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"service.changeViewHandler('ax-small-icon')\">\n <ax-text>Small</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"service.changeViewHandler('ax-list-icon')\">\n <ax-text>List</ax-text>\n </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n\n <ax-divider></ax-divider>\n\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-prefix>\n <ax-icon class=\"ax-icon ax-icon-sort\"></ax-icon>\n </ax-prefix>\n <ax-menu-item (onClick)=\"service.sortItemHandler('name')\"> <ax-text>Name</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"service.sortItemHandler('date')\"> <ax-text>Date</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"service.sortItemHandler('type')\"> <ax-text>Type</ax-text> </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n </ax-suffix>\n</ax-toolbar>\n", styles: ["ax-file-explorer-header ax-toolbar{border-bottom:1px solid rgb(var(--ax-sys-color-border-lightest-surface));width:100%;justify-content:space-between}ax-file-explorer-header ax-toolbar ax-menu.ax-action-list-horizontal{min-width:fit-content}ax-file-explorer-header ax-toolbar ax-prefix{flex-wrap:nowrap}ax-file-explorer-header ax-toolbar .ax-start-toolbar-divider{display:none}\n"], dependencies: [{ kind: "component", type: AXToolBarComponent, selector: "ax-toolbar" }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: ["disabled", "active"] }, { kind: "component", type: AXMenuComponent, selector: "ax-menu", inputs: ["orientation", "openOn", "closeOn", "items", "hasArrow"], outputs: ["onItemClick"] }, { kind: "component", type: AXMenuItemComponent, selector: "ax-menu-item", inputs: ["name", "data", "disabled", "color"], outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
46
126
  }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerContainerComponent, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerHeaderComponent, decorators: [{
48
128
  type: Component,
49
- args: [{ selector: 'ax-file-explorer-container', standalone: false, encapsulation: ViewEncapsulation.None, providers: [AXFileExplorerService], template: "<ax-drawer-container [ngStyle]=\"this.service.treeViewState() ? { width: 'fit-content' } : { width: 0 }\">\n <ax-drawer location=\"start\" mode=\"push\">\n <ax-content>\n <ng-content select=\"ax-tree-view\"></ng-content>\n </ax-content>\n </ax-drawer>\n</ax-drawer-container>\n\n<ax-divider></ax-divider>\n\n<ng-content select=\"ax-file-explorer-view\"></ng-content>\n", styles: ["ax-file-explorer-container{display:flex;min-width:30vw;max-height:40vh;overflow:hidden;border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius)}ax-file-explorer-container ax-divider{display:block;width:1px}ax-file-explorer-container ax-drawer-container{height:auto}ax-file-explorer-container ax-drawer-container ax-drawer ax-content{padding:.5rem;overflow-x:hidden}ax-file-explorer-container ax-drawer-container ax-drawer ax-text{white-space:nowrap;padding-inline-end:1rem}\n"] }]
129
+ args: [{ selector: 'ax-file-explorer-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
130
+ AXToolBarComponent,
131
+ AXDecoratorGenericComponent,
132
+ AXButtonComponent,
133
+ AXDecoratorIconComponent,
134
+ AXBreadCrumbsComponent,
135
+ NgIf,
136
+ AXBreadCrumbsItemComponent,
137
+ AXMenuComponent,
138
+ AXMenuItemComponent,
139
+ ], template: "<ax-toolbar>\n <ax-prefix>\n <ax-button (onClick)=\"service.menuToggleHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-menu\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-button (onClick)=\"service.backButtonHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-up-folder\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-breadcrumbs>\n <ng-template *ngIf=\"false\" #divider> '|' </ng-template>\n @for (item of internalService.breadcrumbsData(); track item; let idx = $last) {\n <ax-breadcrumbs-item [active]=\"idx\">\n <ax-text>{{ item }}</ax-text>\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </ax-prefix>\n\n <ax-suffix>\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-text>View</ax-text>\n\n <ax-menu-item (onClick)=\"service.changeViewHandler('ax-large-icon')\">\n <ax-text>Large</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"service.changeViewHandler('ax-small-icon')\">\n <ax-text>Small</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"service.changeViewHandler('ax-list-icon')\">\n <ax-text>List</ax-text>\n </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n\n <ax-divider></ax-divider>\n\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-prefix>\n <ax-icon class=\"ax-icon ax-icon-sort\"></ax-icon>\n </ax-prefix>\n <ax-menu-item (onClick)=\"service.sortItemHandler('name')\"> <ax-text>Name</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"service.sortItemHandler('date')\"> <ax-text>Date</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"service.sortItemHandler('type')\"> <ax-text>Type</ax-text> </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n </ax-suffix>\n</ax-toolbar>\n", styles: ["ax-file-explorer-header ax-toolbar{border-bottom:1px solid rgb(var(--ax-sys-color-border-lightest-surface));width:100%;justify-content:space-between}ax-file-explorer-header ax-toolbar ax-menu.ax-action-list-horizontal{min-width:fit-content}ax-file-explorer-header ax-toolbar ax-prefix{flex-wrap:nowrap}ax-file-explorer-header ax-toolbar .ax-start-toolbar-divider{display:none}\n"] }]
50
140
  }] });
51
141
 
52
142
  class AXFileExplorerItemComponent extends MXBaseComponent {
@@ -59,99 +149,71 @@ class AXFileExplorerItemComponent extends MXBaseComponent {
59
149
  dbClickHandler() {
60
150
  this.dbClick.emit();
61
151
  }
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
63
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXFileExplorerItemComponent, isStandalone: false, selector: "ax-file-explorer-item", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dbClick: "dbClick" }, usesInheritance: true, ngImport: i0, template: "@if (viewMode() === 'ax-list-icon') {\n <div class=\"ax-list-icon\" (dblclick)=\"dbClickHandler()\">\n <div class=\"ax-thumb-file\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n\n @if (data().extension) {\n <ax-text>\n {{ data().size }}\n </ax-text>\n }\n\n <ax-text>\n {{ data().description }}\n </ax-text>\n\n <ax-text>\n {{ data().lastModify }}\n </ax-text>\n </div>\n} @else {\n <div [ngClass]=\"viewMode()\" (dblclick)=\"dbClickHandler()\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n}\n", styles: ["ax-file-explorer-item{-webkit-user-select:none;user-select:none;cursor:pointer}ax-file-explorer-item .ax-large-icon,ax-file-explorer-item .ax-small-icon{display:flex;flex-direction:column;justify-content:center;align-items:center}ax-file-explorer-item .ax-small-icon ax-icon{font-size:.9rem}ax-file-explorer-item .ax-small-icon ax-text{font-size:.7rem}ax-file-explorer-item .ax-large-icon ax-icon{font-size:3rem}ax-file-explorer-item .ax-large-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.1rem;align-items:center;padding:.3rem;border-bottom:1px solid rgb(var(--ax-color-input-border));margin-bottom:.5rem}ax-file-explorer-item .ax-list-icon ax-icon{font-size:1.2rem;margin-inline-end:.5rem}ax-file-explorer-item .ax-list-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon .ax-thumb-file{display:flex}ax-file-explorer-item .ax-list-icon .ax-thumb-file ax-text{max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ax-file-explorer-item .ax-list-icon>ax-text{color:rgb(var(--ax-color-neutral-500));max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;justify-content:center}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
152
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
153
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: AXFileExplorerItemComponent, isStandalone: true, selector: "ax-file-explorer-item", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dbClick: "dbClick" }, usesInheritance: true, ngImport: i0, template: "@if (viewMode() === 'ax-list-icon') {\n <div class=\"ax-list-icon\" (dblclick)=\"dbClickHandler()\">\n <div class=\"ax-thumb-file\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n\n @if (data().extension) {\n <ax-text>\n {{ data().size }}\n </ax-text>\n }\n\n <ax-text>\n {{ data().description }}\n </ax-text>\n\n <ax-text>\n {{ data().lastModify }}\n </ax-text>\n </div>\n} @else {\n <div [ngClass]=\"viewMode()\" (dblclick)=\"dbClickHandler()\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n}\n", styles: ["ax-file-explorer-item{-webkit-user-select:none;user-select:none;cursor:pointer}ax-file-explorer-item .ax-large-icon,ax-file-explorer-item .ax-small-icon{display:flex;flex-direction:column;justify-content:center;align-items:center}ax-file-explorer-item .ax-small-icon ax-icon{font-size:.9rem}ax-file-explorer-item .ax-small-icon ax-text{font-size:.7rem}ax-file-explorer-item .ax-large-icon ax-icon{font-size:3rem}ax-file-explorer-item .ax-large-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.1rem;align-items:center;padding:.3rem;border-bottom:1px solid rgb(var(--ax-color-input-border));margin-bottom:.5rem}ax-file-explorer-item .ax-list-icon ax-icon{font-size:1.2rem;margin-inline-end:.5rem}ax-file-explorer-item .ax-list-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon .ax-thumb-file{display:flex}ax-file-explorer-item .ax-list-icon .ax-thumb-file ax-text{max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ax-file-explorer-item .ax-list-icon>ax-text{color:rgb(var(--ax-color-neutral-500));max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;justify-content:center}\n"], dependencies: [{ kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
154
+ }
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerItemComponent, decorators: [{
156
+ type: Component,
157
+ args: [{ selector: 'ax-file-explorer-item', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXDecoratorIconComponent, AXDecoratorGenericComponent, NgClass], template: "@if (viewMode() === 'ax-list-icon') {\n <div class=\"ax-list-icon\" (dblclick)=\"dbClickHandler()\">\n <div class=\"ax-thumb-file\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n\n @if (data().extension) {\n <ax-text>\n {{ data().size }}\n </ax-text>\n }\n\n <ax-text>\n {{ data().description }}\n </ax-text>\n\n <ax-text>\n {{ data().lastModify }}\n </ax-text>\n </div>\n} @else {\n <div [ngClass]=\"viewMode()\" (dblclick)=\"dbClickHandler()\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n}\n", styles: ["ax-file-explorer-item{-webkit-user-select:none;user-select:none;cursor:pointer}ax-file-explorer-item .ax-large-icon,ax-file-explorer-item .ax-small-icon{display:flex;flex-direction:column;justify-content:center;align-items:center}ax-file-explorer-item .ax-small-icon ax-icon{font-size:.9rem}ax-file-explorer-item .ax-small-icon ax-text{font-size:.7rem}ax-file-explorer-item .ax-large-icon ax-icon{font-size:3rem}ax-file-explorer-item .ax-large-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.1rem;align-items:center;padding:.3rem;border-bottom:1px solid rgb(var(--ax-color-input-border));margin-bottom:.5rem}ax-file-explorer-item .ax-list-icon ax-icon{font-size:1.2rem;margin-inline-end:.5rem}ax-file-explorer-item .ax-list-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon .ax-thumb-file{display:flex}ax-file-explorer-item .ax-list-icon .ax-thumb-file ax-text{max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ax-file-explorer-item .ax-list-icon>ax-text{color:rgb(var(--ax-color-neutral-500));max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;justify-content:center}\n"] }]
158
+ }] });
159
+
160
+ class AXFileExplorerTreeComponent {
161
+ constructor() {
162
+ this.internalService = inject(AXFileExplorerInternalService);
163
+ this.drawer = viewChild(AXDrawerComponent);
164
+ this.treeView = viewChild(AXTreeViewComponent);
165
+ this.#effect = effect(() => {
166
+ if (this.internalService.treeViewState()) {
167
+ this.drawer().open();
168
+ }
169
+ else {
170
+ this.drawer().close();
171
+ }
172
+ });
173
+ this.#init = afterNextRender(() => {
174
+ this.internalService.treeViewInstant.set(this.treeView());
175
+ });
176
+ }
177
+ #effect;
178
+ #init;
179
+ openFolderOnViewHandler(e) {
180
+ this.internalService.dbClickHandler(e.data, false);
181
+ }
182
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
183
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.1.8", type: AXFileExplorerTreeComponent, isStandalone: true, selector: "ax-file-explorer-tree", viewQueries: [{ propertyName: "drawer", first: true, predicate: AXDrawerComponent, descendants: true, isSignal: true }, { propertyName: "treeView", first: true, predicate: AXTreeViewComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container\n [ngClass]=\"this.internalService.treeViewState() && 'ax-file-explore-drawer-border'\"\n [ngStyle]=\"this.internalService.treeViewState() ? { width: 'fit-content' } : { width: 0 }\"\n>\n <ax-drawer location=\"start\" mode=\"push\">\n <ax-content>\n <ax-tree-view\n (onCollapsedChanged)=\"openFolderOnViewHandler($event)\"\n [showCheckbox]=\"false\"\n hasChildField=\"hasChild\"\n [items]=\"internalService.dataCallBack()\"\n ></ax-tree-view>\n </ax-content>\n </ax-drawer>\n</ax-drawer-container>\n", styles: ["ax-file-explorer-tree .ax-file-explore-drawer-border{border-inline-end:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}ax-file-explorer-tree ax-drawer-container{height:auto}ax-file-explorer-tree ax-drawer-container ax-drawer ax-content{padding:.5rem;overflow-x:hidden}ax-file-explorer-tree ax-drawer-container ax-drawer ax-text{white-space:nowrap;padding-inline-end:1rem}\n"], dependencies: [{ kind: "component", type: AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "closeOthers", "collapsed"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXTreeViewComponent, selector: "ax-tree-view", inputs: ["items", "showCheckbox", "selectionMode", "selectionBehavior", "focusNodeEnabled", "valueField", "textField", "visibleField", "disableField", "hasChildField", "iconField", "expandBehavior"], outputs: ["onSelectionChanged", "onNodeClick", "onCollapsedChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
64
184
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerItemComponent, decorators: [{
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerTreeComponent, decorators: [{
66
186
  type: Component,
67
- args: [{ selector: 'ax-file-explorer-item', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (viewMode() === 'ax-list-icon') {\n <div class=\"ax-list-icon\" (dblclick)=\"dbClickHandler()\">\n <div class=\"ax-thumb-file\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n\n @if (data().extension) {\n <ax-text>\n {{ data().size }}\n </ax-text>\n }\n\n <ax-text>\n {{ data().description }}\n </ax-text>\n\n <ax-text>\n {{ data().lastModify }}\n </ax-text>\n </div>\n} @else {\n <div [ngClass]=\"viewMode()\" (dblclick)=\"dbClickHandler()\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n}\n", styles: ["ax-file-explorer-item{-webkit-user-select:none;user-select:none;cursor:pointer}ax-file-explorer-item .ax-large-icon,ax-file-explorer-item .ax-small-icon{display:flex;flex-direction:column;justify-content:center;align-items:center}ax-file-explorer-item .ax-small-icon ax-icon{font-size:.9rem}ax-file-explorer-item .ax-small-icon ax-text{font-size:.7rem}ax-file-explorer-item .ax-large-icon ax-icon{font-size:3rem}ax-file-explorer-item .ax-large-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.1rem;align-items:center;padding:.3rem;border-bottom:1px solid rgb(var(--ax-color-input-border));margin-bottom:.5rem}ax-file-explorer-item .ax-list-icon ax-icon{font-size:1.2rem;margin-inline-end:.5rem}ax-file-explorer-item .ax-list-icon ax-text{font-size:.8rem}ax-file-explorer-item .ax-list-icon .ax-thumb-file{display:flex}ax-file-explorer-item .ax-list-icon .ax-thumb-file ax-text{max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ax-file-explorer-item .ax-list-icon>ax-text{color:rgb(var(--ax-color-neutral-500));max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;justify-content:center}\n"] }]
187
+ args: [{ selector: 'ax-file-explorer-tree', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXDrawerContainerComponent, NgClass, NgStyle, AXDrawerComponent, AXDecoratorGenericComponent, AXTreeViewComponent], template: "<ax-drawer-container\n [ngClass]=\"this.internalService.treeViewState() && 'ax-file-explore-drawer-border'\"\n [ngStyle]=\"this.internalService.treeViewState() ? { width: 'fit-content' } : { width: 0 }\"\n>\n <ax-drawer location=\"start\" mode=\"push\">\n <ax-content>\n <ax-tree-view\n (onCollapsedChanged)=\"openFolderOnViewHandler($event)\"\n [showCheckbox]=\"false\"\n hasChildField=\"hasChild\"\n [items]=\"internalService.dataCallBack()\"\n ></ax-tree-view>\n </ax-content>\n </ax-drawer>\n</ax-drawer-container>\n", styles: ["ax-file-explorer-tree .ax-file-explore-drawer-border{border-inline-end:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}ax-file-explorer-tree ax-drawer-container{height:auto}ax-file-explorer-tree ax-drawer-container ax-drawer ax-content{padding:.5rem;overflow-x:hidden}ax-file-explorer-tree ax-drawer-container ax-drawer ax-text{white-space:nowrap;padding-inline-end:1rem}\n"] }]
68
188
  }] });
69
189
 
70
190
  class AXFileExplorerViewComponent {
71
191
  constructor() {
72
- this.dataCallBack = input();
73
- this.allData = signal([]);
74
- this.showData = signal([]);
75
- this.activeFolderId = signal(null);
76
- this.clickedItems = new Set();
77
- this.breadcrumbsData = signal(['root']);
192
+ this.dataCallBack = input.required();
78
193
  this.contextMenu = viewChild(AXContextMenuComponent);
79
- this.viewMode = signal('ax-large-icon');
80
- this.service = inject(AXFileExplorerService);
81
- this.#effect = afterNextRender(() => {
194
+ this.internalService = inject(AXFileExplorerInternalService);
195
+ this.#init = effect(() => {
82
196
  this.setInitialAllData();
197
+ this.internalService.dataCallBack.set(this.dataCallBack());
83
198
  });
84
199
  this.#effect2 = effect(() => {
85
- if (this.activeFolderId()) {
86
- const result = this.findItemInNestedArray(this.allData(), (item) => item.id === this.activeFolderId());
87
- this.showData.set(result.childrens);
200
+ if (this.internalService.activeFolderId()) {
201
+ const result = this.internalService.findItemInNestedArray(this.internalService.allData(), (item) => item.id === this.internalService.activeFolderId());
202
+ this.internalService.showData.set(result.children);
88
203
  }
89
204
  else {
90
- this.showData.set(this.allData());
205
+ this.internalService.showData.set(this.internalService.allData());
91
206
  }
92
207
  setTimeout(() => {
93
208
  this.contextMenu().refresh();
94
209
  });
95
210
  });
96
211
  }
97
- #effect;
212
+ #init;
98
213
  #effect2;
99
214
  async setInitialAllData() {
100
215
  const rootData = await this.dataCallBack()();
101
- this.allData.set(rootData);
102
- }
103
- async dbclickHandler(item) {
104
- if (item.extension)
105
- return;
106
- if (!item?.id)
107
- return;
108
- this.activeFolderId.set(item.id);
109
- const clickedItem = this.findItemInNestedArray(this.allData(), (e) => e.id === item.id);
110
- this.breadcrumbsData.update((prev) => [...prev, clickedItem.text]);
111
- let canPass = true;
112
- this.clickedItems.forEach((e) => {
113
- if (e === item.id)
114
- canPass = false;
115
- });
116
- this.clickedItems.add(item.id);
117
- if (!canPass)
118
- return;
119
- const newChild = await this.dataCallBack()(item.id);
120
- this.allData.update((prev) => {
121
- const copy = [...prev];
122
- const find = this.findItemInNestedArray(copy, (e) => e.id === item.id);
123
- find.childrens = newChild;
124
- return copy;
125
- });
126
- }
127
- findItemInNestedArray(array, predicate) {
128
- for (const item of array) {
129
- if (predicate(item)) {
130
- return item;
131
- }
132
- if (item.childrens) {
133
- const found = this.findItemInNestedArray(item.childrens, predicate);
134
- if (found)
135
- return found;
136
- }
137
- }
138
- return null;
139
- }
140
- backButtonHandler() {
141
- this.breadcrumbsData.update((prev) => {
142
- const copy = [...prev];
143
- if (copy.length !== 1)
144
- copy.pop();
145
- return copy;
146
- });
147
- const parentId = this.showData()[0].parentId;
148
- const parent = this.findItemInNestedArray(this.allData(), (item) => item.id === parentId);
149
- if (parent?.parentId) {
150
- this.activeFolderId.set(parent.parentId);
151
- }
152
- else {
153
- this.activeFolderId.set(null);
154
- }
216
+ this.internalService.allData.set(rootData);
155
217
  }
156
218
  handleContextMenuOpening(e) {
157
219
  const target = e.targetElement['__axContext__'];
@@ -164,59 +226,44 @@ class AXFileExplorerViewComponent {
164
226
  // }
165
227
  }
166
228
  handleContextMenuItemClick(e) {
167
- this.dbclickHandler(e.item.data.data());
229
+ this.internalService.dbClickHandler(e.item.data.data());
168
230
  }
169
- changeViewHandler(v) {
170
- this.viewMode.set(v);
171
- }
172
- async sortItemHandler(sort) {
173
- const newChild = await this.dataCallBack()(this.activeFolderId(), sort);
174
- }
175
- menuToggleHandler() {
176
- this.service.treeViewState.update((prev) => !prev);
177
- }
178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
179
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXFileExplorerViewComponent, isStandalone: false, selector: "ax-file-explorer-view", inputs: { dataCallBack: { classPropertyName: "dataCallBack", publicName: "dataCallBack", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: AXContextMenuComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-toolbar>\n <ax-prefix>\n <ax-button (onClick)=\"menuToggleHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-menu\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-button (onClick)=\"backButtonHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-up-folder\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-breadcrumbs>\n <ng-template *ngIf=\"false\" #divider> '|' </ng-template>\n @for (item of breadcrumbsData(); track item; let idx = $last) {\n <ax-breadcrumbs-item [active]=\"idx\">\n <p>{{ item }}</p>\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </ax-prefix>\n\n <ax-suffix>\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-text>View</ax-text>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-large-icon')\">\n <ax-text>Large</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-small-icon')\">\n <ax-text>Small</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-list-icon')\">\n <ax-text>List</ax-text>\n </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n\n <ax-divider></ax-divider>\n\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-prefix>\n <ax-icon class=\"ax-icon ax-icon-sort\"></ax-icon>\n </ax-prefix>\n <ax-menu-item (onClick)=\"sortItemHandler('name')\"> <ax-text>Name</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"sortItemHandler('date')\"> <ax-text>Date</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"sortItemHandler('type')\"> <ax-text>Type</ax-text> </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n </ax-suffix>\n</ax-toolbar>\n\n<div [ngClass]=\"viewMode()\" class=\"ax-file-container\">\n @for (item of showData(); track item.id) {\n <ax-file-explorer-item id=\"ax-file-explore-item-ref\" (dbClick)=\"dbclickHandler(item)\" [data]=\"item\" [viewMode]=\"viewMode()\"></ax-file-explorer-item>\n }\n</div>\n<ax-context-menu\n target=\"#ax-file-explore-item-ref\"\n orientation=\"vertical\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n", styles: ["ax-file-explorer-view{flex-grow:1}ax-file-explorer-view .ax-file-container.ax-large-icon,ax-file-explorer-view .ax-file-container.ax-small-icon{display:flex;flex-wrap:wrap;padding:.5rem;overflow:auto;gap:.6rem}ax-file-explorer-view .ax-file-container.ax-list-icon{overflow:auto;height:100%;padding:.5rem}ax-file-explorer-view ax-toolbar{border-bottom:1px solid rgb(var(--ax-sys-color-border-lightest-surface));width:100%;justify-content:space-between}ax-file-explorer-view ax-toolbar ax-menu.ax-action-list-horizontal{min-width:fit-content}ax-file-explorer-view ax-toolbar ax-prefix{flex-wrap:nowrap}ax-file-explorer-view ax-toolbar .ax-start-toolbar-divider{display:none}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3$1.AXBreadCrumbsComponent, selector: "ax-breadcrumbs" }, { kind: "component", type: i3$1.AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: ["disabled", "active"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.AXToolBarComponent, selector: "ax-toolbar" }, { kind: "component", type: i6.AXMenuItemComponent, selector: "ax-menu-item", inputs: ["name", "data", "disabled", "color"], outputs: ["onClick"] }, { kind: "component", type: i6.AXMenuComponent, selector: "ax-menu", inputs: ["orientation", "openOn", "closeOn", "items", "hasArrow"], outputs: ["onItemClick"] }, { kind: "component", type: i6.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "component", type: AXFileExplorerItemComponent, selector: "ax-file-explorer-item", inputs: ["data", "viewMode"], outputs: ["dbClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
232
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: AXFileExplorerViewComponent, isStandalone: true, selector: "ax-file-explorer-view", inputs: { dataCallBack: { classPropertyName: "dataCallBack", publicName: "dataCallBack", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: AXContextMenuComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ng-content select=\"ax-file-explorer-header\"></ng-content>\n\n<div [ngClass]=\"internalService.viewMode()\" class=\"ax-file-container\">\n @for (item of internalService.showData(); track item.id) {\n <ax-file-explorer-item\n id=\"ax-file-explore-item-ref\"\n (dbClick)=\"internalService.dbClickHandler(item)\"\n [data]=\"item\"\n [viewMode]=\"internalService.viewMode()\"\n ></ax-file-explorer-item>\n }\n</div>\n<ax-context-menu\n target=\"#ax-file-explore-item-ref\"\n orientation=\"vertical\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n", styles: ["ax-file-explorer-view{flex-grow:1;overflow:hidden}ax-file-explorer-view .ax-file-container.ax-large-icon,ax-file-explorer-view .ax-file-container.ax-small-icon{display:flex;flex-wrap:wrap;padding:.5rem;overflow:auto;gap:.6rem}ax-file-explorer-view .ax-file-container.ax-list-icon{overflow:auto;height:100%;padding:.5rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AXFileExplorerItemComponent, selector: "ax-file-explorer-item", inputs: ["data", "viewMode"], outputs: ["dbClick"] }, { kind: "component", type: AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
180
233
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerViewComponent, decorators: [{
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerViewComponent, decorators: [{
182
235
  type: Component,
183
- args: [{ selector: 'ax-file-explorer-view', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-toolbar>\n <ax-prefix>\n <ax-button (onClick)=\"menuToggleHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-menu\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-button (onClick)=\"backButtonHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-up-folder\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-breadcrumbs>\n <ng-template *ngIf=\"false\" #divider> '|' </ng-template>\n @for (item of breadcrumbsData(); track item; let idx = $last) {\n <ax-breadcrumbs-item [active]=\"idx\">\n <p>{{ item }}</p>\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </ax-prefix>\n\n <ax-suffix>\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-text>View</ax-text>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-large-icon')\">\n <ax-text>Large</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-small-icon')\">\n <ax-text>Small</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-list-icon')\">\n <ax-text>List</ax-text>\n </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n\n <ax-divider></ax-divider>\n\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-prefix>\n <ax-icon class=\"ax-icon ax-icon-sort\"></ax-icon>\n </ax-prefix>\n <ax-menu-item (onClick)=\"sortItemHandler('name')\"> <ax-text>Name</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"sortItemHandler('date')\"> <ax-text>Date</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"sortItemHandler('type')\"> <ax-text>Type</ax-text> </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n </ax-suffix>\n</ax-toolbar>\n\n<div [ngClass]=\"viewMode()\" class=\"ax-file-container\">\n @for (item of showData(); track item.id) {\n <ax-file-explorer-item id=\"ax-file-explore-item-ref\" (dbClick)=\"dbclickHandler(item)\" [data]=\"item\" [viewMode]=\"viewMode()\"></ax-file-explorer-item>\n }\n</div>\n<ax-context-menu\n target=\"#ax-file-explore-item-ref\"\n orientation=\"vertical\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n", styles: ["ax-file-explorer-view{flex-grow:1}ax-file-explorer-view .ax-file-container.ax-large-icon,ax-file-explorer-view .ax-file-container.ax-small-icon{display:flex;flex-wrap:wrap;padding:.5rem;overflow:auto;gap:.6rem}ax-file-explorer-view .ax-file-container.ax-list-icon{overflow:auto;height:100%;padding:.5rem}ax-file-explorer-view ax-toolbar{border-bottom:1px solid rgb(var(--ax-sys-color-border-lightest-surface));width:100%;justify-content:space-between}ax-file-explorer-view ax-toolbar ax-menu.ax-action-list-horizontal{min-width:fit-content}ax-file-explorer-view ax-toolbar ax-prefix{flex-wrap:nowrap}ax-file-explorer-view ax-toolbar .ax-start-toolbar-divider{display:none}\n"] }]
236
+ args: [{ selector: 'ax-file-explorer-view', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgClass, AXFileExplorerItemComponent, AXContextMenuComponent], template: "<ng-content select=\"ax-file-explorer-header\"></ng-content>\n\n<div [ngClass]=\"internalService.viewMode()\" class=\"ax-file-container\">\n @for (item of internalService.showData(); track item.id) {\n <ax-file-explorer-item\n id=\"ax-file-explore-item-ref\"\n (dbClick)=\"internalService.dbClickHandler(item)\"\n [data]=\"item\"\n [viewMode]=\"internalService.viewMode()\"\n ></ax-file-explorer-item>\n }\n</div>\n<ax-context-menu\n target=\"#ax-file-explore-item-ref\"\n orientation=\"vertical\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n", styles: ["ax-file-explorer-view{flex-grow:1;overflow:hidden}ax-file-explorer-view .ax-file-container.ax-large-icon,ax-file-explorer-view .ax-file-container.ax-small-icon{display:flex;flex-wrap:wrap;padding:.5rem;overflow:auto;gap:.6rem}ax-file-explorer-view .ax-file-container.ax-list-icon{overflow:auto;height:100%;padding:.5rem}\n"] }]
184
237
  }] });
185
238
 
186
239
  const COMPONENT = [
187
240
  AXFileExplorerContainerComponent,
188
241
  AXFileExplorerViewComponent,
189
242
  AXFileExplorerItemComponent,
243
+ AXFileExplorerHeaderComponent,
244
+ AXFileExplorerTreeComponent,
190
245
  ];
191
- const MODULES = [
192
- AXDecoratorModule,
193
- AXButtonModule,
194
- AXBreadcrumbsModule,
195
- CommonModule,
196
- AXToolBarModule,
197
- AXMenuModule,
198
- AXDrawerModule,
199
- ];
246
+ const MODULES = [AXDecoratorModule, AXButtonModule, AXBreadcrumbsModule, CommonModule, AXToolBarModule, AXMenuModule, AXDrawerModule, AXTreeViewModule];
200
247
  class AXFileExplorerModule {
201
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
202
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerModule, declarations: [AXFileExplorerContainerComponent,
248
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
249
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerModule, imports: [AXDecoratorModule, AXButtonModule, AXBreadcrumbsModule, CommonModule, AXToolBarModule, AXMenuModule, AXDrawerModule, AXTreeViewModule, AXFileExplorerContainerComponent,
203
250
  AXFileExplorerViewComponent,
204
- AXFileExplorerItemComponent], imports: [AXDecoratorModule,
205
- AXButtonModule,
206
- AXBreadcrumbsModule,
207
- CommonModule,
208
- AXToolBarModule,
209
- AXMenuModule,
210
- AXDrawerModule], exports: [AXFileExplorerContainerComponent,
251
+ AXFileExplorerItemComponent,
252
+ AXFileExplorerHeaderComponent,
253
+ AXFileExplorerTreeComponent], exports: [AXFileExplorerContainerComponent,
211
254
  AXFileExplorerViewComponent,
212
- AXFileExplorerItemComponent] }); }
213
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerModule, imports: [MODULES] }); }
255
+ AXFileExplorerItemComponent,
256
+ AXFileExplorerHeaderComponent,
257
+ AXFileExplorerTreeComponent] }); }
258
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerModule, imports: [MODULES, AXFileExplorerViewComponent,
259
+ AXFileExplorerItemComponent,
260
+ AXFileExplorerHeaderComponent,
261
+ AXFileExplorerTreeComponent] }); }
214
262
  }
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXFileExplorerModule, decorators: [{
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXFileExplorerModule, decorators: [{
216
264
  type: NgModule,
217
265
  args: [{
218
- declarations: [...COMPONENT],
219
- imports: [...MODULES],
266
+ imports: [...MODULES, ...COMPONENT],
220
267
  exports: [...COMPONENT],
221
268
  providers: [],
222
269
  }]
@@ -226,5 +273,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
226
273
  * Generated bundle index. Do not edit.
227
274
  */
228
275
 
229
- export { AXFileExplorerContainerComponent, AXFileExplorerItemComponent, AXFileExplorerModule, AXFileExplorerService, AXFileExplorerViewComponent };
276
+ export { AXFileExplorerContainerComponent, AXFileExplorerHeaderComponent, AXFileExplorerItemComponent, AXFileExplorerModule, AXFileExplorerService, AXFileExplorerTreeComponent, AXFileExplorerViewComponent };
230
277
  //# sourceMappingURL=acorex-components-file-explorer.mjs.map