@acorex/components 21.0.1-next.2 → 21.0.1-next.21

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 (247) 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/command/index.d.ts +8 -1
  7. package/conversation2/README.md +71 -31
  8. package/conversation2/index.d.ts +36 -35
  9. package/data-table/index.d.ts +4 -253
  10. package/datetime-picker/index.d.ts +1 -1
  11. package/fesm2022/acorex-components-accordion.mjs +16 -21
  12. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  13. package/fesm2022/acorex-components-action-sheet.mjs +170 -52
  14. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  15. package/fesm2022/acorex-components-alert.mjs +13 -13
  16. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  17. package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
  18. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  19. package/fesm2022/acorex-components-audio-wave.mjs +11 -10
  20. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  21. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  22. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  23. package/fesm2022/acorex-components-avatar.mjs +12 -12
  24. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  25. package/fesm2022/acorex-components-badge.mjs +9 -9
  26. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  27. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  28. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  29. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  30. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  31. package/fesm2022/acorex-components-button-group.mjs +23 -19
  32. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  33. package/fesm2022/acorex-components-button.mjs +18 -18
  34. package/fesm2022/acorex-components-button.mjs.map +1 -1
  35. package/fesm2022/acorex-components-calendar.mjs +17 -17
  36. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  37. package/fesm2022/acorex-components-check-box.mjs +10 -10
  38. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  39. package/fesm2022/acorex-components-chips.mjs +12 -14
  40. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  41. package/fesm2022/acorex-components-circular-progress.mjs +12 -10
  42. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  43. package/fesm2022/acorex-components-code-editor.mjs +10 -10
  44. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  45. package/fesm2022/acorex-components-collapse.mjs +22 -19
  46. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  47. package/fesm2022/acorex-components-color-box.mjs +9 -9
  48. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  49. package/fesm2022/acorex-components-color-palette.mjs +30 -30
  50. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  51. package/fesm2022/acorex-components-command.mjs +17 -11
  52. package/fesm2022/acorex-components-command.mjs.map +1 -1
  53. package/fesm2022/acorex-components-comment.mjs +32 -32
  54. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  55. package/fesm2022/acorex-components-conversation.mjs +51 -51
  56. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  57. package/fesm2022/acorex-components-conversation2.mjs +309 -303
  58. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  59. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  60. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  61. package/fesm2022/acorex-components-data-list.mjs +3 -3
  62. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  63. package/fesm2022/acorex-components-data-pager.mjs +33 -33
  64. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  65. package/fesm2022/acorex-components-data-table.mjs +50 -486
  66. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  67. package/fesm2022/acorex-components-datetime-box.mjs +9 -9
  68. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  69. package/fesm2022/acorex-components-datetime-input.mjs +9 -9
  70. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  71. package/fesm2022/acorex-components-datetime-picker.mjs +40 -38
  72. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  73. package/fesm2022/acorex-components-decorators.mjs +43 -36
  74. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  75. package/fesm2022/acorex-components-dialog.mjs +12 -12
  76. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  77. package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
  78. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
  79. package/fesm2022/acorex-components-drawer.mjs +15 -16
  80. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  81. package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
  82. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  83. package/fesm2022/acorex-components-dropdown.mjs +24 -18
  84. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  85. package/fesm2022/acorex-components-editor.mjs +11 -11
  86. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  87. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  88. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  89. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  90. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  91. package/fesm2022/acorex-components-form.mjs +32 -24
  92. package/fesm2022/acorex-components-form.mjs.map +1 -1
  93. package/fesm2022/acorex-components-grid-layout-builder.mjs +12 -13
  94. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  95. package/fesm2022/acorex-components-image-editor.mjs +44 -44
  96. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  97. package/fesm2022/acorex-components-image.mjs +9 -9
  98. package/fesm2022/acorex-components-image.mjs.map +1 -1
  99. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  100. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  101. package/fesm2022/acorex-components-kanban.mjs +155 -13
  102. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  103. package/fesm2022/acorex-components-kbd.mjs +29 -11
  104. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  105. package/fesm2022/acorex-components-label.mjs +9 -9
  106. package/fesm2022/acorex-components-label.mjs.map +1 -1
  107. package/fesm2022/acorex-components-list.mjs +9 -9
  108. package/fesm2022/acorex-components-list.mjs.map +1 -1
  109. package/fesm2022/acorex-components-loading-dialog.mjs +11 -11
  110. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  111. package/fesm2022/acorex-components-loading.mjs +23 -23
  112. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  113. package/fesm2022/acorex-components-map.mjs +14 -14
  114. package/fesm2022/acorex-components-map.mjs.map +1 -1
  115. package/fesm2022/acorex-components-media-viewer.mjs +72 -54
  116. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  117. package/fesm2022/acorex-components-menu.mjs +21 -21
  118. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  119. package/fesm2022/{acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs} +22 -22
  120. package/fesm2022/acorex-components-modal-acorex-components-modal-BajlPo_n.mjs.map +1 -0
  121. package/fesm2022/{acorex-components-modal-modal-content.component-CSJU1vRi.mjs → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs} +9 -7
  122. package/fesm2022/acorex-components-modal-modal-content.component-BVrBX4Qf.mjs.map +1 -0
  123. package/fesm2022/acorex-components-modal.mjs +1 -1
  124. package/fesm2022/acorex-components-navbar.mjs +9 -9
  125. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  126. package/fesm2022/acorex-components-notification.mjs +28 -24
  127. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  128. package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
  129. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
  130. package/fesm2022/acorex-components-number-box.mjs +9 -9
  131. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  132. package/fesm2022/acorex-components-otp.mjs +9 -9
  133. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  134. package/fesm2022/acorex-components-page.mjs +10 -10
  135. package/fesm2022/acorex-components-page.mjs.map +1 -1
  136. package/fesm2022/acorex-components-paint.mjs +34 -39
  137. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  138. package/fesm2022/acorex-components-password-box.mjs +13 -13
  139. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  140. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  141. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  142. package/fesm2022/acorex-components-phone-box.mjs +32 -40
  143. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  144. package/fesm2022/acorex-components-picker.mjs +19 -18
  145. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  146. package/fesm2022/acorex-components-popover.mjs +27 -12
  147. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  148. package/fesm2022/acorex-components-popup.mjs +88 -101
  149. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  150. package/fesm2022/acorex-components-progress-bar.mjs +11 -9
  151. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  152. package/fesm2022/acorex-components-qrcode.mjs +9 -9
  153. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  154. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  155. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  156. package/fesm2022/acorex-components-radio.mjs +9 -9
  157. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  158. package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
  159. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  160. package/fesm2022/acorex-components-range-slider.mjs +10 -10
  161. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  162. package/fesm2022/acorex-components-rate-picker.mjs +20 -35
  163. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  164. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  165. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  166. package/fesm2022/acorex-components-result.mjs +8 -8
  167. package/fesm2022/acorex-components-result.mjs.map +1 -1
  168. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  169. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  170. package/fesm2022/acorex-components-rrule.mjs +9 -9
  171. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  172. package/fesm2022/acorex-components-scheduler-picker.mjs +56 -56
  173. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  174. package/fesm2022/acorex-components-scheduler.mjs +1220 -161
  175. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  176. package/fesm2022/acorex-components-scss.mjs +4 -4
  177. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  178. package/fesm2022/acorex-components-search-box.mjs +16 -10
  179. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  180. package/fesm2022/acorex-components-select-box.mjs +11 -9
  181. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  182. package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
  183. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  184. package/fesm2022/acorex-components-selection-list.mjs +9 -9
  185. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  186. package/fesm2022/acorex-components-side-menu.mjs +74 -25
  187. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  188. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  189. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  190. package/fesm2022/acorex-components-slider.mjs +12 -12
  191. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  192. package/fesm2022/acorex-components-sliding-item.mjs +14 -14
  193. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  194. package/fesm2022/acorex-components-step-wizard.mjs +14 -14
  195. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  196. package/fesm2022/acorex-components-switch.mjs +14 -14
  197. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  198. package/fesm2022/acorex-components-tabs.mjs +15 -15
  199. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  200. package/fesm2022/acorex-components-tag-box.mjs +9 -9
  201. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  202. package/fesm2022/acorex-components-tag.mjs +9 -9
  203. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  204. package/fesm2022/acorex-components-text-area.mjs +9 -9
  205. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  206. package/fesm2022/acorex-components-text-box.mjs +12 -12
  207. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  208. package/fesm2022/acorex-components-time-duration.mjs +7 -7
  209. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  210. package/fesm2022/acorex-components-time-line.mjs +12 -12
  211. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  212. package/fesm2022/acorex-components-toast.mjs +12 -12
  213. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  214. package/fesm2022/acorex-components-toolbar.mjs +8 -8
  215. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  216. package/fesm2022/acorex-components-tooltip.mjs +66 -65
  217. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  218. package/fesm2022/acorex-components-tree-view-legacy.mjs +16 -12
  219. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
  220. package/fesm2022/acorex-components-tree-view.mjs +26 -11
  221. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  222. package/fesm2022/acorex-components-uploader.mjs +16 -16
  223. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  224. package/fesm2022/acorex-components-video-player.mjs +8 -8
  225. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  226. package/fesm2022/acorex-components-wysiwyg.mjs +42 -42
  227. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  228. package/fesm2022/acorex-components.mjs.map +1 -1
  229. package/grid-layout-builder/index.d.ts +1 -2
  230. package/kanban/index.d.ts +61 -4
  231. package/kbd/index.d.ts +13 -7
  232. package/loading/index.d.ts +1 -1
  233. package/media-viewer/index.d.ts +2 -1
  234. package/package.json +15 -15
  235. package/paint/index.d.ts +1 -6
  236. package/phone-box/index.d.ts +1 -6
  237. package/popover/index.d.ts +6 -2
  238. package/popup/index.d.ts +37 -42
  239. package/rate-picker/index.d.ts +5 -15
  240. package/scheduler/index.d.ts +281 -27
  241. package/side-menu/index.d.ts +9 -2
  242. package/slider/index.d.ts +2 -2
  243. package/tooltip/index.d.ts +3 -7
  244. package/tree-view/index.d.ts +11 -0
  245. package/tree-view-legacy/index.d.ts +1 -0
  246. package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +0 -1
  247. 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,7 +79,7 @@ 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;
