@qualcomm-ui/angular-core 1.5.0 → 2.0.0

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 (217) hide show
  1. package/fesm2022/qualcomm-ui-angular-core-accordion.mjs +44 -50
  2. package/fesm2022/qualcomm-ui-angular-core-accordion.mjs.map +1 -1
  3. package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +24 -24
  4. package/fesm2022/qualcomm-ui-angular-core-avatar.mjs.map +1 -1
  5. package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +56 -66
  6. package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -1
  7. package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +22 -24
  8. package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs.map +1 -1
  9. package/fesm2022/qualcomm-ui-angular-core-collection.mjs +3 -3
  10. package/fesm2022/qualcomm-ui-angular-core-collection.mjs.map +1 -1
  11. package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +116 -152
  12. package/fesm2022/qualcomm-ui-angular-core-combobox.mjs.map +1 -1
  13. package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +64 -78
  14. package/fesm2022/qualcomm-ui-angular-core-dialog.mjs.map +1 -1
  15. package/fesm2022/qualcomm-ui-angular-core-dom.mjs +15 -15
  16. package/fesm2022/qualcomm-ui-angular-core-dom.mjs.map +1 -1
  17. package/fesm2022/qualcomm-ui-angular-core-events.mjs +4 -4
  18. package/fesm2022/qualcomm-ui-angular-core-events.mjs.map +1 -1
  19. package/fesm2022/qualcomm-ui-angular-core-highlight.mjs +9 -15
  20. package/fesm2022/qualcomm-ui-angular-core-highlight.mjs.map +1 -1
  21. package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +32 -32
  22. package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs.map +1 -1
  23. package/fesm2022/qualcomm-ui-angular-core-input.mjs +35 -51
  24. package/fesm2022/qualcomm-ui-angular-core-input.mjs.map +1 -1
  25. package/fesm2022/qualcomm-ui-angular-core-locale.mjs +3 -3
  26. package/fesm2022/qualcomm-ui-angular-core-locale.mjs.map +1 -1
  27. package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs +11 -23
  28. package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs.map +1 -1
  29. package/fesm2022/qualcomm-ui-angular-core-machine.mjs +20 -20
  30. package/fesm2022/qualcomm-ui-angular-core-machine.mjs.map +1 -1
  31. package/fesm2022/qualcomm-ui-angular-core-menu.mjs +111 -127
  32. package/fesm2022/qualcomm-ui-angular-core-menu.mjs.map +1 -1
  33. package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +80 -106
  34. package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -1
  35. package/fesm2022/qualcomm-ui-angular-core-observers.mjs +3 -3
  36. package/fesm2022/qualcomm-ui-angular-core-observers.mjs.map +1 -1
  37. package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +46 -60
  38. package/fesm2022/qualcomm-ui-angular-core-pagination.mjs.map +1 -1
  39. package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +46 -50
  40. package/fesm2022/qualcomm-ui-angular-core-password-input.mjs.map +1 -1
  41. package/fesm2022/qualcomm-ui-angular-core-popover.mjs +62 -66
  42. package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -1
  43. package/fesm2022/qualcomm-ui-angular-core-portal.mjs +18 -22
  44. package/fesm2022/qualcomm-ui-angular-core-portal.mjs.map +1 -1
  45. package/fesm2022/qualcomm-ui-angular-core-presence.mjs +18 -24
  46. package/fesm2022/qualcomm-ui-angular-core-presence.mjs.map +1 -1
  47. package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +31 -30
  48. package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -1
  49. package/fesm2022/qualcomm-ui-angular-core-progress.mjs +47 -52
  50. package/fesm2022/qualcomm-ui-angular-core-progress.mjs.map +1 -1
  51. package/fesm2022/qualcomm-ui-angular-core-radio.mjs +72 -80
  52. package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -1
  53. package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +32 -38
  54. package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs.map +1 -1
  55. package/fesm2022/qualcomm-ui-angular-core-select.mjs +88 -102
  56. package/fesm2022/qualcomm-ui-angular-core-select.mjs.map +1 -1
  57. package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs +44 -58
  58. package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs.map +1 -1
  59. package/fesm2022/qualcomm-ui-angular-core-signals.mjs +2 -2
  60. package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -1
  61. package/fesm2022/qualcomm-ui-angular-core-slider.mjs +98 -102
  62. package/fesm2022/qualcomm-ui-angular-core-slider.mjs.map +1 -1
  63. package/fesm2022/qualcomm-ui-angular-core-state.mjs +5 -5
  64. package/fesm2022/qualcomm-ui-angular-core-state.mjs.map +1 -1
  65. package/fesm2022/qualcomm-ui-angular-core-switch.mjs +38 -40
  66. package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -1
  67. package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +51 -65
  68. package/fesm2022/qualcomm-ui-angular-core-tabs.mjs.map +1 -1
  69. package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +34 -34
  70. package/fesm2022/qualcomm-ui-angular-core-text-area.mjs.map +1 -1
  71. package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +37 -37
  72. package/fesm2022/qualcomm-ui-angular-core-text-input.mjs.map +1 -1
  73. package/fesm2022/qualcomm-ui-angular-core-toast.mjs +30 -30
  74. package/fesm2022/qualcomm-ui-angular-core-toast.mjs.map +1 -1
  75. package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +37 -45
  76. package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs.map +1 -1
  77. package/fesm2022/qualcomm-ui-angular-core-tree.mjs +70 -78
  78. package/fesm2022/qualcomm-ui-angular-core-tree.mjs.map +1 -1
  79. package/fesm2022/qualcomm-ui-angular-core-virtual.mjs +5 -5
  80. package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -1
  81. package/package.json +57 -57
  82. package/{accordion/index.d.ts → types/qualcomm-ui-angular-core-accordion.d.ts} +1 -1
  83. package/types/qualcomm-ui-angular-core-accordion.d.ts.map +1 -0
  84. package/{attributes/index.d.ts → types/qualcomm-ui-angular-core-attributes.d.ts} +1 -1
  85. package/types/qualcomm-ui-angular-core-attributes.d.ts.map +1 -0
  86. package/{avatar/index.d.ts → types/qualcomm-ui-angular-core-avatar.d.ts} +1 -1
  87. package/types/qualcomm-ui-angular-core-avatar.d.ts.map +1 -0
  88. package/{checkbox/index.d.ts → types/qualcomm-ui-angular-core-checkbox.d.ts} +1 -1
  89. package/types/qualcomm-ui-angular-core-checkbox.d.ts.map +1 -0
  90. package/{collapsible/index.d.ts → types/qualcomm-ui-angular-core-collapsible.d.ts} +1 -1
  91. package/types/qualcomm-ui-angular-core-collapsible.d.ts.map +1 -0
  92. package/{collection/index.d.ts → types/qualcomm-ui-angular-core-collection.d.ts} +1 -1
  93. package/types/qualcomm-ui-angular-core-collection.d.ts.map +1 -0
  94. package/{combobox/index.d.ts → types/qualcomm-ui-angular-core-combobox.d.ts} +2 -2
  95. package/types/qualcomm-ui-angular-core-combobox.d.ts.map +1 -0
  96. package/{common/index.d.ts → types/qualcomm-ui-angular-core-common.d.ts} +1 -1
  97. package/types/qualcomm-ui-angular-core-common.d.ts.map +1 -0
  98. package/{dialog/index.d.ts → types/qualcomm-ui-angular-core-dialog.d.ts} +1 -1
  99. package/types/qualcomm-ui-angular-core-dialog.d.ts.map +1 -0
  100. package/{dom/index.d.ts → types/qualcomm-ui-angular-core-dom.d.ts} +1 -1
  101. package/types/qualcomm-ui-angular-core-dom.d.ts.map +1 -0
  102. package/{events/index.d.ts → types/qualcomm-ui-angular-core-events.d.ts} +1 -1
  103. package/types/qualcomm-ui-angular-core-events.d.ts.map +1 -0
  104. package/{forms/index.d.ts → types/qualcomm-ui-angular-core-forms.d.ts} +1 -1
  105. package/types/qualcomm-ui-angular-core-forms.d.ts.map +1 -0
  106. package/{highlight/index.d.ts → types/qualcomm-ui-angular-core-highlight.d.ts} +1 -1
  107. package/types/qualcomm-ui-angular-core-highlight.d.ts.map +1 -0
  108. package/{inline-notification/index.d.ts → types/qualcomm-ui-angular-core-inline-notification.d.ts} +1 -1
  109. package/types/qualcomm-ui-angular-core-inline-notification.d.ts.map +1 -0
  110. package/{input/index.d.ts → types/qualcomm-ui-angular-core-input.d.ts} +2 -2
  111. package/types/qualcomm-ui-angular-core-input.d.ts.map +1 -0
  112. package/{locale/index.d.ts → types/qualcomm-ui-angular-core-locale.d.ts} +1 -1
  113. package/types/qualcomm-ui-angular-core-locale.d.ts.map +1 -0
  114. package/{lorem-ipsum/index.d.ts → types/qualcomm-ui-angular-core-lorem-ipsum.d.ts} +1 -1
  115. package/types/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +1 -0
  116. package/{lucide/index.d.ts → types/qualcomm-ui-angular-core-lucide.d.ts} +1 -1
  117. package/types/qualcomm-ui-angular-core-lucide.d.ts.map +1 -0
  118. package/{machine/index.d.ts → types/qualcomm-ui-angular-core-machine.d.ts} +2 -2
  119. package/types/qualcomm-ui-angular-core-machine.d.ts.map +1 -0
  120. package/{menu/index.d.ts → types/qualcomm-ui-angular-core-menu.d.ts} +1 -1
  121. package/types/qualcomm-ui-angular-core-menu.d.ts.map +1 -0
  122. package/{number-input/index.d.ts → types/qualcomm-ui-angular-core-number-input.d.ts} +1 -1
  123. package/types/qualcomm-ui-angular-core-number-input.d.ts.map +1 -0
  124. package/{observers/index.d.ts → types/qualcomm-ui-angular-core-observers.d.ts} +1 -1
  125. package/types/qualcomm-ui-angular-core-observers.d.ts.map +1 -0
  126. package/{pagination/index.d.ts → types/qualcomm-ui-angular-core-pagination.d.ts} +1 -1
  127. package/types/qualcomm-ui-angular-core-pagination.d.ts.map +1 -0
  128. package/{password-input/index.d.ts → types/qualcomm-ui-angular-core-password-input.d.ts} +1 -1
  129. package/types/qualcomm-ui-angular-core-password-input.d.ts.map +1 -0
  130. package/{popover/index.d.ts → types/qualcomm-ui-angular-core-popover.d.ts} +1 -1
  131. package/types/qualcomm-ui-angular-core-popover.d.ts.map +1 -0
  132. package/{portal/index.d.ts → types/qualcomm-ui-angular-core-portal.d.ts} +1 -1
  133. package/types/qualcomm-ui-angular-core-portal.d.ts.map +1 -0
  134. package/{presence/index.d.ts → types/qualcomm-ui-angular-core-presence.d.ts} +1 -1
  135. package/types/qualcomm-ui-angular-core-presence.d.ts.map +1 -0
  136. package/{progress-ring/index.d.ts → types/qualcomm-ui-angular-core-progress-ring.d.ts} +1 -1
  137. package/types/qualcomm-ui-angular-core-progress-ring.d.ts.map +1 -0
  138. package/{progress/index.d.ts → types/qualcomm-ui-angular-core-progress.d.ts} +6 -2
  139. package/types/qualcomm-ui-angular-core-progress.d.ts.map +1 -0
  140. package/{radio/index.d.ts → types/qualcomm-ui-angular-core-radio.d.ts} +1 -1
  141. package/types/qualcomm-ui-angular-core-radio.d.ts.map +1 -0
  142. package/{segmented-control/index.d.ts → types/qualcomm-ui-angular-core-segmented-control.d.ts} +1 -1
  143. package/types/qualcomm-ui-angular-core-segmented-control.d.ts.map +1 -0
  144. package/{select/index.d.ts → types/qualcomm-ui-angular-core-select.d.ts} +1 -1
  145. package/types/qualcomm-ui-angular-core-select.d.ts.map +1 -0
  146. package/{side-nav/index.d.ts → types/qualcomm-ui-angular-core-side-nav.d.ts} +1 -1
  147. package/types/qualcomm-ui-angular-core-side-nav.d.ts.map +1 -0
  148. package/{signals/index.d.ts → types/qualcomm-ui-angular-core-signals.d.ts} +1 -1
  149. package/types/qualcomm-ui-angular-core-signals.d.ts.map +1 -0
  150. package/{slider/index.d.ts → types/qualcomm-ui-angular-core-slider.d.ts} +1 -1
  151. package/types/qualcomm-ui-angular-core-slider.d.ts.map +1 -0
  152. package/{state/index.d.ts → types/qualcomm-ui-angular-core-state.d.ts} +1 -1
  153. package/types/qualcomm-ui-angular-core-state.d.ts.map +1 -0
  154. package/{switch/index.d.ts → types/qualcomm-ui-angular-core-switch.d.ts} +1 -1
  155. package/types/qualcomm-ui-angular-core-switch.d.ts.map +1 -0
  156. package/{tabs/index.d.ts → types/qualcomm-ui-angular-core-tabs.d.ts} +1 -1
  157. package/types/qualcomm-ui-angular-core-tabs.d.ts.map +1 -0
  158. package/{text-area/index.d.ts → types/qualcomm-ui-angular-core-text-area.d.ts} +1 -1
  159. package/types/qualcomm-ui-angular-core-text-area.d.ts.map +1 -0
  160. package/{text-input/index.d.ts → types/qualcomm-ui-angular-core-text-input.d.ts} +1 -1
  161. package/types/qualcomm-ui-angular-core-text-input.d.ts.map +1 -0
  162. package/{toast/index.d.ts → types/qualcomm-ui-angular-core-toast.d.ts} +1 -1
  163. package/types/qualcomm-ui-angular-core-toast.d.ts.map +1 -0
  164. package/{tooltip/index.d.ts → types/qualcomm-ui-angular-core-tooltip.d.ts} +1 -1
  165. package/types/qualcomm-ui-angular-core-tooltip.d.ts.map +1 -0
  166. package/{tree/index.d.ts → types/qualcomm-ui-angular-core-tree.d.ts} +1 -1
  167. package/types/qualcomm-ui-angular-core-tree.d.ts.map +1 -0
  168. package/{virtual/index.d.ts → types/qualcomm-ui-angular-core-virtual.d.ts} +1 -1
  169. package/types/qualcomm-ui-angular-core-virtual.d.ts.map +1 -0
  170. package/types/qualcomm-ui-angular-core.d.ts +3 -0
  171. package/types/qualcomm-ui-angular-core.d.ts.map +1 -0
  172. package/accordion/index.d.ts.map +0 -1
  173. package/attributes/index.d.ts.map +0 -1
  174. package/avatar/index.d.ts.map +0 -1
  175. package/checkbox/index.d.ts.map +0 -1
  176. package/collapsible/index.d.ts.map +0 -1
  177. package/collection/index.d.ts.map +0 -1
  178. package/combobox/index.d.ts.map +0 -1
  179. package/common/index.d.ts.map +0 -1
  180. package/dialog/index.d.ts.map +0 -1
  181. package/dom/index.d.ts.map +0 -1
  182. package/events/index.d.ts.map +0 -1
  183. package/forms/index.d.ts.map +0 -1
  184. package/highlight/index.d.ts.map +0 -1
  185. package/index.d.ts +0 -3
  186. package/index.d.ts.map +0 -1
  187. package/inline-notification/index.d.ts.map +0 -1
  188. package/input/index.d.ts.map +0 -1
  189. package/locale/index.d.ts.map +0 -1
  190. package/lorem-ipsum/index.d.ts.map +0 -1
  191. package/lucide/index.d.ts.map +0 -1
  192. package/machine/index.d.ts.map +0 -1
  193. package/menu/index.d.ts.map +0 -1
  194. package/number-input/index.d.ts.map +0 -1
  195. package/observers/index.d.ts.map +0 -1
  196. package/pagination/index.d.ts.map +0 -1
  197. package/password-input/index.d.ts.map +0 -1
  198. package/popover/index.d.ts.map +0 -1
  199. package/portal/index.d.ts.map +0 -1
  200. package/presence/index.d.ts.map +0 -1
  201. package/progress/index.d.ts.map +0 -1
  202. package/progress-ring/index.d.ts.map +0 -1
  203. package/radio/index.d.ts.map +0 -1
  204. package/segmented-control/index.d.ts.map +0 -1
  205. package/select/index.d.ts.map +0 -1
  206. package/side-nav/index.d.ts.map +0 -1
  207. package/signals/index.d.ts.map +0 -1
  208. package/slider/index.d.ts.map +0 -1
  209. package/state/index.d.ts.map +0 -1
  210. package/switch/index.d.ts.map +0 -1
  211. package/tabs/index.d.ts.map +0 -1
  212. package/text-area/index.d.ts.map +0 -1
  213. package/text-input/index.d.ts.map +0 -1
  214. package/toast/index.d.ts.map +0 -1
  215. package/tooltip/index.d.ts.map +0 -1
  216. package/tree/index.d.ts.map +0 -1
  217. package/virtual/index.d.ts.map +0 -1
