@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 +1 @@
1
- {"version":3,"file":"acorex-components-dropdown-button.mjs","sources":["../../../../libs/components/dropdown-button/src/lib/dropdown-button.component.ts","../../../../libs/components/dropdown-button/src/lib/dropdown-button.component.html","../../../../libs/components/dropdown-button/src/lib/dropdown-button.module.ts","../../../../libs/components/dropdown-button/src/acorex-components-dropdown-button.ts"],"sourcesContent":["import { AXButtonType } from '@acorex/components/button';\nimport { AXClickEvent, AXClosbaleComponent, MXButtonBaseComponent } from '@acorex/components/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\n// import { AXButtonType } from './button-item.class';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-dropdown-button',\n templateUrl: './dropdown-button.component.html',\n styleUrls: ['./dropdown-button.component.scss'],\n inputs: ['disabled', 'size', 'color', 'look', 'text'],\n outputs: ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'lookChange', 'colorChange', 'disabledChange'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosbaleComponent,\n useExisting: AXDropdownButtonComponent,\n },\n ],\n standalone: false,\n})\nexport class AXDropdownButtonComponent extends MXButtonBaseComponent implements AfterViewInit {\n /**\n * Fires each time the user clicks the button.\n * @event\n */\n onClick: EventEmitter<AXClickEvent> = new EventEmitter<AXClickEvent>();\n\n /**\n * @ignore\n */\n @ViewChild('panel') dropdownPanel: AXClosbaleComponent;\n\n /**\n * Defines the type of the button element.\n *\n * @defaultValue 'button'\n */\n @Input()\n type: AXButtonType = 'button';\n\n /**\n * Specifies the mode of the button.\n * Can be either 'split' or 'dropdown'.\n *\n * @defaultValue 'split'\n */\n @Input() mode: 'split' | 'dropdown' = 'split';\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n this.getHostElement().removeAttribute('tabindex');\n }\n\n /**\n * @ignore\n */\n private getButton(): HTMLButtonElement {\n return this.getHostElement().firstElementChild as HTMLButtonElement;\n }\n\n /**\n * @ignore\n */\n _handleClick(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n return;\n }\n this.onClick.emit({\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n });\n\n // TODO: check keyboard event\n setTimeout(() => {\n this.blur();\n });\n }\n\n /**\n * Simulates a click event on the button element.\n *\n * @ignore\n */\n click() {\n this.getButton()?.click();\n }\n\n /**\n * Sets focus to the button and adds a focus state class.\n */\n override focus() {\n this.getButton()?.focus();\n this.getButton().classList.add('ax-state-focus');\n }\n\n /**\n * Removes the focus state class from the button.\n */\n override blur() {\n this.getButton().classList.remove('ax-state-focus');\n }\n\n /**\n * Closes the dropdown panel.\n * @ignore\n */\n close() {\n this.dropdownPanel.close();\n }\n}\n","<ng-template #dropdown>\n <ax-dropdown-panel #panel>\n <ng-content></ng-content>\n </ax-dropdown-panel>\n</ng-template>\n<ng-template #decorator>\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner\"> </ng-content>\n</ng-template>\n\n@if (mode === 'dropdown') {\n <ax-button\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container>\n\n <ax-suffix>\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n </ax-suffix>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n} @else {\n <ax-button\n class=\"ax-dropdown-split-button\"\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container>\n </ax-button>\n\n <ax-divider class=\"ax-{{ color }} ax-{{ look }}\"></ax-divider>\n\n <ax-button class=\"ax-dropdown-split-button-arrow\" [look]=\"look\" [color]=\"color\" [disabled]=\"disabled\">\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCommonModule, AXRippleDirective } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDropdownButtonComponent } from './dropdown-button.component';\n\nconst COMPONENT = [AXDropdownButtonComponent];\nconst MODULES = [CommonModule, AXCommonModule, AXDecoratorModule, AXLoadingModule, AXRippleDirective, AXDropdownModule, AXButtonModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDropdownButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAWA;AAEA;;;;AAIG;AAiBG,MAAO,yBAA0B,SAAQ,qBAAqB,CAAA;AAhBpE,IAAA,WAAA,GAAA;;AAiBE;;;AAGG;AACH,QAAA,IAAA,CAAA,OAAO,GAA+B,IAAI,YAAY,EAAgB;AAOtE;;;;AAIG;QAEH,IAAI,CAAA,IAAA,GAAiB,QAAQ;AAE7B;;;;;AAKG;QACM,IAAI,CAAA,IAAA,GAAyB,OAAO;AAmE9C;AAjEC;;AAEG;IACH,eAAe,GAAA;QACb,IAAI,CAAC,cAAc,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC;;AAGnD;;AAEG;IACK,SAAS,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC,iBAAsC;;AAGrE;;AAEG;AACH,IAAA,YAAY,CAAC,CAAa,EAAA;AACxB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,CAAC,CAAC,cAAc,EAAE;YAClB;;AAEF,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AAChB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE;AAClC,YAAA,WAAW,EAAE,CAAC;AACf,SAAA,CAAC;;QAGF,UAAU,CAAC,MAAK;YACd,IAAI,CAAC,IAAI,EAAE;AACb,SAAC,CAAC;;AAGJ;;;;AAIG;IACH,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE;;AAG3B;;AAEG;IACM,KAAK,GAAA;AACZ,QAAA,IAAI,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE;QACzB,IAAI,CAAC,SAAS,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,gBAAgB,CA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,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,aADnH,yBAAyB,CAAA,EAAA,CAAA,CAAA;+GAS/B,sBAAsB,EAAA,OAAA,EAAA,CARlB,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAqB,gBAAgB,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;;2FAQzH,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-dropdown-button.mjs","sources":["../../../../libs/components/dropdown-button/src/lib/dropdown-button.component.ts","../../../../libs/components/dropdown-button/src/lib/dropdown-button.component.html","../../../../libs/components/dropdown-button/src/lib/dropdown-button.module.ts","../../../../libs/components/dropdown-button/src/acorex-components-dropdown-button.ts"],"sourcesContent":["import { AXButtonComponent, AXButtonType } from '@acorex/components/button';\nimport { AXClickEvent, AXClosbaleComponent, MXButtonBaseComponent } from '@acorex/components/common';\nimport { AXDecoratorGenericComponent, AXDecoratorIconComponent } from '@acorex/components/decorators';\nimport { AXDropdownPanelComponent } from '@acorex/components/dropdown';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, ViewChild, ViewEncapsulation } from '@angular/core';\n// import { AXButtonType } from './button-item.class';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-dropdown-button',\n templateUrl: './dropdown-button.component.html',\n styleUrls: ['./dropdown-button.component.scss'],\n inputs: ['disabled', 'size', 'color', 'look', 'text'],\n outputs: ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'lookChange', 'colorChange', 'disabledChange'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosbaleComponent,\n useExisting: AXDropdownButtonComponent,\n },\n ],\n imports: [AXDropdownPanelComponent, AXButtonComponent, NgTemplateOutlet, AXDecoratorGenericComponent, AXDecoratorIconComponent],\n})\nexport class AXDropdownButtonComponent extends MXButtonBaseComponent implements AfterViewInit {\n /**\n * Fires each time the user clicks the button.\n * @event\n */\n onClick: EventEmitter<AXClickEvent> = new EventEmitter<AXClickEvent>();\n\n /**\n * @ignore\n */\n @ViewChild('panel') dropdownPanel: AXClosbaleComponent;\n\n /**\n * Defines the type of the button element.\n *\n * @defaultValue 'button'\n */\n @Input()\n type: AXButtonType = 'button';\n\n /**\n * Specifies the mode of the button.\n * Can be either 'split' or 'dropdown'.\n *\n * @defaultValue 'split'\n */\n @Input() mode: 'split' | 'dropdown' = 'split';\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n this.getHostElement().removeAttribute('tabindex');\n }\n\n /**\n * @ignore\n */\n private getButton(): HTMLButtonElement {\n return this.getHostElement().firstElementChild as HTMLButtonElement;\n }\n\n /**\n * @ignore\n */\n _handleClick(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n return;\n }\n this.onClick.emit({\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n });\n\n // TODO: check keyboard event\n setTimeout(() => {\n this.blur();\n });\n }\n\n /**\n * Simulates a click event on the button element.\n *\n * @ignore\n */\n click() {\n this.getButton()?.click();\n }\n\n /**\n * Sets focus to the button and adds a focus state class.\n */\n override focus() {\n this.getButton()?.focus();\n this.getButton().classList.add('ax-state-focus');\n }\n\n /**\n * Removes the focus state class from the button.\n */\n override blur() {\n this.getButton().classList.remove('ax-state-focus');\n }\n\n /**\n * Closes the dropdown panel.\n * @ignore\n */\n close() {\n this.dropdownPanel.close();\n }\n\n @HostBinding('class')\n private get __hostClass(): string {\n return this.disabled ? 'ax-state-disabled ' : '';\n }\n}\n","<ng-template #dropdown>\n <ax-dropdown-panel #panel>\n <ng-content></ng-content>\n </ax-dropdown-panel>\n</ng-template>\n<ng-template #decorator>\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner\"> </ng-content>\n</ng-template>\n\n@if (mode === 'dropdown') {\n <ax-button\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container>\n\n <ax-suffix>\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n </ax-suffix>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n} @else {\n <ax-button\n class=\"ax-dropdown-split-button\"\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container>\n </ax-button>\n\n <ax-divider class=\"ax-{{ color }} ax-{{ look }}\"></ax-divider>\n\n <ax-button class=\"ax-dropdown-split-button-arrow\" [look]=\"look\" [color]=\"color\" [disabled]=\"disabled\">\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCommonModule, AXRippleDirective } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDropdownButtonComponent } from './dropdown-button.component';\n\nconst COMPONENT = [AXDropdownButtonComponent];\nconst MODULES = [CommonModule, AXCommonModule, AXDecoratorModule, AXLoadingModule, AXRippleDirective, AXDropdownModule, AXButtonModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDropdownButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMA;AAEA;;;;AAIG;AAiBG,MAAO,yBAA0B,SAAQ,qBAAqB,CAAA;AAhBpE,IAAA,WAAA,GAAA;;AAiBE;;;AAGG;AACH,QAAA,IAAA,CAAA,OAAO,GAA+B,IAAI,YAAY,EAAgB;AAOtE;;;;AAIG;QAEH,IAAI,CAAA,IAAA,GAAiB,QAAQ;AAE7B;;;;;AAKG;QACM,IAAI,CAAA,IAAA,GAAyB,OAAO;AAwE9C;AAtEC;;AAEG;IACH,eAAe,GAAA;QACb,IAAI,CAAC,cAAc,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC;;AAGnD;;AAEG;IACK,SAAS,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC,iBAAsC;;AAGrE;;AAEG;AACH,IAAA,YAAY,CAAC,CAAa,EAAA;AACxB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,CAAC,CAAC,cAAc,EAAE;YAClB;;AAEF,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AAChB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE;AAClC,YAAA,WAAW,EAAE,CAAC;AACf,SAAA,CAAC;;QAGF,UAAU,CAAC,MAAK;YACd,IAAI,CAAC,IAAI,EAAE;AACb,SAAC,CAAC;;AAGJ;;;;AAIG;IACH,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE;;AAG3B;;AAEG;IACM,KAAK,GAAA;AACZ,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aAAzB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAQ/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAPlB,OAAA,EAAA,CAAA,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAqB,gBAAgB,EAAE,cAAc,EAG3G,SAAS,CAAA,EAAA,CAAA,CAAA;;2FAIvB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;AChBD;;AAEG;;;;"}
@@ -1,7 +1,6 @@
1
1
  import { MXInteractiveComponent, MXLookComponent, convertToPlacement, AXClosbaleComponent, AXCommonModule } from '@acorex/components/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { EventEmitter, Injectable, inject, HostBinding, HostListener, Output, ViewChild, Component, Input, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
4
- import * as i1 from '@acorex/components/popover';
5
4
  import { AXPopoverComponent, AXPopoverModule } from '@acorex/components/popover';
6
5
  import { AXPlatform, isBrowser } from '@acorex/core/platform';
7
6
  import { classes } from 'polytype';
@@ -51,10 +50,10 @@ class MXDropdownBoxBaseComponent extends MXInteractiveComponent {
51
50
  get isOpen() {
52
51
  return this.dropdown?.isOpen;
53
52
  }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MXDropdownBoxBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
55
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MXDropdownBoxBaseComponent }); }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: MXDropdownBoxBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
54
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: MXDropdownBoxBaseComponent }); }
56
55
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MXDropdownBoxBaseComponent, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: MXDropdownBoxBaseComponent, decorators: [{
58
57
  type: Injectable
59
58
  }] });
