@acorex/components 21.0.1-next.4 → 21.0.1-next.41

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 (250) hide show
  1. package/accordion/index.d.ts +0 -1
  2. package/action-sheet/index.d.ts +91 -31
  3. package/button-group/index.d.ts +6 -4
  4. package/chips/index.d.ts +3 -8
  5. package/collapse/index.d.ts +4 -6
  6. package/color-palette/index.d.ts +1 -2
  7. package/command/index.d.ts +8 -1
  8. package/conversation2/README.md +71 -31
  9. package/conversation2/index.d.ts +36 -35
  10. package/data-table/index.d.ts +4 -253
  11. package/dropdown/index.d.ts +2 -5
  12. package/fesm2022/acorex-components-accordion.mjs +16 -21
  13. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  14. package/fesm2022/acorex-components-action-sheet.mjs +170 -52
  15. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  16. package/fesm2022/acorex-components-alert.mjs +13 -13
  17. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  18. package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
  19. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  20. package/fesm2022/acorex-components-audio-wave.mjs +11 -10
  21. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  22. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  23. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  24. package/fesm2022/acorex-components-avatar.mjs +12 -12
  25. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  26. package/fesm2022/acorex-components-badge.mjs +9 -9
  27. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  28. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  29. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  30. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  31. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  32. package/fesm2022/acorex-components-button-group.mjs +23 -19
  33. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  34. package/fesm2022/acorex-components-button.mjs +18 -18
  35. package/fesm2022/acorex-components-button.mjs.map +1 -1
  36. package/fesm2022/acorex-components-calendar.mjs +17 -17
  37. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  38. package/fesm2022/acorex-components-check-box.mjs +10 -10
  39. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  40. package/fesm2022/acorex-components-chips.mjs +12 -14
  41. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  42. package/fesm2022/acorex-components-circular-progress.mjs +12 -10
  43. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  44. package/fesm2022/acorex-components-code-editor.mjs +10 -10
  45. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  46. package/fesm2022/acorex-components-collapse.mjs +22 -19
  47. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  48. package/fesm2022/acorex-components-color-box.mjs +9 -9
  49. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  50. package/fesm2022/acorex-components-color-palette.mjs +33 -38
  51. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  52. package/fesm2022/acorex-components-command.mjs +17 -11
  53. package/fesm2022/acorex-components-command.mjs.map +1 -1
  54. package/fesm2022/acorex-components-comment.mjs +32 -32
  55. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  56. package/fesm2022/acorex-components-conversation.mjs +51 -51
  57. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  58. package/fesm2022/acorex-components-conversation2.mjs +314 -308
  59. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  60. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  61. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  62. package/fesm2022/acorex-components-data-list.mjs +3 -3
  63. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  64. package/fesm2022/acorex-components-data-pager.mjs +33 -33
  65. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  66. package/fesm2022/acorex-components-data-table.mjs +50 -486
  67. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  68. package/fesm2022/acorex-components-datetime-box.mjs +9 -10
  69. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  70. package/fesm2022/acorex-components-datetime-input.mjs +9 -9
  71. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  72. package/fesm2022/acorex-components-datetime-picker.mjs +19 -17
  73. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  74. package/fesm2022/acorex-components-decorators.mjs +43 -36
  75. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  76. package/fesm2022/acorex-components-dialog.mjs +12 -12
  77. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  78. package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
  79. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
  80. package/fesm2022/acorex-components-drawer.mjs +15 -16
  81. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  82. package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
  83. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  84. package/fesm2022/acorex-components-dropdown.mjs +28 -26
  85. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  86. package/fesm2022/acorex-components-editor.mjs +11 -11
  87. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  88. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  89. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  90. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  91. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  92. package/fesm2022/acorex-components-form.mjs +48 -42
  93. package/fesm2022/acorex-components-form.mjs.map +1 -1
  94. package/fesm2022/acorex-components-grid-layout-builder.mjs +12 -13
  95. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  96. package/fesm2022/acorex-components-image-editor.mjs +44 -44
  97. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  98. package/fesm2022/acorex-components-image.mjs +9 -9
  99. package/fesm2022/acorex-components-image.mjs.map +1 -1
  100. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  101. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  102. package/fesm2022/acorex-components-kanban.mjs +140 -13
  103. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  104. package/fesm2022/acorex-components-kbd.mjs +29 -11
  105. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  106. package/fesm2022/acorex-components-label.mjs +9 -9
  107. package/fesm2022/acorex-components-label.mjs.map +1 -1
  108. package/fesm2022/acorex-components-list.mjs +9 -9
  109. package/fesm2022/acorex-components-list.mjs.map +1 -1
  110. package/fesm2022/acorex-components-loading-dialog.mjs +11 -11
  111. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  112. package/fesm2022/acorex-components-loading.mjs +23 -23
  113. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  114. package/fesm2022/acorex-components-map.mjs +14 -14
  115. package/fesm2022/acorex-components-map.mjs.map +1 -1
  116. package/fesm2022/acorex-components-media-viewer.mjs +257 -91
  117. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  118. package/fesm2022/acorex-components-menu.mjs +21 -21
  119. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  120. package/fesm2022/{acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs} +22 -22
  121. package/fesm2022/acorex-components-modal-acorex-components-modal-BajlPo_n.mjs.map +1 -0
  122. package/fesm2022/{acorex-components-modal-modal-content.component-CSJU1vRi.mjs → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs} +9 -7
  123. package/fesm2022/acorex-components-modal-modal-content.component-BVrBX4Qf.mjs.map +1 -0
  124. package/fesm2022/acorex-components-modal.mjs +1 -1
  125. package/fesm2022/acorex-components-navbar.mjs +9 -9
  126. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  127. package/fesm2022/acorex-components-notification.mjs +28 -24
  128. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  129. package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
  130. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
  131. package/fesm2022/acorex-components-number-box.mjs +9 -9
  132. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  133. package/fesm2022/acorex-components-otp.mjs +9 -9
  134. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  135. package/fesm2022/acorex-components-page.mjs +10 -10
  136. package/fesm2022/acorex-components-page.mjs.map +1 -1
  137. package/fesm2022/acorex-components-paint.mjs +34 -39
  138. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  139. package/fesm2022/acorex-components-password-box.mjs +13 -13
  140. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  141. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  142. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  143. package/fesm2022/acorex-components-phone-box.mjs +96 -54
  144. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  145. package/fesm2022/acorex-components-picker.mjs +19 -18
  146. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  147. package/fesm2022/acorex-components-popover.mjs +132 -33
  148. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  149. package/fesm2022/acorex-components-popup.mjs +93 -101
  150. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  151. package/fesm2022/acorex-components-progress-bar.mjs +11 -9
  152. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  153. package/fesm2022/acorex-components-qrcode.mjs +9 -9
  154. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  155. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  156. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  157. package/fesm2022/acorex-components-radio.mjs +9 -9
  158. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  159. package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
  160. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  161. package/fesm2022/acorex-components-range-slider.mjs +10 -10
  162. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  163. package/fesm2022/acorex-components-rate-picker.mjs +20 -35
  164. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  165. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  166. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  167. package/fesm2022/acorex-components-result.mjs +8 -8
  168. package/fesm2022/acorex-components-result.mjs.map +1 -1
  169. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  170. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  171. package/fesm2022/acorex-components-rrule.mjs +9 -9
  172. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  173. package/fesm2022/acorex-components-scheduler-picker.mjs +56 -56
  174. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  175. package/fesm2022/acorex-components-scheduler.mjs +43 -43
  176. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  177. package/fesm2022/acorex-components-scss.mjs +4 -4
  178. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  179. package/fesm2022/acorex-components-search-box.mjs +16 -10
  180. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  181. package/fesm2022/acorex-components-select-box.mjs +11 -9
  182. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  183. package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
  184. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  185. package/fesm2022/acorex-components-selection-list.mjs +9 -9
  186. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  187. package/fesm2022/acorex-components-side-menu.mjs +74 -25
  188. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  189. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  190. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  191. package/fesm2022/acorex-components-slider.mjs +12 -12
  192. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  193. package/fesm2022/acorex-components-sliding-item.mjs +14 -14
  194. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  195. package/fesm2022/acorex-components-step-wizard.mjs +14 -14
  196. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  197. package/fesm2022/acorex-components-switch.mjs +14 -14
  198. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  199. package/fesm2022/acorex-components-tabs.mjs +15 -15
  200. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  201. package/fesm2022/acorex-components-tag-box.mjs +9 -9
  202. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  203. package/fesm2022/acorex-components-tag.mjs +9 -9
  204. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  205. package/fesm2022/acorex-components-text-area.mjs +9 -9
  206. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  207. package/fesm2022/acorex-components-text-box.mjs +37 -131
  208. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  209. package/fesm2022/acorex-components-time-duration.mjs +22 -24
  210. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  211. package/fesm2022/acorex-components-time-line.mjs +12 -12
  212. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  213. package/fesm2022/acorex-components-toast.mjs +12 -12
  214. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  215. package/fesm2022/acorex-components-toolbar.mjs +8 -8
  216. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  217. package/fesm2022/acorex-components-tooltip.mjs +66 -65
  218. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  219. package/fesm2022/acorex-components-tree-view-legacy.mjs +16 -12
  220. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
  221. package/fesm2022/acorex-components-tree-view.mjs +32 -11
  222. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  223. package/fesm2022/acorex-components-uploader.mjs +16 -16
  224. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  225. package/fesm2022/acorex-components-video-player.mjs +8 -8
  226. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  227. package/fesm2022/acorex-components-wysiwyg.mjs +43 -43
  228. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  229. package/fesm2022/acorex-components.mjs.map +1 -1
  230. package/form/index.d.ts +2 -1
  231. package/grid-layout-builder/index.d.ts +1 -2
  232. package/kanban/index.d.ts +62 -4
  233. package/kbd/index.d.ts +13 -7
  234. package/loading/index.d.ts +1 -1
  235. package/media-viewer/index.d.ts +86 -53
  236. package/package.json +8 -14
  237. package/paint/index.d.ts +1 -6
  238. package/phone-box/index.d.ts +12 -7
  239. package/popover/index.d.ts +28 -6
  240. package/popup/index.d.ts +39 -42
  241. package/rate-picker/index.d.ts +5 -15
  242. package/side-menu/index.d.ts +9 -2
  243. package/slider/index.d.ts +2 -2
  244. package/text-box/index.d.ts +29 -48
  245. package/time-duration/index.d.ts +2 -2
  246. package/tooltip/index.d.ts +3 -7
  247. package/tree-view/index.d.ts +17 -0
  248. package/tree-view-legacy/index.d.ts +1 -0
  249. package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +0 -1
  250. package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map +0 -1