@@ -12,10 +12,10 @@ import { isDefined } from '@qualcomm-ui/utils/guard';
12
12
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
13
13
  // SPDX-License-Identifier: BSD-3-Clause-Clear
14
14
  class DialogContextService extends BaseApiContextService {
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogContextService });
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DialogContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DialogContextService });
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogContextService, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: DialogContextService, decorators: [{
19
19
  type: Injectable
20
20
  }] });
21
21
  const [DIALOG_CONTEXT, useDialogContext, provideDialogContextService,] = createApiContext("DialogContext", DialogContextService);
@@ -44,8 +44,8 @@ class CoreDialogBackdropDirective {
44
44
  ...props,
45
45
  ...this.presenceContext.getPresenceBindings(),
46
46
  };
47
- }, ...(ngDevMode ? [{ debugName: "dialogBackdropProps" }] : []));
48
- id = computed(() => useId(this, null), ...(ngDevMode ? [{ debugName: "id" }] : []));
47
+ }, ...(ngDevMode ? [{ debugName: "dialogBackdropProps" }] : /* istanbul ignore next */ []));
48
+ id = computed(() => useId(this, null), ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
49
49
  injector = inject(Injector);
50
50
  onDestroy = useOnDestroy();
51
51
  presenceRendererEffect = usePresenceRenderer({
@@ -59,10 +59,10 @@ class CoreDialogBackdropDirective {
59
59
  })), this.injector);