60
59
 
@@ -189,12 +188,12 @@ class AXDropdownBoxComponent extends classes(MXInteractiveComponent, MXLookCompo
189
188
  get __hostClass() {
190
189
  return `ax-editor-container ax-${this.look} ${this.disabled ? 'ax-state-disabled' : ''}`;
191
190
  }
192
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
193
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXDropdownBoxComponent, isStandalone: false, selector: "ax-dropdown-box", inputs: { disabled: "disabled", look: "look" }, outputs: { disabledChange: "disabledChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onOpened: "onOpened", onClosed: "onClosed" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "keydown": "_handleKeydown($event)" }, properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "_popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[input]\"> </ng-content>\n<ax-popover [target]=\"_target\" [placement]=\"_placement\" [openOn]=\"'manual'\" [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\"\n #popover>\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" aria-modal=\"true\" (keydown)=\"_handleKeydown($event)\"\n [class.ax-overlay-actionsheet]=\"popover.isActionsheetStyle\">\n <ng-content select=\"[panel]\"> </ng-content>\n </div>\n</ax-popover>", dependencies: [{ kind: "component", type: i1.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }] }); }
191
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
192
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: AXDropdownBoxComponent, isStandalone: true, selector: "ax-dropdown-box", inputs: { disabled: "disabled", look: "look" }, outputs: { disabledChange: "disabledChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onOpened: "onOpened", onClosed: "onClosed" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "keydown": "_handleKeydown($event)" }, properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "_popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[input]\"> </ng-content>\n<ax-popover [target]=\"_target\" [placement]=\"_placement\" [openOn]=\"'manual'\" [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\"\n #popover>\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" aria-modal=\"true\" (keydown)=\"_handleKeydown($event)\"\n [class.ax-overlay-actionsheet]=\"popover.isActionsheetStyle\">\n <ng-content select=\"[panel]\"> </ng-content>\n </div>\n</ax-popover>", dependencies: [{ kind: "component", type: AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }] }); }
194
193
  }
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownBoxComponent, decorators: [{
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownBoxComponent, decorators: [{
196
195
  type: Component,
197
- args: [{ selector: 'ax-dropdown-box', inputs: ['disabled', 'look'], outputs: ['disabledChange', 'onBlur', 'onFocus', 'onClick'], host: { ngSkipHydration: 'true' }, standalone: false, template: "<ng-content select=\"[input]\"> </ng-content>\n<ax-popover [target]=\"_target\" [placement]=\"_placement\" [openOn]=\"'manual'\" [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\"\n #popover>\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" aria-modal=\"true\" (keydown)=\"_handleKeydown($event)\"\n [class.ax-overlay-actionsheet]=\"popover.isActionsheetStyle\">\n <ng-content select=\"[panel]\"> </ng-content>\n </div>\n</ax-popover>" }]
196
+ args: [{ selector: 'ax-dropdown-box', inputs: ['disabled', 'look'], outputs: ['disabledChange', 'onBlur', 'onFocus', 'onClick'], host: { ngSkipHydration: 'true' }, imports: [AXPopoverComponent], template: "<ng-content select=\"[input]\"> </ng-content>\n<ax-popover [target]=\"_target\" [placement]=\"_placement\" [openOn]=\"'manual'\" [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\"\n #popover>\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" aria-modal=\"true\" (keydown)=\"_handleKeydown($event)\"\n [class.ax-overlay-actionsheet]=\"popover.isActionsheetStyle\">\n <ng-content select=\"[panel]\"> </ng-content>\n </div>\n</ax-popover>" }]
198
197
  }], propDecorators: { _popover: [{
199
198
  type: ViewChild,
200
199
  args: [AXPopoverComponent, { static: true }]
@@ -210,7 +209,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
210
209
  args: ['class']
211
210
  }] } });