@@ -1,14 +1,14 @@
1
- import { AXOverlayService } from '@acorex/cdk/overlay';
2
- import * as i0 from '@angular/core';
3
- import { inject, NgZone, DOCUMENT, input, signal, TemplateRef, ViewContainerRef, HostListener, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, Component, ComponentRef, Injectable, Directive, NgModule } from '@angular/core';
4
- import { Subject } from 'rxjs';
5
1
  import { AXPlatform } from '@acorex/core/platform';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, NgZone, input, signal, TemplateRef, ViewContainerRef, HostListener, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive, ComponentRef, Injectable, NgModule } from '@angular/core';
6
4
  import { MXBaseComponent, AXClosableComponent, AXComponent, AXComponentClosedPromise, AXCommonModule } from '@acorex/cdk/common';
7
5
  import { AXDecoratorCloseButtonComponent, AXDecoratorModule } from '@acorex/components/decorators';
8
6
  import { AXLoadingService } from '@acorex/components/loading';
9
7
  import { AXComponentService } from '@acorex/core/components';
10
8
  import { AXTranslatorPipe, AXTranslationModule } from '@acorex/core/translation';
11
9
  import { AsyncPipe, CommonModule } from '@angular/common';
10
+ import { AXOverlayService } from '@acorex/cdk/overlay';
11
+ import { Subject } from 'rxjs';
12
12
 