85
84
  // Get component input definitions to check before setting inputs
86
85
  const inputDefs = componentRef.componentType?.ɵcmp
@@ -88,13 +87,14 @@ class AXPopupComponent extends MXBaseComponent {
88
87
  // Set data inputs (only if the component has the input defined)
89
88
  if (config?.data && typeof config.data === 'object') {
90
89
  Object.entries(config.data).forEach(([key, value]) => {
90
+ componentRef.instance[key] = value;
91
+ });
92
+ }
93
+ if (config?.inputs && typeof config.inputs === 'object') {
94
+ Object.entries(config.inputs).forEach(([key, value]) => {
91
95
  if (inputDefs && key in inputDefs) {
92
96
  componentRef.setInput(key, value);
93
97
  }
94
- else {
95
- // Fallback: set as property directly on the instance
96
- componentRef.instance[key] = value;
97
- }
98
98
  });
99
99
  }
100
100
  // Set popup reference (only if the component has this input)
@@ -119,10 +119,8 @@ class AXPopupComponent extends MXBaseComponent {
119
119
  this._zone.runOutsideAngular(() => {
120
120
  setTimeout(() => {
121
121
  const body = this.getHostElement().querySelector('.ax-popup-body-container');
122
- if (!body)
123
- return;
124
122
  const content = body.children[0];
125
- if (!content)
123
+ if (!content || !body)
126
124
  return;
127
125
  const popHeader = this.getHostElement().querySelector('.ax-popup-header-container');
128
126
  const popFooter = this.getHostElement().querySelector('.ax-popup-footer-container');
@@ -245,18 +243,18 @@ class AXPopupComponent extends MXBaseComponent {
245
243
  onDragEnd() {
246
244
  this.isDragging.set(false);
247
245
  }
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: [
246
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
247
+ 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
248
  { provide: AXClosableComponent, useExisting: AXPopupComponent },
251
249
  { 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 }); }
250
+ ], 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
251
  }
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupComponent, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponent, decorators: [{
255
253
  type: Component,
256
254
  args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
257
255
  { provide: AXClosableComponent, useExisting: AXPopupComponent },
258
256
  { 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"] }]
257
+ ], 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
258
  }], propDecorators: { contentContainerRef: [{
261
259
  type: ViewChild,
262
260
  args: ['contentContainer', { read: ViewContainerRef, static: true }]
@@ -274,18 +272,77 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
274
272
  args: ['document:mouseup']
275
273
  }] } });
276
274
 
277
- class AXPopupStateService {
275
+ class AXPopupComponentBase {
276
+ constructor() {
277
+ this.__popup__ = input(...(ngDevMode ? [undefined, { debugName: "__popup__" }] : []));
278
+ }
279
+ close(data = null) {
280
+ this.__popup__().close(data);
281
+ }
282
+ setTitle(title) {
283
+ this.__popup__().setTitle(title);
284
+ }
285
+ bringToFront() {
286
+ this.__popup__().bringToFront();
287
+ }
288
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
289
+ 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 }); }
290
+ }
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupComponentBase, decorators: [{
292
+ type: Directive
293
+ }], propDecorators: { __popup__: [{ type: i0.Input, args: [{ isSignal: true, alias: "__popup__", required: false }] }] } });
294
+
295
+ /**
296
+ * This is a service which you can create popup with it
297
+ *
298
+ * @category Components
299
+ */
300
+ class AXPopupService {
278
301
  constructor() {
279
302
  this.popupList = new Map();
280
303
  this.overlayService = inject(AXOverlayService);
281
304
  }
305
+ /**
306
+ * @ignore
307
+ */
308
+ open(arg1, arg2) {
309
+ let config = {
310
+ closeButton: true,
311
+ header: true,
312
+ size: 'md',
313
+ maximizable: false,
314
+ draggable: true,
315
+ hasBackdrop: true,
316
+ closeOnBackdropClick: false,
317
+ data: {},
318
+ };
319
+ if (typeof arg2 === 'string') {
320
+ config.title = arg2;
321
+ }
322
+ else {
323
+ config = Object.assign(config, arg2);
324
+ }
325
+ const promise = new AXComponentClosedPromise((resolve) => {
326
+ this.openInternal(arg1, config).then((ref) => {
327
+ ref.onClose.subscribe((data) => {
328
+ if (resolve) {
329
+ resolve({
330
+ sender: null,
331
+ data: data,
332
+ });
333
+ }
334
+ });
335
+ });
336
+ });
337
+ return promise;
338
+ }
282
339
  /**
283
340
  * Opens a popup with the specified content and configuration.
284
341
  * @param content - Component or template to display
285
342
  * @param config - Configuration options for the popup
286
343
  * @returns Promise<AXPopupRef> - Reference to the opened popup
287
344
  */
288
- async open(content, config) {
345
+ async openInternal(content, config) {
289
346
  const randomId = Math.floor(Math.random() * 100000000000);
290
347
  const onClose = new Subject();
291
348
  const returnRef = {
@@ -330,7 +387,7 @@ class AXPopupStateService {
330
387
  * @param id - The popup ID to close
331
388
  * @param data - Optional data to pass to the close event
332
389
  */
333
- async close(id, data) {
390
+ close(id, data) {
334
391
  const ref = this.popupList.get(id);
335
392
  if (!ref)
336
393
  return;
@@ -344,7 +401,7 @@ class AXPopupStateService {
344
401
  * @param id - The popup ID
345
402
  * @param values - Object containing input values to set
346
403
  */
347
- async setInputs(id, values) {
404
+ setInputs(id, values) {
348
405
  const ref = this.popupList.get(id)?.overlay.instance;
349
406
  if (!ref)
350
407
  return;
@@ -358,7 +415,7 @@ class AXPopupStateService {
358
415
  * @param id - The popup ID
359
416
  * @param title - The new title
360
417
  */
361
- async setTitle(id, title) {
418
+ setTitle(id, title) {
362
419
  const ref = this.popupList.get(id)?.overlay.instance;
363
420
  if (!ref)
364
421
  return;
@@ -377,94 +434,24 @@ class AXPopupStateService {
377
434
  return;
378
435
  ref.overlay.bringToFront();
379
436
  }
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' }); }
437
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
438
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupService, providedIn: 'root' }); }
382
439
  }
383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupStateService, decorators: [{
440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupService, decorators: [{
384
441
  type: Injectable,
385
442
  args: [{
386
443
  providedIn: 'root',
387
444
  }]
388
445
  }] });
389
446
 
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
447
  const COMPONENT = [AXPopupComponent];
461
448
  const MODULES = [CommonModule, AXCommonModule, AXDecoratorModule, AXTranslationModule];
462
449
  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] }); }
450
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
451
+ 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] }); }
452
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [MODULES, COMPONENT] }); }
466
453
  }
467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPopupModule, decorators: [{
454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPopupModule, decorators: [{
468
455
  type: NgModule,
469
456
  args: [{
470
457
  imports: [...MODULES, ...COMPONENT],
@@ -477,5 +464,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
477
464
  * Generated bundle index. Do not edit.
478
465
  */
479
466
 
480
- export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService, AXPopupStateService };
467
+ export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService };
481
468
  //# sourceMappingURL=acorex-components-popup.mjs.map