212
211
 
213
- /* eslint-disable @angular-eslint/no-host-metadata-property */
214
212
  /**
215
213
  * A panel for displaying dropdown content with configurable width and positioning.
216
214
  *
@@ -392,22 +390,22 @@ class AXDropdownPanelComponent extends MXInteractiveComponent {
392
390
  get __hostClass() {
393
391
  return ['ax-dropdown-panel'];
394
392
  }
395
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
396
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXDropdownPanelComponent, isStandalone: false, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", _target: "_target", adaptivityEnabled: "adaptivityEnabled" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { attributes: { "ngSkipHydration": "true" }, properties: { "class": "this.__hostClass" } }, providers: [
393
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
394
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: AXDropdownPanelComponent, isStandalone: true, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", _target: "_target", adaptivityEnabled: "adaptivityEnabled" }, outputs: { onOpened: "onOpened", onClosed: "onClosed" }, host: { attributes: { "ngSkipHydration": "true" }, properties: { "class": "this.__hostClass" } }, providers: [
397
395
  {
398
396
  provide: AXClosbaleComponent,
399
397
  useExisting: AXDropdownPanelComponent,
400
398
  },
401
- ], viewQueries: [{ propertyName: "_popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div class=\"ax-overlay-pane\">\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-actionsheet-base .ax-overlay-pane{width:100%}\n"], dependencies: [{ kind: "component", type: i1.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
399
+ ], viewQueries: [{ propertyName: "_popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div class=\"ax-overlay-pane\">\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-actionsheet-base .ax-overlay-pane{width:100%}\n"], dependencies: [{ kind: "component", type: AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
402
400
  }
403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
404
402
  type: Component,
405
403
  args: [{ selector: 'ax-dropdown-panel', inputs: ['isOpen', 'fitParent', 'dropdownWidth', 'position'], outputs: ['onOpened', 'onClosed'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
406
404
  {
407
405
  provide: AXClosbaleComponent,
408
406
  useExisting: AXDropdownPanelComponent,
409
407
  },
410
- ], host: { ngSkipHydration: 'true' }, standalone: false, template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div class=\"ax-overlay-pane\">\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-actionsheet-base .ax-overlay-pane{width:100%}\n"] }]
408
+ ], host: { ngSkipHydration: 'true' }, imports: [AXPopoverComponent], template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div class=\"ax-overlay-pane\">\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-actionsheet-base .ax-overlay-pane{width:100%}\n"] }]
411
409
  }], ctorParameters: () => [], propDecorators: { _target: [{
412
410
  type: Input
413
411
  }], _popover: [{
@@ -425,16 +423,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
425
423
  }] } });
426
424
 
427
425
  class AXDropdownModule {
428
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
429
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownPanelComponent, AXDropdownBoxComponent], imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule], exports: [AXDropdownPanelComponent, AXDropdownBoxComponent] }); }
430
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownModule, imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule] }); }
426
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
427
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownModule, imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule, AXDropdownPanelComponent, AXDropdownBoxComponent], exports: [AXDropdownPanelComponent, AXDropdownBoxComponent] }); }
428
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownModule, imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule, AXDropdownPanelComponent, AXDropdownBoxComponent] }); }
431
429
  }
432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXDropdownModule, decorators: [{
430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: AXDropdownModule, decorators: [{
433
431
  type: NgModule,
434
432
  args: [{
435
- imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule],
433
+ imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule, AXDropdownPanelComponent, AXDropdownBoxComponent],
436
434
  exports: [AXDropdownPanelComponent, AXDropdownBoxComponent],
437
- declarations: [AXDropdownPanelComponent, AXDropdownBoxComponent],
438
435
  providers: [],
439
436
  }]
440
437
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-dropdown.mjs","sources":["../../../../libs/components/dropdown/src/lib/dropdown-box.class.ts","../../../../libs/components/dropdown/src/lib/dropdown-box.component.ts","../../../../libs/components/dropdown/src/lib/dropdown-box.component.html","../../../../libs/components/dropdown/src/lib/dropdown-panel.component.ts","../../../../libs/components/dropdown/src/lib/dropdown-panel.component.html","../../../../libs/components/dropdown/src/lib/dropdown.module.ts","../../../../libs/components/dropdown/src/acorex-components-dropdown.ts"],"sourcesContent":["import { AXEvent, MXInteractiveComponent } from '@acorex/components/common';\nimport { EventEmitter, Injectable } from '@angular/core';\nimport { AXDropdownBoxComponent } from './dropdown-box.component';\n\n@Injectable()\nexport abstract class MXDropdownBoxBaseComponent extends MXInteractiveComponent {\n onOpened: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n protected emitOnOpenedEvent(): void {\n this.onOpened.emit({\n component: this,\n htmlElement: this.getHostElement(),\n });\n }\n\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n protected emitOnClosedEvent(): void {\n this.onClosed.emit({\n component: this,\n htmlElement: this.getHostElement(),\n });\n }\n\n protected abstract dropdown: AXDropdownBoxComponent;\n\n toggle() {\n if (this.disabled !== true) {\n this.dropdown.toggle();\n }\n }\n\n close() {\n if (!this.isOpen || this.disabled) {\n return;\n }\n this.dropdown.close();\n this.focus();\n }\n\n open() {\n if (this.isOpen || this.disabled) {\n return;\n }\n this.dropdown.open();\n this.dropdown.focus();\n }\n\n get isOpen(): boolean {\n return this.dropdown?.isOpen;\n }\n}\n","import {\n AXEvent,\n MXInteractiveComponent,\n MXLookComponent,\n convertToPlacement,\n} from '@acorex/components/common';\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXPlatform } from '@acorex/core/platform';\nimport {\n Component,\n EventEmitter,\n HostBinding,\n HostListener,\n OnInit,\n Output,\n ViewChild,\n inject,\n} from '@angular/core';\nimport { classes } from 'polytype';\nimport { startWith } from 'rxjs';\n\n@Component({\n selector: 'ax-dropdown-box',\n templateUrl: 'dropdown-box.component.html',\n inputs: ['disabled', 'look'],\n outputs: ['disabledChange', 'onBlur', 'onFocus', 'onClick'],\n host: { ngSkipHydration: 'true' },\n standalone: false,\n})\nexport class AXDropdownBoxComponent\n extends classes(MXInteractiveComponent, MXLookComponent)\n implements OnInit\n{\n private _platform: AXPlatform = inject(AXPlatform);\n /**\n * @ignore\n */\n protected _isMobile = false;\n\n /**\n * @ignore\n */\n protected _target: HTMLDivElement;\n\n /**\n * @ignore\n */\n protected _popoverTitle: string;\n\n /**\n * @ignore\n */\n protected _popoverWidth = '180px';\n\n /**\n * @ignore\n */\n protected _placement = convertToPlacement('bottom-start');\n\n /**\n * @ignore\n */\n @ViewChild(AXPopoverComponent, { static: true })\n protected _popover: AXPopoverComponent;\n\n /**\n * Emitted when the drawer is opened.\n *\n * @event\n */\n @Output()\n onOpened: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * Emitted when the drawer is closed.\n *\n * @event\n */\n @Output()\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * @ignore\n */\n override ngOnInit() {\n super.ngOnInit();\n this._target = this.getHostElement();\n this._platform.resize.pipe(startWith()).subscribe(() => {\n this._isMobile = this._platform.is('SM');\n if (!this.isActionsheetStyle) this.close();\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnOpened(e: AXEvent) {\n this._popover?.focus();\n this.onOpened.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnClosed(e: AXEvent) {\n this.focus();\n this.onClosed.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * @ignore\n */\n @HostListener('keydown', ['$event'])\n protected _handleKeydown(e: KeyboardEvent) {\n if (e.ctrlKey && e.code === 'ArrowDown') {\n this.open();\n e.preventDefault();\n }\n if (e.code === 'Escape') {\n this.close();\n e.preventDefault();\n }\n }\n\n /**\n * Updates the position of the popover.\n * @ignore\n */\n updatePosition() {\n this._popover?.updatePosition();\n }\n\n /**\n * Toggles the popover open or closed, if not disabled.\n * @ignore\n */\n toggle() {\n if (this.disabled !== true) {\n this._popover.toggle();\n }\n }\n\n /**\n * Closes the popover if it's open and not disabled, then focuses the element.\n * @ignore\n */\n close() {\n if (!this.isOpen || this.disabled) {\n return;\n }\n this._popover.close();\n this.focus();\n }\n\n /**\n * Opens the popover if it's not already open and not disabled, then focuses the popover.\n * @ignore\n */\n open() {\n if (this.isOpen || this.disabled) {\n return;\n }\n this._popover.open();\n this._popover.focus();\n }\n\n /**\n * Indicates if the popover is currently open.\n * @ignore\n */\n get isOpen(): boolean {\n return this._popover?.isOpen;\n }\n\n /**\n * Indicates if the popover is styled as an actionsheet.\n */\n get isActionsheetStyle(): boolean {\n return this._popover?.isActionsheetStyle;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-editor-container ax-${this.look} ${this.disabled ? 'ax-state-disabled' : ''}`;\n }\n}\n","<ng-content select=\"[input]\"> </ng-content>\n<ax-popover [target]=\"_target\" [placement]=\"_placement\" [openOn]=\"'manual'\" [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\"\n #popover>\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" aria-modal=\"true\" (keydown)=\"_handleKeydown($event)\"\n [class.ax-overlay-actionsheet]=\"popover.isActionsheetStyle\">\n <ng-content select=\"[panel]\"> </ng-content>\n </div>\n</ax-popover>","/* eslint-disable @angular-eslint/no-host-metadata-property */\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnDestroy,\n Output,\n ViewChild,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\n\nimport { AXClosbaleComponent, AXEvent, MXInteractiveComponent, convertToPlacement } from '@acorex/components/common';\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXPlatform, isBrowser } from '@acorex/core/platform';\nimport { Subscription, startWith } from 'rxjs';\n\n/**\n * A panel for displaying dropdown content with configurable width and positioning.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-dropdown-panel',\n templateUrl: './dropdown-panel.component.html',\n styleUrls: ['./dropdown-panel.component.scss'],\n inputs: ['isOpen', 'fitParent', 'dropdownWidth', 'position'],\n outputs: ['onOpened', 'onClosed'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosbaleComponent,\n useExisting: AXDropdownPanelComponent,\n },\n ],\n host: { ngSkipHydration: 'true' },\n standalone: false\n})\nexport class AXDropdownPanelComponent extends MXInteractiveComponent implements OnDestroy {\n private _platform: AXPlatform = inject(AXPlatform);\n\n /**\n * @ignore\n */\n protected _isMobile = false;\n\n /**\n * @ignore\n */\n protected _popoverTitle: string;\n\n /**\n * @ignore\n */\n protected _placement = convertToPlacement('bottom-start');\n\n /**\n * @ignore\n */\n _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n private __target: HTMLDivElement;\n\n /**\n * Gets the target HTML element for the dropdown panel.\n */\n @Input()\n public get _target(): HTMLDivElement {\n return this.__target;\n }\n\n /**\n * Sets the target HTML element for the dropdown panel.\n */\n public set _target(v: HTMLDivElement) {\n this.__target = v;\n }\n\n /**\n * @ignore\n */\n @ViewChild(AXPopoverComponent)\n protected _popover: AXPopoverComponent;\n\n /**\n * Emitted when the dropdown panel is opened.\n *\n * @event\n */\n @Output()\n onOpened: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * Emitted when the dropdown panel is closed.\n *\n * @event\n */\n @Output()\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * Determines if adaptivity is enabled for the component.\n *\n * @defaultValue false\n */\n @Input()\n adaptivityEnabled = false;\n\n // what the hell ???\n // constructor() {\n // super();\n // afterNextRender(() => {\n // this._target = this.getHostElement()?.parentElement as HTMLDivElement;\n // this._platform.resize.pipe(startWith(null)).subscribe(() => {\n // this._isMobile = this._platform.is('SM');\n // this._popover?.close();\n // });\n // [this._target, this.getHostElement()].forEach((el) => {\n // el.addEventListener('keydown', (e) => {\n // if (e.code == 'Escape' && this.isOpen) {\n // e.stopPropagation();\n // this.close();\n // }\n // });\n // });\n // });\n // }\n\n /**\n * @ignore\n */\n constructor() {\n super();\n }\n\n /**\n * @ignore\n */\n override ngOnInit() {\n if (isBrowser()) {\n super.ngOnInit();\n if (!this._target) {\n this._target = this.getHostElement()?.parentElement as HTMLDivElement;\n }\n this._platform.resize.pipe(startWith(null)).subscribe(() => {\n this._isMobile = this._platform.is('SM');\n this._popover?.close();\n });\n }\n }\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n [this._target, this.getHostElement()].forEach((el) => {\n el?.addEventListener('keydown', (e) => {\n if (e.code == 'Escape' && this.isOpen) {\n e.stopPropagation();\n this.close();\n }\n });\n });\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this._subs.forEach((s) => {\n s?.unsubscribe();\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnOpened(e: AXEvent) {\n this._popover?.focus();\n this.onOpened.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnClosed(e: AXEvent) {\n this._target.focus();\n this.onClosed.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * Toggles the popover open or closed, if not disabled.\n * @ignore\n */\n toggle() {\n if (this.disabled !== true) {\n this._popover.toggle();\n }\n }\n\n /**\n * Closes the popover if it is open and not disabled.\n * @ignore\n */\n close() {\n if (!this.isOpen || this.disabled) {\n return;\n }\n this._popover.close();\n this.focus();\n }\n\n /**\n * Opens the popover if it is not already open and not disabled.\n * @ignore\n */\n open() {\n if (this.isOpen || this.disabled) {\n return;\n }\n this._popover.open();\n this._popover.focus();\n }\n\n /**\n * Gets whether the popover is currently open.\n * @ignore\n */\n get isOpen(): boolean {\n return this._popover?.isOpen;\n }\n\n /**\n * Gets whether the popover is styled as an actionsheet.\n * @ignore\n */\n get isActionsheetStyle(): boolean {\n return this._popover?.isActionsheetStyle;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string[] {\n return ['ax-dropdown-panel'];\n }\n}\n","<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div class=\"ax-overlay-pane\">\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n","import { AXCommonModule } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDropdownBoxComponent } from './dropdown-box.component';\nimport { AXDropdownPanelComponent } from './dropdown-panel.component';\n\n@NgModule({\n imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule],\n exports: [AXDropdownPanelComponent, AXDropdownBoxComponent],\n declarations: [AXDropdownPanelComponent, AXDropdownBoxComponent],\n providers: [],\n})\nexport class AXDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKM,MAAgB,0BAA2B,SAAQ,sBAAsB,CAAA;AAD/E,IAAA,WAAA,GAAA;;AAEE,QAAA,IAAA,CAAA,QAAQ,GAA0B,IAAI,YAAY,EAAW;AAS7D,QAAA,IAAA,CAAA,QAAQ,GAA0B,IAAI,YAAY,EAAW;AAoC9D;IA3CW,iBAAiB,GAAA;AACzB,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE;AACnC,SAAA,CAAC;;IAKM,iBAAiB,GAAA;AACzB,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE;AACnC,SAAA,CAAC;;IAKJ,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;AAC1B,YAAA,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;;;IAI1B,KAAK,GAAA;QACH,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjC;;AAEF,QAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;QACrB,IAAI,CAAC,KAAK,EAAE;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;;;"}
1
+ {"version":3,"file":"acorex-components-dropdown.mjs","sources":["../../../../libs/components/dropdown/src/lib/dropdown-box.class.ts","../../../../libs/components/dropdown/src/lib/dropdown-box.component.ts","../../../../libs/components/dropdown/src/lib/dropdown-box.component.html","../../../../libs/components/dropdown/src/lib/dropdown-panel.component.ts","../../../../libs/components/dropdown/src/lib/dropdown-panel.component.html","../../../../libs/components/dropdown/src/lib/dropdown.module.ts","../../../../libs/components/dropdown/src/acorex-components-dropdown.ts"],"sourcesContent":["import { AXEvent, MXInteractiveComponent } from '@acorex/components/common';\nimport { EventEmitter, Injectable } from '@angular/core';\nimport { AXDropdownBoxComponent } from './dropdown-box.component';\n\n@Injectable()\nexport abstract class MXDropdownBoxBaseComponent extends MXInteractiveComponent {\n onOpened: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n protected emitOnOpenedEvent(): void {\n this.onOpened.emit({\n component: this,\n htmlElement: this.getHostElement(),\n });\n }\n\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n protected emitOnClosedEvent(): void {\n this.onClosed.emit({\n component: this,\n htmlElement: this.getHostElement(),\n });\n }\n\n protected abstract dropdown: AXDropdownBoxComponent;\n\n toggle() {\n if (this.disabled !== true) {\n this.dropdown.toggle();\n }\n }\n\n close() {\n if (!this.isOpen || this.disabled) {\n return;\n }\n this.dropdown.close();\n this.focus();\n }\n\n open() {\n if (this.isOpen || this.disabled) {\n return;\n }\n this.dropdown.open();\n this.dropdown.focus();\n }\n\n get isOpen(): boolean {\n return this.dropdown?.isOpen;\n }\n}\n","import { AXEvent, MXInteractiveComponent, MXLookComponent, convertToPlacement } from '@acorex/components/common';\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { Component, EventEmitter, HostBinding, HostListener, OnInit, Output, ViewChild, inject } from '@angular/core';\nimport { classes } from 'polytype';\nimport { startWith } from 'rxjs';\n\n@Component({\n selector: 'ax-dropdown-box',\n templateUrl: 'dropdown-box.component.html',\n inputs: ['disabled', 'look'],\n outputs: ['disabledChange', 'onBlur', 'onFocus', 'onClick'],\n host: { ngSkipHydration: 'true' },\n imports: [AXPopoverComponent],\n})\nexport class AXDropdownBoxComponent extends classes(MXInteractiveComponent, MXLookComponent) implements OnInit {\n private _platform: AXPlatform = inject(AXPlatform);\n /**\n * @ignore\n */\n protected _isMobile = false;\n\n /**\n * @ignore\n */\n protected _target: HTMLDivElement;\n\n /**\n * @ignore\n */\n protected _popoverTitle: string;\n\n /**\n * @ignore\n */\n protected _popoverWidth = '180px';\n\n /**\n * @ignore\n */\n protected _placement = convertToPlacement('bottom-start');\n\n /**\n * @ignore\n */\n @ViewChild(AXPopoverComponent, { static: true })\n protected _popover: AXPopoverComponent;\n\n /**\n * Emitted when the drawer is opened.\n *\n * @event\n */\n @Output()\n onOpened: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * Emitted when the drawer is closed.\n *\n * @event\n */\n @Output()\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * @ignore\n */\n override ngOnInit() {\n super.ngOnInit();\n this._target = this.getHostElement();\n this._platform.resize.pipe(startWith()).subscribe(() => {\n this._isMobile = this._platform.is('SM');\n if (!this.isActionsheetStyle) this.close();\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnOpened(e: AXEvent) {\n this._popover?.focus();\n this.onOpened.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnClosed(e: AXEvent) {\n this.focus();\n this.onClosed.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * @ignore\n */\n @HostListener('keydown', ['$event'])\n protected _handleKeydown(e: KeyboardEvent) {\n if (e.ctrlKey && e.code === 'ArrowDown') {\n this.open();\n e.preventDefault();\n }\n if (e.code === 'Escape') {\n this.close();\n e.preventDefault();\n }\n }\n\n /**\n * Updates the position of the popover.\n * @ignore\n */\n updatePosition() {\n this._popover?.updatePosition();\n }\n\n /**\n * Toggles the popover open or closed, if not disabled.\n * @ignore\n */\n toggle() {\n if (this.disabled !== true) {\n this._popover.toggle();\n }\n }\n\n /**\n * Closes the popover if it's open and not disabled, then focuses the element.\n * @ignore\n */\n close() {\n if (!this.isOpen || this.disabled) {\n return;\n }\n this._popover.close();\n this.focus();\n }\n\n /**\n * Opens the popover if it's not already open and not disabled, then focuses the popover.\n * @ignore\n */\n open() {\n if (this.isOpen || this.disabled) {\n return;\n }\n this._popover.open();\n this._popover.focus();\n }\n\n /**\n * Indicates if the popover is currently open.\n * @ignore\n */\n get isOpen(): boolean {\n return this._popover?.isOpen;\n }\n\n /**\n * Indicates if the popover is styled as an actionsheet.\n */\n get isActionsheetStyle(): boolean {\n return this._popover?.isActionsheetStyle;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-editor-container ax-${this.look} ${this.disabled ? 'ax-state-disabled' : ''}`;\n }\n}\n","<ng-content select=\"[input]\"> </ng-content>\n<ax-popover [target]=\"_target\" [placement]=\"_placement\" [openOn]=\"'manual'\" [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\"\n #popover>\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" aria-modal=\"true\" (keydown)=\"_handleKeydown($event)\"\n [class.ax-overlay-actionsheet]=\"popover.isActionsheetStyle\">\n <ng-content select=\"[panel]\"> </ng-content>\n </div>\n</ax-popover>","import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, OnDestroy, Output, ViewChild, ViewEncapsulation, inject } from '@angular/core';\n\nimport { AXClosbaleComponent, AXEvent, MXInteractiveComponent, convertToPlacement } from '@acorex/components/common';\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXPlatform, isBrowser } from '@acorex/core/platform';\nimport { Subscription, startWith } from 'rxjs';\n\n/**\n * A panel for displaying dropdown content with configurable width and positioning.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-dropdown-panel',\n templateUrl: './dropdown-panel.component.html',\n styleUrls: ['./dropdown-panel.component.scss'],\n inputs: ['isOpen', 'fitParent', 'dropdownWidth', 'position'],\n outputs: ['onOpened', 'onClosed'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosbaleComponent,\n useExisting: AXDropdownPanelComponent,\n },\n ],\n host: { ngSkipHydration: 'true' },\n imports: [AXPopoverComponent],\n})\nexport class AXDropdownPanelComponent extends MXInteractiveComponent implements OnDestroy {\n private _platform: AXPlatform = inject(AXPlatform);\n\n /**\n * @ignore\n */\n protected _isMobile = false;\n\n /**\n * @ignore\n */\n protected _popoverTitle: string;\n\n /**\n * @ignore\n */\n protected _placement = convertToPlacement('bottom-start');\n\n /**\n * @ignore\n */\n _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n private __target: HTMLDivElement;\n\n /**\n * Gets the target HTML element for the dropdown panel.\n */\n @Input()\n public get _target(): HTMLDivElement {\n return this.__target;\n }\n\n /**\n * Sets the target HTML element for the dropdown panel.\n */\n public set _target(v: HTMLDivElement) {\n this.__target = v;\n }\n\n /**\n * @ignore\n */\n @ViewChild(AXPopoverComponent)\n protected _popover: AXPopoverComponent;\n\n /**\n * Emitted when the dropdown panel is opened.\n *\n * @event\n */\n @Output()\n onOpened: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * Emitted when the dropdown panel is closed.\n *\n * @event\n */\n @Output()\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n /**\n * Determines if adaptivity is enabled for the component.\n *\n * @defaultValue false\n */\n @Input()\n adaptivityEnabled = false;\n\n // what the hell ???\n // constructor() {\n // super();\n // afterNextRender(() => {\n // this._target = this.getHostElement()?.parentElement as HTMLDivElement;\n // this._platform.resize.pipe(startWith(null)).subscribe(() => {\n // this._isMobile = this._platform.is('SM');\n // this._popover?.close();\n // });\n // [this._target, this.getHostElement()].forEach((el) => {\n // el.addEventListener('keydown', (e) => {\n // if (e.code == 'Escape' && this.isOpen) {\n // e.stopPropagation();\n // this.close();\n // }\n // });\n // });\n // });\n // }\n\n /**\n * @ignore\n */\n constructor() {\n super();\n }\n\n /**\n * @ignore\n */\n override ngOnInit() {\n if (isBrowser()) {\n super.ngOnInit();\n if (!this._target) {\n this._target = this.getHostElement()?.parentElement as HTMLDivElement;\n }\n this._platform.resize.pipe(startWith(null)).subscribe(() => {\n this._isMobile = this._platform.is('SM');\n this._popover?.close();\n });\n }\n }\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n [this._target, this.getHostElement()].forEach((el) => {\n el?.addEventListener('keydown', (e) => {\n if (e.code == 'Escape' && this.isOpen) {\n e.stopPropagation();\n this.close();\n }\n });\n });\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this._subs.forEach((s) => {\n s?.unsubscribe();\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnOpened(e: AXEvent) {\n this._popover?.focus();\n this.onOpened.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * @ignore\n */\n protected _handlePopupOnClosed(e: AXEvent) {\n this._target.focus();\n this.onClosed.emit({\n component: this,\n isUserInteraction: e.isUserInteraction,\n });\n }\n\n /**\n * Toggles the popover open or closed, if not disabled.\n * @ignore\n */\n toggle() {\n if (this.disabled !== true) {\n this._popover.toggle();\n }\n }\n\n /**\n * Closes the popover if it is open and not disabled.\n * @ignore\n */\n close() {\n if (!this.isOpen || this.disabled) {\n return;\n }\n this._popover.close();\n this.focus();\n }\n\n /**\n * Opens the popover if it is not already open and not disabled.\n * @ignore\n */\n open() {\n if (this.isOpen || this.disabled) {\n return;\n }\n this._popover.open();\n this._popover.focus();\n }\n\n /**\n * Gets whether the popover is currently open.\n * @ignore\n */\n get isOpen(): boolean {\n return this._popover?.isOpen;\n }\n\n /**\n * Gets whether the popover is styled as an actionsheet.\n * @ignore\n */\n get isActionsheetStyle(): boolean {\n return this._popover?.isActionsheetStyle;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string[] {\n return ['ax-dropdown-panel'];\n }\n}\n","<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div class=\"ax-overlay-pane\">\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n","import { AXCommonModule } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDropdownBoxComponent } from './dropdown-box.component';\nimport { AXDropdownPanelComponent } from './dropdown-panel.component';\n\n@NgModule({\n imports: [CommonModule, AXCommonModule, A11yModule, OverlayModule, AXDecoratorModule, AXPopoverModule, AXDropdownPanelComponent, AXDropdownBoxComponent],\n exports: [AXDropdownPanelComponent, AXDropdownBoxComponent],\n providers: [],\n})\nexport class AXDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAKM,MAAgB,0BAA2B,SAAQ,sBAAsB,CAAA;AAD/E,IAAA,WAAA,GAAA;;AAEE,QAAA,IAAA,CAAA,QAAQ,GAA0B,IAAI,YAAY,EAAW;AAS7D,QAAA,IAAA,CAAA,QAAQ,GAA0B,IAAI,YAAY,EAAW;AAoC9D;IA3CW,iBAAiB,GAAA;AACzB,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,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