13
13
  /**
14
14
  * The Popup is a component which displays content in a dialog overlay
@@ -19,7 +19,6 @@ class AXPopupComponent extends MXBaseComponent {
19
19
  constructor() {
20
20
  super(...arguments);
21
21
  this._zone = inject(NgZone);
22
- this._document = inject(DOCUMENT);
23
22
  this.loadingService = inject(AXLoadingService);
24
23
  this._platform = inject(AXPlatform);
25
24
  this.componentService = inject(AXComponentService);
@@ -80,21 +79,27 @@ class AXPopupComponent extends MXBaseComponent {
80
79
  }
81
80
  else if (typeof content === 'function') {
82
81
  // Render component
83
- const componentRef = await this.componentService.createFromComponent(content);
82
+ const componentRef = this.componentService.createFromComponent(content);
84
83
  this._componentRef = componentRef;
84
+ // Expose component instance to the popup ref
85
+ const popupRef = this.__popupRef__();
86
+ if (popupRef) {
87
+ popupRef.componentInstance = componentRef.instance;
88
+ }
85
89
  // Get component input definitions to check before setting inputs
86
90
  const inputDefs = componentRef.componentType?.ɵcmp
87
91
  ?.inputs;
88
92
  // Set data inputs (only if the component has the input defined)
89
93
  if (config?.data && typeof config.data === 'object') {
90
94
  Object.entries(config.data).forEach(([key, value]) => {
95
+ componentRef.instance[key] = value;
96
+ });
97
+ }
98
+ if (config?.inputs && typeof config.inputs === 'object') {
99
+ Object.entries(config.inputs).forEach(([key, value]) => {
91
100
  if (inputDefs && key in inputDefs) {
92
101
  componentRef.setInput(key, value);
93
102
  }
94
- else {
95
- // Fallback: set as property directly on the instance
96
- componentRef.instance[key] = value;
97
- }
98
103
  });
99
104
  }
100
105
  // Set popup reference (only if the component has this input)
@@ -119,10 +124,8 @@ class AXPopupComponent extends MXBaseComponent {
119
124
  this._zone.runOutsideAngular(() => {
120
125
  setTimeout(() => {
121
126
  const body = this.getHostElement().querySelector('.ax-popup-body-container');
122
- if (!body)
123
- return;
124
127
  const content = body.children[0];
125
- if (!content)
128
+ if (!content || !body)
126
129
  return;
127
130
  const popHeader = this.getHostElement().querySelector('.ax-popup-header-container');
128
131
  const popFooter = this.getHostElement().querySelector('.ax-popup-footer-container');
@@ -245,18 +248,18 @@ class AXPopupComponent extends MXBaseComponent {
245
248
  onDragEnd() {
246
249
  this.isDragging.set(false);
247
250
  }
248
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
249
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: AXPopupComponent, isStandalone: true, selector: "ax-popup", inputs: { __content__: { classPropertyName: "__content__", publicName: "__content__", isSignal: true, isRequired: false, transformFunction: null }, __config__: { classPropertyName: "__config__", publicName: "__config__", isSignal: true, isRequired: false, transformFunction: null }, __popupRef__: { classPropertyName: "__popupRef__", publicName: "__popupRef__", isSignal: true, isRequired: false, transformFunction: null }, __id__: { classPropertyName: "__id__", publicName: "__id__", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown.escape": "onKeydownHandler()", "document:mousemove": "onDragMove($event)", "document:mouseup": "onDragEnd()" } }, providers: [
251
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
252
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AXPopupComponent, isStandalone: true, selector: "ax-popup", inputs: { __content__: { classPropertyName: "__content__", publicName: "__content__", isSignal: true, isRequired: false, transformFunction: null }, __config__: { classPropertyName: "__config__", publicName: "__config__", isSignal: true, isRequired: false, transformFunction: null }, __popupRef__: { classPropertyName: "__popupRef__", publicName: "__popupRef__", isSignal: true, isRequired: false, transformFunction: null }, __id__: { classPropertyName: "__id__", publicName: "__id__", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown.escape": "onKeydownHandler()", "document:mousemove": "onDragMove($event)", "document:mouseup": "onDragEnd()" } }, providers: [
250
253
  { provide: AXClosableComponent, useExisting: AXPopupComponent },
251
254
  { provide: AXComponent, useExisting: AXPopupComponent },
252
- ], viewQueries: [{ propertyName: "contentContainerRef", first: true, predicate: ["contentContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "contentContainerEl", first: true, predicate: ["contentContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\">\n <div\n class=\"ax-popup ax-popup-{{ __config__()?.size || 'md' }}\"\n tabindex=\"0\"\n [class.ax-popup-dragging]=\"isDragging()\"\n [style.position]=\"dragOffset().x || dragOffset().y ? 'fixed' : null\"\n [style.left.px]=\"dragOffset().x || null\"\n [style.top.px]=\"dragOffset().y || null\"\n [style.transform]=\"dragOffset().x || dragOffset().y ? 'none' : null\"\n >\n <div\n class=\"ax-popup-header-container\"\n [class.ax-popup-draggable]=\"__config__()?.draggable\"\n (mousedown)=\"onDragStart($event)\"\n >\n @if (__config__()?.header) {\n <div class=\"ax-popup-header\">\n <span class=\"ax-popup-title\">{{ title() | translate | async }}</span>\n @if (__config__()?.closeButton) {\n <ax-close-button tabindex=\"1\" (click)=\"_handleCloseClick()\"></ax-close-button>\n }\n </div>\n }\n </div>\n <div class=\"ax-popup-main-container ax-loading-container\">\n <div class=\"ax-popup-body-container\" #contentContainer></div>\n <div class=\"ax-popup-footer-container\"></div>\n </div>\n </div>\n</div>\n", styles: [":root{--ax-comp-popup-border-radius: var(--ax-sys-border-radius);--ax-comp-popup-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-popup-body-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-popup-body-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-popup-header-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-popup-header-border-color: var(--ax-sys-color-border-lighter-surface);--ax-comp-popup-footer-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-popup-footer-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-popup-wrapper{display:contents}.ax-popup-header-container.ax-popup-draggable{cursor:move}.ax-popup.ax-popup-dragging{-webkit-user-select:none;user-select:none}.ax-popup{max-height:calc(var(--ax-overlay-full-width) * var(--ax-vh));margin-left:auto;margin-right:auto;display:flex;width:auto;flex-direction:column;overflow:hidden;border-radius:var(--ax-comp-popup-border-radius);border-width:1px;border-color:rgba(var(--ax-comp-popup-border-color));background-color:rgba(var(--ax-comp-popup-body-bg-color));padding:0;--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow);outline:2px solid transparent;outline-offset:2px;color:rgba(var(--ax-comp-popup-body-text-color))}.ax-popup .ax-popup-header-container{background-color:rgba(var(--ax-comp-popup-header-bg-color))}.ax-popup .ax-popup-header-container .ax-popup-header{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-color:rgba(var(--ax-comp-popup-header-border-color));padding:.75rem}.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:1rem;font-weight:500}@media (min-width: 768px){.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:1.125rem;line-height:1.75rem}}.ax-popup ax-footer{box-shadow:0 2px 10px #0000004d;display:flex;align-items:center;justify-content:space-between;border-top-width:1px;border-color:rgba(var(--ax-comp-popup-footer-border-color));background-color:rgba(var(--ax-comp-popup-footer-bg-color));padding:.75rem}.ax-popup:focus{outline:2px solid transparent;outline-offset:2px}.ax-popup:focus-visible{border-color:rgba(var(--ax-sys-color-primary-surface))}.ax-popup .ax-popup-main-container{display:flex;flex:1 1 0%;flex-direction:column;overflow:hidden}.ax-popup .ax-popup-main-container .ax-popup-body-container{flex:1 1 0%;overflow:auto;background-color:rgba(var(--ax-comp-popup-body-bg-color))}.ax-popup .ax-popup-main-container .ax-popup-footer-container{background-color:rgba(var(--ax-comp-popup-footer-bg-color))}.ax-popup.ax-popup-full{width:100vw;max-height:calc(100 * var(--ax-vh));height:calc(100 * var(--ax-vh));border-radius:0!important}.ax-popup.ax-fit{width:fit-content!important}.ax-popup.ax-fit .ax-popup-body-container{max-height:100vh}.ax-popup.ax-fit .ax-popup-body-container>ng-component>div{width:fit-content!important}@media (min-width: 320px) and (max-width: 640px){.ax-popup.ax-popup-sm,.ax-popup.ax-popup-md,.ax-popup.ax-popup-lg{width:93vw!important;height:fit-content;max-height:calc(var(--ax-overlay-full-width) * var(--ax-vh))!important}.ax-popup.ax-popup-sm .ax-popup-body-container>ng-component>div,.ax-popup.ax-popup-md .ax-popup-body-container>ng-component>div,.ax-popup.ax-popup-lg .ax-popup-body-container>ng-component>div{width:100%}}@media (min-width: 768px){.ax-popup.ax-popup-sm{width:55vw!important}.ax-popup.ax-popup-md{width:65vw!important}.ax-popup.ax-popup-lg{width:75vw!important}}@media (min-width: 1280px){.ax-popup.ax-popup-sm{width:30vw!important}.ax-popup.ax-popup-md{width:50vw!important}.ax-popup.ax-popup-lg{width:85vw!important}}@media (min-width: 1536px){.ax-popup.ax-popup-sm{width:25vw!important}.ax-popup.ax-popup-md{width:40vw!important}.ax-popup.ax-popup-lg{width:65vw!important}}.ax-dark .ax-popup{--ax-comp-popup-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-popup-body-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-popup-body-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-popup-header-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-popup-header-border-color: var(--ax-sys-color-border-dark-surface);--ax-comp-popup-footer-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-popup-footer-border-color: var(--ax-sys-color-border-dark-surface)}\n"], dependencies: [{ kind: "component", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["closeAll", "icon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
255
+ ], viewQueries: [{ propertyName: "contentContainerRef", first: true, predicate: ["contentContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "contentContainerEl", first: true, predicate: ["contentContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\">\n <div\n class=\"ax-popup ax-popup-{{ __config__()?.size || 'md' }}\"\n tabindex=\"0\"\n [class.ax-popup-dragging]=\"isDragging()\"\n [style.position]=\"dragOffset().x || dragOffset().y ? 'fixed' : null\"\n [style.left.px]=\"dragOffset().x || null\"\n [style.top.px]=\"dragOffset().y || null\"\n [style.transform]=\"dragOffset().x || dragOffset().y ? 'none' : null\"\n >\n <div\n class=\"ax-popup-header-container\"\n [class.ax-popup-draggable]=\"__config__()?.draggable\"\n (mousedown)=\"onDragStart($event)\"\n >\n @if (__config__()?.header) {\n <div class=\"ax-popup-header\">\n <span class=\"ax-popup-title\">{{ title() | translate | async }}</span>\n @if (__config__()?.closeButton) {\n <ax-close-button tabindex=\"1\" (click)=\"_handleCloseClick()\"></ax-close-button>\n }\n </div>\n }\n </div>\n <div class=\"ax-popup-main-container ax-loading-container\">\n <div class=\"ax-popup-body-container\" #contentContainer></div>\n <div class=\"ax-popup-footer-container\"></div>\n </div>\n </div>\n</div>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-outline-style:solid;--tw-font-weight:initial;--tw-leading:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer components{.ax-popup:where(.dark,.dark *){background-color:var(--color-darkest);color:var(--color-on-darkest);border-color:var(--color-border-darkest)}.ax-popup{max-height:calc(var(--ax-overlay-full-width)*var(--ax-vh));--ax-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--ax-shadow-colored:0 10px 15px -3px var(--ax-shadow-color),0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow,0 0 #0000),var(--ax-ring-shadow,0 0 #0000),var(--ax-shadow)}.ax-popup .ax-popup-header-container{background-color:var(--color-lighter,rgba(var(--ax-sys-color-lighter-surface)))}.ax-popup .ax-popup-header-container:where(.dark,.dark *){background-color:var(--color-dark,rgba(var(--ax-sys-color-dark-surface)))}.ax-popup .ax-popup-header-container .ax-popup-header{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-lighter,rgba(var(--ax-sys-color-border-lighter-surface)));padding:calc(var(--spacing,.25rem)*3);justify-content:space-between;align-items:center;display:flex}.ax-popup .ax-popup-header-container .ax-popup-header:where(.dark,.dark *){border-color:var(--color-border-dark,rgba(var(--ax-sys-color-border-dark-surface)))}.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}@media (min-width:48rem){.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));--tw-leading:calc(var(--spacing,.25rem)*7);line-height:calc(var(--spacing,.25rem)*7)}}.ax-popup .ax-popup-wrapper{display:contents}.ax-popup .ax-popup-header-container.ax-popup-draggable{cursor:move}.ax-popup .ax-popup.ax-popup-dragging{-webkit-user-select:none;user-select:none}.ax-popup ax-footer{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-border-lighter,rgba(var(--ax-sys-color-border-lighter-surface)));background-color:var(--color-lighter,rgba(var(--ax-sys-color-lighter-surface)));padding:calc(var(--spacing,.25rem)*3);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);justify-content:space-between;align-items:center;display:flex}.ax-popup ax-footer:where(.dark,.dark *){border-color:var(--color-border-dark,rgba(var(--ax-sys-color-border-dark-surface)));background-color:var(--color-dark,rgba(var(--ax-sys-color-dark-surface)))}.ax-popup:focus{outline-style:var(--tw-outline-style);outline-offset:2px;outline-width:2px;outline-color:#0000}.ax-popup:focus-visible{border-color:var(--color-primary,rgba(var(--ax-sys-color-primary-surface)))}.ax-popup .ax-popup-main-container{flex-direction:column;flex:1;display:flex;overflow:hidden}.ax-popup .ax-popup-main-container .ax-popup-body-container{background-color:var(--color-lightest,rgba(var(--ax-sys-color-lightest-surface)));flex:1;overflow:auto}.ax-popup .ax-popup-main-container .ax-popup-body-container:where(.dark,.dark *){background-color:var(--color-darkest,rgba(var(--ax-sys-color-darkest-surface)))}.ax-popup .ax-popup-main-container .ax-popup-footer-container{background-color:var(--color-lighter,rgba(var(--ax-sys-color-lighter-surface)))}.ax-popup .ax-popup-main-container .ax-popup-footer-container:where(.dark,.dark *){background-color:var(--color-dark,rgba(var(--ax-sys-color-dark-surface)))}.ax-popup.ax-popup-full{width:100vw;max-height:calc(100*var(--ax-vh));height:calc(100*var(--ax-vh));border-radius:0!important}.ax-popup.ax-fit{width:fit-content!important}.ax-popup.ax-fit .ax-popup-body-container{max-height:100vh}.ax-popup.ax-fit .ax-popup-body-container>ng-component>div{width:fit-content!important}@media screen and (min-width:320px) and (max-width:640px){.ax-popup.ax-popup-sm,.ax-popup.ax-popup-md,.ax-popup.ax-popup-lg{height:fit-content;width:93vw!important;max-height:calc(var(--ax-overlay-full-width)*var(--ax-vh))!important}:is(.ax-popup.ax-popup-sm,.ax-popup.ax-popup-md,.ax-popup.ax-popup-lg) .ax-popup-body-container>ng-component>div{width:100%}}@media screen and (min-width:768px){.ax-popup.ax-popup-sm{width:55vw!important}.ax-popup.ax-popup-md{width:65vw!important}.ax-popup.ax-popup-lg{width:75vw!important}}@media screen and (min-width:1280px){.ax-popup.ax-popup-sm{width:30vw!important}.ax-popup.ax-popup-md{width:50vw!important}.ax-popup.ax-popup-lg{width:85vw!important}}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}\n/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["closeAll", "icon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
253
256
  }
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupComponent, decorators: [{
257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponent, decorators: [{
255
258
  type: Component,
256
259
  args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
257
260
  { provide: AXClosableComponent, useExisting: AXPopupComponent },
258
261
  { provide: AXComponent, useExisting: AXPopupComponent },
259
- ], imports: [AXDecoratorCloseButtonComponent, AsyncPipe, AXTranslatorPipe], template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\">\n <div\n class=\"ax-popup ax-popup-{{ __config__()?.size || 'md' }}\"\n tabindex=\"0\"\n [class.ax-popup-dragging]=\"isDragging()\"\n [style.position]=\"dragOffset().x || dragOffset().y ? 'fixed' : null\"\n [style.left.px]=\"dragOffset().x || null\"\n [style.top.px]=\"dragOffset().y || null\"\n [style.transform]=\"dragOffset().x || dragOffset().y ? 'none' : null\"\n >\n <div\n class=\"ax-popup-header-container\"\n [class.ax-popup-draggable]=\"__config__()?.draggable\"\n (mousedown)=\"onDragStart($event)\"\n >\n @if (__config__()?.header) {\n <div class=\"ax-popup-header\">\n <span class=\"ax-popup-title\">{{ title() | translate | async }}</span>\n @if (__config__()?.closeButton) {\n <ax-close-button tabindex=\"1\" (click)=\"_handleCloseClick()\"></ax-close-button>\n }\n </div>\n }\n </div>\n <div class=\"ax-popup-main-container ax-loading-container\">\n <div class=\"ax-popup-body-container\" #contentContainer></div>\n <div class=\"ax-popup-footer-container\"></div>\n </div>\n </div>\n</div>\n", styles: [":root{--ax-comp-popup-border-radius: var(--ax-sys-border-radius);--ax-comp-popup-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-popup-body-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-popup-body-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-popup-header-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-popup-header-border-color: var(--ax-sys-color-border-lighter-surface);--ax-comp-popup-footer-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-popup-footer-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-popup-wrapper{display:contents}.ax-popup-header-container.ax-popup-draggable{cursor:move}.ax-popup.ax-popup-dragging{-webkit-user-select:none;user-select:none}.ax-popup{max-height:calc(var(--ax-overlay-full-width) * var(--ax-vh));margin-left:auto;margin-right:auto;display:flex;width:auto;flex-direction:column;overflow:hidden;border-radius:var(--ax-comp-popup-border-radius);border-width:1px;border-color:rgba(var(--ax-comp-popup-border-color));background-color:rgba(var(--ax-comp-popup-body-bg-color));padding:0;--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow);outline:2px solid transparent;outline-offset:2px;color:rgba(var(--ax-comp-popup-body-text-color))}.ax-popup .ax-popup-header-container{background-color:rgba(var(--ax-comp-popup-header-bg-color))}.ax-popup .ax-popup-header-container .ax-popup-header{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-color:rgba(var(--ax-comp-popup-header-border-color));padding:.75rem}.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:1rem;font-weight:500}@media (min-width: 768px){.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:1.125rem;line-height:1.75rem}}.ax-popup ax-footer{box-shadow:0 2px 10px #0000004d;display:flex;align-items:center;justify-content:space-between;border-top-width:1px;border-color:rgba(var(--ax-comp-popup-footer-border-color));background-color:rgba(var(--ax-comp-popup-footer-bg-color));padding:.75rem}.ax-popup:focus{outline:2px solid transparent;outline-offset:2px}.ax-popup:focus-visible{border-color:rgba(var(--ax-sys-color-primary-surface))}.ax-popup .ax-popup-main-container{display:flex;flex:1 1 0%;flex-direction:column;overflow:hidden}.ax-popup .ax-popup-main-container .ax-popup-body-container{flex:1 1 0%;overflow:auto;background-color:rgba(var(--ax-comp-popup-body-bg-color))}.ax-popup .ax-popup-main-container .ax-popup-footer-container{background-color:rgba(var(--ax-comp-popup-footer-bg-color))}.ax-popup.ax-popup-full{width:100vw;max-height:calc(100 * var(--ax-vh));height:calc(100 * var(--ax-vh));border-radius:0!important}.ax-popup.ax-fit{width:fit-content!important}.ax-popup.ax-fit .ax-popup-body-container{max-height:100vh}.ax-popup.ax-fit .ax-popup-body-container>ng-component>div{width:fit-content!important}@media (min-width: 320px) and (max-width: 640px){.ax-popup.ax-popup-sm,.ax-popup.ax-popup-md,.ax-popup.ax-popup-lg{width:93vw!important;height:fit-content;max-height:calc(var(--ax-overlay-full-width) * var(--ax-vh))!important}.ax-popup.ax-popup-sm .ax-popup-body-container>ng-component>div,.ax-popup.ax-popup-md .ax-popup-body-container>ng-component>div,.ax-popup.ax-popup-lg .ax-popup-body-container>ng-component>div{width:100%}}@media (min-width: 768px){.ax-popup.ax-popup-sm{width:55vw!important}.ax-popup.ax-popup-md{width:65vw!important}.ax-popup.ax-popup-lg{width:75vw!important}}@media (min-width: 1280px){.ax-popup.ax-popup-sm{width:30vw!important}.ax-popup.ax-popup-md{width:50vw!important}.ax-popup.ax-popup-lg{width:85vw!important}}@media (min-width: 1536px){.ax-popup.ax-popup-sm{width:25vw!important}.ax-popup.ax-popup-md{width:40vw!important}.ax-popup.ax-popup-lg{width:65vw!important}}.ax-dark .ax-popup{--ax-comp-popup-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-popup-body-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-popup-body-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-popup-header-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-popup-header-border-color: var(--ax-sys-color-border-dark-surface);--ax-comp-popup-footer-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-popup-footer-border-color: var(--ax-sys-color-border-dark-surface)}\n"] }]
262
+ ], imports: [AXDecoratorCloseButtonComponent, AsyncPipe, AXTranslatorPipe], template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\">\n <div\n class=\"ax-popup ax-popup-{{ __config__()?.size || 'md' }}\"\n tabindex=\"0\"\n [class.ax-popup-dragging]=\"isDragging()\"\n [style.position]=\"dragOffset().x || dragOffset().y ? 'fixed' : null\"\n [style.left.px]=\"dragOffset().x || null\"\n [style.top.px]=\"dragOffset().y || null\"\n [style.transform]=\"dragOffset().x || dragOffset().y ? 'none' : null\"\n >\n <div\n class=\"ax-popup-header-container\"\n [class.ax-popup-draggable]=\"__config__()?.draggable\"\n (mousedown)=\"onDragStart($event)\"\n >\n @if (__config__()?.header) {\n <div class=\"ax-popup-header\">\n <span class=\"ax-popup-title\">{{ title() | translate | async }}</span>\n @if (__config__()?.closeButton) {\n <ax-close-button tabindex=\"1\" (click)=\"_handleCloseClick()\"></ax-close-button>\n }\n </div>\n }\n </div>\n <div class=\"ax-popup-main-container ax-loading-container\">\n <div class=\"ax-popup-body-container\" #contentContainer></div>\n <div class=\"ax-popup-footer-container\"></div>\n </div>\n </div>\n</div>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-outline-style:solid;--tw-font-weight:initial;--tw-leading:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer components{.ax-popup:where(.dark,.dark *){background-color:var(--color-darkest);color:var(--color-on-darkest);border-color:var(--color-border-darkest)}.ax-popup{max-height:calc(var(--ax-overlay-full-width)*var(--ax-vh));--ax-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--ax-shadow-colored:0 10px 15px -3px var(--ax-shadow-color),0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow,0 0 #0000),var(--ax-ring-shadow,0 0 #0000),var(--ax-shadow)}.ax-popup .ax-popup-header-container{background-color:var(--color-lighter,rgba(var(--ax-sys-color-lighter-surface)))}.ax-popup .ax-popup-header-container:where(.dark,.dark *){background-color:var(--color-dark,rgba(var(--ax-sys-color-dark-surface)))}.ax-popup .ax-popup-header-container .ax-popup-header{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-border-lighter,rgba(var(--ax-sys-color-border-lighter-surface)));padding:calc(var(--spacing,.25rem)*3);justify-content:space-between;align-items:center;display:flex}.ax-popup .ax-popup-header-container .ax-popup-header:where(.dark,.dark *){border-color:var(--color-border-dark,rgba(var(--ax-sys-color-border-dark-surface)))}.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}@media (min-width:48rem){.ax-popup .ax-popup-header-container .ax-popup-header .ax-popup-title{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));--tw-leading:calc(var(--spacing,.25rem)*7);line-height:calc(var(--spacing,.25rem)*7)}}.ax-popup .ax-popup-wrapper{display:contents}.ax-popup .ax-popup-header-container.ax-popup-draggable{cursor:move}.ax-popup .ax-popup.ax-popup-dragging{-webkit-user-select:none;user-select:none}.ax-popup ax-footer{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-border-lighter,rgba(var(--ax-sys-color-border-lighter-surface)));background-color:var(--color-lighter,rgba(var(--ax-sys-color-lighter-surface)));padding:calc(var(--spacing,.25rem)*3);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);justify-content:space-between;align-items:center;display:flex}.ax-popup ax-footer:where(.dark,.dark *){border-color:var(--color-border-dark,rgba(var(--ax-sys-color-border-dark-surface)));background-color:var(--color-dark,rgba(var(--ax-sys-color-dark-surface)))}.ax-popup:focus{outline-style:var(--tw-outline-style);outline-offset:2px;outline-width:2px;outline-color:#0000}.ax-popup:focus-visible{border-color:var(--color-primary,rgba(var(--ax-sys-color-primary-surface)))}.ax-popup .ax-popup-main-container{flex-direction:column;flex:1;display:flex;overflow:hidden}.ax-popup .ax-popup-main-container .ax-popup-body-container{background-color:var(--color-lightest,rgba(var(--ax-sys-color-lightest-surface)));flex:1;overflow:auto}.ax-popup .ax-popup-main-container .ax-popup-body-container:where(.dark,.dark *){background-color:var(--color-darkest,rgba(var(--ax-sys-color-darkest-surface)))}.ax-popup .ax-popup-main-container .ax-popup-footer-container{background-color:var(--color-lighter,rgba(var(--ax-sys-color-lighter-surface)))}.ax-popup .ax-popup-main-container .ax-popup-footer-container:where(.dark,.dark *){background-color:var(--color-dark,rgba(var(--ax-sys-color-dark-surface)))}.ax-popup.ax-popup-full{width:100vw;max-height:calc(100*var(--ax-vh));height:calc(100*var(--ax-vh));border-radius:0!important}.ax-popup.ax-fit{width:fit-content!important}.ax-popup.ax-fit .ax-popup-body-container{max-height:100vh}.ax-popup.ax-fit .ax-popup-body-container>ng-component>div{width:fit-content!important}@media screen and (min-width:320px) and (max-width:640px){.ax-popup.ax-popup-sm,.ax-popup.ax-popup-md,.ax-popup.ax-popup-lg{height:fit-content;width:93vw!important;max-height:calc(var(--ax-overlay-full-width)*var(--ax-vh))!important}:is(.ax-popup.ax-popup-sm,.ax-popup.ax-popup-md,.ax-popup.ax-popup-lg) .ax-popup-body-container>ng-component>div{width:100%}}@media screen and (min-width:768px){.ax-popup.ax-popup-sm{width:55vw!important}.ax-popup.ax-popup-md{width:65vw!important}.ax-popup.ax-popup-lg{width:75vw!important}}@media screen and (min-width:1280px){.ax-popup.ax-popup-sm{width:30vw!important}.ax-popup.ax-popup-md{width:50vw!important}.ax-popup.ax-popup-lg{width:85vw!important}}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}\n/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n"] }]
260
263
  }], propDecorators: { contentContainerRef: [{
261
264
  type: ViewChild,
262
265
  args: ['contentContainer', { read: ViewContainerRef, static: true }]
@@ -274,18 +277,77 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
274
277
  args: ['document:mouseup']
275
278
  }] } });
276
279
 
277
- class AXPopupStateService {
280
+ class AXPopupComponentBase {
281
+ constructor() {
282
+ this.__popup__ = input(...(ngDevMode ? [undefined, { debugName: "__popup__" }] : []));
283
+ }
284
+ close(data = null) {
285
+ this.__popup__().close(data);
286
+ }
287
+ setTitle(title) {
288
+ this.__popup__().setTitle(title);
289
+ }
290
+ bringToFront() {
291
+ this.__popup__().bringToFront();
292
+ }
293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
294
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: AXPopupComponentBase, isStandalone: true, inputs: { __popup__: { classPropertyName: "__popup__", publicName: "__popup__", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
295
+ }
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponentBase, decorators: [{
297
+ type: Directive
298
+ }], propDecorators: { __popup__: [{ type: i0.Input, args: [{ isSignal: true, alias: "__popup__", required: false }] }] } });
299
+
300
+ /**
301
+ * This is a service which you can create popup with it
302
+ *
303
+ * @category Components
304
+ */
305
+ class AXPopupService {
278
306
  constructor() {
279
307
  this.popupList = new Map();
280
308
  this.overlayService = inject(AXOverlayService);
281
309
  }
310
+ /**
311
+ * @ignore
312
+ */
313
+ open(arg1, arg2) {
314
+ let config = {
315
+ closeButton: true,
316
+ header: true,
317
+ size: 'md',
318
+ maximizable: false,
319
+ draggable: true,
320
+ hasBackdrop: true,
321
+ closeOnBackdropClick: false,
322
+ data: {},
323
+ };
324
+ if (typeof arg2 === 'string') {
325
+ config.title = arg2;
326
+ }
327
+ else {
328
+ config = Object.assign(config, arg2);
329
+ }
330
+ const promise = new AXComponentClosedPromise((resolve) => {
331
+ this.openInternal(arg1, config).then((ref) => {
332
+ ref.onClose.subscribe((data) => {
333
+ if (resolve) {
334
+ resolve({
335
+ sender: ref.componentInstance,
336
+ data: data,
337
+ });
338
+ }
339
+ });
340
+ });
341
+ });
342
+ return promise;
343
+ }
282
344
  /**
283
345
  * Opens a popup with the specified content and configuration.
284
346
  * @param content - Component or template to display
285
347
  * @param config - Configuration options for the popup
286
348
  * @returns Promise<AXPopupRef> - Reference to the opened popup
287
349
  */
288
- async open(content, config) {
350
+ async openInternal(content, config) {
289
351
  const randomId = Math.floor(Math.random() * 100000000000);
290
352
  const onClose = new Subject();
291
353
  const returnRef = {
@@ -330,7 +392,7 @@ class AXPopupStateService {
330
392
  * @param id - The popup ID to close
331
393
  * @param data - Optional data to pass to the close event
332
394
  */
333
- async close(id, data) {
395
+ close(id, data) {
334
396
  const ref = this.popupList.get(id);
335
397
  if (!ref)
336
398
  return;
@@ -344,7 +406,7 @@ class AXPopupStateService {
344
406
  * @param id - The popup ID
345
407
  * @param values - Object containing input values to set
346
408
  */
347
- async setInputs(id, values) {
409
+ setInputs(id, values) {
348
410
  const ref = this.popupList.get(id)?.overlay.instance;
349
411
  if (!ref)
350
412
  return;
@@ -358,7 +420,7 @@ class AXPopupStateService {
358
420
  * @param id - The popup ID
359
421
  * @param title - The new title
360
422
  */
361
- async setTitle(id, title) {
423
+ setTitle(id, title) {
362
424
  const ref = this.popupList.get(id)?.overlay.instance;
363
425
  if (!ref)
364
426
  return;
@@ -377,94 +439,24 @@ class AXPopupStateService {
377
439
  return;
378
440
  ref.overlay.bringToFront();
379
441
  }
380
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
381
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupStateService, providedIn: 'root' }); }
442
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
443
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupService, providedIn: 'root' }); }
382
444
  }
383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupStateService, decorators: [{
445
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupService, decorators: [{
384
446
  type: Injectable,
385
447
  args: [{
386
448
  providedIn: 'root',
387
449
  }]
388
450
  }] });
389
451
 
390
- class AXPopupComponentBase {
391
- constructor() {
392
- this.__popup__ = input(...(ngDevMode ? [undefined, { debugName: "__popup__" }] : []));
393
- }
394
- close(data = null) {
395
- this.__popup__().close(data);
396
- }
397
- setTitle(title) {
398
- this.__popup__().setTitle(title);
399
- }
400
- bringToFront() {
401
- this.__popup__().bringToFront();
402
- }
403
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupComponentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
404
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: AXPopupComponentBase, isStandalone: true, inputs: { __popup__: { classPropertyName: "__popup__", publicName: "__popup__", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
405
- }
406
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupComponentBase, decorators: [{
407
- type: Directive
408
- }], propDecorators: { __popup__: [{ type: i0.Input, args: [{ isSignal: true, alias: "__popup__", required: false }] }] } });
409
-
410
- /**
411
- * This is a service which you can create popup with it
412
- *
413
- * @category Components
414
- */
415
- class AXPopupService {
416
- constructor() {
417
- this.stateService = inject(AXPopupStateService);
418
- }
419
- /**
420
- * @ignore
421
- */
422
- open(arg1, arg2) {
423
- let config = {
424
- closeButton: true,
425
- header: true,
426
- size: 'md',
427
- maximizable: false,
428
- draggable: true,
429
- hasBackdrop: true,
430
- closeOnBackdropClick: false,
431
- data: {},
432
- };
433
- if (typeof arg2 === 'string') {
434
- config.title = arg2;
435
- }
436
- else {
437
- config = Object.assign(config, arg2);
438
- }
439
- const promise = new AXComponentClosedPromise((resolve) => {
440
- this.stateService.open(arg1, config).then((ref) => {
441
- ref.onClose.subscribe((data) => {
442
- if (resolve) {
443
- resolve({
444
- sender: null,
445
- data: data,
446
- });
447
- }
448
- });
449
- });
450
- });
451
- return promise;
452
- }
453
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
454
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupService }); }
455
- }
456
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupService, decorators: [{
457
- type: Injectable
458
- }] });
459
-
460
452
  const COMPONENT = [AXPopupComponent];
461
453
  const MODULES = [CommonModule, AXCommonModule, AXDecoratorModule, AXTranslationModule];
462
454
  class AXPopupModule {
463
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
464
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXPopupModule, imports: [CommonModule, AXCommonModule, AXDecoratorModule, AXTranslationModule, AXPopupComponent], exports: [AXPopupComponent] }); }
465
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [MODULES, COMPONENT] }); }
455
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
456
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, imports: [CommonModule, AXCommonModule, AXDecoratorModule, AXTranslationModule, AXPopupComponent], exports: [AXPopupComponent] }); }
457
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [MODULES, COMPONENT] }); }
466
458
  }
467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupModule, decorators: [{
459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, decorators: [{
468
460
  type: NgModule,
469
461
  args: [{
470
462
  imports: [...MODULES, ...COMPONENT],
@@ -477,5 +469,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
477
469
  * Generated bundle index. Do not edit.
478
470
  */
479
471
 
480
- export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService, AXPopupStateService };
472
+ export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService };
481
473
  //# sourceMappingURL=acorex-components-popup.mjs.map