60
60
  this.presenceContext.init(computed(() => createPresenceApi(machine)));
61
61
  }
62
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogBackdropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
63
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreDialogBackdropDirective, isStandalone: true, ngImport: i0 });
62
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogBackdropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
63
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreDialogBackdropDirective, isStandalone: true, ngImport: i0 });
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogBackdropDirective, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogBackdropDirective, decorators: [{
66
66
  type: Directive
67
67
  }] });
68
68
 
@@ -76,10 +76,10 @@ class CoreDialogBodyDirective {
76
76
  ngOnInit() {
77
77
  this.trackBindings();
78
78
  }
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
80
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreDialogBodyDirective, isStandalone: true, ngImport: i0 });
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
80
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreDialogBodyDirective, isStandalone: true, ngImport: i0 });
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogBodyDirective, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogBodyDirective, decorators: [{
83
83
  type: Directive
84
84
  }] });
85
85
 
@@ -90,21 +90,21 @@ class CoreDialogCloseTriggerDirective {
90
90
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
91
91
  * omitted, a unique identifier will be generated for accessibility.
92
92
  */
93
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
93
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
94
94
  dialogContext = useDialogContext();
95
95
  trackBindings = useTrackBindings(() => this.dialogContext().getCloseTriggerBindings({
96
96
  id: this.hostId(),
97
97
  onDestroy: this.onDestroy,
98
98
  }));
99
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
99
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
100
100
  onDestroy = useOnDestroy();
101
101
  ngOnInit() {
102
102
  this.trackBindings();
103
103
  }
104
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogCloseTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
105
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogCloseTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogCloseTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
105
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogCloseTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
106
106
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogCloseTriggerDirective, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogCloseTriggerDirective, decorators: [{
108
108
  type: Directive
109
109
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
110
110
 
@@ -115,7 +115,7 @@ class CoreDialogContentDirective {
115
115
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
116
116
  * omitted, a unique identifier will be generated for accessibility.
117
117
  */
118
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
118
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
119
119
  dialogContext = useDialogContext();
120
120
  presenceService = inject(PresenceContextService);
121
121
  elementRef = inject(ElementRef);
@@ -127,7 +127,7 @@ class CoreDialogContentDirective {
127
127
  });
128
128
  onDestroy = useOnDestroy();
129
129
  presenceRendererEffect = usePresenceRenderer();
130
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
130
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
131
131
  constructor() {
132
132
  // update the ref when the element is mounted or unmounted to keep state in sync.
133
133
  // React does this automatically with its declarative refs and data binding,
@@ -145,10 +145,10 @@ class CoreDialogContentDirective {
145
145
  ngOnInit() {
146
146
  this.trackBindings();
147
147
  }
148
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
149
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
148
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
149
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
150
150
  }
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogContentDirective, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogContentDirective, decorators: [{
152
152
  type: Directive
153
153
  }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
154
154
 
@@ -159,21 +159,21 @@ class CoreDialogDescriptionDirective {
159
159
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
160
160
  * omitted, a unique identifier will be generated for accessibility.
161
161
  */
162
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
162
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
163
163
  dialogContext = useDialogContext();
164
164
  trackBindings = useTrackBindings(() => this.dialogContext().getDescriptionBindings({
165
165
  id: this.hostId(),
166
166
  onDestroy: this.onDestroy,
167
167
  }));
168
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
168
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
169
169
  onDestroy = useOnDestroy();
170
170
  ngOnInit() {
171
171
  this.trackBindings();
172
172
  }
173
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
174
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogDescriptionDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
173
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
174
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogDescriptionDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
175
175
  }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogDescriptionDirective, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogDescriptionDirective, decorators: [{
177
177
  type: Directive
178
178
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
179
179
 
@@ -185,10 +185,10 @@ class CoreDialogFooterDirective {
185
185
  ngOnInit() {
186
186
  this.trackBindings();
187
187
  }
188
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
189
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreDialogFooterDirective, isStandalone: true, ngImport: i0 });
188
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
189
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreDialogFooterDirective, isStandalone: true, ngImport: i0 });
190
190
  }
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogFooterDirective, decorators: [{
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogFooterDirective, decorators: [{
192
192
  type: Directive
193
193
  }] });
194
194
 
@@ -199,21 +199,21 @@ class CoreDialogHeadingDirective {
199
199
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
200
200
  * omitted, a unique identifier will be generated for accessibility.
201
201
  */
202
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
202
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
203
203
  dialogContext = useDialogContext();
204
204
  trackBindings = useTrackBindings(() => this.dialogContext().getHeadingBindings({
205
205
  id: this.hostId(),
206
206
  onDestroy: this.onDestroy,
207
207
  }));
208
208
  onDestroy = useOnDestroy();
209
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
209
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
210
210
  ngOnInit() {
211
211
  this.trackBindings();
212
212
  }
213
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogHeadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
214
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogHeadingDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
213
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogHeadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
214
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogHeadingDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
215
215
  }
216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogHeadingDirective, decorators: [{
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogHeadingDirective, decorators: [{
217
217
  type: Directive
218
218
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
219
219
 
@@ -224,22 +224,22 @@ class CoreDialogPositionerDirective {
224
224
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
225
225
  * omitted, a unique identifier will be generated for accessibility.
226
226
  */
227
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
227
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
228
228
  dialogContext = useDialogContext();
229
229
  trackBindings = useTrackBindings(() => this.dialogContext().getPositionerBindings({
230
230
  id: this.hostId(),
231
231
  onDestroy: this.onDestroy,
232
232
  }));
233
233
  onDestroy = useOnDestroy();
234
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
234
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
235
235
  presenceRendererEffect = usePresenceRenderer();
236
236
  ngOnInit() {
237
237
  this.trackBindings();
238
238
  }
239
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogPositionerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
240
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogPositionerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
239
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogPositionerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
240
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogPositionerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
241
241
  }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogPositionerDirective, decorators: [{
242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogPositionerDirective, decorators: [{
243
243
  type: Directive
244
244
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
245
245
 
@@ -249,99 +249,85 @@ class CoreDialogRootDirective extends CorePresenceDirective {
249
249
  /**
250
250
  * Human-readable label for the dialog, used when the dialog title is not rendered
251
251
  */
252
- ariaLabel = input(undefined, ...(ngDevMode ? [{ debugName: "ariaLabel", alias: "aria-label" }] : [{
253
- alias: "aria-label",
254
- }]));
252
+ ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: "aria-label" });
255
253
  /**
256
254
  * Whether to close the dialog when the escape key is pressed
257
255
  *
258
256
  * @default true
259
257
  */
260
- closeOnEscape = input(undefined, ...(ngDevMode ? [{ debugName: "closeOnEscape", transform: booleanAttribute }] : [{
261
- transform: booleanAttribute,
262
- }]));
258
+ closeOnEscape = input(undefined, { ...(ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
263
259
  /**
264
260
  * Whether to close the dialog when the outside is clicked
265
261
  *
266
262
  * @default true
267
263
  */
268
- closeOnInteractOutside = input(undefined, ...(ngDevMode ? [{ debugName: "closeOnInteractOutside", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
264
+ closeOnInteractOutside = input(undefined, { ...(ngDevMode ? { debugName: "closeOnInteractOutside" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
269
265
  /**
270
266
  * The initial open state of the dialog when rendered.
271
267
  * Use when you don't need to control the open state of the dialog.
272
268
  */
273
- defaultOpen = input(undefined, ...(ngDevMode ? [{ debugName: "defaultOpen", transform: booleanAttribute }] : [{
274
- transform: booleanAttribute,
275
- }]));
269
+ defaultOpen = input(undefined, { ...(ngDevMode ? { debugName: "defaultOpen" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
276
270
  /**
277
271
  * The document's text/writing direction.
278
272
  *
279
273
  * @default "ltr"
280
274
  */
281
- dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
275
+ dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : /* istanbul ignore next */ []));
282
276
  /**
283
277
  * Element to receive focus when the dialog is closed
284
278
  */
285
- finalFocusEl = input(...(ngDevMode ? [undefined, { debugName: "finalFocusEl" }] : []));
279
+ finalFocusEl = input(...(ngDevMode ? [undefined, { debugName: "finalFocusEl" }] : /* istanbul ignore next */ []));
286
280
  /**
287
281
  * A root node to correctly resolve the Document in custom environments. i.e.,
288
282
  * Iframes, Electron.
289
283
  */
290
- getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
284
+ getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
291
285
  /**
292
286
  * Element to receive focus when the dialog is opened
293
287
  */
294
- initialFocusEl = input(...(ngDevMode ? [undefined, { debugName: "initialFocusEl" }] : []));
288
+ initialFocusEl = input(...(ngDevMode ? [undefined, { debugName: "initialFocusEl" }] : /* istanbul ignore next */ []));
295
289
  /**
296
290
  * Whether to prevent pointer interaction outside the element and hide all content
297
291
  * below it
298
292
  *
299
293
  * @default true
300
294
  */
301
- modal = input(undefined, ...(ngDevMode ? [{ debugName: "modal", transform: booleanAttribute }] : [{
302
- transform: booleanAttribute,
303
- }]));
295
+ modal = input(undefined, { ...(ngDevMode ? { debugName: "modal" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
304
296
  /**
305
297
  * The controlled open state of the dialog
306
298
  */
307
- open = input(undefined, ...(ngDevMode ? [{ debugName: "open" }] : []));
299
+ open = input(undefined, ...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
308
300
  /**
309
301
  * The persistent elements that:
310
302
  * - should not have pointer-events disabled
311
303
  * - should not trigger the dismiss event
312
304
  */
313
- persistentElements = input(...(ngDevMode ? [undefined, { debugName: "persistentElements" }] : []));
305
+ persistentElements = input(...(ngDevMode ? [undefined, { debugName: "persistentElements" }] : /* istanbul ignore next */ []));
314
306
  /**
315
307
  * Whether to prevent scrolling behind the dialog when it's opened
316
308
  *
317
309
  * @default true
318
310
  */
319
- preventScroll = input(undefined, ...(ngDevMode ? [{ debugName: "preventScroll", transform: booleanAttribute }] : [{
320
- transform: booleanAttribute,
321
- }]));
311
+ preventScroll = input(undefined, { ...(ngDevMode ? { debugName: "preventScroll" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
322
312
  /**
323
313
  * Whether to restore focus to the element that had focus before the dialog was
324
314
  * opened
325
315
  *
326
316
  * @default true
327
317
  */
328
- restoreFocus = input(undefined, ...(ngDevMode ? [{ debugName: "restoreFocus", transform: booleanAttribute }] : [{
329
- transform: booleanAttribute,
330
- }]));
318
+ restoreFocus = input(undefined, { ...(ngDevMode ? { debugName: "restoreFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
331
319
  /**
332
320
  * The dialog's role
333
321
  *
334
322
  * @default 'dialog'
335
323
  */
336
- role = input(...(ngDevMode ? [undefined, { debugName: "role" }] : []));
324
+ role = input(...(ngDevMode ? [undefined, { debugName: "role" }] : /* istanbul ignore next */ []));
337
325
  /**
338
326
  * Whether to trap focus inside the dialog when it's opened
339
327
  *
340
328
  * @default true
341
329
  */
342
- trapFocus = input(undefined, ...(ngDevMode ? [{ debugName: "trapFocus", transform: booleanAttribute }] : [{
343
- transform: booleanAttribute,
344
- }]));
330
+ trapFocus = input(undefined, { ...(ngDevMode ? { debugName: "trapFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
345
331
  /**
346
332
  * Function called when the escape key is pressed
347
333
  */
@@ -376,7 +362,7 @@ class CoreDialogRootDirective extends CorePresenceDirective {
376
362
  const renderStrategy = computed(() => ({
377
363
  lazyMount: this.lazyMount() || false,
378
364
  unmountOnExit: this.unmountOnExit() || false,
379
- }), ...(ngDevMode ? [{ debugName: "renderStrategy" }] : []));
365
+ }), ...(ngDevMode ? [{ debugName: "renderStrategy" }] : /* istanbul ignore next */ []));
380
366
  const machine = useMachine(dialogMachine, computed(() => ({
381
367
  "aria-label": this.ariaLabel(),
382
368
  closeOnEscape: this.closeOnEscape(),
@@ -424,7 +410,7 @@ class CoreDialogRootDirective extends CorePresenceDirective {
424
410
  role: this.role(),
425
411
  trapFocus: this.trapFocus(),
426
412
  })), this.injector);
427
- const dialogApi = computed(() => createDialogApi(machine, normalizeProps), ...(ngDevMode ? [{ debugName: "dialogApi" }] : []));
413
+ const dialogApi = computed(() => createDialogApi(machine, normalizeProps), ...(ngDevMode ? [{ debugName: "dialogApi" }] : /* istanbul ignore next */ []));
428
414
  this.dialogService.init(dialogApi);
429
415
  const presence = useMachine(presenceMachine, computed(() => {
430
416
  const present = this.present();
@@ -451,10 +437,10 @@ class CoreDialogRootDirective extends CorePresenceDirective {
451
437
  this.presenceService.init(computed(() => createPresenceApi(presence, normalizeProps)));
452
438
  this.renderStrategyContext.init(renderStrategy);
453
439
  }
454
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
455
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogRootDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, closeOnInteractOutside: { classPropertyName: "closeOnInteractOutside", publicName: "closeOnInteractOutside", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, finalFocusEl: { classPropertyName: "finalFocusEl", publicName: "finalFocusEl", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, initialFocusEl: { classPropertyName: "initialFocusEl", publicName: "initialFocusEl", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, persistentElements: { classPropertyName: "persistentElements", publicName: "persistentElements", isSignal: true, isRequired: false, transformFunction: null }, preventScroll: { classPropertyName: "preventScroll", publicName: "preventScroll", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, trapFocus: { classPropertyName: "trapFocus", publicName: "trapFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { escapeKeyDown: "escapeKeyDown", focusOutside: "focusOutside", interactOutside: "interactOutside", openChanged: "openChanged", pointerDownOutside: "pointerDownOutside", requestDismissed: "requestDismissed" }, usesInheritance: true, ngImport: i0 });
440
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
441
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogRootDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, closeOnInteractOutside: { classPropertyName: "closeOnInteractOutside", publicName: "closeOnInteractOutside", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, finalFocusEl: { classPropertyName: "finalFocusEl", publicName: "finalFocusEl", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, initialFocusEl: { classPropertyName: "initialFocusEl", publicName: "initialFocusEl", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, persistentElements: { classPropertyName: "persistentElements", publicName: "persistentElements", isSignal: true, isRequired: false, transformFunction: null }, preventScroll: { classPropertyName: "preventScroll", publicName: "preventScroll", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null }, role: { classPropertyName: "role", publicName: "role", isSignal: true, isRequired: false, transformFunction: null }, trapFocus: { classPropertyName: "trapFocus", publicName: "trapFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { escapeKeyDown: "escapeKeyDown", focusOutside: "focusOutside", interactOutside: "interactOutside", openChanged: "openChanged", pointerDownOutside: "pointerDownOutside", requestDismissed: "requestDismissed" }, usesInheritance: true, ngImport: i0 });
456
442
  }
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogRootDirective, decorators: [{
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogRootDirective, decorators: [{
458
444
  type: Directive
459
445
  }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], closeOnInteractOutside: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnInteractOutside", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], finalFocusEl: [{ type: i0.Input, args: [{ isSignal: true, alias: "finalFocusEl", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], initialFocusEl: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialFocusEl", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], persistentElements: [{ type: i0.Input, args: [{ isSignal: true, alias: "persistentElements", required: false }] }], preventScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "preventScroll", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], role: [{ type: i0.Input, args: [{ isSignal: true, alias: "role", required: false }] }], trapFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "trapFocus", required: false }] }], escapeKeyDown: [{ type: i0.Output, args: ["escapeKeyDown"] }], focusOutside: [{ type: i0.Output, args: ["focusOutside"] }], interactOutside: [{ type: i0.Output, args: ["interactOutside"] }], openChanged: [{ type: i0.Output, args: ["openChanged"] }], pointerDownOutside: [{ type: i0.Output, args: ["pointerDownOutside"] }], requestDismissed: [{ type: i0.Output, args: ["requestDismissed"] }] } });
460
446
 
@@ -465,21 +451,21 @@ class CoreDialogTriggerDirective {
465
451
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
466
452
  * omitted, a unique identifier will be generated for accessibility.
467
453
  */
468
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
454
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
469
455
  dialogContext = useDialogContext();
470
456
  trackBindings = useTrackBindings(() => this.dialogContext().getTriggerBindings({
471
457
  id: this.hostId(),
472
458
  onDestroy: this.onDestroy,
473
459
  }));
474
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
460
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
475
461
  onDestroy = useOnDestroy();
476
462
  ngOnInit() {
477
463
  this.trackBindings();
478
464
  }
479
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
480
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreDialogTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
465
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
466
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreDialogTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
481
467
  }
482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreDialogTriggerDirective, decorators: [{
468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreDialogTriggerDirective, decorators: [{
483
469
  type: Directive
484
470
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
485
471
 
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-core-dialog.mjs","sources":["../../src/dialog/dialog-context.service.ts","../../src/dialog/core-dialog-backdrop.directive.ts","../../src/dialog/core-dialog-body.directive.ts","../../src/dialog/core-dialog-close-trigger.directive.ts","../../src/dialog/core-dialog-content.directive.ts","../../src/dialog/core-dialog-description.directive.ts","../../src/dialog/core-dialog-footer.directive.ts","../../src/dialog/core-dialog-heading.directive.ts","../../src/dialog/core-dialog-positioner.directive.ts","../../src/dialog/core-dialog-root.directive.ts","../../src/dialog/core-dialog-trigger.directive.ts","../../src/dialog/qualcomm-ui-angular-core-dialog.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable, type Provider} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n providePresenceContext,\n provideRenderStrategyContext,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport {type DialogApi} from \"@qualcomm-ui/core/dialog\"\n\n@Injectable()\nexport class DialogContextService extends BaseApiContextService<DialogApi> {}\n\nconst [\n DIALOG_CONTEXT,\n useDialogContext,\n provideDialogContextService,\n]: ApiContext<DialogApi> = createApiContext<DialogApi>(\n \"DialogContext\",\n DialogContextService,\n)\n\nexport {DIALOG_CONTEXT, useDialogContext}\n\nexport function provideDialogContext(): Provider[] {\n return [\n ...provideDialogContextService(),\n ...providePresenceContext(),\n ...provideRenderStrategyContext(),\n ]\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n inject,\n Injector,\n type OnInit,\n untracked,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useMachine} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n RenderStrategyContextService,\n usePresenceRenderer,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport {createPresenceApi, presenceMachine} from \"@qualcomm-ui/core/presence\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogBackdropDirective implements OnInit {\n protected readonly dialogContext = useDialogContext()\n protected readonly parentRenderStrategyContext = inject(\n RenderStrategyContextService,\n {skipSelf: true},\n )\n\n protected readonly presenceContext = inject(PresenceContextService, {\n self: true,\n })\n\n protected readonly dialogBackdropProps = computed(() => {\n const props = untracked(() =>\n this.dialogContext().getBackdropBindings({\n id: this.id(),\n onDestroy: this.onDestroy,\n }),\n )\n return {\n ...props,\n ...this.presenceContext.getPresenceBindings(),\n }\n })\n\n protected readonly id = computed(() => useId(this, null))\n\n private readonly injector = inject(Injector)\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly presenceRendererEffect = usePresenceRenderer({\n injectOptions: {self: true},\n })\n\n ngOnInit() {\n const machine = useMachine(\n presenceMachine,\n computed(() => ({\n lazyMount: this.parentRenderStrategyContext.context().lazyMount,\n present: this.dialogContext().open,\n unmountOnExit: this.parentRenderStrategyContext.context().unmountOnExit,\n })),\n this.injector,\n )\n\n this.presenceContext.init(computed(() => createPresenceApi(machine)))\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogBodyDirective implements OnInit {\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.dialogContext().getBodyBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogCloseTriggerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getCloseTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n effect,\n ElementRef,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n usePresenceRenderer,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogContentDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n protected readonly presenceService = inject(PresenceContextService)\n\n readonly elementRef = inject(ElementRef)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return mergeProps(\n this.dialogContext().getContentBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n this.presenceService.getPresenceBindings(),\n )\n })\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly presenceRendererEffect = usePresenceRenderer()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n constructor() {\n // update the ref when the element is mounted or unmounted to keep state in sync.\n // React does this automatically with its declarative refs and data binding,\n // but with Angular we must do this imperatively.\n effect(() => {\n const element = this.elementRef.nativeElement\n if (this.presenceService.unmounted()) {\n this.presenceService.setNode(null)\n } else {\n this.presenceService.setNode(element)\n }\n })\n }\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogDescriptionDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getDescriptionBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogFooterDirective implements OnInit {\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getFooterBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogHeadingDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getHeadingBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {usePresenceRenderer} from \"@qualcomm-ui/angular-core/presence\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogPositionerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getPositionerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n presenceRendererEffect = usePresenceRenderer()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n untracked,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {normalizeProps, useMachine} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CorePresenceDirective,\n PresenceContextService,\n RenderStrategyContextService,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createDialogApi,\n type DialogApiProps,\n dialogMachine,\n} from \"@qualcomm-ui/core/dialog\"\nimport {\n createPresenceApi,\n type PresenceApiProps,\n presenceMachine,\n} from \"@qualcomm-ui/core/presence\"\nimport type {LayerDismissEvent} from \"@qualcomm-ui/dom/dismissable\"\nimport type {\n FocusOutsideEvent,\n InteractOutsideEvent,\n MaybeElement,\n PointerDownOutsideEvent,\n} from \"@qualcomm-ui/dom/interact-outside\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport {type Explicit, isDefined} from \"@qualcomm-ui/utils/guard\"\n\nimport {DialogContextService} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogRootDirective\n extends CorePresenceDirective\n implements\n SignalifyInput<Omit<DialogApiProps & PresenceApiProps, \"aria-label\">>,\n OnInit\n{\n /**\n * Human-readable label for the dialog, used when the dialog title is not rendered\n */\n readonly ariaLabel = input<string | undefined>(undefined, {\n alias: \"aria-label\",\n })\n\n /**\n * Whether to close the dialog when the escape key is pressed\n *\n * @default true\n */\n readonly closeOnEscape = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to close the dialog when the outside is clicked\n *\n * @default true\n */\n readonly closeOnInteractOutside = input<boolean | undefined, Booleanish>(\n undefined,\n {transform: booleanAttribute},\n )\n\n /**\n * The initial open state of the dialog when rendered.\n * Use when you don't need to control the open state of the dialog.\n */\n readonly defaultOpen = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * Element to receive focus when the dialog is closed\n */\n readonly finalFocusEl = input<(() => MaybeElement) | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * Element to receive focus when the dialog is opened\n */\n readonly initialFocusEl = input<(() => MaybeElement) | undefined>()\n\n /**\n * Whether to prevent pointer interaction outside the element and hide all content\n * below it\n *\n * @default true\n */\n readonly modal = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled open state of the dialog\n */\n readonly open = input<boolean | undefined>(undefined)\n\n /**\n * The persistent elements that:\n * - should not have pointer-events disabled\n * - should not trigger the dismiss event\n */\n readonly persistentElements = input<Array<() => Element | null> | undefined>()\n\n /**\n * Whether to prevent scrolling behind the dialog when it's opened\n *\n * @default true\n */\n readonly preventScroll = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to restore focus to the element that had focus before the dialog was\n * opened\n *\n * @default true\n */\n readonly restoreFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The dialog's role\n *\n * @default 'dialog'\n */\n readonly role = input<\"dialog\" | \"alertdialog\" | undefined>()\n\n /**\n * Whether to trap focus inside the dialog when it's opened\n *\n * @default true\n */\n readonly trapFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Function called when the escape key is pressed\n */\n readonly escapeKeyDown = output<KeyboardEvent>()\n\n /**\n * Function called when the focus is moved outside the component\n */\n readonly focusOutside = output<FocusOutsideEvent>()\n\n /**\n * Function called when an interaction happens outside the component\n */\n readonly interactOutside = output<InteractOutsideEvent>()\n\n /**\n * Fired when the dialog opens or closes.\n */\n readonly openChanged = output<boolean>()\n\n /**\n * Function called when the pointer is pressed down outside the component\n */\n readonly pointerDownOutside = output<PointerDownOutsideEvent>()\n\n /**\n * Function called when this layer is closed due to a parent layer being closed\n */\n readonly requestDismissed = output<LayerDismissEvent>()\n\n protected readonly dialogService = inject(DialogContextService)\n protected readonly presenceService = inject(PresenceContextService)\n protected readonly renderStrategyContext = inject(\n RenderStrategyContextService,\n )\n protected readonly isMounted = useIsMounted()\n\n private readonly injector = inject(Injector)\n\n private document = inject(DOCUMENT)\n\n ngOnInit() {\n const renderStrategy = computed(() => ({\n lazyMount: this.lazyMount() || false,\n unmountOnExit: this.unmountOnExit() || false,\n }))\n\n const machine = useMachine(\n dialogMachine,\n computed<Explicit<DialogApiProps>>(() => ({\n \"aria-label\": this.ariaLabel(),\n closeOnEscape: this.closeOnEscape(),\n closeOnInteractOutside: this.closeOnInteractOutside(),\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n finalFocusEl: this.finalFocusEl(),\n getRootNode: this.getRootNode() || (() => this.document),\n initialFocusEl: this.initialFocusEl(),\n modal: this.modal(),\n onEscapeKeyDown: (event) => {\n if (this.isMounted()) {\n this.escapeKeyDown.emit(event)\n }\n },\n onFocusOutside: (event) => {\n if (this.isMounted()) {\n this.focusOutside.emit(event)\n }\n },\n onInteractOutside: (event) => {\n if (this.isMounted()) {\n this.interactOutside.emit(event)\n }\n },\n onOpenChange: (open) => {\n if (this.isMounted()) {\n this.openChanged.emit(open)\n }\n },\n onPointerDownOutside: (event) => {\n if (this.isMounted()) {\n this.pointerDownOutside.emit(event)\n }\n },\n onRequestDismiss: (event) => {\n if (this.isMounted()) {\n this.requestDismissed.emit(event)\n }\n },\n open: this.open(),\n persistentElements: this.persistentElements(),\n preventScroll: this.preventScroll(),\n restoreFocus: this.restoreFocus(),\n role: this.role(),\n trapFocus: this.trapFocus(),\n })),\n this.injector,\n )\n\n const dialogApi = computed(() => createDialogApi(machine, normalizeProps))\n\n this.dialogService.init(dialogApi)\n\n const presence = useMachine(\n presenceMachine,\n computed<Explicit<PresenceApiProps>>(() => {\n const present = this.present()\n const api = dialogApi()\n const showing = isDefined(present) ? present : api.open\n untracked(() => {\n if (this.presenceService.initialized()) {\n this.presenceService.immediatePresent = showing\n }\n })\n return {\n immediate: this.immediate(),\n lazyMount: this.lazyMount(),\n onExitComplete: () => {\n if (this.isMounted()) {\n this.exitCompleted.emit()\n }\n },\n present: showing,\n skipAnimationOnMount: this.skipAnimationOnMount(),\n unmountOnExit: this.unmountOnExit(),\n }\n }),\n this.injector,\n )\n\n this.presenceService.init(\n computed(() => createPresenceApi(presence, normalizeProps)),\n )\n\n this.renderStrategyContext.init(renderStrategy)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogTriggerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;AACA;AAgBM,MAAO,oBAAqB,SAAQ,qBAAgC,CAAA;wGAA7D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAApB,oBAAoB,EAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC;;AAGD,MAAM,CACJ,cAAc,EACd,gBAAgB,EAChB,2BAA2B,EAC5B,GAA0B,gBAAgB,CACzC,eAAe,EACf,oBAAoB;SAKN,oBAAoB,GAAA;IAClC,OAAO;AACL,QAAA,GAAG,2BAA2B,EAAE;AAChC,QAAA,GAAG,sBAAsB,EAAE;AAC3B,QAAA,GAAG,4BAA4B,EAAE;KAClC;AACH;;ACpCA;AACA;MAuBa,2BAA2B,CAAA;IACnB,aAAa,GAAG,gBAAgB,EAAE;IAClC,2BAA2B,GAAG,MAAM,CACrD,4BAA4B,EAC5B,EAAC,QAAQ,EAAE,IAAI,EAAC,CACjB;AAEkB,IAAA,eAAe,GAAG,MAAM,CAAC,sBAAsB,EAAE;AAClE,QAAA,IAAI,EAAE,IAAI;AACX,KAAA,CAAC;AAEiB,IAAA,mBAAmB,GAAG,QAAQ,CAAC,MAAK;AACrD,QAAA,MAAM,KAAK,GAAG,SAAS,CAAC,MACtB,IAAI,CAAC,aAAa,EAAE,CAAC,mBAAmB,CAAC;AACvC,YAAA,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE;YACb,SAAS,EAAE,IAAI,CAAC,SAAS;AAC1B,SAAA,CAAC,CACH;QACD,OAAO;AAC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,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-core-dialog.mjs","sources":["../../src/dialog/dialog-context.service.ts","../../src/dialog/core-dialog-backdrop.directive.ts","../../src/dialog/core-dialog-body.directive.ts","../../src/dialog/core-dialog-close-trigger.directive.ts","../../src/dialog/core-dialog-content.directive.ts","../../src/dialog/core-dialog-description.directive.ts","../../src/dialog/core-dialog-footer.directive.ts","../../src/dialog/core-dialog-heading.directive.ts","../../src/dialog/core-dialog-positioner.directive.ts","../../src/dialog/core-dialog-root.directive.ts","../../src/dialog/core-dialog-trigger.directive.ts","../../src/dialog/qualcomm-ui-angular-core-dialog.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable, type Provider} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n providePresenceContext,\n provideRenderStrategyContext,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport {type DialogApi} from \"@qualcomm-ui/core/dialog\"\n\n@Injectable()\nexport class DialogContextService extends BaseApiContextService<DialogApi> {}\n\nconst [\n DIALOG_CONTEXT,\n useDialogContext,\n provideDialogContextService,\n]: ApiContext<DialogApi> = createApiContext<DialogApi>(\n \"DialogContext\",\n DialogContextService,\n)\n\nexport {DIALOG_CONTEXT, useDialogContext}\n\nexport function provideDialogContext(): Provider[] {\n return [\n ...provideDialogContextService(),\n ...providePresenceContext(),\n ...provideRenderStrategyContext(),\n ]\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n inject,\n Injector,\n type OnInit,\n untracked,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useMachine} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n RenderStrategyContextService,\n usePresenceRenderer,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport {createPresenceApi, presenceMachine} from \"@qualcomm-ui/core/presence\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogBackdropDirective implements OnInit {\n protected readonly dialogContext = useDialogContext()\n protected readonly parentRenderStrategyContext = inject(\n RenderStrategyContextService,\n {skipSelf: true},\n )\n\n protected readonly presenceContext = inject(PresenceContextService, {\n self: true,\n })\n\n protected readonly dialogBackdropProps = computed(() => {\n const props = untracked(() =>\n this.dialogContext().getBackdropBindings({\n id: this.id(),\n onDestroy: this.onDestroy,\n }),\n )\n return {\n ...props,\n ...this.presenceContext.getPresenceBindings(),\n }\n })\n\n protected readonly id = computed(() => useId(this, null))\n\n private readonly injector = inject(Injector)\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly presenceRendererEffect = usePresenceRenderer({\n injectOptions: {self: true},\n })\n\n ngOnInit() {\n const machine = useMachine(\n presenceMachine,\n computed(() => ({\n lazyMount: this.parentRenderStrategyContext.context().lazyMount,\n present: this.dialogContext().open,\n unmountOnExit: this.parentRenderStrategyContext.context().unmountOnExit,\n })),\n this.injector,\n )\n\n this.presenceContext.init(computed(() => createPresenceApi(machine)))\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogBodyDirective implements OnInit {\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.dialogContext().getBodyBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogCloseTriggerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getCloseTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n effect,\n ElementRef,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n usePresenceRenderer,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogContentDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n protected readonly presenceService = inject(PresenceContextService)\n\n readonly elementRef = inject(ElementRef)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return mergeProps(\n this.dialogContext().getContentBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n this.presenceService.getPresenceBindings(),\n )\n })\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly presenceRendererEffect = usePresenceRenderer()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n constructor() {\n // update the ref when the element is mounted or unmounted to keep state in sync.\n // React does this automatically with its declarative refs and data binding,\n // but with Angular we must do this imperatively.\n effect(() => {\n const element = this.elementRef.nativeElement\n if (this.presenceService.unmounted()) {\n this.presenceService.setNode(null)\n } else {\n this.presenceService.setNode(element)\n }\n })\n }\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogDescriptionDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getDescriptionBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogFooterDirective implements OnInit {\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getFooterBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogHeadingDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getHeadingBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {usePresenceRenderer} from \"@qualcomm-ui/angular-core/presence\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogPositionerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getPositionerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n presenceRendererEffect = usePresenceRenderer()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n untracked,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {normalizeProps, useMachine} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CorePresenceDirective,\n PresenceContextService,\n RenderStrategyContextService,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createDialogApi,\n type DialogApiProps,\n dialogMachine,\n} from \"@qualcomm-ui/core/dialog\"\nimport {\n createPresenceApi,\n type PresenceApiProps,\n presenceMachine,\n} from \"@qualcomm-ui/core/presence\"\nimport type {LayerDismissEvent} from \"@qualcomm-ui/dom/dismissable\"\nimport type {\n FocusOutsideEvent,\n InteractOutsideEvent,\n MaybeElement,\n PointerDownOutsideEvent,\n} from \"@qualcomm-ui/dom/interact-outside\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport {type Explicit, isDefined} from \"@qualcomm-ui/utils/guard\"\n\nimport {DialogContextService} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogRootDirective\n extends CorePresenceDirective\n implements\n SignalifyInput<Omit<DialogApiProps & PresenceApiProps, \"aria-label\">>,\n OnInit\n{\n /**\n * Human-readable label for the dialog, used when the dialog title is not rendered\n */\n readonly ariaLabel = input<string | undefined>(undefined, {\n alias: \"aria-label\",\n })\n\n /**\n * Whether to close the dialog when the escape key is pressed\n *\n * @default true\n */\n readonly closeOnEscape = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to close the dialog when the outside is clicked\n *\n * @default true\n */\n readonly closeOnInteractOutside = input<boolean | undefined, Booleanish>(\n undefined,\n {transform: booleanAttribute},\n )\n\n /**\n * The initial open state of the dialog when rendered.\n * Use when you don't need to control the open state of the dialog.\n */\n readonly defaultOpen = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * Element to receive focus when the dialog is closed\n */\n readonly finalFocusEl = input<(() => MaybeElement) | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * Element to receive focus when the dialog is opened\n */\n readonly initialFocusEl = input<(() => MaybeElement) | undefined>()\n\n /**\n * Whether to prevent pointer interaction outside the element and hide all content\n * below it\n *\n * @default true\n */\n readonly modal = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled open state of the dialog\n */\n readonly open = input<boolean | undefined>(undefined)\n\n /**\n * The persistent elements that:\n * - should not have pointer-events disabled\n * - should not trigger the dismiss event\n */\n readonly persistentElements = input<Array<() => Element | null> | undefined>()\n\n /**\n * Whether to prevent scrolling behind the dialog when it's opened\n *\n * @default true\n */\n readonly preventScroll = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to restore focus to the element that had focus before the dialog was\n * opened\n *\n * @default true\n */\n readonly restoreFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The dialog's role\n *\n * @default 'dialog'\n */\n readonly role = input<\"dialog\" | \"alertdialog\" | undefined>()\n\n /**\n * Whether to trap focus inside the dialog when it's opened\n *\n * @default true\n */\n readonly trapFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Function called when the escape key is pressed\n */\n readonly escapeKeyDown = output<KeyboardEvent>()\n\n /**\n * Function called when the focus is moved outside the component\n */\n readonly focusOutside = output<FocusOutsideEvent>()\n\n /**\n * Function called when an interaction happens outside the component\n */\n readonly interactOutside = output<InteractOutsideEvent>()\n\n /**\n * Fired when the dialog opens or closes.\n */\n readonly openChanged = output<boolean>()\n\n /**\n * Function called when the pointer is pressed down outside the component\n */\n readonly pointerDownOutside = output<PointerDownOutsideEvent>()\n\n /**\n * Function called when this layer is closed due to a parent layer being closed\n */\n readonly requestDismissed = output<LayerDismissEvent>()\n\n protected readonly dialogService = inject(DialogContextService)\n protected readonly presenceService = inject(PresenceContextService)\n protected readonly renderStrategyContext = inject(\n RenderStrategyContextService,\n )\n protected readonly isMounted = useIsMounted()\n\n private readonly injector = inject(Injector)\n\n private document = inject(DOCUMENT)\n\n ngOnInit() {\n const renderStrategy = computed(() => ({\n lazyMount: this.lazyMount() || false,\n unmountOnExit: this.unmountOnExit() || false,\n }))\n\n const machine = useMachine(\n dialogMachine,\n computed<Explicit<DialogApiProps>>(() => ({\n \"aria-label\": this.ariaLabel(),\n closeOnEscape: this.closeOnEscape(),\n closeOnInteractOutside: this.closeOnInteractOutside(),\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n finalFocusEl: this.finalFocusEl(),\n getRootNode: this.getRootNode() || (() => this.document),\n initialFocusEl: this.initialFocusEl(),\n modal: this.modal(),\n onEscapeKeyDown: (event) => {\n if (this.isMounted()) {\n this.escapeKeyDown.emit(event)\n }\n },\n onFocusOutside: (event) => {\n if (this.isMounted()) {\n this.focusOutside.emit(event)\n }\n },\n onInteractOutside: (event) => {\n if (this.isMounted()) {\n this.interactOutside.emit(event)\n }\n },\n onOpenChange: (open) => {\n if (this.isMounted()) {\n this.openChanged.emit(open)\n }\n },\n onPointerDownOutside: (event) => {\n if (this.isMounted()) {\n this.pointerDownOutside.emit(event)\n }\n },\n onRequestDismiss: (event) => {\n if (this.isMounted()) {\n this.requestDismissed.emit(event)\n }\n },\n open: this.open(),\n persistentElements: this.persistentElements(),\n preventScroll: this.preventScroll(),\n restoreFocus: this.restoreFocus(),\n role: this.role(),\n trapFocus: this.trapFocus(),\n })),\n this.injector,\n )\n\n const dialogApi = computed(() => createDialogApi(machine, normalizeProps))\n\n this.dialogService.init(dialogApi)\n\n const presence = useMachine(\n presenceMachine,\n computed<Explicit<PresenceApiProps>>(() => {\n const present = this.present()\n const api = dialogApi()\n const showing = isDefined(present) ? present : api.open\n untracked(() => {\n if (this.presenceService.initialized()) {\n this.presenceService.immediatePresent = showing\n }\n })\n return {\n immediate: this.immediate(),\n lazyMount: this.lazyMount(),\n onExitComplete: () => {\n if (this.isMounted()) {\n this.exitCompleted.emit()\n }\n },\n present: showing,\n skipAnimationOnMount: this.skipAnimationOnMount(),\n unmountOnExit: this.unmountOnExit(),\n }\n }),\n this.injector,\n )\n\n this.presenceService.init(\n computed(() => createPresenceApi(presence, normalizeProps)),\n )\n\n this.renderStrategyContext.init(renderStrategy)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useDialogContext} from \"./dialog-context.service\"\n\n@Directive()\nexport class CoreDialogTriggerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly dialogContext = useDialogContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.dialogContext().getTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings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